cancel
Showing results for 
Search instead for 
Did you mean: 

one input structure with multiple files

Former Member
0 Kudos

Hi Friends,

I have a requirement in my current project.

PROXY TO FILE (5 FILES WITH DIFFERENT NAMES)

I would be getting 8 fields of input structure from which I will have to create multiple files based on a condition.

What is the best way achieving this requirements.

one interface with multiple operations is not possible because file names are different and I wont get file names in input payload.

Thanks in advance

meena

Accepted Solutions (0)

Answers (4)

Answers (4)

rodrigoalejandro_pertierr
Active Contributor
0 Kudos

take a look to this related to diff files names  http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/04/19/yes-it-is-possible-to-dynamically...  and this related to multimapping.ajust it to your requirenment.  http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/04/09/multiple-idoc-segment-occurance-t... 

remember that you will need to configure one channel for each file.

Regards Rodrigo

ambrish_mishra
Active Contributor
0 Kudos

Hi Meena,

Try this link http://scn.sap.com/docs/DOC-41985

Cheers,

Ambrish

former_member184789
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Meena,

You can achieve this by using Multi Mapping (1:n).

1.Create five Inbound service interfaces.

2.If the five files having the same structure; you can use the same message type in all the five service interfaces. If not create 5 different message types and use in the service interfaces.

3. You can use Variable Substitution method to generate the file names differently.

Regards,

Veerendra.