SAP Reports / Programs

RVB_TCUWS_MAT_APO SAP ABAP Report - Plan Materials with Batch-Specific UoMs in APO - Background Processing







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


Text pool values


Selection of Materials - Evaluation
Selection Text: S_MATNR = Material
Selection Text: P_TEST = Test Mode
Selection Text: P_NOMAT = Do Not Update
Selection Text: P_MATUP = Update
Selection Text: P_INACT = Deactivate
Selection Text: P_ACT = Activate
Title: Plan Materials with Batch-Specific UoMs in APO - Background Processing
Text Symbol: UPD = & entries were updated
Text Symbol: TES = The report was run in test mode
Text Symbol: T02 = Existing Entries
Text Symbol: T01 = Status of the Materials
Text Symbol: STA = Status
Text Symbol: MKT = Material description
Text Symbol: MDU = updated
Text Symbol: MDN = Unchanged
Text Symbol: MDI = Inserted
Text Symbol: MAT = Material Number
Text Symbol: INI = & entries with status 'inactive' were created
Text Symbol: INA = & entries with status 'active' were created
Text Symbol: END = Back via F3
Text Symbol: CNT = & entries were selected
Text Symbol: CHG = & entries remain unchanged
Text Symbol: ALL = & entries could not be updated
Text Symbol: AKT = Active
Text Symbol: 003 = No materials have been selected
Text Symbol: 001 = Selection of Materials for Planning Batch-Specific UoMs in APO


INCLUDES used within this REPORT RVB_TCUWS_MAT_APO

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_E_TABLES CALL FUNCTION 'ENQUEUE_E_TABLES' EXPORTING mode_rstable = 'E' tabname = 'TCUCH' varkey = gv_varkey EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 99.

VBXC_MATERIAL_APO_UOM_MAINTAIN CALL FUNCTION 'VBXC_MATERIAL_APO_UOM_MAINTAIN' EXPORTING i_matnr = gv_mat_apo i_kzdws_mat_apo = gv_kzdws_mat_apo i_db_update = gv_db_update i_mat_update = gv_mat_update IMPORTING e_no_changes = gv_no_changes e_inserted = gv_inserted e_updated = gv_updated e_upd_not_allowed = gv_upd_not_allowed es_apo_mat = gs_apo_mat EXCEPTIONS no_material = 1 baseuom_missing = 2 wrong_kzdws = 3 material_not_found = 4 material_no_batch_specific_uom = 5 material_no_leading_uom = 6 error_during_db_update = 7 OTHERS = 99.

FORMAT_MESSAGE CALL FUNCTION 'FORMAT_MESSAGE' EXPORTING id = sy-msgid lang = sy-langu no = sy-msgno v1 = sy-msgv1 v2 = sy-msgv2 v3 = sy-msgv3 v4 = sy-msgv4 IMPORTING msg = gv_text EXCEPTIONS OTHERS = 0.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.



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