Monday, November 11, 2013

Make own Screen Layout with MIRO, FB50, FB60, FB65, FB70, FB75 ETC.



Transaction variants used for the below purpose:

  1. Changing fields to read only(Display)
  2. Making master data / transaction fields to required/Invisible
  3. Inserting default values for the fields etc..

Here we will discuss with 2 simple examples:

  1. Making Cost centre responsible user required while creating/changing master data
  2. Making FV60/FBV2 (parked invoice) payment method field display only

Configuration:

  1. Making Cost centre responsible user required: There will be always requirement for the Master data field control. In this example in order to make cost centre user responsible required we are using the transaction variant.
Transaction:
SHD0
shd01.JPG
In the screen you have 3 tabs:
  • Standard Variants – used to assign Transaction Variants to standard transaction; create and assign
Variant Groups to specifics users; this tab will be used for activating transaction variants.
  • Transaction Variants – create Transaction Variants and assign Screen Variants; while process if creating transaction variants screen variants will assign automatically.
  • Screen Variants – create Screen Variants. Screen variants will be created at the time of recording transaction.


Transaction Code
KS01
Transaction Variant
ZKS01

shd02.JPG

Press on Create button.
Provide controlling area and other details including screen variant short text as well.
shd03.JPG
Click on enter and provide cost centre and valid from details
shd04.JPG
Press on Enter and provide screen variant text and press on enter

260704a.JPG
Provide some test data and press on enter again. You may get one more screen for screen variant short text here, Please enter short text and press on enter.

Here you will get the screen variant for user responsible. Please select ‘User Responsible’ field required.
shd05.JPG
Press on Enter till you get main screen and save.

Provide short text and save the variant in Package along with transport which you have created.

shd06.JPG

Save and press on back arrow.

Here you can see the screen variants created for the transaction variants.
shd07.JPG
We need to activate above transaction variant by going to ‘Standard variants’ tab from the same transaction.
shd08.JPG
Press on activate button and ignore warning message. Please note that this step should be performed in each client.

Do the same configuration for the transaction KS02 (Change cost centre) when anyone try to remove user responsible system say that cost centre user responsible is mandatory.

Now go to KS01 and check for new master data creation whether ‘Cost Centre user responsible field is required or not.

shd09.JPG