2014 Oct 23 6:24 PM
I am looking for someone with recommendations on how we can get ADRMAS and DEBMAS IDocs transformed with new customer number and processed in proper order in ECC. The IDocs are being sent from a hub MDG system with a hub customer number in them. They get sent over via ALE to the destination ECC system and we have them set to not process immediate. We plan to process them via a program that needs to look up the next available customer number on the ECC (using internal number assignment) and process both IDocs with the new ECC customer number.
We need to coordinate the ADRMAS processing before its' respective DEBMAS.
Any suggestions are appreciated.
Thank you,
Keith
2014 Oct 29 4:05 AM
Hi Keith,
You might want to consider using "Serialization by Message Type" in the receiving system.
Please refer to below link which has more information :
Serialization of Messages - ABAP Development - SCN Wiki
Also, if you have internal number assignment for the customer, the system will propose a new available customer number.
Thanks,
Kumaran
2014 Oct 29 4:23 AM
Hi Keith
In terms of processing sequence, one approach would be to specify two variants for program RBDAPP01 - one each for ADRMAS and DEBMAS (along with any other selection criterias for further differentiation if required.)
When scheduling the background job to process these IDocs, create a single job with 2 steps - first step using program RBDAPP01 with the ADRMAS variant, and second step with the DEBMAS variant.
This would ensure that the ADRMAS are always processed before the DEBMAS.
Rgds
Eng Swee