SAP Reports / Programs

RVADSK01 SAP ABAP Report - Print Program for Collective Picking Lists







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


Text pool values


Title: Print Program for Collective Picking Lists


INCLUDES used within this REPORT RVADSK01

INCLUDE RVADTABL.
INCLUDE SADRDATA.
INCLUDE VBBDDATA.
INCLUDE VBFADATA.
INCLUDE VBLPDATA.
INCLUDE VBPADATA.
INCLUDE VBUKDATA.
INCLUDE VBUPDATA.
INCLUDE RVADOPFO.
INCLUDE RVADOPFO_PDF.


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:

SD_DELIVERY_UPDATE_PICKING CALL FUNCTION 'SD_DELIVERY_UPDATE_PICKING' EXPORTING synchron = ' ' nicht_sperren = 'Y' "note_97980 vbkok_wa = vbkok aufrufer_t = 'X' TABLES vbpok_tab = hvbpok.

ENQUEUE_EVVBLKE CALL FUNCTION 'ENQUEUE_EVVBLKE' EXPORTING vbeln = vbss-vbeln EXCEPTIONS foreign_lock = 01 system_failure = 02.

RV_COLLECT_PICK_VIEW CALL FUNCTION 'RV_COLLECT_PICK_VIEW' TABLES hvbss = hvbss vblkp_tab = tvblkp nvbss = nvbss EXCEPTIONS OTHERS = 1.

NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING nr_range_nr = '02' object = 'SD_PICKING' IMPORTING number = vblkk-komau EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'ITEM_HEADER' type = 'TOP' EXCEPTIONS OTHERS = 1.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING command = 'NEW-PAGE' EXCEPTIONS OTHERS = 1.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING command = 'PROTECT' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'MAT_LINE' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'POS_LINE' EXCEPTIONS OTHERS = 1.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING command = 'ENDPROTECT' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'END' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'LOCK' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'NO_PICK' EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'ITEM_HEADER' function = 'DELETE' type = 'TOP' EXCEPTIONS OTHERS = 1.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS OTHERS = 1.

NAST_PROTOCOL_UPDATE CALL FUNCTION 'NAST_PROTOCOL_UPDATE' EXPORTING msg_arbgb = sy-msgid msg_nr = sy-msgno msg_ty = sy-msgty msg_v1 = sy-msgv1 msg_v2 = sy-msgv2 msg_v3 = sy-msgv3 msg_v4 = sy-msgv4 EXCEPTIONS OTHERS = 1.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING i_name = lv_fp_name IMPORTING e_funcname = lv_fm_name.

FP_GET_LAST_ADS_ERRSTR call function 'FP_GET_LAST_ADS_ERRSTR' IMPORTING e_adserrstr = error_string.

ARCHIV_GET_PRINTFORMAT





CALL FUNCTION 'ARCHIV_GET_PRINTFORMAT' EXPORTING application = 'PDF' IMPORTING printformat = lv_archiveformat.

ARCHIV_CREATE_OUTGOINGDOCUMENT CALL FUNCTION 'ARCHIV_CREATE_OUTGOINGDOCUMENT' EXPORTING arc_p = arc_params arc_i = toa_dara pdflen = lv_pdf_size documentclass = lv_documentclass "Since the output is in PDF document class is also PDF document = ls_pdf_file-pdf EXCEPTIONS error_archiv = 1 error_communicationtable = 2 error_connectiontable = 3 error_kernel = 4 error_parameter = 5 OTHERS = 6.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS usage_error = 1 system_error = 2 internal_error = 3 OTHERS = 4.



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