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

Doubt in Application toolbar

Hi All.

I have two screen ,initial screen selection screen 1000 next screen dialogue screen 101.it (101) has one application tool bar like "ELECT",i want deactive application toolbar depending upon condition.example 4 input field in selection screen like 1,Name 2,Age,3Gender ,4Place. if user enter more then 18 old i will allow to active application tool bar in screen 101,if user enter input below 18 in selection screen ,i will deactive application tool bar.

please help me

regards.

Jay

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 07:25 AM

    in pai of the 101 you can get the value of age if you want to validate that.

    or when you are calling screen 102 then put the check.

    if age(field of 101 screen) ge 18.

    call screen 102.

    endif.

    regards

    shiba dutta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 06:28 AM

    Hi Jay

    Make use of statement: SET PF-STATUS with addition: ... <b>EXCLUDING f ... EXCLUDING itab</b>

    Kind Regards

    Eswar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 06:34 AM

    declare itab

    data : BEGIN OF iTAB occurs 0,

    FCODE LIKE RSMPE-FUNC,

    END OF iTAB.

    append the fcodes you dont want to show in itab.

    in PBO of your screen 101 just define

    module status output.

    if age ge 18.

    set pf-status 'ELEC'.

    else.

    set pf-status 'ELEC' excluding itab.

    endif.

    endmodule.

    regards

    shiba dutta

    or just create another pf status for lt 18 age.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi shiba.

      I have done it ,Thanks for you ,one more doubt. if user enter with in 18 old from selection screen (1000) to dilogue (101).now ELECT application toolbar showing how can i prevent that?

      example:user will enter with 18 yr old from selection screen 1000 to dilogue screen 101,after entered in 101 screen ,user may be change his age below 18 in screen 101,how can i prvent ? (if user press the application toolbar it will poppulate one screen 102 abt election from 101 scree, i have done validation it when user may change age after entered screen 101 like Elction rights only for 18age, but i want to prevent popullation of screen 102)

      pls help me.

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.