Skip to Content

webdynpro

Hi,

I am learning webdynpro and when i try to create some elements in the layout, then by default they are placed very close to each other and i want them to be placed on the screen according to my choice and requirement. so i have two questions :

1) how can i place the elements at different places on the requirement. i tried to use drag and drop but it dint work.

2)i developed one webdynpro application that has been activated without errors but when i execute it then browser displays nothing, its blank. so what can be the possible reasons for this and how can i get it done?

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 22, 2008 at 06:58 AM

    Hi,

    1.Positioning the UI elements

    When u drag and drop UI elements on your screen , the exact position cant be achieved.You have to use the Layout Manager to position your UI elements.

    There are 4 layouts

    i.Matrix Layout Manager

    1.The MatrixLayout layout manager allows UI elements to be arranged into specific rows and

    provides vertical alignment of the UI elements between different rows.

    2.You can specify that a certain UI element will appear at the start of a new row by setting the

    layoutData property to MatrixHeadData.

    ii.Row Layout Manager

    1.The RowLayout layout manager allows UI elements to be arranged into specific rows.

    2.You can specify that a certain UI element will appear at the start of a new row by setting the

    layoutData property to RowHeadData.

    3.UI elements arranged using the RowLayout layout manager will be arranged into rows, but there

    will be no vertical alignment of UI elements.

    4. If the screen is not wide enough to accommodate all the UI elements in a particular row, then the

    UI elements will flow around to the next row in exactly the same way as flow layout.

    iii.Grid Layout Manager

    1.The GridLayout layout manager causes UI elements to be arranged into a grid in which there is

    always and equal number of columns per row.

    2. Once you specify the number of columns in the grid, the UI elements are added in a left-to-right,

    top-to-bottom manner.

    iv.Flow Layout Manger

    1.The FlowLayout layout manager is the default layout manager for all container UI elements.

    2.You have no direct control over the position of UI elements managed by the FlowLayout layout

    manager. The UI elements will position themselves from left to right across the screen, and will

    automatically wrap to the next line when right-hand screen margin is encountered.

    3.The FlowLayout layout manager is most useful when managing other container UI elements.

    Use UI elements Property also to align the elements.

    2.When executing you had told that your view elements are not visible.The problem might be because you might not have embedded your view in your window.

    Right Click <Window Name> -> Embed View ->Embed View window opens-->select the Radio button Embed Existing view and select the view name you have created and click finish.

    Hope this might solve your problem.

    Regards,

    Bala Baskaran.S

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 10, 2008 at 06:21 PM

    1. When placing UI elements on your 'screen', the exact position of this element depends on the layout manager: flow layout, row layout, matrix layout and grid layout. WD4A is not like BSP, which is so called picture perfect. You can place the UI in BSP on the exact place of choice.

    2. Seems to me that you haven't embedded the view in your (main)window.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 11, 2008 at 03:39 AM

    hi aditya....

    drag and drop might not help you....

    you should make use of different layouts and borders....

    make sure you have embedded your view in the window so that it is displayed.

    ---regards,

    alex b justin

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 23, 2008 at 12:30 PM

    Hi aditya,

    please check these urls.

    For Beginners:

    Web Dynpro for ABAP: Tutorials for Beginners

    Layout Elements:

    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/13e56fb4d00889e10000000a422035/frameset.htm

    Regards,

    Muneesh Gitta.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 03:49 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 30, 2008 at 04:05 AM

    you might not inserted your view inside the window.

    For UI elements space use padding property.

    see below for more help.

    http://help.sap.com/saphelp_nw04s/helpdata/en/f6/501b42b5815133e10000000a155106/frameset.htm

    WDR_TEST_UI_ELEMENTS TO TEST THE PROPERTIES OF UI ELEMENTS.

    Hope its useful for u.

    Thanks and regards

    rupachandran

    Add comment
    10|10000 characters needed characters exceeded