SAP Reports / Programs | Cross-Application Components(CA) SAP CA

J_2GLPBLOUT SAP ABAP Report - Update J_2GLPLEGDOC with billing documents that have to be print







J_2GLPBLOUT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Code to insert Pending for printing Billings in table /GRSAP/LEGDOC...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter J_2GLPBLOUT into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT J_2GLPBLOUT. "Basic submit
SUBMIT J_2GLPBLOUT AND RETURN. "Return to original report after report execution complete
SUBMIT J_2GLPBLOUT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Update J_2GLPLEGDOC with billing documents that have to be print


INCLUDES used within this REPORT J_2GLPBLOUT

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

ENQUEUE_EJ_2GLPELEGDOC CALL FUNCTION 'ENQUEUE_EJ_2GLPELEGDOC' EXPORTING MODE_J_2GLPLEGDOC = 'E' MANDT = SY-MANDT DOCUCATEG = 'B' SAPDOC = SAPDOC GJAHR = '0000' GIDOC = '0000000000' * X_DOCUCATEG = ' ' * X_SAPDOC = ' ' * X_GJAHR = ' ' * X_GIDOC = ' ' _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING MSG_ARBGB = SYST-MSGID MSG_NR = SYST-MSGNO MSG_TY = SYST-MSGTY MSG_V1 = SYST-MSGV1 MSG_V2 = SYST-MSGV2 MSG_V3 = SYST-MSGV3 MSG_V4 = SYST-MSGV4 EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 1 NO_SY_MESSAGE = 2 OTHERS = 3.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name J_2GLPBLOUT or its description.