Inter company GL Postings using BAPI_ACC_DOCUMENT_POST

Hi,
I am having a requirement where one GL entry will be done for one company code and the 2nd entry will be done for another company code.
In this case there are 3 documents that are being generated.
One document for each company code and 3rd one for cross company code GL posting.
Can you please tell me how this can be done technically using some BAPI's or FM.
I tried using BAPI_ACC_DOCUMENT_POST, but was not successful
Appreciate any help in this regard.
Thanks and regards,
Hariharan

I have found it out myself. You can give the company code at item level and though the document number it gives back is the document for the header level code, where as this document contains the cross company code document inside it.

Similar Messages

  • Inter company Automatic postings from Customer to Vendor

    Dear experts
    I am working on connecting two company codes where billing invoice of one company code 100 will be vendor postings for other company code 200 in the same server of SAP version 4.7
    Requirement is
    In company code 100, when Sales order is billed in SAP, it will post relevant documents in C.Code 100 at the same time, it should also post the relevant documents in C.Code 200 as vendor postings.  where C.Code 100 rendered services to C.Code 200.
    Request your help and advices to meet above requirement.
    Both company codes are in same server of SAP.
    Thanks in advance.
    S Habib Pasha.

    Dear Habib,
    I think the issue is you've got confused as to how to enter inter-company postings in the system.
    Consider the double entry you need to post. In config what you set up is the clearing accounts (OBYA). What you need to enter is the Revenue/Cost accounts which may be different for each postings.
    For E.g consider the following.
    Company 100 sells material to company 200.
    In F-02 what you will posting will be:
    Company          GL A/c                      Amount
    100     Cr     Revenue A/c      10,000
    200     Dr     Material Cost      10,000
    Once you simulate, you will see
    Company          GL A/c                     Amount
    100     Cr     Revenue A/c      10,000
    200     Dr     Material Cost      10,000
    100     Dr     Inter-co 200       10,000
    200     Cr     Inter-co 100       10,000
    Hope this is clear.
    Rgds
    Nadini

  • Issue in Inter Company postings

    Hi All,
               Currently I face an issue with inter-company posting transaction. Let me explain the issue.
    Using ‘FB01’ we can create inter-company postings by giving G/l and New Company code fields in the first screen. Let us say there are two company codes 0020,0040.
    Giving these company codes and their corresponding G/ls in ‘FB01’ system creates 2 documents, one in each company code i.e, one document in 0020 and another document 0040. There will also be a link in the field ‘Cross-CC no’ which says this is an inter-company transaction.
    Following are my questions.
    1.Can I create the ‘INTER-COMPANY’ Postings using ‘BAPI_ACC_DOCUMENT_POST’ ?  We can create accounting documents in both company codes 0020,0040 using this BAPI. But these two are becoming independent entries in each company code without any link ( Like the above case ‘Cross_CC no’) between them.
    2.My another requirement is that I have to give an error message to user inside a user-exit while validating data. If I give message type ‘E’ inside the user-exit it is giving the message but the normal flow is halted. It is going out with a blank screen with error message and the transaction is not going further. Is it possible to give error messages inside a user-exit without obstructing the normal flow of any transaction? The transaction can also be executed in Background.
    Thanks for your help.
    Vinod.

    For question one I'm interested in doing the same thing.
    Did you get an answer on how to do INTER-COMPANY postings using this BAPI?
    BR and many thanks in advance.
    Mattias

  • Return of consignment using inter-company vendor

    Hi All,
    I need some help regarding consignment return in retail using inter-company vendor.
    I'm using item category NKN for fill-up and NKR for pick-up with movement type 635 & 636.
    The fill up process goes well, we can create the DO fill up using inter-company PO in VL10D.
    But when i try to do return from store to inter-company DC the shipping tabulation in the PO is missing. So i can't generate the DO pick-up because of that.
    Best Regards,
    Leo

    Hi madhu,
          OBYA - i already settings for inter company code postings. I already made that and make posting also.
    Now the problem, i transfered open item of vendor(1) of 100(Dr) from sender company code(1234) to receiver company code(ABCD) to the vendor(2) 100(Dr).
       when i did this transfer sender company open item nulified and the same open item transfer to the receiver company code with open item status.
       Now i book one bill on vendor(2) receiver company code (ABCD) for 100(Cr). Now when i am clearing debit amount with credit amount through F-44 system generating a message that "open item not found"
       i choose document number in additional selections.
    Regards,
    Sankar

  • Clearing of open items- inter company transfer

    Dear All,
      I made some intercompany postings for vendor open items. When i am clearing the open items (receiver company code) of vendor through F-53 system says " No open items found". But through FBL1N i can see these as open items.
    Thanks in advance
    Regards,
    Sankar

    Hi madhu,
          OBYA - i already settings for inter company code postings. I already made that and make posting also.
    Now the problem, i transfered open item of vendor(1) of 100(Dr) from sender company code(1234) to receiver company code(ABCD) to the vendor(2) 100(Dr).
       when i did this transfer sender company open item nulified and the same open item transfer to the receiver company code with open item status.
       Now i book one bill on vendor(2) receiver company code (ABCD) for 100(Cr). Now when i am clearing debit amount with credit amount through F-44 system generating a message that "open item not found"
       i choose document number in additional selections.
    Regards,
    Sankar

  • Inter Company Reconcilation & inter branch Reconcilation

    how can we do the inter company reconcilation,inter branch reconcilation,sales ledger reconcilation,purchase ledger reconcilation,

    Dear:
                 When you post the inter company code transaction using some t codes like F-51, Invoice in one co code and payment through other company code. The system makes use of clearing rule and posting rules as defined in OB60 and OBYA and clears the transaction using clearing GL account. Reconciliation means clearing GL between co codes should have zero. If they do not have ZERO balance then it means inter company codes transactions are not well handled and not reconciled.
    Please refer to the link given
                  http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3042cb59-ef10-2c10-1e84-d29bde763c52?quicklink=index&overridelayout=true
    Regards

  • Inter Company Stock Transfer Configuration

    Hi,
                    When I assign customer in assign shipping data to plants, request is creating. So whether I have to create the request and transfer the same to production or quality or is there any other way to assign customer in either quality or production? Because I have to create the customer master data in development. Please Reply..

    The cross-plant internal procurement of materials can be carried out within one company code (inter-company) or by using several company codes (cross-company). This process can be dealt with using standard functions, such as material requirements planning, purchase requisitions, stock transport orders, transportation planning, and the handling of internal deliveries.
    Process Flow
    This scenario consists of the following steps:
    One-step stock transfer
    Creating stock transport order
    Posting goods issue for stock transport order
    Checking the status of the stock transfer
    Receiving transferred materials
    plz refer following link for detailed process
    http://help.sap.com/bp_blv1600/V5600/BBLibrary/HTML/135_EN_IN.htm
    Regards,
    eswarmanu...

  • Asking to use a valid document type for inter company

    Hi friends
    We have created a purchase order. It is STO inter-Co
    There is no issue for a normal vendor when posting; the error is just for inter-company vendors.
    When doing MIGO the document shows OK. When posting or saving the document it is showing an error as Use a valid document type for inter company.
    Can anyone help me on this issue?

    Hi
    This problem raised If the trading partner assigned in the Vendor master in Control data and that trading partner is different fromt the trading partner assigned to particualr Co code.
    Goto TCODE:OBA7 , selec the document type for which this error is coming - in the document type screen in control postings sections select the inter-company postings check box.
    VVR

  • Using AR Invoice but for Inter-company but with Workflow Approvals

    My client is using AR invoices (FV70) for inter-company transactions for other businesses that are not yet on ECC.  They also utilize workflow for their normal manual journal entries which can go through up to 4 approval paths one of the latter which requires an inter-company approval.  Does it make sense for inter-company transactions that will begin with the AR invoice to go through the same approval paths from the beginning similar to how they wish to do it for regular journal postings (FV50)?

    If the location of the companies is the same then Approval Paths does not make sense, however depending upon location changes and more importantly if their are different indirect tax liabilities on the two participating companies then the system might be required.
    Regards,
    Akhileshwar K

  • Inter Company Postings

    Hi Experts,
    I have a US company and an Canadian Company. When Canadian Employee comes to USA, USA Company will give the salary and raise an invoice to Canadian Company.
    Please let me know how to perform the Inter-Company Postings. I know OBYA is the tcode to configure the clearing between company codes.
    Confused how to create Company code A as an vendor and customer in Company code B.
    I will surely assign points for the correct blog.
    Your help is highly appreciated.
    Please send intercompany document to [email protected]
    Thanks
    Rajanikanth
    First create Company A as a Vendor(XK01) and a Customer(XD01) in company code B

    There is no need to create as vendor and customer. You can still capture this under GL postings.
    Go to OBYA
    Enter your company codes US / CDA
    For the posted in US and cleared in CDA
    enter posting key as  40 and enter the IC clearing GL account US say 194002
    enter posting key as 50 and enter the IC clearing GL account CDA  say 194002
    For the posted in CDA and cleared in US
    enter posting key as  40 and enter the IC clearing GL account CDA say 194001
    enter posting key as 50 and enter the IC clearing GL account US say 194001

  • Inter company postings between 2 different controlling areas

    Dear Team,
    Is it possible the inter-company postings between two different controlling areas company codes with same chart of accounts?
    profit center accounting and New GL is activated for the company codes.
    Please provide me the inputs if anybody gone through the above scenario.
    Regards,
    Ravi

    Hi Hrusikesh,
    Thanks for your inputs, but when i try to post inter company posting between two different company codes assigned to two different controlling areas through F-02. I am getting the below profit center error is coming.
    Profit center aaaa/1234 does not exist for 11.04.2014
    Message no. KM700
    Diagnosis
    The profit center does not exist in master data table CEPC for the date specified.
    Procedure
    Check your entry. If necessary, you must create the profit center for the date required.
    Is it possible the IC postings between two different company codes assigned to two different controlling areas?
    how we can meet the above requirement, please let me know if any one of you follow the above scenario.
    Regards,
    Ravi

  • Inter company billing use and steps?

    Inter company billing use and steps?

    INTERCOMPANY BILLING
    Definition:
    A company arranges direct delivery of the goods to the customer from the stocks of another company belonging to the same corporate group.
    To put in simple terms, Company code A orders goods through its sales organization A from Plant B belonging to Company code B.
    It is imperative that both Plants A & B should have the material. In other words, the material is created for both the Plants A & B + their respective storage locations.
    Sales Organizations and Plants are uniquely assigned to Company codes. It is not possible to assign either a plant or a sales organization to more than one company code.
    Sales organizations and plants assigned to each other need not belong to the same company code.
    In other terms, a plant belonging to Company code A & assigned to Sales Organization A can also be assigned to Sales Organization B of Company Code B. This enables cross company sales.
    PARTIES INVOLVED
    1) End Customer   2) Ordering Company code 3) Supplying Company Code.
    End customer:
    Customer who orders goods from the ordering company code.
    Ordering Company Code:
    Which orders goods from Plant belonging to Supplying Company code through its sales organization and bills the end customer.
    Supplying Company Code:
    Supplies goods from its plant to the end customer specified by the ordering company code and bill the ordering company code.
    CONFIGURATION SETTINGS
    Assign Delivery Plant of the supplying company code to Sales Org + Distribution channel of the Ordering company code in the Enterprise Structure.
    DEFINE ORDER TYPES FOR INTERCOMPNY BILLING:
    Menu path: IMG/ SD/Billing/Intercompany Billing/Define Order Types for Intercompany billing
    Assign Organizational units by Plant:
    Menu Path: IMG/ SD/Billing/Intercompany Billing/Assign Organizational units by Plant.
    Define Internal Customer Number By Sales Organization:
    Menu Path: IMG/ SD / Billing/ Intercompany Billing/ Define Internal Customer Number By Sales Organization:
    Creating / Showing Ordering Sales Organization as Internal Customer for Supplying Company code:
    Transaction Code: XD01
    The ordering sales organization is represented as Internal customer of Supplying company code.
    We need to create customer master in Account Group – Sold to Party and maintain minimum required financial & Sales Area data.
    This internal customer number has to be assigned to the ordering sales organization. Hence, the system automatically picks up this Internal customer number whenever there is Intercompany billing.
    PRICING:
    We need to maintain two pricing procedures RVAA01 & ICAA01. Pricing procedure RVAA01 represents condition type PR00 & any other discounts or surcharges that are meant for end customer.
    We assign Pricing procedure RVAA01 to combination of Sales area (Of Ordering company code) + Customer Pricing Procedure + Document Pricing Procedure of Sales document type.
    This pricing Procedure (RVAA01) is determined both at Sales Order level & Billing processing for the end customer.
    We maintain PR00 condition type to represent the ordering company code’s price to the end customer.
    Condition records for PR00 are maintained using organizational elements of Ordering company code, end customer & the Material.
    Eg: Sales Org. of Ordering company code + End customer + Material.
    We also need to maintain PI01 condition type to represent costs to Ordering company code (in other words revenue to supplying company code). It is statistical condition type & meant for information purpose only.
    Condition records for PI01 are created with the following key combination:
    Ordering sales Org + Supplying Plant + Material
    Pricing Procedure ICAA01is determined at Intercompany billing processing level.
    Pricing Procedure ICAA01 – Pricing Procedure for Inter company billing is assigned to the combination of:
    1)     Sales Area (of supplying company code) + Document pricing Procedure of Billing document type IV + Customer Pricing Procedure of the Internal customer.
    Pricing Procedure ICAA01 has condition type IV01 that represents revenues for Supplying company code in the intercompany billing.
    PR00 condition type also appears in Intercompany billing document. It is for information purposes only and does not have bearing on the value of the document.
    PI01 represented under pricing procedure RVAA01 is reference condition type for IV01 and the same is defined in the condition type IV01. Due to this these two condition types represent same value.
    The condition type IV01 in intercompany billing document represents revenue to the Supplying Company. But its corresponding condition type PI01 in the billing document to the end customer is shown as a statistical item meant for information purposes.
    Condition Type VPRS in the intercompany-billing document indicates cost to the supplying company code.
    The use of two different condition types in Intercompany billing is necessary to ensure that data is transmitted correctly to the financial statement (Component CO-PA).
    ILLUSTRATION:
    STEP 1: Create Sales Order
    Manually Enter the Delivery Plant of the Supplying Company Code:
    OBSERVE CONDITIONS SCREEN FOR ITEM:
    PR00 represents Price to the end customer (in other words, revenue for the ordering company).
    PI01 represents cost to ordering company (in other words, revenue for the supplying company). It is represented as statistical item only.
    DELIVERY:
    Delivery is carried out from the supplying point & hence we can observe that it is done from shipping point assigned to the supplying point.
    Subsequently, Picking & PGI are carried out.
    BILLING TO END CUSTOMER:
    T-Code: VF01
    Create Intercompany Billing:
    T-code: VF01
    OBSERVE THE CONDITIONS SCREEN OF THE INTERNAL INVOICE:
    IV01 Condition type represents revenue for the supplying company code.
    VPRS condition type represents cost to the supplying company code.
    PR00 in intercompany billing document displays amount billed to the end customer. It serves as just an information item and is inactive.
    If the ordering company enters the incoming invoice manually, the delivering company can print out an invoice document with the help of output type RD00, which is then sent to the Payer.
    If automatic invoice receipt has been agreed, we must use the SD output control functions to ensure that output type RD04 is found in internal billing. In R/3 system, output determination procedure V40000, which includes this output type, is assigned to Intercompany billing type IV.
    The automatic posting to the vendor account is initiated when output type RD04 is processed. The system uses the EDI output type INVOIC in the FI variant.
    To ensure that payables are posted in financial accounts of the ordering company, the delivery company must be created as a vendor.
    Configure Intercompany Stock Transport Order
    Material should exist in both the plants (Delivering  & Ordering),
    Internal customer should be assaigned to the ordering plant ( MM -> Purchasing -> Purchase Order -> Setup stock transport order -> assign the internal customer to the ordering plant and assign the Sales area of the internal customer.
    Assign its Sales area to the delivering plant
    Assign the document type and Delivery type  NB and NLCC
    Assign the Supplying plant --> Receiving Plant --> NB 
    Take the delivering plant and assign the sales area.
    Vendor master has to be created and assaign the supply source ( Delivering Plant).
    Create a puchase order ME21N ---> Save
    Delivery VL10 G ---> Calculation rule (appropriate) --> Assaign the purchase order number here and execute.
    Select the Delivery creation line and do the back ground process.
    Start the log display and see the delivery document number by the documents button
    Goto VL02N --> do picking and PGI --> Then do the MIGO with

  • Inter-company transaction using FB60

    Our current profit center assignment: 1 profit center is assigned to 1 company code.
    Transaction code : FB60
    This is a inter-company transaction.
    The purpose of this transaction is to enter an vendor invoice for company code 3010
    This invoice will be paid out of company code 3010 but charge to company code 3523’s cost center 18582
    The G/L account 6150020 is configured for document splitting
    When post this transaction, receive the following error:
    "No posting can be made to profit center 18582 for company code 3010"
    When perform General Ledger Simulation,  looks like profit center 18582 that belongs to company code 3523 is also required for company code 3010.  But, 18582 is not assigned to 3010.  
    We understand SAP’s behavior and we have a workaround to assign profit center 18582 to  3010.  However, this workaround will cause problem in our Balance sheet later because the $ in profit center 18582 for company 3010 will show on the Balance Sheet and it’s incorrect.
    Is there a solution for this?   We are told that we may need validation rule for this type of transactions.  Please help.  Thanks!

    HI,
    In FB60 for the line item there is a field for Company Code, by default it will propose the company code entered for header data, change this to 3523 in your case and give the costcenter 18582.
    Ensure you have the intercompany config. done. if not do it in OBYA.
    Thanks
    Vijay

  • Inter-company Posting in F110

    Hello All,
    I would like to know if there is  any standard SAP Program/IDoc which creates inter-company postings while making payment to the Inter-co Customers/Vendors in F110.
    For example: Company A and Company B are related to one group. Company B made some sales to Company A. Now Company A has to make payment to Company B. Assuming that all the Trading Partners are set-up properly and Vendor and Customer Master Data has also been maintained.
    While executing the APP Run in F110, if the Company A makes the payment, there will be a payment document that gets generated. At the same time, we expect some interco receipt posting in Company B(automatically).
    Is there any Standard SAP Program/BTE/ any other solution to meet the requirement.
    Thanks & Regards
    Balaji Kancherla

    Hi there
    Cross company postings using the standard FI cross company clearing accounts (which is also the way we do it in the travel management) is only possible for company codes in the same country and forming an integrated company liable to sales tax.
    In all other cases the scenario should be handled by posting the travel expenses to sales orders situated in the vendor's company code and invoice creation for the other company code responsible for the expenses.
    So ideally it should be done across one tax schema and the standard behaviour when posting cross-company is, that all
    the tax is calculated in and posted to the leading company code - so this company code is the company code of the vendor.
    Moreover the functionality in FI splits the document per company code by creating the clearing accounts 1 per tax code, which also requires the clearing accounts to be posted with tax.
    Hope this helps
    Sally

  • Inter-company expenses

    Hi all,
    Consider the example:
    Assume that there are 3 companies belonging to the same business group, represented as 3 different company codes, say A, B & C, in the same SAP system [P01].
    Now, company A incurs expenses on behalf of companies B & C say travel expenses of the MDs of companies B & C.
    CASE 1:
    Inter-company clearing accounts are set-up between the company codes in the SAP system [P01] and hence Inter-company posting of expenses happen as below:
    Books of A:
    Dr Inter-company B A/c 5
    Dr Inter-company C A/c 5
    Cr Bank / Vendor for expenses 10
    Books of B:
    Dr MD's Travel exps A/c 5
    Cr Inter-company A A/c  5
    Books of C:
    Dr MD's Travel exps A/c 5
    Cr Inter-company A A/c  5
    Can anyone let me know the relevant program through which this functionality has been enabled in SAP FI.
    CASE 2:
    Assume that company A is on an SAP system [P02] that is different from that of the other company codes B & C [P01].
    Now, taking the same example as above, is it possible to use the same standard SAP inter-company functionality in FI to post the inter-company expenses from company A to companies B & C?
    Is there is any other alternative solution ?
    Some gyan please..
    Bhargav

    Hello,
    You can post the cross company code postings even between two controlling areas. The system does not prevent to post documents between two company codes in two controlling area. Need not necessarily they should be under one operating concern. Provided you have to make sure that you have followed the following points:
    In OBY6 - To company codes must be assigned to same Company, meaning that you mus thave created a Company and that company must have been assigned to these two company codes.
    OBYA - You should maintain the clearing accounts in both the company codes. Meaning that you are posting one leg in one company code and the other leg in the other company. Therefore, it is required to have the missing legs in each company code.
    Company Code1 - Posting Key 40 - Clearing Account
    Company Code1 - Posting Key 50 - Clearing Account
    Company Code2 - Positng Key 40 - Clearing Account
    Company Code2 - Posting Key 50 - Clearing Account
    OB08 - In case if the two company codes have different local (company code) currencies, you may maintain the exchange rates.
    You can now go to F-02 and post a cross company code transaction giving the first leg in first company code and the second leg in second company code. Missing leg in the first company code will be posted to the GL Account mentioned in OBYA and the missing leg in the second company code will be posted to the GL Account mentioned in OBYA. That means you will have four line items overall.
    The system will post three document.
    Document 1 in First Company Code
    Document 2 in Second Company Code
    and
    Document3 - Cross Company Code Document.
    The cross company code document consists of the first company code document number plus company code plus last two digits of the fiscal year.
    Hope this must have clarified your doubts.
    Please let me know in case if you need further details.
    Thanks,
    Ravi

Maybe you are looking for

  • Using MAX in transformations / Start Routine

    Hi, I am trying to use MAX function in an ABAP routine (transformation / Start) and it shows following error - "Unknown column name "MAX(/BIC/ZQMCOUNT)" until runtime, you cannot specify a field list.". Here is part of my code - >> data: v_counter(10

  • Master with multiple details

    (JHeadstart release 10.1.2.) I can make a master with multiple detail pages work (displayed on the same page or different pages), except under one condition. Assume the following situation: Master: View object A based on entity A Detail 1: View objec

  • Dynamic Object for Checkbox in HTMLB control

    Hi all, I want to create dynamic object for Checkbox in HTMLB control. I have created dynamic check box in JSP using JSPDynpage. I can select multiple values in the list of checkbox.After clicking the submit button , I have to read the value of check

  • Integration Call Manager with Microsoft's tools

    Hello, My costumer has call-manager 5.1 and Cisco Unity 5.0 (voice e-mail only) working perfectly on his company. Besides, he has Microsoft Outlook 2007 and MS-Office Communicator with presence server. He wants to use MS's tools integrated with Cisco

  • AIR Installer Not Found

    I recently attempted to install an AIR application, but got the error message "This application requires an update to Adobe AIR but download of that update has failed".  I tried numerous times, but always the same error. I'm now trying to reinstall A