on 02-15-2013 9:53 AM
Hi All,
We are working on 1:n mapping of splitting incoming csv file into multiple SAP Sales Order Idocs.
As per initial requirement we have to split order Idocs where ever there is a change in Document Number in file, so we have made our header mapping like:
DocNo-->Split By Value (Value Change)-->Collapse Context-->IDOC after changing IDOC occurance to 1:unbounded.
This mapping was working fine but now an addition has come up that in the above case that if any document in file has material number starting with A then a new sales order for this material should be created and rest of the functionality should be same.
Kindly guide me on how to make additions in the header mapping to accomodate splitting on Document Number + Material No which starts with A.
reg,
NJ
Hi Nishu,
One of the solution can be that you add one more IDOC in the target side in Message Mapping and put If condition mentioning if MATNR starts with "A".
This will help to create this IDOC only if condition is satisfied.
Thanks
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nishu,
You mentioned that you are creating IDOC for every unique DocNum. So do you men to say that the same DocNum can have Material number starting with numeric as well as"A".
In this case also in the first IDOC segment all the IDOCS will be created with unique DocNum and in the 2nd IDOC segment Idocs will be created for MATNAR starting with "A". so whats the problem?
May be you try to simulate this in mapping and share if some issue.
Thanks
Anand
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.