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

Need to remove the Push Buttons on the Application Toolbar

I have two screens.

1st Sceen has Modify & display buttons on the Appllication Toolbar.

2nd scrren has Modify & Save buttons on the Appllication Toolbar.

Now when i click on Display button on first screen, 2nd screen should not show Modify & Save buttons. How ?

Note that the Pushbuttons are not on Screen. They are in Application Toolbar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 24, 2008 at 04:14 AM

    hi

    use the following statement in the pf status of the second screen

    data : begin of itab occurs 0,

    fctcode(10) type c,

    end of itab.

    itab-fctcode = 'MODIFY' .

    append itab.

    itab-fctcode = 'SAVE'.

    append itab.

    SET PF-STATUS 'BASIC' EXCLUDING itab.

    where BASIC is the PF status

    regards

    prasanth

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 24, 2008 at 04:44 AM

    Hi....

    So you are coming to second screen through MODIFY or DISPLAY,

    So there is must be a small change can appear in screen two... because of naming convention DISPLAY button is only for display....

    And MODIFY can allow user to modify screen...

    That CHANGE you have to utilize here.... It should always better way....

    Write if condition in PBO of second screen exatly with that CHANGE....

    >if <screen is like this>

    > set pf-status '02 excluding 'MODIFY'.

    > set pf-status '02 excluding 'SAVE'.

    >else.

    > set pf-status '02'.

    >endif.

    Try this....,

    or

    You can use this same logic for first screen buttons in PAI event of first screen.

    Thanks,

    Naveen.i

    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.