on 05-12-2006 2:01 PM
I am new to web dynpros and i have used the bapi
Bapi_Material_Get_All for getting material description if we enter material number
and in the custom controller i have written the code
public void wdDoInit()
{
//@@begin wdDoInit()
Bapi_Material_Get_All_Input Input = new Bapi_Material_Get_All_Input();
wdContext.nodeBapi_Material_Get_All_Input().bind(Input);
//@@end
}
and in a separate method of custom controller i have written this code which will be called when i navigate from first view to second view
wdContext.currentBapi_Material_Get_All_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
plzzz someone help me in this regard....
The code looks correct. Are you populating the material number from the first view into the input node's attribute for it to use to retrieve the description?
Also, there should be a return node that you can check the result and if there are any error messages coming back from the BAPI execute.
-Cindy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.