Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC configuration problem

Former Member
0 Kudos

Hi,

We are having problem processing intercompany billing.

We have successfully sent the Outbound IDOC, but the Inbound IDOC always comes to "LS//D02CLNT300".

We have created the following:

1.Partner Type: KU

Partner No: 60001

Outbound Parameters:

Partner Role: BP , Message Type: INVOIC, Message var: FI

2.Partner Type: LI

Partnet No: 600003

Inbound Parameter:

Partner Role: blank, Message TYpe: INVOIC, Message var: FI

The Inbound and Outbound are all happening on the same server same client.

May I know how to configure so that the Inbound IDOCS use partner Type "LI" and not to partner type "LS"?

Thank you.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Odd, haven't checked out in newer SAP systems, but I'm pretty sure up to release 4.7 SAP will always use LI as the partner role. That's of course assuming that you're using the standard process code SD08 for the outbound partner profile. So sending partner type would be LI and the sending partner number as defined in transaction WEL1 for the given company code. So please let us know what outbound process code you're using.

You probably know that already, but you should not have an outbound IDoc. I.e. if you check outbound process code SD08 you'll see the inbound processing is marked (so same would apply if you actually used any custom function modules/process code instead of the standard).

Also, if you're using already SD08, you could take a look at customer exit EXIT_SAPLVEDF_001, which could be used to change the control record (shouldn't have anything though, if you're talking about a new implementation). A more general exit to check would be EXIT_SAPLEDI1_001.

Cheers, harald

p.s.: For general configuration questions you can also check out the Wiki entry [Inter-Company Billing - Automatic Posting To Vendor Account (SAP-EDI) |http://wiki.sdn.sap.com/wiki/display/ERPLO/Inter-CompanyBilling-AutomaticPostingToVendorAccount%28SAP-EDI%29].

2 REPLIES 2

Former Member
0 Kudos

Odd, haven't checked out in newer SAP systems, but I'm pretty sure up to release 4.7 SAP will always use LI as the partner role. That's of course assuming that you're using the standard process code SD08 for the outbound partner profile. So sending partner type would be LI and the sending partner number as defined in transaction WEL1 for the given company code. So please let us know what outbound process code you're using.

You probably know that already, but you should not have an outbound IDoc. I.e. if you check outbound process code SD08 you'll see the inbound processing is marked (so same would apply if you actually used any custom function modules/process code instead of the standard).

Also, if you're using already SD08, you could take a look at customer exit EXIT_SAPLVEDF_001, which could be used to change the control record (shouldn't have anything though, if you're talking about a new implementation). A more general exit to check would be EXIT_SAPLEDI1_001.

Cheers, harald

p.s.: For general configuration questions you can also check out the Wiki entry [Inter-Company Billing - Automatic Posting To Vendor Account (SAP-EDI) |http://wiki.sdn.sap.com/wiki/display/ERPLO/Inter-CompanyBilling-AutomaticPostingToVendorAccount%28SAP-EDI%29].

0 Kudos

hi,

thanks. we used SD09, we have changed to SD08 and it's now calling the partner type LI.

however, we are having another error now, status 51 "application document not posted", "account xxx requires an assignment to an CO object". We are using INVOICE1.

Is there any screen capture for FI Customizing part?

http://wiki.sdn.sap.com/wiki/display/ERPLO/Inter-CompanyBilling-AutomaticPostingToVendorAccount%28SAP-EDI%29

It is stated in the wiki that "G/L account should not be connected to CO".

Any guidelines on FI Customizing part for intercompany billing?

Thank you.