on 11-25-2008 1:31 AM
Hi All,
How to configure Dynamic actions?..I know that you need to create dynamic actions in Spro-PA-Dynamic actions. .what are the steps to be done after that ?.
Kindly provide with an example.
Regards
Eliz
Thankyou
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kapil/Biswajit,
Got few more clarifications..Apart from the example what Kapil had mentioned in the reply, i tried few other examples also.And tried doing the dynamic action config for other scenarios too.
Can you tell me whether this is correct for this scenario. Just to know whether my understanding and answer is correct
1. . When Family/Related Persons IT0021 subtype 1, 2, 6, 13, or 14 is created in PA30, Adjustment Reasons IT0378 subtype FAM is created with a start date equal to the start date IT0021.
INFTY SUBTY FC NO. STEP VARIABLE FUNCTION
0021 1,2,6, 13,14 06 001 I INS,378,FAM,,(P0021-BEGDA)(P0000-ENDDA).
2. During Hire, Quick hire ec, Date specification IT 0041 is created in the background.
INFTY SUBTY FIELD FC NO. STEP VARIABLE FUNCTION
0000 MASSN 06 001 I INS,0041,,,,(P0000-BEGDA)(P0000-ENDDA)
Regards
Eliz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for all your inputs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Eliz,
A dynamic action has the following components.
Infotype Number (INFTY): specifies the infotype for which you want the dynamic action triggered
Subtype (SUBTY): narrows the focus to a specific subtype
Field Name (FIELDN): starts your action when a maintenance function is performed on a particular field
Function (FC): specifies the various maintenance operations to which your dynamic action would respond. They are 02 (change); 04 (create); 06 (create and change); 08 (delete); 10 (change and delete); 12 (create and delete). Dynamic actions are only applicable in maintenance operations, not in display functions.
Sequence Number (NO): refers to a sequential number.
Step (A): specifies a particular type of action. No dynamic action is executed if the function character has a value other than one of the following:
P: Plausibility checks, which allow you to check certain conditions.
I: Calls an infotype for processing
W: Called after the I statement and used to assign values to screen fields while creating or copying another infotype record through the I statement
F: Calls a FORM routine (subroutines in ABAP) during your action. The routine may reside in or out the module pool MPNNNN00.
V: Lets you treat collectively a number of fields for which you want to define a common dynamic action
M: Sends SAP Office mail
Variable function part: The variable function part along with the step indicator forms the core part of your action. It specifies the processing details when the dynamic action is triggered. For example:
The maintenance of dynamic actions is done via the view V_T588Z, as shown in Figure 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions).
Requirement: When the postal code or the city of an employeeu2019s permanent residence is changed in infotype 0006, an email should be sent to the administrator.
INFTY SUBTY FIELDN FC NO. STEP VARIABLE FUNCTION
0006 1 ORT01 06 001 V PSTLZ
0006 1 PSTLZ 06 002 M M0001
The V statement on line 001 is used to link the two fields to the M statement. The statements relevant to field PSTLZ are also applicable to the ORT01 field.
When a record is created or changed in infotype 0006 of permanent address, an email is sent using the feature M0001. Information such as the recipient address, subject, and content of the mail is derived from M0001
Warm Regards,
Kapil Kaushal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.