Skip to Content
-1

BAPI_ACC_DOCUMENT_POST -Clearing Doc no is assigned, but not cleared in table

Dear Experts,

I am using FM BAPI_ACC_DOCUMENT_POST for Creating Doc number aganist G/L.

Passing two doc number to FM CLEAR_DOCUMENTS for clearing open items. Clearing document seen in bseg table but line item is not cleared in BSIS table.

Regards,

Venkat.V

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on May 19, 2015 at 06:42 AM

    Hi,

    Thanks for replying.

    Issue solved by using FM POSTING_INTERFACE_CLEARING passing doc number. and gl number.



    Regards,

    Venkat.V

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 12, 2015 at 02:08 PM

    Perhaps also because CLEAR_DOCUMENTS is an update FM and is not intended to be explicitly called in a customer program ?

    Warning : Update FM are only a subset of a transaction flows, there are submitted with other update FMs and executed after COMMIT WORK statement. Here seems you created the clearing document, but did not actually clear the documents (mess of database) or you didn't refresh data thru SE16n ?

    Also which document did you see in BSEG, the clearing document or the cleared items (BSAS, BASD, etc.) ?

    You may try to use FM as POSTING_INTERFACE_CLEARING (*) create BDC for FB05 yourself or even submit report SAPF124...

    Regards,

    Raymond

    (*) Between POSTING_INTERFACE_START and POSTING_INTERFACE_END.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 14, 2015 at 11:24 AM

    hi venkat,

    you need to pass correct parameters to the fm 'CLEAR_DOCUMENTS'.

    The line item parameter ( buzei) value must be correct else it will not remove from BSIS table.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 12, 2015 at 01:47 PM

    Probably because cleared items are in table BSAS, not BSIS.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 14, 2015 at 01:34 AM

    Hi,

    Thank you for your reply.

    I wan to the clear the document from one gl against another gl using ( Transfer posting with Gl).

    FM: POSTING_INTERFACE_CLEARING

    eg: Doc no 0041500003, GL 0000167131 is should be cleared against 0000167130(house bank) as

    like F-04 T-code.

    Not able to pass the doc along with line items for clearing. in FTCLEAR.

    Kindly guide me.

    Regards,

    Venkat.V

    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.