on 04-05-2007 10:45 AM
Hi all,
i have an application, i deployed it sucessfully. unfortunately i am sending my data to model and to backend ABAP. But i am not recieving data from backend. Can any one know about this problem.
Thnak you
Regards
Ravi
Ravi,
Thr must be the following scenarios,
1)Check your JCO connections
2)Bapi doest give the data when no data.
3)Exception May be arrosed when you try to execute the BAPI.
Try to write the code for message Manager to display the exceptions.
4)Map and Bind your return code also,this will give the return result incase your
bapi/fm contains exceptions/no data.
5)Execute your bapi from the r/3 side and check it.
Regards,
Ramganesan K.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi All
This is my code: my backend:
SELECT SINGLE usercat INTO ex_user_cat FROM /arch/arm_user WHERE
username = im_user.
ENDFUNCTION
Controller Component:
public void wdDoInit()
{
//@@begin wdDoInit()
__Arch__Arm_Get_User_Cat_Input input = new __Arch__Arm_Get_User_Cat_Input();
wdContext.node__Arch__Arm_Get_User_Cat_Input().bind(input);
//@@end
}
public void Example_GetData( )
{
//@@begin Example_GetData()
try
{
wdContext.current__Arch__Arm_Get_User_Cat_InputElement().modelObject().execute();
wdContext.nodeOutput().invalidate();
}
catch(Exception ex)
{
ex.printStackTrace();
}
//@@end
}
View Controller:
public void onActionToGetData(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionToGetData(ServerEvent)
wdThis.wdGetExampleCompController().Example_GetData();
//@@end
}
Please can anu one help me in this
Thank u
Regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
before executing the RFM call you must set the input parameters of it.
You must do this after the bind method.
Have a look at this link:
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715">wd [original link is broken] [original link is broken]
Best regards,
Gianluca Barile
Hi,
Add this code in yorur customcontroller and output node pass to view Context and bind with the table UI element.
Then it should work.
Bapi_Material_Get_Detail_Input_INPUT input = new Bapi_Material_Get_Detail_Input_INPUT
();
wdcontext.nodeBapi_Material_Get_Detail_Input_INPUTElement().bind(input);
send ur input like this.
input.setTABLE(tble);
input.setCatogory("Value");
input.setDate("dd/mm/yyyy);
input.setProjId(value);
aftert this.
try{
wdContext.currentBapi_Material_Get_Detail_Input_INPUTElement().modelObject().execute();
wdContext.nodeOutPut.Invalidate();
int i = Wdcontext.nodeMaterail_General_Data().size();
}
catch(EX e)
{
e.prstack();
}
thanks,
Lohi.
Hi all,
i have an application, i deployed it sucessfully. unfortunately i am sending my data to model and to backend ABAP. But i am not recieving data from backend. Can any one know about this problem. It is not a problem with JCO and Not problem with model. Not a Problem with Context, Then Where is the problem occuring? It is Simple one i can'n understand why webdynpro is not sending data back. i see the field is enabling which was grid out previously.
Thnak you
Regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
could you please be more precise? What BAPI (or RFC) are you using? what interface have it?
Can you attach the java code?
Best regards,
Gianluca Barile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.