Inter Company Billing IDoc

Embed Size (px)

Citation preview

  • 8/8/2019 Inter Company Billing IDoc

    1/31

    Page 1 of 1

    InterCompany_Billing_IDoc.doc

    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 aPort

    4. Maintain an Output Type5. Creating aLogical Address6. Creating aPartner Profile for both Customer & Vendor

    7. The relevant MM customizing is maintained.8. The relevant FI customizing is maintained.

    1. Creating a Customerto represent the receiving Company.

    The customer has already been created (XD01) for the purpose of Intercompanyprocessing and entered in the approperiate transction in customizing (Sales and

    Distribution Billing Intercompany Billing Define Internal Customer Number BySales Organization).

    Note: The cutomer has been created in the supplying company code. The organizationaldata in this case is:

    Supplying Company Code: 1180Supplying Plant: 1180Supplying Sales Organization: 1180

    Supplying Distribution Channel: 01Supplying Division: 00

    Receiving Company Code: 3100Customer 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 inthis 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.

  • 8/8/2019 Inter Company Billing IDoc

    2/31

    Page 2 of 2

    InterCompany_Billing_IDoc.doc

    3. Creating a PortTools 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 automaticname or whether you wish to use your own name.

    Port name: Automatically generated

    Version: 4.xRFC destination: PLD (This was defined by the basis people).

    4. Maintainoutput 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 ConditionTechniqueMaintain Output Determination for Billing Documents Maintain Output

    Types (T. Code V/40).

  • 8/8/2019 Inter Company Billing IDoc

    3/31

    Page 3 of 3

    InterCompany_Billing_IDoc.doc

    Details

  • 8/8/2019 Inter Company Billing IDoc

    4/31

    Page 4 of 4

    InterCompany_Billing_IDoc.doc

  • 8/8/2019 Inter Company Billing IDoc

    5/31

    Page 5 of 5

    InterCompany_Billing_IDoc.doc

  • 8/8/2019 Inter Company Billing IDoc

    6/31

    Page 6 of 6

    InterCompany_Billing_IDoc.doc

  • 8/8/2019 Inter Company Billing IDoc

    7/31

    Page 7 of 7

    InterCompany_Billing_IDoc.doc

    Mail title and texts

  • 8/8/2019 Inter Company Billing IDoc

    8/31

    Page 8 of 8

    InterCompany_Billing_IDoc.doc

    Processing routines

  • 8/8/2019 Inter Company Billing IDoc

    9/31

    Page 9 of 9

    InterCompany_Billing_IDoc.doc

    Partner functions

  • 8/8/2019 Inter Company Billing IDoc

    10/31

    Page 10 of 10

    InterCompany_Billing_IDoc.doc

    Sales and Distribution Basic Functions Output Control Output DeterminationOutput Determination Using the Condition TechniqueMaintain Output Determinationfor Billing Documents

    Assign Output Types To Partner Functions

    Maintain Output Determination Procedure

  • 8/8/2019 Inter Company Billing IDoc

    11/31

    Page 11 of 11

    InterCompany_Billing_IDoc.doc

    Assign Output Determination Procedures

    Master Data

    Maintain output Master Data

    Logistics Sales and Distribution Master Data Output (T. Code VV31)

  • 8/8/2019 Inter Company Billing IDoc

    12/31

    Page 12 of 12

    InterCompany_Billing_IDoc.doc

    5. Create Logical AddressImg: Sales and Distribution Billing Intercompany Billing Automatic Posting ToVendor Account (SAP-EDI) Assign vendor. (T. Code WEL1)

    Logical address 1180P3100 is made of the supplying Company Code (1180) and thereceiving Customer (P3100).

    Note: If the receiving Customer is a numeric number you must add zeros between theCompany 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 alphanumeric number so the second line was not necessary. It was created just for thisdocumentation and was not saved)

  • 8/8/2019 Inter Company Billing IDoc

    13/31

    Page 13 of 13

    InterCompany_Billing_IDoc.doc

    The Logical address is completed when the receiving Company Code and the Vendor areentered 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.

  • 8/8/2019 Inter Company Billing IDoc

    14/31

    Page 14 of 14

    InterCompany_Billing_IDoc.doc

    6. Creating aPartner Profile for both Customer & VendorTools Business Communication IDoc Basis Idoc Partner Profile (T. CodeWE20)

  • 8/8/2019 Inter Company Billing IDoc

    15/31

    Page 15 of 15

    InterCompany_Billing_IDoc.doc

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

    SAVE

  • 8/8/2019 Inter Company Billing IDoc

    16/31

    Page 16 of 16

    InterCompany_Billing_IDoc.doc

    Press in outbound paratrs. Section, to maintain detail screens

    The following screen will appear.

    Enter the following data in the appropriate fields:

    Partn.funct. BPMessage type INVOICMessage Code FI

    Receiving port A000000001Basic Type INVOIC01

  • 8/8/2019 Inter Company Billing IDoc

    17/31

    Page 17 of 17

    InterCompany_Billing_IDoc.doc

    Press enter and the screen will change to the following:

    Enter PaketSize 1

  • 8/8/2019 Inter Company Billing IDoc

    18/31

    Page 18 of 18

    InterCompany_Billing_IDoc.doc

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

  • 8/8/2019 Inter Company Billing IDoc

    19/31

    Page 19 of 19

    InterCompany_Billing_IDoc.doc

    You can repeat the process for cases where invoice verification is done against purchaseorder. 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 codeand output type.

    NOTE: You cannot use output type RD04 again therefore you must copy it incustomizing to another output type (in this case RD00)

  • 8/8/2019 Inter Company Billing IDoc

    20/31

    Page 20 of 20

    InterCompany_Billing_IDoc.doc

    Vendor

    Follow the same procedures but maintain the inbound paratrs. Screen as follows:

  • 8/8/2019 Inter Company Billing IDoc

    21/31

    Page 21 of 21

    InterCompany_Billing_IDoc.doc

  • 8/8/2019 Inter Company Billing IDoc

    22/31

    Page 22 of 22

    InterCompany_Billing_IDoc.doc

    FI CUSTOMIZING

    Financial Accounting Accounts Receivable and Accounts Payable Business

    Transactions Incoming Invoices/Credit Memos EDI Enter Program Parametersfor EDI Incoming Invoice (T. Code OBCE)

    Make sure to maintain posting types, tax code and invoice doc.type. Use KR when notusing purchase order & RE when using purchase order.

  • 8/8/2019 Inter Company Billing IDoc

    23/31

    Page 23 of 23

    InterCompany_Billing_IDoc.doc

    Details

    Assign Company Code for EDI Incoming Invoice

    By leaving the field CoCD blank, all company codes are available.

  • 8/8/2019 Inter Company Billing IDoc

    24/31

    Page 24 of 24

    InterCompany_Billing_IDoc.doc

    Assign G/L Accounts for EDI Procedures (T. Code OBCB)

    P1180 = Vendor3100 = Company Code of receiving company (of customer)

    NOTE:

    G/L account should not be connected to CO.

  • 8/8/2019 Inter Company Billing IDoc

    25/31

    Page 25 of 25

    InterCompany_Billing_IDoc.doc

    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

  • 8/8/2019 Inter Company Billing IDoc

    26/31

    Page 26 of 26

    InterCompany_Billing_IDoc.doc

    Accounting Financial Accounting General Ledger Master Records IndividualProcessing 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/Interestscreen).

  • 8/8/2019 Inter Company Billing IDoc

    27/31

    Page 27 of 27

    InterCompany_Billing_IDoc.doc

    TEXT

    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 TextNo special configuration is necessary. Just enter text in the Header note. You may usethe following access sequence.

    Item TextIt is necessary to implement a userexit in order to fill the item text field. Detailed

    instructions are found in note 39503

  • 8/8/2019 Inter Company Billing IDoc

    28/31

    Page 28 of 28

    InterCompany_Billing_IDoc.doc

    MM Customizing:

    Make sure the Unit of Measures ISO Codes are configured correctly.

    General Settings Check units of measurement (T. Code CUNI)

  • 8/8/2019 Inter Company Billing IDoc

    29/31

  • 8/8/2019 Inter Company Billing IDoc

    30/31

    Page 30 of 30

    InterCompany_Billing_IDoc.doc

    Optional MM Customizing:

    NOTE: This is only necessary for logistics invoice verification.

    Materials Management Logistics Invoice Verification EDI Enter Program

    Parameters

    Details

  • 8/8/2019 Inter Company Billing IDoc

    31/31

    Monitoring

    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 Headeroutput 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