Skip to Content
author's profile photo Former Member
Former Member

How to customize the FM RS_TREE_LIST_DISPLAY for customized Application Toolbar?

Hi Experts,

I am using the standard FM RS_TREE_LIST_DISPLAY to display the data in Tree view.

Here I not want some of the function keys to be displayed in the report. So how do I can customize(remove) the ICON from the Application Toolbar in my report program.

I tried using GUI Status by creating a new function key in SE41 but that is disabling the manual expand and collapse functions disable.

Please suggest me the code to be used for achieving this.

Thanks !

Bharath. S

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 09, 2014 at 06:30 PM

    Hi Jaya

    You need to set PF status before you being creating the tree. Check SAP sample program RSRFCSLX this for the code reference. It displays its own button

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 28, 2019 at 08:20 AM

    Here is the Exact steps you need to perform to achieve your custom PF status functionality-

    1. You need to set PF status before you being creating the tree.

    SET TITLEBAR 'TREE.

    SET PF-STATUS 'ZTREE'.

    2. In FM: 'RS_TREE_LIST_DISPLAY' pass exporting parameter callback_user_command value as below-

    l_program_main = sy-repid.

    CALL FUNCTION 'RS_TREE_LIST_DISPLAY'

    EXPORTING
    callback_program = l_program_main

    callback_user_command = 'X' .

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.