cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic actions - how to create an infotype with a date - 1 day.

Former Member
0 Kudos

Hi everyone,

I need a requirement to change an infotype through dynamic action with ENDDA = BEGDA of maintaned infotype(0000) - 1 day.

In other words when a personel action is performed, another infotype (2001) should appear for change, and in the validity period of this infotype should end with the day before the start of the personel action.

is it possible to achieive this using dynamic actions? how?

Thanks!

Stanislaw Adamski

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Adamski,

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:

you have to look for the scenario what you are planning tyo create .

The maintenance of dynamic actions is done via the view V_T588Z, as shown in 1 (IMG menu path Personnel Management>Global Settings in Personnel Management>Basic Settings>Infotypes>Create Dynamic Actions

Here you havev to use conditions INS for the infotype what you want to create..

Please brief the light on the scenario.

Warm Regards,

Kapil Kaushal

Answers (0)