cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to create Invoice Sales Invoice using IDOC

0 Kudos

Hi All

Requirement - Sales Order>Delivery> Billing document will be created in one client(production-100) and same document has to be created in its shadow client(production -200).

We used IDOC to process the same.

Sales order is successfully getting created, Outbound delivery is created but not able to create Invoice in the shadow system.

Partner profile has been maintained for the customer in WE20. Customer code exists in 200 client.

Basic type - INVOIC01

Message Type - INVOIC

Getting following error.

Customer/vendor could not be determined for intermediate document 0000000000005090

Message no. FD017

Diagnosis

Several procedures are defined for determining the partner (customer or vendor):

1. The customer/vendor can send his/her account number (the account
number in our system) in the address segment.
2. The customer/vendor can send his/her account number (our number at
the customer or vendor) in the address segment.
3. Only the name in the address segment clearly identifies the
customer/vendor. In this case you can create an allocation within
intermediate document customizing (IDoc base -> Control -> Forward
inbound).
4. The customer/vendor is determined using his/her bank details (only
for the "INVOIC01" intermediate document type).
5. The customer/vendor is taken from the control record of the
intermediate document.

For 1.-3.: One of the address segments with the partner functions
"II", "RS", "SU", 'SE' ("INV_ID01"), or "RS" or
"LF" ("INVOIC01") is used for determining the
customer/vendor.

Procedure

Create the customer or vendor within Financial Accounting or maintain his/her bank details.

Create customer - Proceed

Customer bank details - Proceed

Create vendor - Proceed

Vendor bank details - Proceed

If the customer/vendor can only be determined using his/her name, create a record within intermediate document customizing with
logical address = name, application = "FI" or "MM" and physical target in the SAP system = customer number/vendor number.

Proceed

Accepted Solutions (0)

Answers (3)

Answers (3)

Lakshmipathi
Active Contributor
0 Kudos

Has the Customer / Vendor been extended to Company Code in BP ?

0 Kudos

Yes! Customer is extended to Company Code in BP.

Sales order & Outbound delivery has been successfully created using IDOC. Issue is only with Invoice

Lakshmipathi
Active Contributor
0 Kudos

Not sure in which version you are working. Have a look at OSS note 316811

0 Kudos

Thanks!

Working on S4 HANA 1709, IS-RETAIL

0 Kudos

Gone through the mentioned note but still same error.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check you have every partner functions needed in segment E1EDKA1 (each segment by each partner role).

I hope it helps you

Regards

Eduardo

0 Kudos

Thanks!

In segment E1EDKA1, there is RS,AG,RE,RG & BK

I understand AG,RE,RG is there in the billing document.

But, why system has filled data in RS & BK ? Both are vendor ? Please have a look at the screenshots.

BK seems to be having Vendor code = sales org code but why RS is having vendor code = customer code?

Are we missing some configuration?

I tried deleting these two segments in WE19 and trigger the inbound but still the same error.

E1EDKA1 RS

Lakshmipathi
Active Contributor
0 Kudos

When you post a query and give further updates, please add the content under "Comments" and not under "Answer" as you were not answering to a query but only providing additional informations as asked by the members. Also, when you add the text under Comments, it will be intimated to the person to whom you are responding whereas, if you add the text under Answer, the member will not be intimated. By the way, your above answer has been converted as comment by me.

0 Kudos

@Eduardo Hinojosa , please look at my reply