Skip to Content
0
Sep 26, 2019 at 10:05 AM

Not able to create Invoice Sales Invoice using IDOC

264 Views Last edit Sep 27, 2019 at 08:26 AM 5 rev

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