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

FI document Psting during PGI

Hi ,

I need help while posting the FI document during PGI. The requirement is to add line items in FI documents.

Tried with couple of things:

1) BAPI_ACC_GL_POSTING_POST

2) BAPI_ACC_DOCUMENT_POST

3) OPEN_FI_PERFORM_00001120_P

4) EXIT_SAPLFMR4_002

5) BADI : AC_DOCUMENT

All helped in changing not adding extra lines.

Any help is much appreciated.

Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2012 at 07:32 PM

    Hello,

    BAPI_ACC_DOCUMENT_POST will resolve your purpose.

    If you want to check for errors before posting use BAPI_ACC_DOCUMENT_CHECK. Its almost like test run for the other BAPI.

    But there is no provision to pass Posting Key and Special G/L indicator to this FM. Inorder to do that use BTE.

    Make a z-fm of the process RWBAPI01 and pass the values.

    Hope it helps!!!!

    Rgrds,

    Sravan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      BAPI_ACC_DOCUMENT_POST is for posting additional documents.

      The issue gets resolved by using EXIT EXIT_SAPLFMR4_002 and writing appropriate code to fetch values .

      Thanks for taking time and responsing.

      Shefali

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.