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

Similar Messages

  • Cross company code posting

    hi
    while posting cross company code posting in F-02 for customer,the open item is not cleared
    ex: com.code:1000 have customer debit balance
    the customer paid to com.code 2000
    in f-02, 40 bank in com.code:2000
                 15  cus. in com.code:1000 has been taken in new com.code option
    but open item is not cleared?
    how can i post?
    next in company code 1000- 2000 company balance will be there and same com.code 2000 also will have 1000 com.code balance , how can i clear this
    regard
    sowmya

    you can use F-30 for the clearing at the same time as the posting.
    But it may be better to have the repsonsible person in the customer's company to do the clearing, so he/she knows the payment has been received (although in the same company).
    Current accounts between companies should be "cleared" at regular intervals. ie. offsett asset & liabitily side. It's a business decision on when to clear the balances.

  • 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.

  • 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 posting in assessment cycle

    Friends,
    I developed one assessment cycle to send from Cost center A ( company code A with USD) to Receiver cost centers B ( company code B with CAD) and Cost center C ( Company Code A and USD), When I do the assessment cycle and check the details it is showing me 100% taken out of sender and assessed to B and C.  But when I check cost center report of Cost center A, the credit is not same as the debits ( i made the cycle to take out 100%). When i drilled down in the credits ( sent from assessment cost element), I see object currency to be different from transaction currency ( should be the amount that needs to be credited) even though Object and transactions currencies are in USD.
    Any input on why object currency value will be different from transaction currency value even though both are in USD? Is it something because of cross company posting with different currencies? Thanks in advance

    Hi,
    check SAPNET note 549430 it describes the system beahivour and what you can do.
    BR Christian

  • CROSS COMPANY CODES POSTING - OBYA

    Dear Experts ,
    Can you plese tell me
    1] when we post F-02 debit for AAAA company code and credit for BBBB company code , it generates 4 line items
    my question is  this will shows in open item when we post in F-02 , then how to clear this docments to show in cleared items
    Thanks in advance for resolving my problem
    Regards
    Bhaskar

    Hi,
    This company codes will be created with open item managed gl accounts in each of the company codes.
    Using F-03 you can clear these GL accounts whenever there is an offsetting entry posting.
    Regards,
    Krishna Kishore

  • Cross-Company code posting Error

    Hi Experts,
    When I am trying to Post an intercompany transaction facing an error "A unique company code has not been assigned to company number XXXX"
    Scenario:
    1. Company code 1 debit
    2. company code 2 credit
    In simulation I can see the line items as below
    Cocd PK    GL Acct     Amount
    IN01   40     1                100           Expense acct
    IN02   50     2                100           Expense Acct
    IN02   40     3                100          Inter comp clerg acct
    IN01   50     4                100         Inter Comp Clerg Acct.
    but still above said error message is pops up:
    rgd
    YJ

    Hai Ravi,
    Thanks for the link,
    From the document split settings i can able to post an Inter-co document and that is : Expense of company code 1 to Expense of Company Code2. But In case of Vendor invoice (F-43) - Liability for Comp code 1 and Expense for Comp Code 2. In vendor case scenario I am still facing the same error.
    My doubt on this error is how the line item of Comp code 1 can derive the profit Center (PC1) information when entry is as below:
    Trnsct      Compcode       Amt           Profit Center
    Vendor          1               10000
    Expesne        2               10000         PC2
    Your suggestion or assistance on this is highly appreciated.
    rgd
    YJ

  • Value date cross company code postings

    Dear all,
    it is possible to influence the value date on a company code level via the transaction OB68. With this transaction you can state that the current date is used as the default value for the value date when entering line items.This works fine when posting a G/L posting within the same company code.
    When entering a cross company code posting, the indicator in transaction OB68 is ignored and the document date is used to be proposed as default value for the value date.
    Does anyone know which SAP parameters can influence the value date for cross company code postings ? If this is not standard SAP possible, does anyone already encountered this problem and, if so, how did one solve this issue ?
    Many thanks,
    Regards,
    Kristof

    thank you for the reply ... unfortunately I expected some Z-programmation

  • 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 postings - FI validation

    Hi,
    We start using the cross-company code postings (transaction OBYA) between company code A and company code B and have to give authorizations both company codes to the Finance users. The idea is to have a set of G/L accounts which are allowed to be used when company code A and B are posted via cross-company code posting.
    SAP recommends to implement a validation in FI to restrict the Intercompany scenatios. I attempted to create a FI validation for complete document (call-point 3) with no success:
    1)
    IC Rule: BSEG-BUKRS = A and BSEG-BUKRS = B and BSEG-HKONT IN ACCOUNTSET
    Prerequisite: TRUE
    Check: IC rule
    Message: E-  Account & not allowed for cross-company postings
    When I test it, the Intercompany clearing account configured in OBYA, and which is in ACCOUNTSET, shows up in the error message, which unwanted.
    2)
    IC Rule 1: BKPF-BUKRS = '0017' AND BKPF-BUKRS = '0005'
    IC Rule 2: BSEG-HKONT IN ACCOUNTSET
    Prerequisite: TRUE
    Check: IC Rule 1 --> IC Rule 2
    Message: E-  Account & not allowed for cross-company postings
    No error message is issued at all, even if the G/L account is not in ACCOUNTSET.
    Please advise what I am missing.

    Hi Nitin,
    Thank you for your feeback.
    I just wanted to clarify that the cross-company code posting is when company code A can intitiate a posting to company code B simultaneously (for example Intercompany re-charge, cash concentration, etc.). The trigger for cross-company code posting is the company code field on the line item. If company code A is in the header (BKPF-BUKRS) and at least one document line item filled up as company code B, the system created two documents for each company code, offsetting the Intercompany clearing account, configured in OBYA.
    For example:
    Posting via FB50: Leading company code = company code A (BKPF-BUKRS)
    Item 1: Debit; G/L account 1; Cost Center 1; Amount 200; Company code A (as a default)
    Item 2: Debit; G/L account 1; Cost Center 2; Amount 100; Company code B (manually changed)
    Item 2: Credit; G/L account 2;                        Amount 300; Company code A (as a default)
    The systen creates two postings:
    Posting 1: company code A
    Item 1: Debit; G/L account 1; Cost Center 1; Amount 200;
    Item 2: Credit; G/L account 2;                        Amount 300;
    Item 2: Debit ; I/C Clearing Account;              Amount 100;
    Posting 2: company code B
    Item 1: Debit; G/L account 1; Cost Center 2; Amount 100;
    Item 2: Credit;I/C Clearing Account;              Amount 100;
    The only connection between the two is the cross-company code number (BKPF-BVORG), which assigned by the system once posted, as a logical connection.
    I guess we could use a dedicated document type. If that's the case, how would the validation work then?
    Coudl you please share more details on the BTE option?
    Thank you,
    Inna

  • Prevent cross-company code postings for certain document type

    Hi all!
    I am looking for a possibility to prevent users from posting a "cross-company code posting" just for a certain document type.
    I checked validation rules and BTEs but without success. Do you have an idea?
    Thanks for any support.
    Michael

    Thanks for your reply. I have already tried to use a validation rule, but without success.
    It did not work as the relevant field "New company code" (NEWBK) in not part of BKPF or BSEG, but (only) of structure RF05A. Thus, I cannot use the field in a validation rule.
    Or is there a way to make RF05A fields available for use in validation rules?
    Regards, Michael

  • How to break the document line items in cross company code document

    Hi,
    Currently the cross company code posting is summing up all the line items and posting as a single line item as long as the line items are having the same tax code.
    The system will break the line items only if there are non-identical tax codes. How can i change this default behaviour to break the line items in all cases?
    http://wikisend.com/download/436966/2.zip

    It is the standard SAP behaviour to sum up all the identical tax code values.

  • Posting using cross company code transaction must be blocked

    Hello Guys,
    I have a  problem related to cross company code transaction.
    In the OBA7 I have the document type KE that not allows posting using cross company code transactions. In the moment that I am creating a new document through the FB01, I have an error as "Consolidated companies US52 and ' ' are different
    Message no. F5080. As a results, the document cannot be created by this way. This is the correct process.
    But I have several documents that was used the doc type KE and the cross company code transaction was used. This is my issue. I don´t know why these documents were posted. The document come from another interface via IDOC and the IDOC not errored out.
    Can anyone help on this?
    Thanks
    Rafael B.

    Hello, I´ve checked the log and no changes since 2008.
    The document was created in 2010.
    This is the message: "No logs found for the selected period"
    More suggestions?
    Regards.
    Rafael

  • Transfer posting of tax in a cross company code transaction thru' RFBUST10

    Hi,
    I have a doubt regarding using the program RFBUST10 transferring the tax in a cross company transaction.
    I have posted an invoice entry as below and I want to transfer the tax posting of 7.00 from company code 1 to company code 2 using the program RFBUST10.
    Cr - 31 - 3rd party vendor - total amount of invoice co code 1 - 214.00
    Dr - 40 - expense account - 100.00 co code 1 - C7 (Tax code at 7%)
    Dr - 40 - expense account - 100.00  to co code 2 C7 (Tax code at 7%)
    I have successfully posted and the tax amount of 7.00 is also transferred from company code 1 to company code2 but now I have 2  problems:
    1) The program (RFBUST10)  is permitting to transfer  tax for the same cross- company code document multiple times. Please let me know how to track whether the cross company code document is already processed for transfer posting of tax.
    2) In the transfer posting document as below ,the  tax code in the first line item (clearing account) is defaulted to C0 , I would like to know from where this tax code defaults, I have not maintained the default tax code in the GL master.
    Dr - 40 clearing Account 107 - C0 (tax code 0%)
    Cr- 50 clearing account 100 - C7(tax code at 7%)
    Cr - 50 Tax account 7  C7
    Please let me know how to resolve these issues.
    Tks
    SS

    hi venkat sri,
    gud day, did you manage to solve the transfer intercompany tax using program RFBUST10? Could you share the solution?
    Looking forward for your reply.
    Regards,
    Jay

  • 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

