on 12-15-2012 7:17 AM
hi,
we have a file which has many shipment records...and for each record, i need to generate a unique message in ECC...
for ex: if i have 10 shipment records, then i need to generate 10 separate messages...currently, we are using file to proxy..but with this proxy,splitting of messages are not happening..can some one please help me how can i generate a separate message for each record of the file..can it be possible with soap adaptor?
thx
if you have built mapping logic and if you have defined receiver data type structures root element to 1 to unbounded then you could egenrate multiple messages ,proxy point of view even if you generate multiple messages then you would see only one message ID with multiple messages .
if you are comfortable moving to IDoc insted of proxy then you can generate multiple IDoc for every file by changing IDoc sengment occurance to 1 to unbounded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith,
Please use the below procedure:
This can be achieved using graphical multimapping concept.
First go to messages tab in message mapping and change the target message occurrence to 0..unbounded
Then say you have a source node called <Record>, map this to the target MT node(which has occurrence as 0..unbounded), so for every input <Record> you will get one message created.
You can test this in message mapping and see how many MT nodes are created.
Also, in Interface Mapping change the occurrence of target/inbound message interface to 0..unbounded.
After activation of IR objects, in ID Interface Determination choose Enhanced radio button to call your Interface Mapping from IR. Test your scenario end to end. You would get separate files for each input <Record>
Reference: http://scn.sap.com/thread/3213840
http://help.sap.com/saphelp_nwpi71/helpdata/EN/42/f3b31d48fb1bc8e10000000a11466f/frameset.htm
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
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.