Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Send Idocs to different LI partners

Hi

My scenario is the following:

Several partners A, B and C send invoices to us via a single communcation channel (they are sending to a VAN, so we get data through an FTP adapter). Therefore we have a unique party setup (P) that contains a single service a the sender FTP adapter.

We convert these data to Idocs INVOIC.INVOIC01 and then send them to R/3 com_mars_AAB002LS.

On R/3 these partners A, B and C are setup as partner types LI in WE20.

I can easily send data to one of the partners (A for instance) by setting the identifiers of the receiving party P:

com_mars_AAB002LS, ALE#LI, A

and in the Idoc receiver adapter the identifiers:

com_mars_AAB002LS, ALE#LI

This works fine.

Now I wonder how I can handle the other partners. Obvisouly I can setup 3 parties A, B and C with the appropriate identifiers, and then do a header mapping in the receiver agreement. However, again this works for one partner only.

One of the solution would be to have different receivers and to use conditions in the receiver determination in order to send to one or the other receiver.

Unfortunately my receiver is an R/3 system and it is defined as a business system, so no way to duplicate it.

Any idea how to get out of this tricky situation?

Thanks

Gregory

replied

hi,

right

try my solution with constant ale#li

and partners from the idoc payload

Regards,

michal

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question