cancel
Showing results for 
Search instead for 
Did you mean: 

File sender, dynamic interface

Werner_Magerl
Participant
0 Kudos

Hello,

we are receiving from many partners different messages (e.g. different idocs) in files. All files are stored in the same directory and the filename is only a date/time stamp.

So from this information I do not know anything about the payload.

How can I receive this files into XI by the fileadapter and to start teh correct receiver determination, allthough I do not know the sender (but which is in the payload) and the interface (all I know is that it is an IDOC).

My goal is, that I can maintain also different (Sender)Parties, as I require different Header Mappings for the IDOC adapter to R/3.

Who can help me???

best regards

Werner Magerl

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Udo,

if you have a technical issue, maybe SNOTE: 832258 (<SP12) could help.

Regards,

René

udo_martens
Active Contributor
0 Kudos

Hello Rene,

did you read this thread before posting?

Udo

Former Member
0 Kudos

Hello Werner,

we faced the same issue in one project. The solution was the implementation of a Adapter Framework module that creates XI messages based on the content information of the payload.

Regards,

Rene

udo_martens
Active Contributor
0 Kudos

Hi Werner,

the receiver can be determinated by X-Path but to have differnt interface is not easy because you have to put in the file adapter channel.

One (dirty) trick would be to send the messages from file adapter to http adapter. For every receiver (idoc in R/3) you create a third party business system in SLD. You find now by X-Path the right 3rd party receiver and configure the http receiver adapter setting target host = <yourXI> and path = /sap/xi/adapter_plain?service=<yourService>&interface=<yourIF>&namespace=<yourNS>&qos=EO

1. Message: File->XI->HTTP (X-Path-Receiver, a lot channels)

2. Message: HTTP->XI->IDoc (normal Receiver, a lot interfaces)

Regards,

Udo

PS: Werner, may be that helps you or not, but please, if you fit in headerfield mapping, can you help me by my question?

udo_martens
Active Contributor
0 Kudos

Hi Werner,

one remark: You don't need SLD entries, Business Services are enough. Only for the system you are referring in the http channel (...&service=<yourService>) you need a SLD entry because you need a value for logical system.

Regards, Udo

Werner_Magerl
Participant
0 Kudos

I have discussed this solution within my team, but within this project we should think about a better solution.

I hope there is one.

Which question do you have regarding header mapping???

Werner Magerl

udo_martens
Active Contributor
0 Kudos

Hi Werner,

I hope for you as well.

My question is titled with "Headerfield Mapping". If you have experience with IDoc headerfield mapping, it would be very helpful for me to get some advices.

Regards,

Udo