on 2007 Jul 18 5:35 PM
Hi all,
I met this problem: the field value I set through dynamic action in 0041 is not showing on the screen of this infotype on hire action, although in DB table the fields hold value.
During Hire action, after IT0000 is save, automatically there will be one record created in IT0041, field DAR01 = '01' hire date, field DAT01 = P0000-BEGDA.
And in the following infotype 0002, when the birth date is saved, using dynamic action, I will call a subroutine to calculate the retire date and then update IT0041, field DAR02 = 'Z1' retire date, field DAT02 = retire_date.
If I check the DB table pa0041, both work. All the fields are updated, and the retire date is correctly set.
But the problem is, still in this hiring action, when it reaches the 0041 infotype, on the screen, only the hire date is showing, the retire date is not showing on field DAT02, even the DAR02 is blank.
Is there any one has some idea on this point?
Do you still need 0041 to come up? If you don't need it, you can simply remove it from the Infogroup for teh hiring Action..
~Suresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chiristian,
Thank you so much!
You give me the right direction. I change the mode to "MOD" instead of "INS". And I change the dynamic action to make it works after 0002 is saved, and then set the 2 date types together in the same subroutine.
It works.
I really appreciate your helps.
Sincerely,
Lucy
Hello Lucy
in yoru infogroup the IT-0041 may be in create mode so it wont show old records
( you have saved recor dthrough dynamic action). if you want 41 in infogroup & want to see the dates then go for user exits/badi. in this you can populate the date in PBO module & one can save them in the infogroup. let your dynamic actio be there bcoz if someone skips the infotype then record still will be created & if it s populated through exits the record will overwrite the record created in dynamic action.
reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
115 | |
9 | |
8 | |
6 | |
6 | |
5 | |
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.