Created
April 27, 2017 09:02
-
-
Save alezhu/cb151dfa6c6b67093aee94c151bc4575 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class-methods SY2RETURN | |
exporting | |
!ES_RETURN type BAPIRET2 | |
changing | |
!CT_RETURN type BAPIRET2_T optional . | |
METHOD sy2return. | |
CALL FUNCTION 'BALW_BAPIRETURN_GET2' | |
EXPORTING | |
type = sy-msgty | |
cl = sy-msgid | |
number = sy-msgno | |
par1 = sy-msgv1 | |
par2 = sy-msgv2 | |
par3 = sy-msgv3 | |
par4 = sy-msgv4 | |
* log_no = log_no | |
* log_msg_no = log_msg_no | |
* parameter = parameter | |
* row = row | |
* field = field | |
IMPORTING | |
return = es_return. | |
IF ct_return IS SUPPLIED. | |
APPEND es_return TO ct_return. | |
ENDIF. | |
ENDMETHOD. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment