RV_CUSTOMER_HIERARCHY 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 RV_CUSTOMER_HIERARCHY into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
VDH1N - Display/Maintain Customer Hierarchy
VDH2N - Display customer hierarchy
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.
Selection Text: S_VTWEG = Distribution channel
Selection Text: S_VKORG = Sales organization
Selection Text: S_SPART = Division
Selection Text: S_PATH = Limit display to paths
Selection Text: S_KUNNR = Customer
Selection Text: S_HITYP = Customer hierarchy type
Selection Text: S_DATE = Validity date
Title: Process Customer Hierarchy
Text Symbol: 034 = Higherlevel customer
Text Symbol: 033 = Divis.
Text Symbol: 032 = DistrChannel
Text Symbol: 031 = Sales organization
Text Symbol: 030 = Cust.
Text Symbol: 021 = More selection criteria
Text Symbol: 020 = Hierarch.parameters
Text Symbol: 009 = Acct group
Text Symbol: 008 = Customer no.
Text Symbol: 007 = Hierarchy assignment
Text Symbol: 006 = Rel.f.rebate
Text Symbol: 005 = Relevant for pricing
Text Symbol: 004 = Validity period
Text Symbol: 003 = Sales area
Text Symbol: 002 = Loc
Text Symbol: 001 = Cust. hierarchy
Text Symbol: 035 = Valid from
Text Symbol: 036 = Exp. date
Text Symbol: 050 = Do you really want to cancel?
Text Symbol: 051 = End cust. hierarchy maintenance
Text Symbol: 052 = Terminate cust. hier. maintenance
Text Symbol: 053 = Do you want to save the data?
Text Symbol: 054 = All lower-level customers are removed.
Text Symbol: 055 = Do you really want to remove?
INCLUDE CUSTOMER_HIERARCHY_TOP.
INCLUDE RVCHCLASSES.
No SAP DATABASE tables are accessed within this REPORT code!
RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey p_program = sy-repid TABLES p_exclude = lvt_p_exclude.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RV_CUSTOMER_HIERARCHY - Process Customer Hierarchy RV_CUSTOMER_HIERARCHY - Process Customer Hierarchy RVZTERM - RVZTERM - Match Terms of Payment (TVZB/T vs. T052) RVZTERM - RVZTERM - Match Terms of Payment (TVZB/T vs. T052) RVZARV60 - documentation and ABAP source code RVZARV20 - documentation and ABAP source code