on 04-04-2008 9:52 AM
Hi ,
I am try to access backend data through bapi in my webdynpo application..
I have created a model selected the bapi req.
Mapping the contex of model to cust controller and further to UIelement context is done ...
Problem is with coding now ....
The coding done in customcontroller is
onwdDoInit()
{
Bapi_Ial_Createfromdata1_Input input = new Bapi_Ial_Createfromdata1_Input();
wdContext.nodeBapi_Ial_Createfromdata1_Input().bind(input);
input.setIal_Header_In(new zbapiialheadnew());
Bapi_Transaction_Commit_Input input1 = new Bapi_Transaction_Commit_Input();
wdContext.nodeBapi_Transaction_Commit_Input().bind(input1);
}
while creating a new element in the node Ial_Header_In give error that zbapiialheadnew cannot be resolved.
How to solve it ????
In view -
there is a dropdownkey which has action onactionselectplant,where we need to have the list of all available plant in it through bapi
Now coding is -
onactionselectplant()
{
wdContext.currentBapi_Ial_Createfromdata1_InputElement().setPlant(wdContext.currentBapi_Ial_Createfromdata1_InputElement().getPlant());
}
It also give the error thet plant cannot be resolved...
I suppose the second on is link with the first error ...but dont know how to remove it ...
onactionselectloc() - this method has to show the list of locations based on the selected planted in the other dropdownkey element to which this action is added in the onselect property of that dropdownkey element...
Please suggest how to do this coding?????
Please help ..
Thanks,
Gunja
solved my self ... thanks guys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gunja,
I think there is no such model class zbapiialheadnew generated while importing the RFCs. May be you should try looking into whatever model classes have been imported and use correct model class name. It must be something like ZBapi_Ialheadnew.
Regards,
Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Organize imports then * while creating a new element in the node Ial_Header_In give error that zbapiialheadnew cannot be resolved * will be resolved.
Regards,
Sunitha Hari
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 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.