Database tabke to get cross company codes of an invoice

Hi All,
I want to get all the cross company codes for given invoice document. I want to know the database table from which I can get all the cross comapny codes for given invoice document. Kindly help me on this.
Regards,
Pranjali
Moderator message: please (re)search yourself first, if your specification is unclear, get back to the author.
Edited by: Thomas Zloch on Dec 3, 2010 2:15 PM

Hi,
IThese notes will help you to find the tables in your system, because it can have variations:
Note 308989 - Consultant note for cross-company transactions
SAP Note 543821 - FAQ: cross-company processing
SAP Note 338922 - Analysis note for cross-company transactions (delivery)
SAP Note 109254 - Customizing stock transport order Cross Company
I hope this helps you
Regards,
Eduardo

Similar Messages

  • Cross Company code invoices.

    Hi All,
    I want to creat a Cross Company code PO based invoices in MIRO.
    I have created 2 PO's with the same vendor and differenct company codes.
    But in MIRO it is taking only one PO to invoice.
    I am not aware of cross company code settings.
    Can any one plz provides steps to create the Cross Company code PO Based invoice in MIRO.
    Thanks,
    Moderator message: not directly related to ABAP development, please look at the appropriate functional forum.
    Edited by: Thomas Zloch on Nov 2, 2010 5:56 PM

    Hi,
    Please contact to your MM consultant. Thanks

  • While doing cross company code postings I get an error

    Hi experts,
    I have an issue on cross company code postings through FB60. There is a vendor account which has been extended to both company codes. The amount of invoice is Rs.10000 of which 6000 to be accounted in company code 1000 and 4000 in company code 5000. When this is done we get an error 'A unique company code has not been assigned to company number A001'.
    After trying several options, I have found one solution. In the test system I Went to classify FI  document types for document splitting, against document type KR transaction 0300 (Vendor invoice) was there. I changed to 0000 (unspecified posting). Once this was done, I was able to post cross company transactions without any problem.
    I would like to know as to what would be the impact? Would this change create any other issue?
    I request you to give your expert opinion on this.
    Regards,
    Ramkumar B.
    Duplicate thread, therefore it will be locked, please avoid creating different threads for the same subject.
    check the responses in thread While doing cross company code postings I get an error
    FI Moderator

    Dear,
    When you are posting vendor Invoice through FB60 then system creates accounting document "KR" and when document splitting is activated in system the you have to assign Doc type KR to Transaction 0300 and 0001.
    This is standard requirement. There will not be any changes by doing this.
    Hope it is clear..
    Br,Vivek

  • Payment term is not being pickedup in cross company code transaction

    Dear Friends,
    In one of the cross company code transaction scenarios (MIRO), We post a invoice in HQ books to bill on outside vendor. In subsidiary books one more cross company code document will get generated automatically, as billing on HQ as a vendor. In that second document, payment term is not being pickedup.
    eg., A is HQ and B is subsidiary company
    I post invoice in A books as B account debit and outside vendor credit.
    In B books one more entry will get generated automatically as GRIR account debit and A (defined as vendor in B books) account credit.
    In B Books payment terms are maintained in vendor master record (A vendor).
    But still the payment terms are not being pickedup in that document. Because of this, it is taking the document date itself as net due date.
    Please suggest, how to proceed to pick some payment term in that document.
    Regards
    Suresh

    Hi
    Assign the payment terms in Purchase Organisation level in Vendor Master Record.
    Regards
    Shammi

  • Add freight cost in a cross company code scenario using a costing sheet

    Dear Forum,
    I will like to add freight cost to a material using a costing sheet. The freight percentage is very easy to add and works fine when the cost is added in the company code costing. My problems start when I want to add the freight in the cross-company code costing. I want to setup a cross-company code costing where the freight cost is added to the material in the buying company code and not on the selling company code. The cross-company code costing is setup using special procurement costing keys. 
    In below costing (CK11N) the procurement costing key is not used.
    From the itemization it is shown that purchase info.record 5300067643 is read and the price of 12,97 is determined. There is added 10% in freight coming from the costing sheet.
    The freight is shown in the cost component structure as well.
    The special procurement type is now changed from ‘20’ to ‘AT´ on the MRP2 screen in the material master. The procurement is now pointing to an internal plant called ‘DCN’.
    The costing of material 105050 is now repeated. I get the expected result from changing the procurement key, as I can now see the material is sourced from plant ‘DCN’. DCN is sourcing the material from BJ07, but that is not relevant for the example.
    If I now look at the itemization again on the costing in BGA1 I now see that the price is not coming from the info.record. It is the costing in DCN that is used.
    I will still like to add the freight cost in BGA1.
    How do I add freight cost in BGA1 when I at the same time want to have the costing to be taken from plant DCN?
    Please let me know if you need additional information on the customizing setup of the system.
    Best regards,
    Kim Hjorth Poulsen

    Hi Srinu,
    Thank You for a prompt feedback.
    I have tried to follow Your advise. The special procurement costing key is customized like below.
    I have updated the special procurement costing key on the costing 1 view of the material master. When costing the material it is using the special procurement key. This can be seen from the qty. structure tab in CK11N.
    It is also costing cross company as intended.
    The itemization looks like below.
    and the cost component structure looks like below.
    Unfortunately the freight is not added in the costing in BGA1.
    I noticed that when the costing is made without special procurement key the costing sheet used in the costing is for material components. If the costing is made with the special procurement keys the costing sheet used is for finished and semi-finished materials. The customizing in both of the costing sheets are the same, but only when costing is without the special procurement keys the freight is added.
    So unfornutely Your suggestion did not solve the problem.
    Best regards,
    Kim

  • BAPI_ACC_DOCUMENT_POST- Cross Company-Code Posting problem

    Hi,
    I am using BAPI_ACC_DOCUMENT_POST in a program to post a GL document.
    The program works fine for single company code posting.
    For <b>cross company-code posting</b>, i.e. when my upload file contain more
    than 3 company code,
    The document gets posted and uploaded in SAP but the posting result i.e
    for clearing accounts is incorrect.(clearing accounts of post in company is not generated)
    FYI, There is <i>no error message returned from BAPI</i>.
    Am I possible to do this with bapi, so I have to split my doc and post
    it pro company code?
    Thanks in advance.
    Best Regards,
    Hikaruno

    Hi,
    It seems the G/L account is a reconcillation account..Try with another G/L account and see.
    Regards,
    Nagaraj

  • Cross company code downpayment posting error

    Hi,
    When I am posting cross company code downpayment in F-48 getting below error.
    "Balancing field "Profit Center" in line item 001 not filled".
    Vendor A/c (Company A)
    Bank clearing A/c(Company B) - Profit center 25000
    Problem it is not deriving the profit center for Vendor reconciliation A/c. I have used document type KZ, check boxes "intercompany postings" and "trading partner" are activated in this document type.
    Default profit center has made for Bank clearing A/c and Cross company code clearing A/c. Assigned Profit center 25000 for Company A also.
    Kindly advice where I am wrong, which is the correct document type to post the Cross company code transactions (Down payment:F-48, charging-off GL open item to Vendor) to derive the profit center for Vendor reconciliation A/c? Or
    How can I configure in New GL that the profit center should get derived from the Cross company code clearing A/c for above cross company code transactions?
    Best regards
    Shanid

    Hi Atif,
    Thanks again for your reply.
    Since we have made Profit center as mandatory in New GL charactristcs this will give the priority to enter the Profit center as
    Mandatory. As I mentioned earlier we required profit center in all lines.
    I have tried whatever you have said, still it is not working.
    It will be great if you give a solution for this.
    Regards
    Shanu

  • Cross Company code Transaction error

    Hi,
    When I am posting below Cross company code transaction getting error - Balancing field "Profit Center" in line item 001 not filled.
    Vendor A/c - Company code1
    To Bank clearing A/c - Company code2
    Problem is profit center is not deriving for Vendor reconciliation A/c. We cannot make a default profit center this.
    When I am posting cross company code invoice it is correclty deriving the profit center for the same reconciliation a/c.
    Also I do not see any mistake in document splitting configuration.
    Any help will be appreciated.
    Regards
    Shanu

    Hi
    Check the following things:
    1. In KE52, the profit center entered in Bank Clearing Account Item in Co Code B is also assigned in Co Code A. Then system will allow you to post the cross co code document
    2. Are you using the correct Document Type while posting the transaction. IN your Document Type Definition in OBA7, the check boxes for Inter Co posting and Trading Partner (Trading Partner only if inter co elimination is being used) have been ticked
    3. You have assigned the correct item category to vendor reconcilliation account (Should be Vendor GL), Inter co Clearing account (Balance sheet Account ) and Bank Clearing account (balance sheet) have been assigned in your configuration
    Regards
    Sanil Bhandari
    <a href="http://www.vcq.biz/">sai baba wallpaper</a>, <a href="http://www.utorrent.name/">utorrent</a>

  • Issue with Cross-Company code transactions and Extended Withholding tax

    Hi Gurus,
    I am having an issue with Cross-company code transaction while posting expense with 2 different company codes.
    In the 2 company codes, one company code is setup for Withholding tax and other was not set.
    While posting in FB50, I am getting the below message and system does not allow to post the invoice.
    Company codes have different settings for withholding tax treatment
    Message no. F5786
    Diagnosis
    You are entering a document containing at least one vendor or customer item and which has line items in several company codes. The extended withholding tax treatment has been set to active in one of these company codes, but not in one of the other company codes.
    System Response
    You cannot enter this kind of document.
    Procedure
    Enter the transaction in two documents.
    For this I tried to test the transaction by activating of extended Withholding tax for both the company codes. Then the invoice is posting correctly now.
    The point is if I activate extended withholding tax for the Company code which is not using the setup, will it face any issues in other areas? and also kindly advice whether is this a right way to set up to fix the current problem.
    Thanks for the Support and early response will be appreciated.
    JBC.

    Hi Mamta,
    Thanks for the Response. I think you misunderstood my scenario.
    For Eg in FB60 with Co code 5065:
    I am debiting the Expenses for Co Code 1000(Witholding tax not active) and crediting the Bank Account of Co Code 5065(Withholding tax setup is done for this co code). When I tried to post with these line items I have getting the error.
    Posting        GL                   Co Code
    Dr          106520(Exp)            1000
    Cr          202020(Bank)           5065
    For this I tried by activating the Withholding tax for Co code 1000 which is not active before and post it. The system allows me to post the invoice.
    I want to know whether is this a right way to solve this issue and will it impact on any other areas by only activating the Withholding tax for a Co code?
    Thanks,
    Bapu

  • Creating Cross Company Code Vendors/Customers.

    Hi All,
    I'm trying to understand how to create cross company code Vendors and Customers.  I've already established the link with configuring OBYA.  What I'm not clear is on which company code I should be creating the vendor and customer. 
    We have two company codes, 2100 & 0980.  CC 2100 has the central bank tha pays invoices for CC 0980.  I have two issues.
    1. What kind of configuration is needed to accept incoming payments into CC 2100 House banks and lockboxes?
    2. For intercompany activity between 2100 & 0980 how are the vendor and customer master records set up?  I know there needs to be a vendor on the customer master and a customer on the vendor master.
    So for 0980 acting like a vendor for 2100 I'm assuming the vendor number for 0980 is set up as a 2100 vendor.
    The same is true when acting as a customer.  The difference being is that this vendor entered into a field on the customer master and the customer number is entered on a field in the vendor master. 
    I'm missing how the Vendor record, if created on Company Code 2100 gets linked to Company Code 0980.

    For SAP to 'know' that a particular vendor / customer master records represents a specific company code, all these needs to be linked to the same 'company'.
    Companies are maintained in T880 (IMG : enterprise structure -> definition -> Fin Acctg -> Define Company
    Company code is linked to a company in the cocode config. IMG enterprise structure -> Assignment -> Fin Acctg -> Assign comp. code to company
    And finally, the Trading Partner field in the Customer/vendor master is where you assign the company to the cust/vendor.
    This setup will eventually allow you to consolidate interco A/R, A/P, etc.. if you need to but is not necessary for the interco process to post.(although you'd want to have it rght from the get go)

  • Cross Company Code Incoming Payment Clearing

    Dear All
    Good day to you.
    I would be grateful if I could get advice on the following:
    Process:
    Company Code A is receiving Payment from Customer Z of Company Code B
    Present SAP Treatment
    F-02 Company Code A Bank Account is debited and Customer Z of Company Code B is credited.
    F-32 Customer Z's Invoice of Company Code B cleared against the Payment received by Company Code A.
    Hence this has become a two step process.
    Ideal solution needed
    In F-28 or similar other transaction
    Company Code A Bank Account is debited and Customer Z of Company Code B is credited and clearing also carried out then and there?
    To achieve the ideal solution above what are the configurations (if any) needed.
    Thanking you in advance.
    Regards
    Siddique

    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

  • Cross Company code posting is available for recurring payment setup?

    Hi All,
    I could not find the cross company code field for recurring payment setup with useing T code FBD1.
    Vendor is created in paying company code 1000, however, the rent has be booked to cross company code (1001) cost center (2000).
    So, while trying to do recurring payment setup, I could not see the field.
    I know the alternative option that i can use the "Cost Center(1000)" is assigned to CoCd 1000 and do recurring setup without useing cross company code, later i can post the manual journal for correction (as below), however, I do not want use this option.
    Dr/Cr       CoCd                         GL account            Cost Center           Amount
    Dr            1001                         Rent account          2000                      XXXXX
    Cr            1000                         Rent account          1000                      XXXXX
    Please let me know your thoughts on this.
    Thanks,
    Srinivas

    Hi, ok17 is not for cross company,but for CO-FI real time integration.
    Ex. you maintained for "RKL     Actual activity allocation" Dr 123 Cr 567
    Then while posting activity allocation in CO you'll get posting like Dr 123 Cr 567   (with corresponding CO objects)

  • Cross company code transaction error in F-48

    Dear all
    I have a problem in cross company code posting. I have done all the settings like company codes are assigned to company(OX16) and i maintained gl accounts in OBYA also. When i am trying to post cross company code posting i am getting the error:
    A unique company code has not been assigned to company number XXXXXX
    Message no. GLT0001
    Diagnosis
    Document breakdown is active in your system. In certain cases, a company code is derived from the company ID number, and this must lead to the assignment of a unique company code.
    A unique company code could not be assigned to company number XXXXXX.
    System Response
    You cannot carry out the required posting.
    Procedure
    Assign one company code to company number XXXXXX.
    Please tel me wt setting i have to do in system.
    Thanks in advance
    Thanks and Regards
    Girish.

    Hi Chandra,
    Thanks for your information.
    I tried in OB60 BUT still same error i am facing. we have activated document splitting .IF document splitting is deactivated then its working fine ,When document splitting is activated then we have facing this error,
    If any notes or any setting please guide me.
    Thanks and Regards
    Girish

  • Cross-company code posting BAPI_ACC_DOCUMENT_POST number range

    When I use BAPI_ACC_DOCUMENT_POST for cross-company code - I put the first company code in the header and first line item and the second company code in the second line item.
    This posts - however there is a BIG problem with the document numbers it posts:
    1. It posts <b>both</b> company codes using the number range of the second company code.
    2. It updates NRIV for only the second company code.
    How do I get this to work properly and post with the correct number range for the first company code.

    Not sure if this applies to you or not - check Note OSS 419588 - Distributing cash discount base amounts in tax calculation.

  • Document splitting issues in Cross company code scenario

    Hi
    We have the following business scenario:
    (Please note : Document splitting with Real time CO-FI integration is active)
    1)one company(say, Co.code X) purchases on behalf of another group
    company(Co.code Y)
    2)the cost center of Co.code Y is given in the 'Account assignment' tab
    in the Purchase order created in 'X'.
    3)The PO is created in foreign currency
    4)So, when the Goods receipt happens, the expense posting is happening
    in Co.code Y and the GRIR entry is in X.
    5)When the invoice is posted in co.code X, the Vendor Open item (in
    foreign currency) gets created in X.
    6)The problem occurs when Forex.valuation is done for the Vendor open
    item. The Forex.gain/loss is getting posted in Co.code X by deriving
    the Cost object from the expense posting in Co.code Y. Now, the system
    is giving an error message 'CO object doesnt belong to X co.code'
    I beleive this is the way document splitting normally works by deriving
    the CO object form the original expense posting onto the subsequent
    documents but I guess, it is failing in this scenario. Please let me
    know if there is a work around to resolve this issue.
    Regards
    Ravi

    We normally do the independent splitting of documents in respective company codes (This being the limitation mentioned by SAP for cross company code postings).
    In the document split configuration, for Define document splitting rule, check for the leading item for cross company code transactions, and check for the item categories to be edited. The following two entries will be there
    1100  Company Code Clearing CC = CC of leading item
    1100  Company Code Clearing CC <> CC of leading item
    In case of independent splitting, remove the first entry and check.
    Thanks and Regards,
    Mamta Sarda

