You are on page 1of 15

Screen Modification Tcode: SPRO - Press Enter Click on : SAP Reference IMG IMG Path Personnel Management Personnel

el Administration Customizing User Interfaces Change Screen Modifications. Step 1: Click on New Entries 1. Module Pool = MPXXXX00 where, XXXX = infotype. 2. Standard Screen = 2000 Why 2000? 3. Alternate Screen = ? 4. Next Screen = ? 5. Feature = PXXXX where, XXXX = infotype. What is the feature doing? 6. Variable Key = the return value of your feature. To specify MOLGA?

Step 2: Enter the details and press enter.

The field list for the specific infotype will appear. There are 5 radio button options available: 1. 2. 3. 4. 5. 6. Std: Standard SAP System RF: Required Field OF: Optional Field Outp: ? Hide: Hidden Field Init: Hidden & Initialize: ?

Choose as per requirement per field. Step 3: Click on Feature

Enter the feature as entered in the previous screen and click Change.

Click on MOLGA and then create the node by clicking

for your country grouping.

Select your country grouping and then click on copy.

Your country grouping will be created. Now click on it and create a new node within it.

The new dialogue box will open where the radio button Return Value will be already selected. Press enter here.

Enter the Variable Key used earlier and then click on Transfer.

Now save your changes and exit the Feature.

Save your screen modification settings here and test the same in PA30.

IT0002 - Screen Modified:

Dynamic Actions Tcode: SPRO - Press Enter Click on : SAP Reference IMG IMG Path Personnel Management Personnel Administration Customizing Procedures Dynamic Actions

Click on New Entries

The fields available for input are: 1. IType: The infotype for which Dynamic action needs to be triggered from. 2. Sty: Sub-Type of the specified infotype. 3. Field N: Field Name - The technical name of the field through which Dynamic action needs to be triggered. This is not mandatory. 4. FC: Functional Character of Step: 00 for Independent of the current function carried out 02 for Change 04 for Create 06 for Change and create 08 for Delete 10 for Change and delete 12 for Create and delete Choose the FC as per requirement. For eg: we want a dynamic action to trigger a new infotype IT0021 - subtype 1, when an end user creates or changes the Marital status (Tech name: FAMST) as Marrd. in IT0002. Therefore, FC in this case would be 06 - the dynamic action will be triggered only when IT0002 field FAMST will be created or changed. 5. No. - Serial no. of the step. 6. S: Indicator of Step P - Check conditions - Check the conditions specified in variable key. PSAVE is used to specify the current condition of the field. For eg: In the variable key field: PSAVE-FAMST = 0 P0002-FAMST = 1 Here this would check the change in field FAMST from 0 to 1 or Single to Marrd.

I - Maintain infotype record - Where we want to maintain/create a new infotype that is currently not there in our infogroup and depends on the input given in the specified field. For eg: In IT0002, if Marital Status = Marrd. then create IT0021 subtype 1 to add spouse details. In the variable key space - Create(INS)/Copy(COP)/Delete(DEL), Infotype, Subtype, Object ID, Start date, End Date. All the commands should be sepereated by commas (,). Following our eg: here will type in the variable key space: INS,21,1,,(P0002-BEGDA),(P0002-ENDDA) Here if we want this IT to be generated in the background, it should end with /D. For eg: INS,21,1,,(P0002-BEGDA),(P0002-ENDDA)/D W - Set default values when creating a new record - If we want a default value in the new IT that is created which was triggered from the dynamic action. For eg: Inftype 0002 0002 0002 0002 Subtype Field Name ANZKD ANZKD ANZKD ANZKD FC 06 06 06 06 No. 01 02 03 04 S P P I W Variable Key PSAVE-ANZKD = 00 P0002-ANZKD>= 01
INS,15,,,(P0002-BEGDA),(P0002-ENDDA)/D

P0015-BETRG = 100.00

Here, when the no. of children field in IT0002 is created or changed from 0 to any number greater than or equal to 1, a new IT - 0015 is created in the background with a default value of 100. V - Reference to another step - here we can refter the current step with a previous step. more examples on this. F - Call routine - this is to call an ABAP program. M - Send mail - through this we can send mail to another user within this client.

Eg 1: Create/Change Marital Status field in IT0002 from Single to Marrd.

inserts a new IT-0021, subtype 1, with begin & end date same as that of IT0002:

Eg 2: Create/Change the No. Child field in IT0002 from 0 to any number more than 1

will insert a new IT0021 with subtype 2:

You might also like