SAP Reports / Programs | Logistics - General | Batches(LO-BM) SAP LO

RVBDRVSA SAP ABAP Report - Derivation: Shipping Approval







RVBDRVSA 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 RVBDRVSA into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

DVSA - Shipping Approval


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


Text pool values


Shipping Approval
Selection Text: RT_VERAB = D .
Selection Text: RT_PRODU = D .
Selection Text: RT_PLANT = D .
Selection Text: RT_MATER = D .
Selection Text: RT_EXPIR = D .
Selection Text: RT_BATCH = D .
Selection Text: RT_ART = D .
Selection Text: PP_PLANT = D .
Selection Text: RT_ZUSCH = Shipping Approval Status
Selection Text: PP_SEQL1 = Matl/Batch/Status
Selection Text: PP_SEQL0 = Matl/Plant/Batch/Status
Selection Text: PP_SEQF1 = Status/Matl/Batch
Selection Text: PP_SEQF0 = Status/Matl/Plant/Batch
Title: Derivation: Shipping Approval
Text Symbol: 009 = Do you want to continue?
Text Symbol: 008 = Parameter for Batch Where-Used List
Text Symbol: 007 = Matl/Batch/Status
Text Symbol: 006 = Status/Matl/Batch
Text Symbol: 005 = Matl/Plant/Batch/Status
Text Symbol: 004 = Status/Matl/Plant/Batch
Text Symbol: 003 = Tree struct.
Text Symbol: 002 = Batch
Text Symbol: 001 = Shipping approv.


INCLUDES used within this REPORT RVBDRVSA

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:

VBDRV_SA_PASSWORD_CHECK CALL FUNCTION 'VBDRV_SA_PASSWORD_CHECK' EXCEPTIONS password_not_ok = 1 OTHERS = 2.

VBDRV_SA_DATABASE_SELECTION CALL FUNCTION 'VBDRV_SA_DATABASE_SELECTION' EXPORTING is_special_stock = g_specialstock TABLES it_matnr_range = rt_mater it_werks_range = rt_plant it_charg_range = rt_batch it_vfdat_range = rt_expir it_hsdat_range = rt_produ it_verab_range = rt_verab it_qpart_range = rt_art it_zusch_range = rt_zusch et_selection = gt_sa.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'N' diagnosetext1 = g_string textline1 = text-009 titel = text-001 IMPORTING answer = g_answer.

VBDRV_DERIVATION_PERFORM CALL FUNCTION 'VBDRV_DERIVATION_PERFORM' EXPORTING i_komgr = g_komgr * I_OBJWA = IMPORTING e_drvno = gt_sa-drvno e_status = gt_sa-status EXCEPTIONS no_derivation = 1 cust_exit_cancelled_derivation = 2 parameter_error = 3 OTHERS = 4.

VBDRV_SA_ALVBUILD CALL FUNCTION 'VBDRV_SA_ALVBUILD' EXPORTING p_event = '800' TABLES it_drvn_sa = gt_sa EXCEPTIONS OTHERS = 1.

VBDRV_SA_ALVCALL CALL FUNCTION 'VBDRV_SA_ALVCALL' EXPORTING p_usage = 'S' p_event = '800' p_sort_sequence = g_sort_sequence CHANGING "LLK p_balloghndl = g_balloghndl EXCEPTIONS derivation_not_saved = 1 OTHERS = 2.

VBDRV_SA_ALVCALL CALL FUNCTION 'VBDRV_SA_ALVCALL' EXPORTING p_usage = 'M' p_event = '800' p_sort_sequence = g_sort_sequence CHANGING "LLK p_balloghndl = g_balloghndl. "LLK

VB_BATCH_DEFINITION CALL FUNCTION 'VB_BATCH_DEFINITION' IMPORTING " KZDCH = 1 -> MCH1 kzdch = g_kzdch " KZDCH = 0 -> MCHA kzdrv = l_kzdrv.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = l_repid variant = l_variant IMPORTING r_c = l_subrc.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = l_repid variant = l_variant IMPORTING r_c = l_subrc.

RS_VARIANT_EXISTS CALL FUNCTION 'RS_VARIANT_EXISTS' EXPORTING report = l_repid variant = l_variant IMPORTING r_c = l_subrc.

RS_SUPPORT_SELECTIONS CALL FUNCTION 'RS_SUPPORT_SELECTIONS' EXPORTING report = l_repid variant = l_variant EXCEPTIONS variant_not_existent = 01 variant_obsolete = 02.



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