Hello, I’ve encounter a problem when trying to migrate PIR conditions with idoc COND_A04.
We have to migrate 2 conditions ZPB0 and ZPBE
The idoc in SAP looks like this
E1KOMG → Header with condition type ZPB0
E1KOMG1 → VAKAY
E1KONH → DATE
E1KONP → Condition number 1 (where ZPB0 is)
E1KONM
E1KONM
E1KONM
E1KONP → Condition number 2 (where ZPBE is)
When I process the IDOC it will say that the idoc is posted. When I go into se16n KONP only the ZPB0 condition is created.
I’ve tried to create 2 idocs with the same key. It will create both conditions but under different condition record number.
I’ve try to duplicate the E1KONH and process it like that. Still only one condition gets posted.
I’ve try to post just the ZPB0 and then in the next IDOC I would add the Condition record number from the 1st idoc. Again it will create a separate condition record number.
I’m out of ideas and I’m stuck for 3 days at this issue.
If you have any ideas please let me know.
I’ve debugged the idoc at some point and saw that it goes into an abap code named ‘Dialog’ and that one is too hard to debug and it will take me weeks.
Please let me know if you have any ideas.
Thank you,
Dan
nemesdan (BOB member since 2018-02-09)