RVTVTA2 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 RVTVTA2 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Sales Area Definition - External Call
Text Symbol: 021 = Do you want to save your data?
Text Symbol: 016 = Incomplete records will not be saved.
Text Symbol: 015 = Assignments to the divisions are missing.
Text Symbol: 014 = Not all sales areas are maintained completely.
Text Symbol: 013 = Shipment
Text Symbol: 012 = Divisns
Text Symbol: 011 = Distr. chnls
Text Symbol: 010 = Sales Organization
Text Symbol: 004 = Delete assignments
Text Symbol: 003 = Do you want to cancel?
Text Symbol: 002 = Unsaved data will be lost.
Text Symbol: 001 = Exit assignment
Text Symbol: 022 = Assignments have been changed.
Text Symbol: 302 = Delete all assignments for distrib.channel
Text Symbol: 301 = for sales org.?
Text Symbol: 300 = Delete all assignments for sales organization
Text Symbol: 200 = Incorrect
Text Symbol: 104 = In sales org. &, division & is not permitted
Text Symbol: 103 = Division & is not available
Text Symbol: 102 = In sales org. &, distrib.channel & is not permitted
Text Symbol: 101 = Distribution channel & is not available
Text Symbol: 100 = Sales organization & is not available ;;
Text Symbol: 050 = *No name*
INCLUDE RVOTVTA.
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'TVTA' VARKEY = VARKEY EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'TVKOV' VARKEY = VARKEY EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.
DEQUEUE_ALL * call function 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'TVKOS' VARKEY = VARKEY EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.
DEQUEUE_ALL * call function 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING TABNAME = 'TVKOS' VARKEY = VARKEY EXCEPTIONS OTHERS = 1.
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING TABNAME = 'TVKOV' VARKEY = VARKEY EXCEPTIONS OTHERS = 1.
DEQUEUE_E_TABLE CALL FUNCTION 'DEQUEUE_E_TABLE' EXPORTING TABNAME = 'TVTA' VARKEY = VARKEY EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.