on 09-23-2009 6:47 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Hi,
Pls search form.
There are lots of threads about this topic.
Regards,
Chen Jian
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.