Skip to Content
avatar image
Former Member

UI Elements

Hi

I have an requirement to develop in WD. that to on single View.

first we have to seperate iview with three sections

iview

-


1st part

-


2nd part

-


3rd Part

-


in first part we have one text field and one button

once we submit button its call BAPI and pass the input text value to BAPI

BAPI will display result text and it will displayin a 2nd part in table format

in 2nd frame we also contain button

once we select some selected rows from the table and subits the button then it show the selected rows in the 3rd part.

so please let me know how to slove this scenario and what are the UI elements we have to use to seperate the view as three areas

regards

mmukehs

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 16, 2007 at 01:09 PM

    Hi mmukehs,

    You can get your three parts creating a view set.

    Then you create 3 views and dispoe them as you like in the view set.

    Navigation and actions between views can be performed using plug and event (you can also create a custom controler for the 3 views to handle actions).

    Regards,

    Sylvain

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 01:23 PM

    Hi Mukesh,

    You can create 3 different views in Viewset as suggested by Sylvin.

    Or

    You can crearte 3 different groups and set the Visibility Property of the Group to

    <b>type com.sap.ide.webdynpro.uielementdefinitions.Visibility</b>.

    In the action of button set the Visibility property of group to <b>VISIBLEor </b><b>NONE</b>.

    i.e.,

    <b>wdContext.currentContextElement().set<ContextAttributeName>(WDVisibility.VISIBLE);

    </b>or

    <b>wdContext.currentContextElement().set<ContextAttributeName>(WDVisibility.NONE);</b>

    Regards,

    Jhansi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 16, 2007 at 08:04 PM

    hi mukesh,

    1. import the BAPI and bind it to controller.

    2. create three views say view1, view2, view3.

    3. In the window create a viewset(3 rows 1 column) and embed the three views into the 3 rows.

    4. do the context mapping from the controller to all the 3 views.

    5. create the navigational plugs from view1 to view2 and from view2 to view3.

    on click on button in view1 fire plug and same in view2.

    Regards,

    Gopi

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI Mukesh,

      Go to Windows there u'll find the View set if u've created any. Otherwise right click on Window and select Create Viewset to create it.

      Regards

      Jhansi