SAP Reports / Programs

RFTP_CUST_TREE_VIEW SAP ABAP Report - Tree Maintenance of Current Settings







RFTP_CUST_TREE_VIEW 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 RFTP_CUST_TREE_VIEW 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

FITP_SETTINGS_TREE - Tree Maintenance Current Settings


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 RFTP_CUST_TREE_VIEW. "Basic submit
SUBMIT RFTP_CUST_TREE_VIEW AND RETURN. "Return to original report after report execution complete
SUBMIT RFTP_CUST_TREE_VIEW 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: CHANGE = Change mode
Selection Text: CONTROL = Tree display as control
Selection Text: DISPLAY = Display mode
Selection Text: TREE = D Tree
Title: Tree Maintenance of Current Settings
Text Symbol: 011 = Restrictions are mandatory;;-->012
Text Symbol: 012 = Do you want to end processing?
Text Symbol: 010 = Cancel entry ;;
Text Symbol: 001 = Save tree structure
Text Symbol: 002 = The tree structure was changed.
Text Symbol: 003 = Do you want to save the tree structure?
Text Symbol: 004 = Exit tree maintenance
Text Symbol: 005 = End node (query, report, transaction, customizing activity, Web link)
Text Symbol: 006 = Nodes
Text Symbol: 007 = Root node


INCLUDES used within this REPORT RFTP_CUST_TREE_VIEW

INCLUDE RFTP_CUST_COPY_TRANSP.
INCLUDE RFTP_CUST_TREE_VIEW_TOP.
INCLUDE RFTP_CUST_TREE_VIEW_FORM.
INCLUDE RFTP_CUST_TREE_VIEW_PBO.
INCLUDE RFTP_CUST_TREE_VIEW_PAI.


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:

VIEW_GET_DDIC_INFO CALL FUNCTION 'VIEW_GET_DDIC_INFO' EXPORTING VIEWNAME = VIEWNAME TABLES SELLIST = RANGETAB X_HEADER = HEADER X_NAMTAB = NAMTAB.

VIEW_AUTHORITY_CHECK CALL FUNCTION 'VIEW_AUTHORITY_CHECK' EXPORTING VIEW_ACTION = 'T' VIEW_NAME = VIEWNAME EXCEPTIONS TABLE_NOT_FOUND = 5 NO_AUTHORITY = 8 .

VIEW_AUTHORITY_CHECK CALL FUNCTION 'VIEW_AUTHORITY_CHECK' EXPORTING VIEW_ACTION = 'S' VIEW_NAME = VIEWNAME EXCEPTIONS NO_AUTHORITY = 8.

TABLE_RANGE_INPUT CALL FUNCTION 'TABLE_RANGE_INPUT' EXPORTING TABLE = VIEWNAME TABLES X_HEADER = HEADER X_NAMTAB = NAMTAB SELLIST = RANGETAB EXCEPTIONS NO_INPUT = 2 CANCELLED_BY_USER = 12.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TITEL = TEXT-010 TEXTLINE1 = TEXT-011 TEXTLINE2 = TEXT-012 cancel_display = space IMPORTING ANSWER = ANSWER.

RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES NODETAB = NODETAB EXCEPTIONS TREE_FAILURE = 1 ID_NOT_FOUND = 2 WRONG_RELATIONSHIP = 3 OTHERS = 4.

RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING CALLBACK_PROGRAM = 'RFTP_CUST_TREE_VIEW' CALLBACK_USER_COMMAND = 'HANDLE_USER_COMMAND' CALLBACK_TEXT_DISPLAY = 'HANDLE_TEXT_DISPLAY' CALLBACK_COLOR_DISPLAY = 'HANDLE_COLOR_DISPLAY' STATUS = 'OWN' USE_CONTROL = USE_CONTROL EXCEPTIONS OTHERS = 1.

RS_TREE_DELETE_NODE CALL FUNCTION 'RS_TREE_DELETE_NODE' EXPORTING NODE_ID = '000001' WITHOUT_ROOT = SPACE EXCEPTIONS ID_NOT_FOUND = 1 OTHERS = 2.

VIEW_MAINTENANCE CALL FUNCTION 'VIEW_MAINTENANCE' EXPORTING VIEW_ACTION = 'U' VIEW_NAME = VIEWNAME TABLES DBA_SELLIST = RANGETAB EXCL_CUA_FUNCT = CUAEXCL X_HEADER = HEADER X_NAMTAB = NAMTAB .

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING TEXTLINE1 = text-002 TEXTLINE2 = text-003 TITEL = text-001 CANCEL_DISPLAY = ' ' IMPORTING ANSWER = ANSWER .



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