cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Action

Former Member
0 Kudos

Hi !

i want to update an custom infotype when user do any changes in the employee's record of 2001,2011.

please help how to do the same in Dynaic action (t588z)

Regards

Sheetal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sheetal,

Go to table T588Z and enter the following code, i have taken a hypothetical example, you can change the code accoring to your requirement.

IType STy. Field FC No. S Variable function part

2001 2 10 P T001P-MOLGA='15'

2001 2 11 P T503-TYPSZ='1'

2001 2 26 I MOD,0407,(P2001- AWART),,(P2001-BEGDA),(P2001-ENDDA)

2001 2 27 W P0407-ENDDA=P2001-ENDDA

2001 2 28 W P0407-BEGDA=P2001-BEGDA

In this example you can change 0407 with your custom Infotype, if you are trying to create a custom infotype use INS instead of MOD, if the creation or update should happen in the back ground use /D at the end of the code.

Hope this one helps you.

Regards,

Revanth.

Former Member
0 Kudos

Hi Revanth,

Please let me know what i need to mention in place of subtype as the name of subtype is CL/PL not any number ...and plce of 2 10, 2 11, 2 26 , 2 27)

Regards

Sheetal

Former Member
0 Kudos

Hi Sheetal,

In the place of sub type you can still place either CL or PL, the sub type need not be a numeric value.

As far as the numbers are concerned, 02 is nothing but the function character that we have used, please find below the documentation for the FC and use them according to your requirement.

The other numbers are nothing but the sequence numbers of the code steps, they can be anything the system processes according to the sequence numbers.

Function character of step

This controls for which types of processing (create, change and/or

delete a data record) a dynamic action should be carried out.

The processing type is indicated by a two-digit numeric value. These

values can be added up; in other words, you can enter several processing

types for each infotype, subtype or field. A dynamic action can also be

carried out independent of the current processing type.

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

Examples

If you enter 06, an action is carried out if the specified infotype was

created or changed.

If you enter 00, an action is carried out irrespective of whether the

specified infotype was created, changed or deleted.

Hope this helps,

Revanth.

Former Member
0 Kudos

H !

Thanks a ton for the kind help...it is working now....

one more thing in the same i want to know if i want to uodate my cutom infotype in the case when only changes and deletion happened in the 2001..

Please guide

Reagrds

Sheetal

Former Member
0 Kudos

This for the information ...

my current code is

2001 10 32 I INS,9012,,,,(P2001- AWART),(P2001-BEGDA),(P2001-ENDDA)

Reagrds

Sheetal

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Pls search form.

There are lots of threads about this topic.

Regards,

Chen Jian