Skip to Content
author's profile photo Former Member
Former Member

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 14, 2006 at 02:29 PM

    For question 2 - have you considered using a validation (transaction OB28) rather than a user exit?

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 11:38 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.