Skip to Content
avatar image
Former Member

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 26, 2006 at 08:10 AM

    Hi Bhavesh

    In my scenario I just have one single receiving R/3 system, but I need to sent to several different LI partner within this system... so using BPM is not useful here, right?

    Any other thoughts?

    Gregory

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 25, 2006 at 03:33 PM

    Hi,

    If your Receiver is Same i.e R/3 system,

    Option1- Using BPM with Fork(if you want to send simultaneously, or Sequential Send steps)

    More-

    http://help.sap.com/saphelp_nw2004s/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/frameset.htm

    Option2- Try with COnditional Interface Determination. It is possible with one Receiever System with Different Inbound Interfaces(Idocs).

    If your Idoc is same, then option 1 is good I think.

    Hope this helps,

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 26, 2006 at 07:38 AM

    Hi Krishna

    Thanks for your answer.

    Actually I can't figure how serialization can help me sending to various LI partner on R/3 using the same interface... could you tell me more?

    Thanks

    Gregory

    Add comment
    10|10000 characters needed characters exceeded

    • hi gregory,

      configure multiple idoc receivers each pointing to the different R3 systems that you want to post the idoc to.

      Also, you would have to create multiple business systems and use the different business systems and the comm channel for your Receiver Agreement.

      Regards,

      bhavesh

  • Apr 26, 2006 at 08:07 AM

    hi,

    >>>Any idea how to get out of this tricky situation?

    I believe you can do it in standard:

    set ALE#LI and then take partner numbers

    from the idoc payload but I'd have to test it

    as I don't remember if it was working or not

    in during one of my test

    but try it

    Regards,

    michal

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26, 2006 at 10:22 AM

    simple solution..is...

    file ftp->Idoc(1..3)..

    so map the appropriate partner numbers corresponding to a,b,c..in idoc 1st occurence,2nd and 3rd one..

    Guess that suffices..let me know if there is a gap in undesrtanding req

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 26, 2006 at 02:51 PM

    Congratulations Michal, that works!

    Add comment
    10|10000 characters needed characters exceeded