Download as pdf or txt
Download as pdf or txt
You are on page 1of 84

#SAPSD

Inter-company process in SAP S4 HANA

@Mickael QUESNOT IN @SAP with @KPC - KEY


PERFORMANCE CONSULTING
Would you like to know more about Inter-company process in SAP S4 HANA
? If so, follow this interactive tutorial.

by Mickaël QUESNOT
#SAPMAKER

© Mickaël QUESNOT 2
LET’S GO

I would like to share the steps that were followed to set up inter-company process
during a recent S4 HANA Implementation. Manual configuration was carried out.
Though the set-up is a bit similar to previous releases, some things have changed
in S4 like Business Partner for internal customer/supplier, new output management
and so on.

© Mickaël QUESNOT 3
These are the relevant areas in IMG Logistics:

© Mickaël QUESNOT 4
(a) Set up Stock Transfer Order

© Mickaël QUESNOT 5
Define Shipping Data for Plants

© Mickaël QUESNOT 6
Define Shipping Data for Plants

Maintain the shipping data for plants for stock transfer processing.

Use

Here you maintain the customer number of the receiving plant. This customer number is used in SD
shipping processing to identify the goods recipient (ship-to party). This is relevant if provision
has been made in Customizing for a stock transfer to be carried out with an SD delivery (see
Assign Delivery Type and Checking Rule).

You can also define the following for the supplying plant:

• Sales organization

• Distribution channel

• Division

With this data, the system determines the shipping data for the material to be transferred (e.g. the
shipping point).

You also define the language in which the PO texts are to be maintained for the supplying plant.

© Mickaël QUESNOT 7
(a) Set up Stock Transfer Order

© Mickaël QUESNOT 8
(a) Set up Stock Transfer Order

© Mickaël QUESNOT 9
(b) Set up Inter-company Billing

© Mickaël QUESNOT 10
Most of this should be straight forward, except maybe for the assignment of internal
customer number:

© Mickaël QUESNOT 11
Define Internal Customer Number By Sales Organization

In this menu option, you assign an internal customer number for intercompany
billing to your sales organization. In intercompany billing, the intercompany billing
document is created for this customer number which represents your sales
organization. The intercompany billing document is assigned via the internal
customer number of your sales organization.

Actions

1. Create a customer number that represents your sales organization.

2. Enter this customer number for the corresponding sales organization.

© Mickaël QUESNOT 12
Most of this should be straight forward, except maybe for the
assignment of internal customer number:

© Mickaël QUESNOT 13
c) Output Control

© Mickaël QUESNOT 14
c) Output Control

© Mickaël QUESNOT 15
c) Output Control

© Mickaël QUESNOT 16
What is new here in S/4 HANA is that customers and vendors have been replaced by
business partner.

© Mickaël QUESNOT 17
business partner

© Mickaël QUESNOT 18
(d) You must use TILE BP to MANAGE business partners:

© Mickaël QUESNOT 19
Role FLCU00 is for company code data (FI customer)

© Mickaël QUESNOT 20
Role FLCU01 is for sales area data (SD customer)

© Mickaël QUESNOT 21
Role FLVN00 is for company code data (FI supplier)

© Mickaël QUESNOT 22
Role FLVN01 is for vendor area data (MM supplier)

© Mickaël QUESNOT 23
(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.

© Mickaël QUESNOT 24
PI02 CONDITION TYPE

© Mickaël QUESNOT 25
(f) Set up FI/CO customizing for billing

© Mickaël QUESNOT 26
Below are the customizing steps followed to set-up inter-company billing,

© Mickaël QUESNOT 27
Example:
Company Code FR Z005 is delivering company (plant Z005)

© Mickaël QUESNOT 28
Company Code FR Z003 is ordering company (sales organization Z003)

© Mickaël QUESNOT 29
Data:
Supplier in Z005 is 1000281

© Mickaël QUESNOT 30
Customer in Z003 is 1000285

© Mickaël QUESNOT 31
Reconciliation account for customer has to be 411101

© Mickaël QUESNOT 32
FS00

© Mickaël QUESNOT 33
Account assignment group has to be 03 for affiliated comp revenue.

© Mickaël QUESNOT 34
Reconciliation account for vendor has to be 401101 Trade payables affiliated companies

© Mickaël QUESNOT 35
FS00

© Mickaël QUESNOT 36
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
This process requires several steps:
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. The relevant FI customizing is maintained.

© Mickaël QUESNOT 37
1. Creating a Customer to represent the ORDERING/RECEIVING Company Z003 .
-> Done Example Z003 > 1000285

© Mickaël QUESNOT 38
The customer master data has already been created for the purpose of Intercompany
processing and entered in the appropriate transaction in customizing (Sales and
Distribution -> Billing -> Inter-company Billing -> Define Internal Customer Number By
Sales Organization).

© Mickaël QUESNOT 39
The customer master data has already been created for the purpose of Intercompany
processing and entered in the appropriate transaction in customizing (Sales and
Distribution -> Billing -> Inter-company Billing -> Define Internal Customer Number By
Sales Organization).

© Mickaël QUESNOT 40
Note: The sales area data for the IC customer has been created in the supplying
company code / sales area.

© Mickaël QUESNOT 41
2. Creating a Vendor to represent the supplying company Z005 -> Done Example Z005 : 1000281
The Vendor is created with the standard transaction.

© Mickaël QUESNOT 42
Note: The Vendor is created in the ORDEING/receiving Company Code. The organizational data in
this case is the same as above.
NOTE: There is NO need to “connect” vendor to customer in the control screen.

© Mickaël QUESNOT 43
3. Creating a Port -> logical system X
Tools a Business Communication -> IDoc Basis -> Idoc a Port Definition (T. Code WE21)

© Mickaël QUESNOT 44
Choose Transactional RFC and press the create icon

© Mickaël QUESNOT 45
Maintain Transactional RFC

© Mickaël QUESNOT 46
Port name: Automatically generated
Version: 4.x
RFC destination: logical System of the system client -> X

© Mickaël QUESNOT 47
4. Maintain output type -> Dummy Type RD00 for IDoc necessary

© Mickaël QUESNOT 48
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).

