on 07-15-2008 2:15 PM
this relates to NW Mobile 7.1, SP04
Can anybody point me to some documentation, what kinds of errors should be set in the BAPI Wrapper?
my observations:
If a consistency check in the backend fails, my BAPI Wrapper returns 'E' in the BAPIRETURN2 structure, the change is discarded on the client.
How can I handle that on the client? I vaguely remember that there are some Listeners, but I could not find documentation on that.
Thanks, Andre
Hi Andre,
You can ask ur client developers to handle the type E messages.
Means, If the client get any message of type E then they can simply discard those records.. otherwise confirm it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oren,
nothing new so far.
I am using the following code copied from some other BAPI Wrapper. Some documentation would be helpful:
CALL FUNCTION 'BALW_BAPIRETURN_GET2'
EXPORTING
TYPE = 'S'
CL = 'BGMSG'
NUMBER = '000'
PAR1 = 'Success'
IMPORTING
RETURN = BAPIRETURN.
APPENDbapireturn to return.
The documentation of the class "Rejection" hints, that you can set names of fields and more. But I do not know how. That's why I was asking.
Cheers, Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Did you find solution for this issue
Oren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sagar,
but how do I know that there was a problem?
Thanks, Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sagar,
thanks, that is what I had hoped for ... I am the client developer too .-)
How do I access these return messages and how do I handle them?
for example:
- E: constistency check not met
- instead of dropping the record, notify user to change the record
Any pointers?
Thanks, Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.