Symptom As of Release 3.0C, you can make the posting to vendor account for intercompany billing (ICB) using SAP Electronic Data Interchange (EDI) directly in Financial Accounting. This note is a guideline for making the correct system settings. From EDI outbound processing for ICB, EDI inbound processing is triggered for the invoice receipt in Financial Accounting (module FI) and the posting to vendor account is carried out in the selling company code. You can also use this EDI processing for the logistics invoice verification of the stock transport order in Materials Management (module MM). Only some of the parameters must be adjusted in Customizing for the output control. These adjustments are described in the following solution.
Other terms Cross-company, enterprise code cannot be determined
Reason and Prerequisites Consulting
Solution 1. Create a vendor master record that represents the delivering company code. This vendor master record must be created in the selling company code.
System settings: 2. Output type: Output type RD04 is set up for posting to vendor account in ICB (transaction V/40).
3. Output determination procedure: Output determination procedure V40000 applies for billing type IV.
4. Creating an output condition record (transaction VV31): Output type "RD04" and the customer for ICB.
5. Output control: In the administration for EDI processing, a partner profile must be maintained for the output control for inbound and outbound processing since the sender data and the recipient data is required. The outbound process code is used to trigger a Version 5 function module (Version 3.0 function module to trigger inbound processing). Outbound process code: SD08. For further information about the output configuration, refer to the "Output" section in the IMG.
6. Outbound processing:
Important: The field KNVV-EIKTO (account number at the customer) must be maintained in the customer master data (transaction VD02 -> sales view).
a) Partner profiles (transaction WE20) Partner No.: Specify customer number IV Partn. Type : KU
b) Output control: Partner No.: Customer number IV Partn. Type : KU Partner Role : RE Application : V3 Output type: RD04 Output : Output type : INVOIC Output code: FI Outbound Options: Outbound code : SD08 : INVOIC: Internal allocation
c) Outbound parameters: Outbound Options: Receiver port : For example: SAPP30 EDI MM Development IDoc Type : INVOIC02 Basic IDoc type: INVOIC02
7. Inbound processing (transaction SBPT) for the customer: a) Inbound parameters: Partner No.: Specify vendor number Partn. Type : LI Partner Role : Output type : INVOIC Invoice/Billing document Output code: FI Process code : INVF
8. Check the process code and processing function module assignment. Transaction: WE42 -> Basis -> Control -> Inbound process code -> Processing by function module -> Processing with or without ALE Code : INVF Identification: IDOC_INPUT_INVOICE_FI (INVOIC FI Invoice receipt) or Code FI03 to 3.0E Identification: IDOC_INPUT_INVOICE_FI
9. Vendor: A vendor must be assigned for each company code and ICB customer.
You can make this assignment in Customizing. Choose the following IMG path: "Sales and Distribution -> Billing -> Intercompany Billing -> Automatic Posting To Vendor Account (SAP-EDI)"
Example: Data: Delivering company code: 0001 Customer: 0000000001, created in delivering company code Selling company code: 0099 Vendor: ALECRED01, created in selling company code
Settings: Application: V3 Logical address 00010000000001 This consists of: a) Delivering company code consisting of four digits: 0001 b) Customer number consisting of ten digits: 0000000001 Target: Company code: 0099 Vendor: ALECRED01 Important: The logical address must have 14 digits. If the customer number has less than ten digits, add leading zeros.
The system may issue the following error message if the logical address is maintained incorrectly in the table EDILOGADR: "Company code could not be determined for intermediate document XXXXX".
Proceed in the same way for the internal credit memo.
Different system settings for the logistics invoice verification:
6. Output control: Output code 'MM'
7. Inbound processing Output code 'MM' Process code 'INVM' as of Release 4.0 'INVL'
8. Check the process code and processing function module assignment. Transaction: WE42 -> Basis -> Control -> Inbound process code -> Processing by function module -> Processing with or without ALE Code 'INVM' Identification: 'IDOC_INPUT_INVOICE_MM' or Code 'INVL' (as of Release 4.0) Identification: 'IDOC_INPUT_INVOICE_MRM'
|