Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

Problem with dynamic action in IT0002

$
0
0

Friends,

 

I have been trying to write a dynamic action on IT0002 for the below 2 requirements but facing an issue.

 

Requirement:

 

1. Default "first name" in "Known As" field during hiring.

2. Default "Gender" based on "form of address" during hiring.

 

Gender is defaulting correctly but there is an issue with known as default.

 

Here is what is happening, step wise:

 

1) in PA40 - the "known as" field is initially blank, user saves the screen, eg First name "Matthew"

2) going back in PA30 in IT0002, we can see the known as field is populated with "Matthew" now, which is fine

3) when the user wants to change the "known as" to, say, "Matt", hit enter gives a "information" message - "No subsequent record for current selection criteria"

4) I get this 6 times after hitting enter each time

5) next time it gives the following "error" message - "Maximum number of internal sessions reached"

6) however the first name "Matt" is saved though

 

This is a pain for the user to go and hit enter 6 times and get all these messages before it can be saved.

 

Dynamic Action Code:

 

0002

061
***DEFAULT GENDER IN IT0002 BASED ON FOA***
0002

062PT001P-MOLGA='10'
0002

064PP0000-MASSN='Z1'/X
0002

066PP0000-MASSN='Z4'/X
0002

068PP0002-ANRED='1'
0002

0610IMOD,0002,,,(P0000-BEGDA),(P0000-ENDDA)/D
0002

0612WP0002-GESCH='1'
0002

0614PP0002-ANRED='2'/X
0002

0616PP0002-ANRED='3'/X
0002

0618PP0002-ANRED='4'/X
0002

0620IMOD,0002,,,(P0000-BEGDA),(P0000-ENDDA)/D
0002

0622WP0002-GESCH='2'
0002

0624PP0000-MASSN='Z1'/X
0002

0626PP0000-MASSN='Z4'/X
0002

0628IMOD,0002
0002

0630WP0002-RUFNM=P0002-VORNA
0002

0631WP0002-BEGDA=P0000-BEGDA
0002

0632WP0002-ENDDA=P0000-ENDDA

 

Regards

Nani


Viewing all articles
Browse latest Browse all 7926

Trending Articles



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