on 11-09-2011 5:42 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.