cancel
Showing results for 
Search instead for 
Did you mean: 

HR Master Data IDoc HRMDa and validity date

Former Member
0 Kudos

Hi

I have a record in infotype 8:

- from 01.05.2011 to 31.12.9999.

When I use PA30, I copy this record and change the dates from 05.05.2011 to 31.12.9999. Previous record of course changes the validity dates from 01.05.2005 to 04.05.2011, and second record is created with dates from 05.05.2011 to 31.12.9999.

The problem is with incoming IDoc. When I have the same situation as described below, instead of PA30 I use incoming IDoc. Unfortunately previous record does not get changed and I have two records both valid to 31.12.9999. I use "U" in operation in IDoc.

What is wrong?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member741004
Discoverer
0 Kudos

Hi,
Were you able to resolve this?
I am also facing a similar issue. I am using HRMD_A05.

Regards,
Priyanka

Former Member
0 Kudos

hello,

as explained above, sap will delete corresponding infotype record in range between e1pityp-begda and e1pityp-endda. what if it does not delete?  we are running into scenario where sap does not delete any record for it0000 for those range mention in e1pityp.  it is suppose to delete but it is not. idoc we received from other system is for deletion as it contains only e1plogi and e1pityp.

we are not sure why it is not deleting?

AFS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

This is due to how ALE works, please check note 134085. So basically

system will first delete the infotype records between E1PITYP-BEGDA and

E1PITYP-ENDDA, and then it will create the records with the information

in segment E1Pxxxx (xxxx corresponds to the infotype number). If you

just send information between dates 05.05.2011 to 31.12.9999, no

record is deleted in target (so original record remains there), and just

the new record in the IDOC (the one from 05.05.2010 to 31.12.9999)

will be updated there. Therefore you will finally get those two

records in target system with same end dates.

If you create the IDOCs using standard tools, then this should be

done correclty.

Regards,

Ana

Former Member
0 Kudos

The IDoc is triggered using standard Change Pointers, so I assume the IDoc should contain two records with both Infotypes, this can be changed in Change Pointers configuration?

Edited by: Wojciech Walczak ITMAXI.COM on Jun 9, 2011 1:37 PM

AFS
Product and Topic Expert
Product and Topic Expert

Hi,

it is strange, because if the IDOC was created by change pointers, then both records should be transfer (a change pointer should be created for both, one for record from 01.05.2011 to 04.05.2011 and then another from 05.05.2011 to 31.12.2011). Did you check with report RHALECPS if the change pointer was created for the complete period?.

Regards,

Ana

Former Member
0 Kudos

Hi,

I checked with the report mentioned and the change pointer got created, but the same dates..

Please have a look at [http://s2.moteo.pl/53/14271.jpg]

So it looks like, when user copies the infotype record, one record is being duplicated in Change Pointer at one time, but in IDoc only one segment with infotype 8 is created?

former_member741004
Discoverer
0 Kudos

Hi Ana,
Thank you for the useful information.
I am new to HRMD IDOCs
What should be passed to E1PITYP? 01.05.2005 to 31.12.999 or 01.05.2005 - 04.05.2005? And what would be the OPERA mode for E1PLOGI?
As per the note: " The low date (18000101) and high date (99991231) should be in the insert mode" Should I be passing two Modes for the same object or just one mode?

Also, the setting up of change pointer is mandatory?
Could you please help me with this?

TIA,
Priyanka