BAPI &1: BAPI function module &2 has no return parameter
Message type: E = Error
Message class: S& - SBF_BAPI: Messages service BAPIs and Batman
Message number: 537
Message text: BAPI &1: BAPI function module &2 has no return parameter
What causes this issue?
The system checks that the RETURN parameter has been defined in both
the BOR and in the function module. The parameter must refer to one of
the BAPI return structures (all planned reference structures can be
used for BAPIs up to and including Release 4.6B; but from Release 4.6C
only BAPIRET2 can be used).
The BOR parameter must be type EXPORT (one line or multi-line) and the
function module parameter must be type EXPORT (if one line) or type
TABLE (if multi-line).
How to fix this error?
Create a RETURN parameter for the function module. Also define the
reference of the BOR parameters to the function module parameter in the
BOR ("Name in function module").
Note that only incompatible changes can be made to BAPIs already
released and delivered.
Find out about enhancing or modifying BAPIs that have already been
delivered by calling the BAPI Explorer (<LS>Tools </>-> <LS>Business
Framework </>-> <LS>BAPI Explorer</>) and reading the project form
"Project to change an existing BAPI".
&FURTHER_HINTS&
For more information see the BAPI Programming Guide in the SAP Library
under CA-BFA.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Error message extract from SAP system. Copyright SAP SE.
Related Error Messages
S&536 BAPI &2.&3: Import parameter &1 is defined as a table paramter in FM &4
S&535 BAPI &2.&3: Import parameter &1 is a CHANGING paramter in FM &4
S&538 BAPI &?: Import parameter &1 is an EXCEPTION parameter in FM &4
S&539 BAPI &1: Key field &2 is not a valid IMPORT parameter to BOR method