SAP Reports / Programs

RVTVTA2 SAP ABAP Report - Sales Area Definition - External Call







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


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


Text pool values


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*


INCLUDES used within this REPORT RVTVTA2

INCLUDE RVOTVTA.


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_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.



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