on 04-20-2007 4:36 PM
Hello All,
Sender SAP IDOC - (Multiple IDocs but same type)
The receiver a File
sends 1 file containing invoices and credit notes sold to xxxx.
This file is made of multiple blocks, each block being formatted by different record types :
-
Block1 - rec-type 1 = Header record / Start of a block (1 per block)
- rec-type 2 = Invoice Detail record ( N per block)
- rec-type 3 = Credit Note record (N per block)
- rec-type 4 = End of block (1 per block)
-
Any suggessions....How we can achieve this XI.
Thanks in Advance,
SV
Hi,
In case of mapping N (IDOCs) to 1 (file) you have to use BPM.
steps in BPM
1) collect IDOCs
2) create transformation from multiline to one message
3) send message
steps in file adapter:
1) create conversion to flat file
Regards,
wojciech
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is some more details:
Inside BPM you have to define one multiline container variable to hold data from IDOCs and in the later step you should map (use mapping many:1) it to file structure (you can define temporary message in IR which later will be simply transformed to final structure). Result of the BPM should be this temporary file message. Later configure file adapter to tranform it to flat file.
1) how to collect messages:
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
2) how to make a tranformation on file adapter
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Regards,
Wojciech
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.