Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

Dynamic Actions - Repetative infotype and dates in SAP

$
0
0

Hello SAP experts,

 

 

I'm starting to get a hang of the Dynamic Actions, but I'm having some issues with repetative infotypes for 0014 and 0015 and correct dates in IT0105.

I have tried searching the web and forum for solution, but I can't seem to find it yet. Could you help me in this task? - Please see my code below.

 

 

 

 

Repetative infotypes:

 

00140430**----END---Code for itself or test is not executed*
00140450****-xxx- REPEAT CREATE IN ACTIONS N0, N1-***
00140452PT001P-MOLGA='20'
00140454PP0000-MASSN='N1'/X
00140455PP0000-MASSN='NE'/X
00140456PP0000-MASSN='N0'/X
00140458IINS,0014,,,(P0014-BEGDA),(P0014-ENDDA)
00140460**----END---*

 

 

Another example of IT0015 I'm trying to create that don't seem to work is this:

 

 

00150460**----END---KODE FOR SEG, ELLERS SLÅR IKKE TESTEN TIL*
00150462****-xx- REPEAT CREATE IT0015 IN ACTIONS NB-***
00150464PT001P-MOLGA='20'
00150468PP0000-MASSN='NB'
00150469PP0000-PERSK='90'
00150470IINS,0015,,,(P0015-BEGDA),(P0015-ENDDA)
00150472**----END---*

 

 

 

Wrong date in IT0105 action:

In this one I want to create/delimit four subtypes. However, in one of these the employee have been Hired, Terminated and then re-hired.

However the problem with this is when doing the Re-hire for future this code uses the dates used from the Termination Action (seems that IT0000 haven't been updated yet, or it looks at what is active today).

Are there any solution to this problem?

 

06550650***xxx AUTO 4 SUBTYPES In IT0105**
06550653PT001P-MOLGA='20'
06550660PPSPAR-MASSN='N0'/X
06550661PPSPAR-MASSN='NE'/X
06550663IINS,0105,9000,,(P0000-BEGDA),(P0000-ENDDA)
06550664WP0105-USRID='9000'
06550665WP0105-USRID=P0000-PERNR
06550667IINS,0105,0010,,(P0000-BEGDA),(P0000-ENDDA)
06550668WP0105-USRID_LONG='DUMMY@DUMMY.COM'
06550673IINS,0105,CELL,,(P0000-BEGDA),(P0000-ENDDA)
06550674WP0105-USRID='9999'
06550675IINS,0105,9SSO,,(P0000-BEGDA),(P0000-ENDDA)
06550676WP0105-USRID=' '

 


Are there any tips on how the blueprint for a repetative infotype/dates works in all actions?

 

 

Best Regards,

Thomas


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>