2008 May 05 5:39 AM
Hi All,
I am creating a BAPI. while creating the method , i gives the error.
BAPI : Method does not define a RETURN parameter
but i have already defind return parameter. kindly help
thanks,
kavitha.
Hi Kavitha,
Could you please specify here the import, export and tables parameters that you have defined in BAPI.
Regards,
Himanshu
2008 May 05 5:42 AM
Hi Kavitha,
Could you please specify here the import, export and tables parameters that you have defined in BAPI.
Regards,
Himanshu
2008 May 05 7:00 AM
Hi Himanshu,
these are the parameters
Tables:
RESREV_DETAILS like ZRESN,
BAPIRETURN like ZRES_REC_RETURN(similar to bapi sructure),
Import:
FROMDATE LIKE RESB-BDTER,
TODATE like RESB-BDTER,
thanks,
kavitha.
2008 May 05 7:08 AM
check these things:
All the parameters in BAPI should always in pass by value mode.
export tab must have one return parameter like:
RETURN LIKE BAPIRET2
within the source code you have to write the error messages:
IF SY_DBCNT<>0.
RETURN_TYPE = 'message type'.
RETURN-MESSAGE = 'message'.
ENDIF.
Regards,
Dara.
2008 May 05 5:42 AM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |