SAP Reports / Programs

RVOTHIOZ SAP ABAP Report - Customer Hierarchy: Allowed Sales Area Assignments







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


Text pool values


Selection Text: S_HITYP = Customer hierarchy type
Title: Customer Hierarchy: Allowed Sales Area Assignments
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: 005 = Should all assignments for the ;;
Text Symbol: 006 = company code be deleted? ;;
Text Symbol: 008 = Higher-level sales areas
Text Symbol: 010 = Sales area
Text Symbol: 012 = Higher-level sales areas for &
Text Symbol: 021 = Do you want to save your data?
Text Symbol: 022 = Assignments have been changed.
Text Symbol: 050 = * No name*
Text Symbol: 100 = Sales area & not allowed for customers


INCLUDES used within this REPORT RVOTHIOZ

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:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = TEXT-004 TEXTLINE1 = TEXT-005 TEXTLINE2 = TEXT-006 IMPORTING ANSWER = ANSWER.

ENQUEUE_E_TABLE CALL FUNCTION 'ENQUEUE_E_TABLE' EXPORTING TABNAME = 'THIOZ' VARKEY = VARKEY EXCEPTIONS FOREIGN_LOCK = 4 SYSTEM_FAILURE = 8.

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

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = LT_FIELDCAT_HEAD IT_EVENTS = GT_EVENTTAB_ALV I_TABNAME_HEADER = GC_TABNAME_HEADER I_TABNAME_ITEM = GC_TABNAME_DET IS_KEYINFO = LS_KEYINFO TABLES T_OUTTAB_HEADER = GT_OUTTAB_ALV_HEAD T_OUTTAB_ITEM = GT_OUTTAB_ALV_DET EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB_ALV.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_STRUCTURE_NAME = GC_STRUCTURE I_INTERNAL_TABNAME = GC_TABNAME_HEADER CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = GV_REPID I_STRUCTURE_NAME = GC_STRUCTURE I_INTERNAL_TABNAME = GC_TABNAME_DET CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GV_REPID IS_LAYOUT = GS_LAYOUT_ASSIGN IT_FIELDCAT = GT_FIELDCAT_ASSIGN I_SAVE = GC_SAVE "'A' IT_EVENTS = GT_EVENTTAB_ASSIGN I_SCREEN_START_COLUMN = 01 I_SCREEN_START_LINE = 12 I_SCREEN_END_COLUMN = 79 I_SCREEN_END_LINE = 19 TABLES T_OUTTAB = GT_OUTTAB_ALV_ASSIGN EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_STRUCTURE_NAME = GC_STRUCTURE CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = XT_EVENTTAB_ASSIGN.

FORMAT_TEXTLINES CALL FUNCTION 'FORMAT_TEXTLINES' EXPORTING FORMATWIDTH = 60 LINEWIDTH = 132 STARTLINE = 1 TABLES LINES = GT_TLINE EXCEPTIONS OTHERS = 0.



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