on 07-28-2007 10:34 AM
HI,
While i,m executing the my model it is showing this error plz help me
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException
This is my code:
input = new Yepf_Visitingcard_Input();
wdContext.nodeYepf_Visitingcard_Input().bind(input);
vcdetail = new Yept_Viscard();
input.setEps_Visit(vcdetail);
java.text.SimpleDateFormat sdf;
sdf =new java.text.SimpleDateFormat("dd-MMM-yyyy");
input.setProcessid(wdContext.currentContextElement().getProcessID());
input.setFcode(s);
input.setPernr(wdContext.currentContextElement().getEmpCode());
wdContext.currentYepf_Visitingcard_InputElement().modelObject().execute();
wdContext.currentContextElement().setProcessID(wdContext.nodeYepf_Visitingcard_Input().nodeOutput().currentOutputElement().getProcess_Id());
wdComponentAPI.getMessageManager().reportSuccess("Process ID "+wdContext.currentContextElement().getProcessID());
wdContext.nodeOutput().invalidate();
Hi Vanama,
Execute BAPI through SAP GUI. if its execute properly do the following steps.
1. Do you have any mandatory input parameters?.
- (check are you setting mandatory input parameters properly)
2. If they changed BAPI structure(data type) after model generation you have to model re-import model again.
Kindly update the status.
Regards, Suresh KB
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you are executing RFC method in WdDoInit(), you will get this exception. So my suggestion is to call RFC in Inbound Plug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vanama,
Check the return message from bapi,what's it showing??Before executing the bapi,put a breakpoint in r/3 system & check what values r getting passed to bapi..
U can check this in transaction se37,go to ur function module & put external break point over there.
regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santosh,
Your function module is throwing this exception (your code seems to be ok)......try to run the function module from SAP GUI , it will give some error. Take help from ABAPer's and check the function module.
Regards
Srikanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.