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

Dynamic PF-Status.

Hi,

I want to create a Dynamic PF-Status,

for example in a report SELECTION SCREEN if you enter some inputs and click on SAVE, We will get a VARIANT button in the application tool bar.

Could some one exlpain how to obtain the same in my ZProgram, I want to bring some other button in the application tool bar dynamically.

regards,

Prabhu

Points assured.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 11:08 AM
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'BTCI'.         "Have your own User Commands
    *  Code necessary
        WHEN 'RETR'.        "Have your own User Commands
    *  Code necessary
      ENDCASE.
    
    
    * In Output (where u have write statement or calling ALV display)
      SET PF-STATUS 'MAIN'.
    

    Create a PF status with the Buttons u want with user commands

    Handle them in the event AT USER-COMMAND.

    Reward points please

    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.