on 09-15-2008 1:26 PM
Hi ,
My scenario is IDoc to File.
the requirement is for each line item in Idoc i have to create a single file.
suppose 10 line items are coming in the Idoc(10 segment)..then i have to create 10 files....
can anyone tell me how to do that??
i solvet it by... changing the occurence of the message type from 1(by defaul it will be)to 1........unbounded..and also in ID by doing enhance interface determination.
so it will create a message for each segment...
thanks all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sam,
This can be done without BPM using 1:N mapping and using enhanced interface determination.Make your target structure as 0...unbounded. Now use the source node which is occuring N times to the target side Root node.
Thanks and Regards,
Sanjeev.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This can possible by using Multi-Mapping with out BPM.Select number of Messages in Message Tab in the Mapping Editor.and use Enhanced interface Determination in Interface Determination in ID
this Blog can give u clear picture of Multi mapping with out BPM
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi check this option...
http://help.sap.com/saphelp_nw70/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
file.writeMode=addCounter
In mode addCounter the system generates a new file for each document. The file name comprises the name specified in file.targetFilename, extended by one counter that is added before the file name extension (for example, default002.file). The counter is constructed from the subsequent specifications.
The mode addCounter guarantees that no data is overwritten. If necessary, the system finds the next free counter from which it can construct a new file name.
In mode addCounter the exact format of the file name can be controlled using the following parameters; each parameter has a default setting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No need BPM make scenario according to ur requirement, at receiver end make occurance 1..1. It will generate each line as one file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi nallam,
if i do this.. only 1 message will be created..........suppose 3 line ites coming in Idoc .. then only only file will be cretaed with 1st line item...
and i cant use multimapping since.. number of line items are not constant and target mesage structure is same....
is there any other way...
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.