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

pbo

Hi all

it says in the book that'at the begining of the pbo the runtime system reads the statically created and dynamically modifiable attributes of each screen element on the current screen into a system table with the line type screen.....Can anybody explain is what r the statically created and dynamically modifable attributes...

Thanks and regards

vijaya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2006 at 02:39 AM

    Hi,

    I guess <b>statically created</b> means from the program itself we create screen elements like buttons,menus etc,function keys for BACK,EXIT,CANCEL etc by setting

    PF-STATUS

    <b>dynamically modifiable</b> means

    at runtime depending on which button or key we press

    sy-ucomm value changes,

    sy-ucomm is a sytem variable that holds the function code for the items created using PF-STATUS.

    using CASE ENDCASE for different values process is done.

    Generally about how PBO and PAI process flow happens,i gave in the other post along with simple ex, go thru it also,i hope it will be helpful.

    Regards,

    Sowjanya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 11:08 AM

    The screen flow logic is divided into the Process Before Output (PBO) event, which is processed before the screen is displayed, and the Process After Input (PAI) event, which is processed after a user action on the screen.

    PROCESS BEFORE OUTPUT (PBO) is automatically triggered after the PAI processing of the previous screen and before the current screen is displayed. You can program the PBO processing of the screen in this block. At the end of the PBO processing, the screen is displayed.

    When you call a screen, the PROCESS BEFORE OUTPUT event (PBO) is called, and the corresponding event block in the screen flow logic is processed. The screen itself is then displayed until the user triggers the PROCESS AFTER

    INPUT (PAI) event by choosing a function.

    Attributes of Screen Elements

    The entire element of a screen has some attributes, which determines their behavior.

    • General – These attributes are directly managed by the screen painter like name of the element, or text of element or column width and various things associated with the screen.

    • Dictionary – These attributes are applicable to fields, which are from dictionary. Various components of dictionary can be attached to this element like search help, foreign key.

    • Program.

    • Display – Behavior of the element with respect to their display feature.

    Have a look at below link for setting the screen attributes dynamically.

    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm

    Best Regards,

    Vibha

    *Please mark all the helpful answers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 11:12 AM

    Hi vibha

    Thanks for ur response..but thats not my question...

    Regards

    vijaya

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 11:17 AM

    Ur question is about PBO and the attributes of the screen as mentioned in the post, if i got it right...

    Best Regards,

    Vibha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2006 at 03:34 AM

    <b>statically created attributes</b>

    while creating some fields on the screen , u will double click on the field and give its name , FCODE if any , whether its list box or not ...these will not change at runtime ...so these r static

    <b>dynamically created attributes</b>

    u can change the attributes of the screen dynamically..

      loop at screen.
       if screen-name = 'MATNR'.
             screen-input = 0.
             modify screen.
        endif.
      endloop

    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.