Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Function Module for GL open Items

Hi Experts,

Is there function module to find out Open Item for any GL, like we have Fn Module for Vendor and Customer open items.

Any Suggestions?

Rajiv Ranjan

Tags:
Former Member
Former Member replied

Hi

No there's is one, but you can use the same concept to get the open item for a certain date just like for vendor and customer.

The open item are the open items posted on the date <date> and the cleared items posted on the date <date> but cleared after <date>, so:

DATA: T_GL_ITEMS LIKE STANDARD TABLE OF BSIS.

* Open Items
SELECT * FROM BSIS INTO TABLE T_GL_ITEMS WHERE BUKRS = ...
                                           AND HKONT = ....
                                           AND BUDAT <= <DATE>.
* Clear items:
SELECT * FROM BSAS APPENDING TABLE T_GL_ITEMS WHERE BUKRS = ...
                                                AND HKONT = ....
                                                AND AUGDT > <DATE>
                                                AND BUDAT <= <DATE>.

Max

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question