Entering content frame

Procedure documentation Defining Page Attributes for the First Page Locate the document in its SAP Library structure

Use

Page attributes are visible both in the layout and in the event handlers for a page. Page attributes are used to store data obtained by the standard handler OnInitialization, and to make this data accessible to the layout and to the other event handlers.

In this step, you define the page attributes authorlname and authorfname. These page attributes are needed to process the user input. Once the user has chosen a button on the user interface, these attributes are assigned the values the user entered for the author’s surname and first name.

If you are using ABAP as the scripting language, you can access the variables directly from the code for this page.

 

Procedure

  1. Choose the Page Attributes tab page for the first page.
  2. Specify the parameters authorlname and authorfname:
  3.  

    This graphic is explained in the accompanying text

     

    The page attributes for this page are not marked as automatic, as there is no predecessor page from which the values could be taken.

    Note

    A page attribute that has the flag automatic is automatically assigned a value from the calling URL, or from another page via the navigation interface, when the page is called. The prerequisite for this is that there is a parameter with the same name and a value in the URL or in the navigation interface.

    For more information about page attributes and their visibility, see the reference documentation under Page Attributes.

     

    Example

    The following is an example of the value for the page attribute being transferred from another page via the navigation interface, in the case where there is an automatic attribute called authorfname in the target page: navigation->set_parameter( 'authorfname' ).

  4. Save your entries.

 

Now define the event handlers for the first page.

This graphic is explained in the accompanying text Event Handlers for the First Page

 

 

Leaving content frame