on 10-07-2009 7:54 AM
Hi Friends,
I want to know how i can create a dynamic action for address change in particular subtype when a action is being performed.
Im doing it for the first time and dnt have much knowledge abt it.
Please do help.
Thanks in advance,
Done using user exit for default values..
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Neliea
Here is a good reference document for Dynamic Actions
It might help
https://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic%20Action
Best wishes
Stuart
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for eg if u want infotype 06 to pop up on any change in action such as transfer then you will have to create a dynamic action in the following manner:
Transfer action no: 01
Temporary Address subtype: 06
Infotype FC No S Text
0000 04 10 *** CREATE INFOTYPE 06 ****
0000 04 11 P P0000-MASSN='01'
0000 04 12 I INS,0006, 06
This should work
You should put the action infotype in the customizing infotype field.
Edited by: Sunitha Wilfred on Oct 7, 2009 9:13 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For dynamic Action for Addess change with a subtype please go through SPRO or Table V_T588z
The maintenance of dynamic actions is done via the view V_T588Z.
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)
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
Dynamic actions are only applicable in maintenance operations
Not in display functions.
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.
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.
You can enter values for specific infotype fields. Field names must be entered in full. Literals and constants can serve as comparison values. These must be enclosed by inverted commas. Variables can also be used.
If u still require the code then please let us know so that we can help u .
Thanks
Swati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Swati,
Thanks for ur prompt reply,I went through the documnetation u have given.my doubt here is which infotye should i provide in the customising.the action infotye or the address.If u can help me with an expample id be greatfull.
While performing an action infotyep 0000 i need to change the address infotye 0006 subtype 06.
please help
Hi Neeli,
Okay so now when ur doing an Action so u want to change the Address Infotype.
In the first Column plzz put 0000 and then give 04 in FC so that the dynamic will trigger when ur creating an Action.
Now
04 11 P P0000-MASSN='01'
04 12 P T001P-MOLGA='99'
04 13 I INS,006 1,,(P0000-BEGDA),(P0000-ENDDA)/D
04 14 W P0006-BEGDA=P0000-BEGDA
04 17 W P0006-ENDDA=P0000-ENDDA
Hope it helps u
Swati
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.