How to post Idoc to BI/POSDM based on different business dates
We have a following under mentioned scenario
We get sales data in two different files
1.The sales information of an invoice no is present in file A.
The means of payment information for an invoice is present in file B
2. We are merging the files into one single file inside the BPM and then it comes out of the BPM
3. Outside the BPM we map this file to post into and Idoc to BI/POSDM.
Now if the file A and file B contains the information for the same business day everything works fine and the idoc gets posted
correctly in the BI/POSDM.
However the issue arises when the same files A and B contain different business days in the files . When XI trys to post an idoc
it is marked red stating different posting dates not allowed within the same period.
On evaluation we found that this is a limitation at the POSDM end where it cannot handle different business dates for the same business day during posting.
Therefore we would have to split the records based on the business date and invoice number before posting so that whenever there is a change in business date we should post a new idoc in order to overcome the limitation of business date on POSDM side.
What are the suggested ways in which we can handle these situations without altering the current design approach i.e before we hit the BPM or after the message comes
out of the BPM and just before it posts an idoc in BI/POSDM.