Skip to Content
avatar image
Former Member

Adding Bapi Values Dynamically to Dropdowns.

Hi,

I am Using Bapi for Dropdowns and I want to add the BAPI's Value dynamically to the Simple type of that Dropdown.Kindly help on this scenario and also Provide the Link to refer this material.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 09, 2011 at 06:21 AM

    Hi,

    Create DropDownByIndex, bind its texts property to the vaue attribute of the BAPI.

    The drop down will be filled with the values returned by BAPI dynamically.

    Regards,

    Anand G

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2011 at 01:17 PM

    Hi Karthik,

    First import the model by using adaptive RFC model and after import the model you can mapping to component controller and same way to mapping to component to view controller after go to view controller -->go to layout -->create drop down by index -->binding the context of the filed so that we that display Drop down dynamically

    Hope this information help you

    Thanks&Regards

    G.srinu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 10, 2011 at 09:13 AM

    Hi Karthick,

    Hi Ratish,

    After importing the Adaptive RFC model, do the following steps:

    1) Add the particular model in to the component. This you can do by right clicking "Used Models" and adding the particular model.

    2) Go to the Diagram view of component and make a context mapping between model and component controller. (ie, from component controller to model).

    3) Save all the meta data.

    4) Then add a mapping from view controller to component controller and select the appropriate context node.

    5) Save all the meta data

    6) Open the particular view and drag and drop a "Drop down by Index" control on to the view. Make sure that it is "Drop down by Index".

    7) Take the drop down's properties and do a context binding to the text's property.

    If you are doing all these steps, it should work. Reply me if you are facing any issues.

    Regards,

    Jithin

    Add comment
    10|10000 characters needed characters exceeded