cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic action to delimit Wage type

0 Kudos

Hi Experts,

Need your help in following scenario.

Need to setup a dynamic action to automatically delimit wage type 9D7F of IT0151 and subtype:2002, when creating an instance of the new wage type: 9D7W of IT0151 and subtype: 2002.

Please help in writing the dynamic action.

Accepted Solutions (1)

Accepted Solutions (1)

BalaAP
Active Contributor
0 Kudos

Hi, Before attempting to write Dynamic action code, you need to configure the infotype 151 with time proper time constraint class in table v_t591a. And check whether "Delimit" option is correctly working in PA30 screen.

Then you try to write your dynamic action code like:

0151 - 2002 - 04 - - slno - P - P0151-SUBTY='2002'

0151 - 2002 - 04 - - SLNO - P - P0151-LGART='9D7W'

0151 - 2002 - 04- - SLNO - I - DEL,0151,2002,,,,(P0151-BEGDA),(P0151-ENDDA)/D

You may have to explore the other dynamic action examples in your table t588z and check the correct syntax (because, not all people will write the dynamic action for your country specific infotype)..I had just given some outlines.

0 Kudos

Hi Balasubramanian,

Thanks alot for your response.

Table V_T591a is for subtype characteristics right. I'm not able to understand where to config time constraint class and how to check whether delimit option is working or not. Please guide me on this.

And for the dynamic action, in the last line "Del" means it will del complete record right and code for delimiting specific wage type "9D7F" with creation date of "9D7W" is not maintained. Please be kind by correcting code to delimit this specific wagetype.

Please reply on this issue.

Thanks in advance.

BalaAP
Active Contributor
0 Kudos

We may have to use LIS9 or COP to delimit the infotype in dynamic action..

I am trying this and checking in sandbox..

0 Kudos

Hi,

Thanks alot for your effort. Tried with LIS9, COP as well but nothing worked.

Please update once you find any solution. Thank you once again.

BalaAP
Active Contributor
0 Kudos

Hi, you can check the below sample link which discusses about date arithmetic in infotype 19. We need to write custom aval function for infotype 151 similar to this.

https://answers.sap.com/questions/11752670/defaulting-reminder-date-in-infotype-0019.html

Answers (0)