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. Creating a Customer to represent the receiving Company.
The customer has already been created (XD01) for the purpose of Intercompany
processing and entered in the approperiate transction 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

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
Version: 4.x
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).

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

Maintain Output Determination Procedure
Assign Output Determination Procedures

Master Data
Maintain output Master Data
Logistics -> Sales and Distribution -> Master Data -> Output -> (T. Code VV31)

5. Create Logical Address
Img: Sales and Distribution -> Billing à Intercompany Billing -> Automatic Posting To
Vendor Account (SAP-EDI) -> Assign vendor. (T. Code WEL1)

Logical address 1180P3100 is made of the supplying Company Code (1180) and the
receiving Customer (P3100).
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.
E.g if the customer number was 3100, than the logical address would have been
11800000003100 as can be seen in the second line.
(In our case the customer is an alpha numeric number so the second line was not necessary. It was created just for this documentation and was not saved)

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.
6. Creating a Partner Profile for both Customer & Vendor
Tools à Business Communication -> IDoc Basis -> Idoc -> Partner Profile (T. Code

Put cursor on Partner type KU and press create.
Enter typ, Agent & Lang,

Press in outbound paratrs. Section, to maintain detail screens
The following screen will appear.
Enter the following data in the appropriate fields:
Partn.funct. BP
Message type INVOIC
Message Code FI
Receiving port A000000001
Basic Type INVOIC01

Press enter and the screen will change to the following:
Enter PacketSize 1

Go to the Message Control tab press and enter the data as specified in the following

You can repeat the process for cases where invoice verification is done against purchase
order. in this case enter MM in “message code field.

As you can see the only difference between the FI & MM invoice is in the message code
and output type.
NOTE: You cannot use output type RD04 again therefore you must copy it in
customizing to another output type (in this case RD00)

Follow the same procedures but maintain the inbound parameter Screen as follows:
Financial Accounting à Accounts Receivable and Accounts Payable à Business
Transactions -> Incoming Invoices/Credit Memos -> EDI -> Enter Program Parameters
for EDI Incoming Invoice (T. Code OBCE)
Make sure to maintain posting types, tax code and invoice doc.type.
Use KR when not using purchase order & RE when using purchase order.

Assign Company Code for EDI Incoming Invoice
By leaving the field CoCD blank, all company codes are available.
Assign G/L Accounts for EDI Procedures (T. Code OBCB)

P1180 = Vendor
3100 = Company Code of receiving company (of customer)

G/L account should not be connected to CO. Assign Tax Codes for EDI Procedures (T.Code OBCD) It is necessary to match the output tax from the sales order to the input tax.
Tax type = Output Tax
Tx = Input Tax

Accounting -> Financial Accounting -> General Ledger -> Master Records -> Individual
Processing -> Centrally (T.Code FS00)

G/L account no. = account number that was entered in transaction OBCB (page 24)
Tax category must allow for input tax.

Make sure manual posting is allowed for the G/L account. (“Create/Bank/Interest”

In many cases the G/L account has been configured so that text is mandatory. This could
be either Header Text or Item Text.
Header Text
No special configuration is necessary. Just enter text in the “Header note”. You may use
the following access sequence.

Item Text
It is necessary to implement a userexit in order to fill the item text field. Detailed
instructions are found in note 39503

8. MM Customizing:
Make sure the Unit of Measure’s ISO Codes are configured correctly.
General Settings à Check units of measurement (T. Code CUNI)

Optional MM Customizing:
NOTE: This is only necessary for logistics invoice verification.
Materials Management à Logistics Invoice Verification à EDI à Enter Program

There are several transaction that allow you to monitor the IDoc. First you need to know
the IDoc number. You can see the IDoc number in the processing log in the “Header
output” screen in the billing document.

You can use transaction WE02 or WE05. Enter the IDoc number in the selection screen. If you have an error in the IDoc, you could analyze it with transaction WE19

Categories: Stock Transport Order | 11 Comments

Post navigation

11 thoughts on “Inter-Company Billing – Automatic Posting To Vendor Account (SAP-EDI)

  1. hoppiemochie

    Hiya all of youz!..
    How are yaz doing?

  2. EnveryShoonry

    Hey everyone. I found this youtube video and just wonder what you might think of it. Is it real?

    It looks real to me, but you never know!

    It looks like some robot is automatically playing.

    Thank you!

  3. acTiolo

    usa freedom casino entries new casino glendale az sams town shreveport casino .moon resort casino ballys casino resort las vegas arcadia casino star city casino car park .phila. casino caesars palace hotel and casino .capri casino cascade bowl and casino hotels near diamond jo casino boomtown casino .should not hotels around belterra casino .in the attached .because .And when star city casino entertainment ft randall casino Before Where tulalip seattle casino so pair-a-dice casino clams casino pizza More information on hotels near hollywood casino in grantville pa Well so wathc valley casino escondido ms casino news which Here rushmore city casino was hollywood casino las vegas magic star casino las vegas magic box casino review when sam’s town hotel and casino las vegas nv ncl gem casino tulalip casino hours hotels by tulalip casino You could get holiday inn express cherokee casino Ok, here
    snoqualmie casino logo wigan casino playlist .In stuff m casino las vegas when lodge casino Cool stuff – four queens casino las vegas .when .The .sometime Links anadarko casino turtle lake casino The best of What river rock casino ca can biloxi casino red hawk casino security sample casino business plan run a online casino Why online casino portals sometime and this is the best resource on .

  4. Our Company, Authorised Software Reseller, is a fast-growing Corporation, which provides high quality software. Do you need integrated software solution for your convenience of use? Then, choosing our company is a right decision. A lot of completely satisfied customers had already benefited from our software. Thanks to our software, a lot of our customers have met their goals and expectations. The number of completely satisfied customers is growing rapidly day by day.

    The Mission
    Our mission is to provide professional software products and services to our clients and club, site, party members. These products will help our customers worldwide to have better design and solutions.

    Our Team
    Our team consists of the best developers, analysts and highly qualified programmers. Each of them has a very good experience from 3 to 10 years in this area. They are responsible and diligent, as well as highly interested in the success of the product they’ve created. We use the most modern and appropriate information technologies to transform our inventive ideas into the best solutions for our clients.

    Cheap OEM software – Downloadable Discount Software!

  5. Hack again?!

  6. mimelymbody

    phentermine placebo prozac and weight loss oxycodone benzodiazepine patient assistance for klonopin prednisone vocal cords

    google froogle blah blah blah 😀

  7. iodilmell

    Approvo pienamente a proposito di le idee espresse finora. Andate avanti similmente.

  8. برشلونة بيليه : دي ستيفانو الأفضل في التاريخ وميسي محظوظ فقط

    في تصريح مثير للجدل هاجم اسطورة كرة القدم البرازيلية بيليه نجم نادي برشلونة الإسباني ليونيل ميسي ، مؤكدا على انه لم يرقى بعد الى مستوى دييغو أرماندو مارادونا وألفريدو دي ستيفانو.

    اذ قال بيليه في مقابلة له مع برنامج “سبورتي اسبيكتاكولو” البرازيلي : ” دييغو أرماندو مارادونا اللاعب الأكثر تكاملا في التاريخ لكنه كان يفتقد للجدية في اللعب وهو ما يميز مواطنه ليونيل ميسي حاليا ، لكن بالنسبة لي يبقى دي ستيفانو الأفضل على مرّ التاريخ.”

    و اضاف : ” اعتقد ان ميسي لاعب محظوظ جدا اكثر منا نحن الـ 3 ( بيليه ، مارادونا ، دي ستيفانو) ، بانضمامه إلى نادٍ في مستوى برشلونة وهو الأمر الذي ساعده على صقل موهبته اكثر ، و الإندماج
    في المنظومة الكروية للفريق و تقديم مستويات كبيرة وتسجيل أهداف كثيرة.”

    موقع كلاسيكو برشلونه

  9. I am not sure where you’re getting your info, but good topic.

    I needs to spend some time learning more or understanding
    more. Thanks for wonderful info I was looking for this info for
    my mission.

  10. the final verdict on it is possible to be literally stable in the next days. Poland seems to be the next state for digicube to become traded

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: