SAP Reports / Programs | Sales and Distribution | Master Data | Material Maintenance(SD-MD-MM) SAP SD

RVOTVKOV SAP ABAP Report - Assignment of Distribution Channels to Sales Organizations







RVOTVKOV is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Customizing report for allocating the distribution channels to the sales organizations...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 RVOTVKOV 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

OVXK - Distrib.channels->Sales organiz.


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


Text pool values


Title: Assignment of Distribution Channels to Sales Organizations
Text Symbol: 001 = Exit assignment
Text Symbol: 002 = Unsaved data will be lost.
Text Symbol: 003 = Do you want to cancel?
Text Symbol: 004 = Delete assignments
Text Symbol: 008 = Distribution channels
Text Symbol: 010 = Sales organization
Text Symbol: 021 = Do you want to save your data?
Text Symbol: 022 = Assignments have been changed.
Text Symbol: 050 = *Without name*
Text Symbol: 100 = Sales organization & is not available
Text Symbol: 101 = Distribution channel & is not available
Text Symbol: 200 = Incorrect
Text Symbol: 300 = Do you want all sales organization allocations
Text Symbol: 301 = to be deleted?


INCLUDES used within this REPORT RVOTVKOV

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_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'TVKOV' VARKEY = VARKEY EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'TVTW' 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 = 'TVKO' 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 = TEXT-300 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_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING IV_CATEGORY = 'CUST' IV_CLI_DEP = 'X' IMPORTING EV_ORDER = W_ORDER EV_TASK = W_TASK EXCEPTIONS INVALID_CATEGORY = 01 NO_CORRECTION_SELECTED = 02.

TR_APPEND_TO_COMM_OBJS_KEYS CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' EXPORTING " WI_SIMULATION = ' ' " WI_SUPPRESS_KEY_CHECK = ' ' WI_TRKORR = W_TASK TABLES WT_E071 = T_E071 WT_E071K = T_E071K EXCEPTIONS KEY_CHAR_IN_NON_CHAR_FIELD = 01 KEY_CHECK_KEYSYNTAX_ERROR = 02 KEY_INTTAB_TABLE = 03 KEY_LONGER_FIELD_BUT_NO_GENERC = 04 KEY_MISSING_KEY_MASTER_FIELDS = 05 KEY_MISSING_KEY_TABLEKEY = 06 KEY_NON_CHAR_BUT_NO_GENERIC = 07 KEY_NO_KEY_FIELDS = 08 KEY_STRING_LONGER_CHAR_KEY = 09 KEY_TABLE_HAS_NO_FIELDS = 10 KEY_TABLE_NOT_ACTIV = 11 KEY_UNALLOWED_KEY_FUNCTION = 12 KEY_UNALLOWED_KEY_OBJECT = 13 KEY_UNALLOWED_KEY_OBJNAME = 14 KEY_UNALLOWED_KEY_PGMID = 15 KEY_WITHOUT_HEADER = 16 OB_CHECK_OBJ_ERROR = 17 OB_DEVCLASS_NO_EXIST = 18 OB_EMPTY_KEY = 19 OB_GENERIC_OBJECTNAME = 20 OB_ILL_DELIVERY_TRANSPORT = 21 OB_ILL_LOCK = 22 OB_ILL_PARTS_TRANSPORT = 23 OB_ILL_SOURCE_SYSTEM = 24 OB_ILL_SYSTEM_OBJECT = 25 OB_ILL_TARGET = 26 OB_INTTAB_TABLE = 27 OB_LOCAL_OBJECT = 28 OB_LOCKED_BY_OTHER = 29 OB_MODIF_ONLY_IN_MODIF_ORDER = 30 OB_NAME_TOO_LONG = 31 OB_NO_APPEND_OF_CORR_ENTRY = 32 OB_NO_APPEND_OF_C_MEMBER = 33 OB_NO_CONSOLIDATION_TRANSPORT = 34 OB_NO_ORIGINAL = 35 OB_NO_SHARED_REPAIRS = 36 OB_NO_SYSTEMNAME = 37 OB_NO_SYSTEMTYPE = 38 OB_NO_TADIR = 39 OB_NO_TADIR_NOT_LOCKABLE = 40 OB_PRIVAT_OBJECT = 41 OB_REPAIR_ONLY_IN_REPAIR_ORDER = 42 OB_RESERVED_NAME = 43 OB_SYNTAX_ERROR = 44 OB_TABLE_HAS_NO_FIELDS = 45 OB_TABLE_NOT_ACTIV = 46 TR_ENQUEUE_FAILED = 47 TR_ERRORS_IN_ERROR_TABLE = 48 TR_ILL_KORRNUM = 49 TR_LOCKMOD_FAILED = 50 TR_LOCK_ENQUEUE_FAILED = 51 TR_NOT_OWNER = 52 TR_NO_SYSTEMNAME = 53 TR_NO_SYSTEMTYPE = 54 TR_ORDER_NOT_EXIST = 55 TR_ORDER_RELEASED = 56 TR_ORDER_UPDATE_ERROR = 57 TR_WRONG_ORDER_TYPE = 58 OB_INVALID_TARGET_SYSTEM = 59 TR_NO_AUTHORIZATION = 60 OB_WRONG_TABLETYP = 61 OB_WRONG_CATEGORY = 62 OB_SYSTEM_ERROR = 63 OB_UNLOCAL_OBJEKT_IN_LOCAL_ORD = 64 TR_WRONG_CLIENT = 65 OB_WRONG_CLIENT = 66 KEY_WRONG_CLIENT = 67.

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.



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