SAP Reports / Programs

RV_CUSTOMER_HIERARCHY SAP ABAP Report - Process Customer Hierarchy







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

VDH1N - Display/Maintain Customer Hierarchy
VDH2N - Display customer hierarchy


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 RV_CUSTOMER_HIERARCHY. "Basic submit
SUBMIT RV_CUSTOMER_HIERARCHY AND RETURN. "Return to original report after report execution complete
SUBMIT RV_CUSTOMER_HIERARCHY 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_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?


INCLUDES used within this REPORT RV_CUSTOMER_HIERARCHY

INCLUDE CUSTOMER_HIERARCHY_TOP.
INCLUDE RVCHCLASSES.


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:

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.



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