In general business process Inter-Company billing process, the supplier bills the seller. The system automatically performs IC billing if the vendor entered in the order is in a different company code than the sales organization in the order.
A customer orders goods from a company in USA. These goods are delivered directly to the customer from a Malaysian plant, which is part of the same group as the US company, but in a different company code. The US company triggers delivery from the Malaysian plant and the following invoices are automatically generated:
- A customer invoice from the US company
- An inter-company invoice from the Malaysian plant, billing the US company
I would like to brief all the steps which are required to set up inter-company process in S/4 HANA . Even though, the set-up is a bit similar to previous releases, but somewhere is different in S/4 like Business Partner for internal customer/supplier, new output management and so on.
These are the relevant areas in IMG Logistics: –
(a) Set up Stock Transfer Order
(b) Set up Inter-company Billing
Here, customers and vendors have been replaced by business partner in SAP S/4 HANA.
(d) You must use transaction BP to create business partners:
- Role FLCU00 is for company code data (FI customer)
- Role FLCU01 is for sales area data (SD customer)
- Role FLVN00 is for company code data (FI supplier)
- Role FLVN01 is for vendor area data (MM supplier)
(e) Other master data must also be created (pricing records, etc.). SAP recommends the usage of
pricing lists instead of condition records because this runs faster.
(f) Set up FI/CO customizing for billing
Please find the below customizing steps require to set-up inter-company billing.
Company Code US 1710 is delivering company
Company Code DE 1010 is ordering company
Supplier in 1010 is 10301710
Customer in 1710 is 17101010
Reconciliation account for customer has to be 12300000
Account assignment group has to be 03 for affiliated comp revenue.
Reconciliation account for vendor has to be 21300000 Trade payables affiliated companies
Inter-Company Billing – Automatic Posting To Vendor Account (SAP-EDI)
Automatic posting to vendor account is done by EDI. In our case where both companies are processed in the same system (& client), it is sufficient to create IDOC
Below are the steps for further process:
1. Creating a Customer to represent the receiving Company.
2. Creating a Vendor to represent the supplying company.
3. Creating a Port
4. Maintain an Output Type
5. Creating a Logical Address
6. Creating a Partner Profile for both Customer and Vendor
7. FI customization.
1. Creating a Customer to represent the receiving Company. ->
The customer master data has already been created for the purpose of Inter-company processing and entered in the appropriate transaction in customizing.
Sales and Distribution -> Billing -> Inter-company Billing -> Define Internal Customer Number By Sales Organization.
Note: The sales area data for the IC customer has been created in the supplying company code / sales area.
2. Creating a Vendor to represent the supplying company. ->
The Vendor is created with the standard transaction.
Note: The Vendor is created in the receiving Company Code. The organizational data in this case is the same as above.
There is NO need to “connect” vendor to customer in the control screen.
3. Creating a Port -> logical system HCF7CLNT715
Tools a Business Communication -> IDoc Basis -> Idoc a Port Definition (T. Code WE21)
Maintain Transactional RFC: (Choose Transactional RFC and press the create icon).
A dialog box will open asking whether you want the system to generate an automatic name or whether you wish to use your own name.
Port name: Automatically generated
RFC destination: logical System of the system client -> HC7CLNT715
4. Maintain output type -> Dummy Type RD00 for IDoc necessary
Output Type RD00 – Invoice is a special function, responsible for the execution of the IDOC.
Output type RD00 is maintained: IMG: Sales and Distribution -> Billing -> Inter-company Billing -> Automatic Posting To Vendor Account (SAP-EDI) -> Maintain output types (T. Code V/40).
Assign Outbound process codes
Call transaction SM30 and choose the view VEDI_TEDE1. Maintain the following entry:
- Process code: SD08
- Description: “Intercompany Billing”
- Function module: IDOC_OUTPUT_INVOIC_IV_MM
Set up Output Management in Fiori App
In Fiori Launchpad choose App “Output Management” and add the following rule: If receiving BP = IC Company Code use IDOC
5. Create Logical Address -> 17100017101010 = log. Adresse / BUK = 1010 and Vendor = 10301710
T.code SPRO (IMG): Sales and Distribution -> Billing a Intercompany Billing -> Automatic Posting To Vendor Account (SAP-EDI) -> Assign vendor. (T. Code WEL1)
Logical address 17100017101010 is made of the supplying Company Code (1710) and the receiving Customer (17101010).
Note: If the receiving Customer is a numeric number you must add zeros between the Company code and Customer number so the Logical Address will be 14 digits.
The Logical address is completed when the receiving Company Code and the Vendor are entered in the detail screen.
It is also necessary to activate the account assignment.
IMG — >Sales and Distribution -> Billing è Intercompany Billing -> Automatic Posting To Vendor Account (SAP-EDI) -> Activate account assignment. -> CI02 Invoice Intercompany / CIC2 Invoice Intercompany Cancellation
6. Creating a Partner Profile for both Customer and Vendor
Tools a Business Communication -> IDoc Basis -> Idoc -> Partner Profile (T. Code WE20)
Customer: -> 17101010
Put cursor on Partner type KU and press create.
Enter type, Agent and Lang,
Pressing outbound parameters. Section, to maintain detail screens
The following screen will appear.
Enter the following data in the appropriate fields:
Message type: INVOIC
Message Code: FI
Receiving port: A000000003
Basic Type: INVOIC01
Press enter and the screen will change to the following:
Enter Packet Size 1
Go to the Message Control tab press and enter the data as specified in the following screen.
Vendor -> 10301710
Follow the same procedures but maintain the inbound parameter Screen as follows:
This is all about process of Inter-Company in SAP S/4 HANA. Please go through this post and share your feedback.