© Mickaël QUESNOT 49
Output Type RD00 – Invoice is a special function, responsible for the execution of the
IDOC.

© Mickaël QUESNOT 50
Output Type RD00 – Invoice is a special function, responsible for
the execution of the IDOC.

© Mickaël QUESNOT 51
Assign Outbound process codes
Call transaction SM30 and choose the view VEDI_TEDE1.

© Mickaël QUESNOT 52
Maintain the following entry:

© Mickaël QUESNOT 53
Process code: SD08

© Mickaël QUESNOT 54
Description: “Intercompany Billing”
Function module: IDOC_OUTPUT_INVOIC_IV_MM

© Mickaël QUESNOT 55
Set up Output Management in Fiori App

© Mickaël QUESNOT 56
In Fiori Launchpad choose App “Output Management”

© Mickaël QUESNOT 57
and add the following rule: If receiving/ORDERING BP = IC
Company Code use IDOC

© Mickaël QUESNOT 58
5. Create Logical Address -> Z0050001000285 = log. Address /
versus destination company code = Z003 and Vendor = 1000281

© Mickaël QUESNOT 59
Tcode SPRO (IMG): Sales and Distribution -> Billing a Intercompany Billing -> Automatic
Posting To
Vendor Account (SAP-EDI) -> Assign vendor. (T. Code WEL1)

© Mickaël QUESNOT 60
ASSIGN VENDOR

© Mickaël QUESNOT 61
Logical address Z0050001000285
is made of the supplying
Company Code (Z005) and
the receiving/ORDERING
Customer (1000285).

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.

© Mickaël QUESNOT 62
Tcode SPRO (IMG): Sales and Distribution -> Billing è Intercompany Billing -> Automatic
Posting To
Vendor Account (SAP-EDI)

© Mickaël QUESNOT 63
-> Activate account assignment.

© Mickaël QUESNOT 64
-> IV Invoice Intercompany / IG Invoice Intercompany Cancellation

© Mickaël QUESNOT 65
6. Creating a Partner Profile for both Customer and Vendor
Tools a Business Communication -> IDoc Basis -> Idoc -> Partner Profile (T. Code WE20)

© Mickaël QUESNOT 66
Customer: -> 1000285
Put cursor on Partner type KU and press create.
Enter type, Agent and Lang,
SAVE

© Mickaël QUESNOT 67
Pressing outbound parameters.

© Mickaël QUESNOT 68
The following screen will appear.

© Mickaël QUESNOT 69
Enter the following data in the appropriate fields:
Partn.funct.: BP
Message type: INVOIC
Message Code: FI
Receiving port: A000000003
Basic Type: INVOIC01

© Mickaël QUESNOT 70
Press enter and the screen will change to the following:
Enter PaketSize 1

© Mickaël QUESNOT 71
Go to the Message Control tab press and enter the data as specified in the following
screen.

© Mickaël QUESNOT 72
Vendor -> 1000281

© Mickaël QUESNOT 73
Follow the same procedures but maintain the inbound parameter Screen as follows:

© Mickaël QUESNOT 74
Make FI Settings for Posting

© Mickaël QUESNOT 75
Enter Program Parameters for EDI Incoming Invoice

© Mickaël QUESNOT 76
This process step shows you how to make settings for posting intercompany accounts
payable documents.

© Mickaël QUESNOT 77
DEMO

© Mickaël QUESNOT 78
DOCUMENT FLOW

© Mickaël QUESNOT 79
VF04

© Mickaël QUESNOT 80
INDIVIDUAL BILLING DOCUMENT IV

© Mickaël QUESNOT 81
OUTPUT IDOC

© Mickaël QUESNOT 82
INTERCOMPANY INVOICE SAVED

© Mickaël QUESNOT 83
This concludes this tutorial.

🐱‍🏍Follow me on social networks and subscribe ✔


on:
👌 Blog :
http://mickael.quesnot.free.fr
👌Youtube :
http://www.youtube.com/user/MrSharesap
👌Twitter :
https://twitter.com/@mistersharesap
👌Linkedin :
https://www.linkedin.com/in/mickaelquesnot/

#sap #erp #consulting #manufacturing


#subcontracting #saps4hana #saperp #sapfiori
#consultant #KPC #managementdetransition
#formation #training #fiori #S4HANA

© Mickaël QUESNOT 84

You might also like