on 01-18-2006 5:03 PM
I'm calling BAPI in web dynpro, I already map the <BAPIName>_Input->Output->Return to our custom controller context. I can get the value of some other output parameters in Output node, but can't get the return node.
wdContext->currentOutputElement is Ok, but wdContext->currentBapiReturnElement is null, what is the problem??!!!
Can anybody give me an hint, or give me a example to access the return value of Bapi??
Thank you very much!
Regards,
Xiaoming Yang
Can anybody give me an example getting return message of a BAPI? It is a structure called Bapireturn contains Code, Message, Type and so on fields.
Thank you very very much!!
Regards,
Xiaoming
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
did you invalidate the response node after executing the bapi call? sort of...
wdContext.currentBapiResponse().invalidate():
this will tell the context node that it must refresh it's contents with the return values stored in the underlying bapi model object.
Hope this helps. Kind Regards,
Vitaliano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vitaliano,
Thanks for your reply.
yes, I've call the invalidate method, like this:
wdContext.currentBapi_Trip_Create_From_Data_InputElement().modelObject().execute();
//wdContext.nodeBapireturn().invalidate();//do I need this?
wdContext.nodeOutput().invalidate();
But it still can't work!
The return node is a child note of Output, does it ok?
Thank you!
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.