on 06-22-2007 11:36 AM
Hi All,
I have a following rfc model structure.
A] __Viv__A_Lese_Fragen_Input
a]Et_Fragen
i] Frage
ii] Nummer
B]__Viv__A_Lese_Fragen_Output
a]Et_Fragen_Output
i] Frage
ii] Nummer
Now in above structure I want to display Attribute "Frage" in my dropdownbyindex ui element. So can anyone please provide me with the code. Please note that I have no input to rfc. I just have to execute my rfc and in the potput I will get data in node "Frgae". I have to display this data in my dropdown. As soon as my run my program this data should be visible in my dropdown. Plz help!!
Its urgent!!! Points will be rewarded if my problem gets solved.
Cheers,
Darshna.
Hai,
simply Exceute the bapi, inavlaidate the response node
__Viv__A_Lese_Fragen_Input obj=new __Viv__A_Lese_Fragen_Input();
wdContext.node__Viv__A_Lese_Fragen_Input().bind(obj);
wdContext.current__Viv__A_Lese_Fragen_Input().modelObject().execute();
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally got the data in my drop down!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
write code like this....
__Viv__A_Lese_Fragen_Input bapi_obj = new __Viv__A_Lese_Fragen_Input();
wdContext.node__Viv__A_Lese_Fragen_Input().bind(bapi_obj);
try
{
wdContext.current__Viv__A_Lese_Fragen_InputElement().modelObject().execute();
wdContext.node__Viv__A_Lese_Fragen_Input().nodeEt_Fragen().invalidate();
}
catch(Exception e)
{
e.getStackTrace();
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.