SAP Reports / Programs | Global Trade Services | Global Trade Services(SLL-LEG) SAP SLL

/SAPSLL/OP_PRELDOC_QUERY_FOR SAP ABAP INCLUDE - /SAPSLL/OPPRELDOCQUERYFOR







/SAPSLL/OP_PRELDOC_QUERY_FOR is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter /SAPSLL/OP_PRELDOC_QUERY_FOR 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 /SAPSLL/OP_PRELDOC_QUERY_FOR. "Basic submit
SUBMIT /SAPSLL/OP_PRELDOC_QUERY_FOR AND RETURN. "Return to original report after report execution complete
SUBMIT /SAPSLL/OP_PRELDOC_QUERY_FOR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT /SAPSLL/OP_PRELDOC_QUERY_FOR

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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = cs_variant EXCEPTIONS not_found = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = cs_variant i_save = 'A' IMPORTING e_exit = lv_exit es_variant = cs_variant EXCEPTIONS not_found = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

/SAPSLL/OP_PRELDOC_DATA_SELECT CALL FUNCTION '/SAPSLL/OP_PRELDOC_DATA_SELECT' EXPORTING ir_papno = ir_papno IMPORTING et_op_preldoc = ct_op_preldoc EXCEPTIONS no_data = 1 OTHERS = 2.

/SAPSLL/OP_PRELDOC_DISPLAY CALL FUNCTION '/SAPSLL/OP_PRELDOC_DISPLAY' EXPORTING iv_variant_handle = iv_variant_handle iv_variant = iv_variant iv_report = iv_report CHANGING ct_op_preldoc = ct_op_preldoc.



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 /SAPSLL/OP_PRELDOC_QUERY_FOR or its description.