2007 Apr 06 4:51 AM
HI,
How to handle exceptions in bapi
can any body help me regarding the above
Thanks & regards
prathap
HI,
How to handle exceptions in bapi
can any body help me regarding the above
Thanks & regards
prathap
2007 Apr 06 5:07 AM
Hi !
In BAPI since they are RFC enabled you cannot give exceptions as theya re supposed to be handled across system hence the need to apss the exception as one of the interface parameter .
In SAP for this purpose the BAPI have a table parameter as RETURN . If you see its definition is based on structure 'BAPIRETURN' or BAPIRETURN1 . Its in this table you pass your errors handled in the BAPI processing inside SAP .
In short you pass your exceptions in the RETURN parameter of the BAPI interface.
2007 Apr 06 5:08 AM
Hi ,
In BAPI 's you will find BAPIRETURN structure , which is used to handle all messages /exceptions .
regards,
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |