cancel
Showing results for 
Search instead for 
Did you mean: 

Modified IT0001 header incorrect

Andy_Knapp
Explorer
0 Kudos

Hey Folks

Running SAP ECC 6 EHP 4.

I've modified the infotype header for IT0001 to remove the enterprise structure fields and add OMNGR_NA, OMNGR_NR to display the employee's manager from the OM module (aka the chief of the employee's org unit.)

Problem is, we have an employee who has 2 rows, each with a distinct org unit and their own chief, but, both rows display the employee's current manager. You would think that it would take the BEGDA and ENDDA values into account!

Any assistance / guidance would be appreciated.

Thanks

Andy

Accepted Solutions (1)

Accepted Solutions (1)

ted_dinh
Active Contributor
0 Kudos

Please check view V_582A_B for IT0001. If 'Choose Data' is marked, header info is valid for the start date of the infotype (i.e. IT0001); otherwise, header info is valid for the current date.

Rgds.

Andy_Knapp
Explorer
0 Kudos

Hi Ted,

I checked that view, IT0001 is marked as Choose Data = yes.

However reading the help in there I found that I missed T588H.

I set up a row in there for my modified header record, and it seems to be behaving now.

Thanks!

Andy

Andy_Knapp
Explorer
0 Kudos

Bah, on further testing, it's not.

It only seems to behave when doing actions via PA40. Users were testing by changing the org unit of positions via PPOME, and when they use that method, again the last record is correct, while the historical record is not.

I'm finding that the header ABAP generated by the screen is calling the RPAQ-GET-AF001 function, but is passing HR_HIGH_DATE (9999-12-31) instead of the actual ENDDA value of the infotype. Because of this, the function's L_KEYDA value returned is 2011-07-15 (today's date) instead of the BEDGA value (2011-03-28).

Any ideas? 😄

Thanks

Andy

ted_dinh
Active Contributor
0 Kudos

Andrew :

Take a look at old note 753904. From the logic of RPAQ_GET_AF_0001 and this note, it looks like for 'OMNGR_NR', SAP would return the latest manager instead of the manager at the time of IT0001.

Try to use 'MANGERN' instead of 'OMNGR_NR' to see if it shows up better on infotype header.

Rgds.

Andy_Knapp
Explorer
0 Kudos

Ted,

Modified it to MANAGERN, no results; field won't even display on IT0001.

Traced it through - it's dependant upon P0001-MSTBR being filled, and it's not.

Andy

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

You have missed a config where you can define how the values need to be fetched.

R K

Former Member
0 Kudos

Hi Andrew

i think the data will be displayed as of system date.

is it not display as of system date ?

Data will not be display as start and end date of infotype 1.

Please correct me if i am wrong.

Thanks

Rajdeep