on 07-19-2005 12:18 PM
Hi Friends,
I tried to simulate the Flight Application.
I tested SLD connection and JCO connection,everything is successful.But When I try to deploy and run the application,Data is not retrieved from R/3.
What are all the procedures i have to follow to get it done.
Thankx in Advance.
Karthick Eswaran
Hi,
Please post the exception stack trace if any !!
First check weather you have any data in the R/3 system or not for that particular call !!
I think you can test FM by using se37 (If i am not wrong) !!
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no exception raising.
As I am new to WebDynpro i dont know How to Ceck whether the data is there or not.Plz help me in this.
See my code below.
public void executeBapiFindFlightList( )
{
//@@begin executeBapiFindFlightList()
try {
wdContext
.currentBapi_Find_Flight_GetlistElement()
.modelObject()
.execute();
} catch (Exception e) {
e.printStackTrace();
}
wdThis.wdGetContext().nodeOutput().invalidate();
//@@end
}
It seems everything is correct.But still I could not find out the problem.
Hi Shakti,
Yes your code is looking fine.
But you have to invalidate your output context node after executing your model.
Write following code after execution of model.
wdcontext.nodeOutput().invalidate();
wdcontext.node<result node>.invalidate();
Likewise invalidate all nodes under output node.
Regards,
Bhavik
I Invalidated all the nodes
see below.
wdThis.wdGetContext().nodeOutput().invalidate();
wdContext.nodeBapi_Find_Flight_Getlist().invalidate();
wdContext.nodeDestination_From().invalidate();
wdContext.nodeDestination_To().invalidate();
wdContext.nodeFlight_List().invalidate();
I added these lines in my code.
Then whatelse i can do!!!!!!!!!
Hi shakthi,
No need to invalidate all the nodes. Invalidate nodes under output node only.
wdThis.wdGetContext().nodeOutput().invalidate();
wdContext.nodeFlight_List().invalidate();
Invalidate above nodes only.
Did you get the results in first execution?
The second time problem is due to invalidating all nodes only.
Regards,
Bhavik
Hi Shakti,
First of all test whether for that data you can get any results in SAP R/3 itself or not by executing that function module from se37.
If it is returning data, then post your code where you are calling this RFC in webdynpro.
I guess you are not invalidating the output nodes.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
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.