on 05-13-2008 8:39 AM
Hi all,
can e-Commerce Java application show backend order errors in JPS's when simulating or creating a new order from the shop? If it is possible, how can it be done?
Thanks.
In addition, SAP gives you a class to import the results from the RETURN table of your BAPI and set any error message in the User object (or another object you declare, like posd). you can then handle the error any way you want in the action class to show the JSP. This is relatively simple.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your comments Jolly but...
SAP gives you a class to import the results from the RETURN table of your BAPI
which class are you talking about?
and...
you can then handle the error any way you want in the action class to show the JSP. This is relatively simple.
what about if the application crashes after calling the bapi?
Any help would be really appreciated.
Thanks.
Hi Ignacio,
The requirement can be achieved, if you can get the error msg parameter in the BAPI in backend implementation class through JCO.
It might require explicit programming, but definitely it can be achieved.
If the BAPI's have the error code or error msg as a retrieval parameter, then you can get it in the backend class and then add it to the request context which can be retrieval display easily at the JSP.
Hope it clears the doubt.
Regards,
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.