Maybe you are looking for

  • Iphoto - slideshow in trash freezing Iphoto

    I moved an iphoto slideshow to trash yesterday and now cannot empty the trash as any attempt to click on the slideshow or empy the trash brings up the  rainbow ball  and I have to force quit.  I have tried reorganising my itunes media files but they

  • Query for the GR Mail

    Hello When i do a Goods Receipt against Purchase Order which Contains a Purchase Requisition a Simple Mail have to be Triggered to the User ID who raises an Purchase Requisition and Purchase Order. I have maintained a Condition Table for the Plant, C

  • Trackpad becomes unusable after about an hour

    II've recently been having a problem with the built in trackpad on MacBook Pro. Started one day randomly with the trackpad lagging in the middle of the pad. Chatted to a apple worker and started up in safe mode and did a PRAM reset, both helped but d

  • Ical damaged or incomplete

    My ical icon on the dock has a gray circle with a line through it.  When I click it is says that it can't open it because its damaged or incomplete.  This is the first time this has happened.  Any suggestions?

  • Apex SSL from  HTTP server - err 29040

    Have apex environment (originally 3.1.2 now 3.2) workiing fine under http server 10.1.3. regular http port 7777. After going thru the ssl and wallet documentation steps to apply certificates supplied to me, and scouring all the blogs, I'm still faili