RVOTVTA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report is used to define the sales areas...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RVOTVTA into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
OVXG - Define sales areas
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: Maintain Sales Areas
Text Symbol: 302 = Delete all assignments for distrib.channel
Text Symbol: 301 = organization?
Text Symbol: 300 = Delete all assignments for sales
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*
Text Symbol: 022 = Assignments have been changed.
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 = Transport
Text Symbol: 012 = Divisions
Text Symbol: 011 = Distribution channels
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
No INCLUDES are used within this REPORT code!
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'.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = TEXT-001 TEXTLINE1 = TEXT-002 TEXTLINE2 = TEXT-003 IMPORTING ANSWER = ANSWER.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING TITEL = TEXT-001 TEXTLINE1 = TEXT-022 TEXTLINE2 = TEXT-021 IMPORTING ANSWER = ANSWER.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
POPUP_TO_CONFIRM_WITH_VALUE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_VALUE' EXPORTING DEFAULTOPTION = 'Y' OBJECTVALUE = FIELD TEXT_AFTER = TEXT-301 TEXT_BEFORE = TEXTLINE TITEL = TEXT-004 IMPORTING ANSWER = ANSWER EXCEPTIONS TEXT_TOO_LONG = 01.
DOCU_GET_SHORTTEXT CALL FUNCTION 'DOCU_GET_SHORTTEXT' EXPORTING ID = 'NA' LANGU = SY-LANGU OBJECT = DOKNAME TYP = 'E' IMPORTING SHORTTXT = MESSAGE.
DOKU_OBJECT_SHOW CALL FUNCTION 'DOKU_OBJECT_SHOW' EXPORTING DOKCLASS = 'NA' DOKLANGU = SY-LANGU DOKNAME = DOKNAME DOKTITLE = MESSAGE TABLES LINKS = TABLE EXCEPTIONS OBJECT_NOT_FOUND = 01 SAPSCRIPT_ERROR = 02.
TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING WI_KO200 = INT_KO200 IMPORTING WE_KO200 = INT_KO200 WE_OBJECT_APPENDABLE = OBJECT_APPENDABLE TABLES WT_E071K = INT_E071K EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 OTHERS = 3.
TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING WI_ORDER = WI_ORDER WI_KO200 = INT_KO200 IMPORTING WE_ORDER = WI_ORDER * WE_TASK = WE_KO200 = INT_KO200 TABLES WT_E071K = INT_E071K.
RH_APPLICATION_SYSTEM_CHECK CALL FUNCTION 'RH_APPLICATION_SYSTEM_CHECK' IMPORTING APPLICATION_SYSTEM_TYPE = P_SYSTEM_TYPE EXCEPTIONS SYSTEM_TYPE_UNKNOWN = 1 BASIS_SYSTEM = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.