Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem old_innn with 'HR_MAINTAIN_MASTERDATA'

Dasig
Participant
0 Likes
493

Hi Gurus,

I need ur help .

In EXIT ZXPADU02, i coded somthing like that

WHEN '9102'.
    t_9102 = innnn.

....
CHECK psave-begda GE lv_datcloture.

THe problem is that when executing MF 'HR_maintain_masterdata to modify a record for infotype 9102, i found that structure PSAVE that have old_innnn data is initial,

I have the same result with PAI and even with BADI 'HRD00INFTY', the structure old_innnn is initial(Method IN-UPDATE).

Is there a solution to have the old_innnn data ?

nb : i just wanted to add that if modifying record directly with pa30, PSAVE and old_innn are not INITIAL.

Tanks.

Edited by: saad igueninni on Jan 18, 2011 3:07 PM

2 REPLIES 2
Read only

former_member226519
Active Contributor
0 Likes
460

do you pass PSAVE to your subroutine in ZXPADU02?

I just checked and PSAVE is filled as expected.


perform fill_my_infotype using TCLASS
                                                  INNNN
                                                  PSAVE
                                                  IPSYST
                                                  I001P
                                                  I503.

Read only

0 Likes
460

Thaks for ur response,

in my coding, i directlyu wrote

when '9102'.

if psave-begda lt .....

I don't use a subroutine, psave is only initial when using mf 'HR_MAINTAIN_MASTERDATA', with PA30 its populated.