Skip to Content
0
Jun 25, 2010 at 07:14 AM

creation of multiple files as per segment repeating multple times in IDOC

24 Views

Hi SapAll.

i have got a requirement where in an IDOC to File Interface pi need to create 3 different files with same content but with different names based on single Idoc-Segment.

its an IDOC to 3 File Inteface.

the file names will be determined by the IDOC-SEGMENT(Zregion)-Field (where Zregion Which will repeate for 3 times )

for achiving this

i just created 3 message (Service )Interfaces and one message mapping,3 Interface(Operation) mappings in the design and In the configuration i created three reciever communication channels with one reciever detarmination ,one Interface determination and 3 reciever agreements (with 3 communication channels 1 for each)

in the Interface Determination i just defined 3 operation mappings,3 reciever Service Interfaces with one condition each.

the condition is like below

(/ZARTMAS05/IDOC/Z1EDRMDFRH_REGION01/REGION = JNB) then Rec Interface1

(/ZARTMAS05/IDOC/Z1EDRMDFRH_REGION01/REGION = DBN) then Rec Interfacde2

(/ZARTMAS05/IDOC/Z1EDRMDFRH_REGION01/REGION = CPT) then Rec Interface 3 where (/ZARTMAS05 is the sender idoc.

but iam getting only one file in the reciever side instead of 3 files.

can any body help me in providing me the differnt solutions for this without use of any script executions.

will be waiitng for response.

regards.

Varma