SAP Reports / Programs | Production Planning and Control | Production Orders(PP-SFC) SAP PP

PPPRBSEL SAP ABAP Report - Selection for Printing Orders in the Background







PPPRBSEL is a standard Executable ABAP Report 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 PPPRBSEL 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 PPPRBSEL. "Basic submit
SUBMIT PPPRBSEL AND RETURN. "Return to original report after report execution complete
SUBMIT PPPRBSEL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: AUART = Order Type
Selection Text: AUFNR = Order Number
Selection Text: DISPO = MRP Controller Group
Selection Text: FEVOR = Production Scheduler
Selection Text: MATNR = Material Number
Selection Text: NACH = Reprinting
Selection Text: ORIG = Original Printouts
Selection Text: PROT = Detailed Log
Selection Text: RELBS = To Release Date
Selection Text: RELVN = From Release Date
Selection Text: SELID = Selection Profile
Selection Text: WERKS = Plant
Title: Selection for Printing Orders in the Background
Text Symbol: 001 = Select a printing type
Text Symbol: 016 = Selection Options
Text Symbol: GRN = Order has been printed
Text Symbol: ORI = Original
Text Symbol: RED = Order has not been printed
Text Symbol: REP = Reprinting


INCLUDES used within this REPORT PPPRBSEL

INCLUDE LCOKOVAL.


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:

STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES jsto_pre_tab = objnr_tab.

STATUS_CHECK_BY_SELSCHEM_MULTI CALL FUNCTION 'STATUS_CHECK_BY_SELSCHEM_MULTI' EXPORTING selschem = selid IMPORTING status_objects_deleted = obj_del TABLES objnr_tab = objnr_tab.

STATUS_CHANGE_FOR_ACTIVITY CALL FUNCTION 'STATUS_CHANGE_FOR_ACTIVITY' EXPORTING check_only = yx objnr = objnr vrgng = activity IMPORTING error_occurred = error_occurred EXCEPTIONS warning_occured = 1 OTHERS = 2.

CO_DR_PRINT_TABLES_CHECK CALL FUNCTION 'CO_DR_PRINT_TABLES_CHECK' EXPORTING auart = head-auart dispo = head-dispo tcode = transcode uname = sy-uname werks = head-werks EXCEPTIONS nothing_to_print = 01 no_entry_for_report_t496r = 02 no_order_type_entry_t496b = 03 no_transaction_entry_t496t = 04 no_user_entry_t496d = 05 no_entry_for_formular_t496f = 06 script_not_valid_for_printer = 07.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_structure_name = gc_structure is_layout = gs_layout it_fieldcat = gt_fieldcat it_events = gt_eventtab IT_EXCEPT_QINFO = lt_exc TABLES t_outtab = gt_data2_alv EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = gc_structure CHANGING ct_fieldcat = xt_fcat1 EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_list_top_of_page.



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 PPPRBSEL or its description.