Maybe you are looking for

  • Problem with "back" on Safari

    Hi, I´m having problem with my Safari.  When i hit back or swipe on my trackpad to go on the site i just browsed, the Safari diplays an older version of the site, usually 1-2 days older.  For example:  When browsing news sites i get 24 hrs old news :

  • Archiving raw images to DVD

    Hi, I'm new to Lightroom, unable to find answers to my question, perhaps I still not very similar to the concept of Lightroom. I have been using Nikon CaptureNX to do processing of the raw files, photoshop to do detail touch up for each assignment, I

  • Error when creating volume on data group for acfs

    Hi, I want to create ACFS file system on solaris SPARC system which is running solaris 10.9. I have created data group successfully but i get an error when i try to create volume. ASMCMD> volcreate -G OEMLIB -s 30G oemlibvol1 ORA-15032: not all alter

  • How do I change picture, author and description of new podcast submitted?

    So I just submitted a new podcast, The Jay and Clay Show, and it was accepted by iTunes. However it has the wrong picture, author and description and I need to change it. Apple's technical support e-mail was not too helpful on this. Also I am not too

  • Can't open iPhone 3GS movies...

    All of a sudden my two mac's can now longer open .MOV files that I email from my iPhone. Basically, I shoot a movie and email it off. No problems, before, but now, when I get the email, and double click the .MOV attachment, I get the following: The m