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 proccessed in the same system (& client), it is sufficient to create Idoc.
This proccess 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 & Vendor
7. The relevant MM customizing is maintained.
8. The relevant FI customizing is maintained.
1. Create a Customer to represent the receiving Company:
The customer has already been created (XD01) for the purpose of Inter company processing and entered in the appropriate transaction in customizing
(Sales and Distribution⇒ Billing⇒ Intercompany Billing⇒ Define Internal Customer Number By Sales Organization).
Note: The cutomer has been created in the supplying company code. The organizational
Data in this case is:-
Supplying Company Code: 1180
Supplying Plant: 1180
Supplying Sales Organization: 1180
Supplying Distribution Channel: 01
Supplying Division: 00
Receiving Company Code: 3100
Customer representing the receiving Company Code: P3100
You enter the Customer that represents the supplying Sales Organization and not the one that represents the receiving Sales Organization.
2. Creating a Vendor to represent the supplying company:
The Vendor is created with the standard transaction (XK01).
Note: The Vendor is created in the receiving Company Code. The organizational data in this case is the same as above.
Vendor representing the supplying Company Code: P1180
NOTE: There is NO need to “connect” vendor to customer in the control screen.
3. Creating a Port:
Tools ⇒ Business Communication⇒ IDoc Basis ⇒ Idoc ⇒ 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: PLD (This was defined by the basis people).
4. Maintain Output type:
Output Type RD04 – Invoice Receipt MM is a special function, responsible for the execution of the Idoc and will be entered in the Partner Profile later on.
Output type RD04 is maintained:
Img: Sales and Distribution⇒ Basic functions ⇒ Output control⇒ Output Determination⇒ Output Determination Using the Condition Technique⇒ Maintain Output Determination for Billing Documents⇒ Maintain Output
Types (T. Code V/40).
Double click on “Mail Title and Texts”
Double click on “Processing Routines”
Double click on “Partner Functions”
Sales and Distribution ⇒ Basic Functions ⇒ Output Control ⇒ Output Determination ⇒Output Determination Using the Condition Technique ⇒ Maintain Output Determination for Billing Documents
Assign Output Types To Partner Functions