on 05-10-2012 1:22 AM
Hi Experts,
I am working on file to IDoc scenario, logic as follows
1)IDoc creation is based on Pick ticket number, if pick ticket number is same then i need to create one IDoc.this logic working fine.
2)Genrating BELNR in IDoc is depend on PO Number, but this logic not working,i want to populate PO number for Pick ticket number, but not sure about the logic.
any help apprecited
Best Regards,
SAP Help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can check below mapping:
Do remember to change the context of PO_Number and Per_Tick_Number (right click -> change context) to MT_*.
I am also assuming that "Per_Tick_Number" is already sorted in the input structure, if in case no, then u have to use "sort by key" function also...let me know if u face any difficulty while doing the same.
Testig Results:
Thanks
Amit Srivastava
Hi,
Correct me if im wrong. You want so many IDOC like different Pick ticket numbers, in your example four idocs.
If im right you could do then the next mappings:
This solution need the XML source sorted by Picket_Number, also you could aply the node function sort after taking Picket_Number if that sort doesn't exists originally.
Regards.
Message was edited by: Iñaki Vila
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.