Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to fill BAPIRET2 parameter

Can anyone please give me sample code to fill the BAPI

return parameter. I am using BAPIRET2.

I am using like this:-

CLEAR ls_return.

CALL FUNCTION 'BALW_BAPIRETURN_GET2'

EXPORTING

type = 'E'

cl = SY-MSGID

number = SY-MSGNO

par1 = 'NO DATA FOUND'

  • par2 = sy-msgv2

  • par3 = sy-msgv3

  • par4 = sy-msgv4

  • LOG_NO = ' '

  • LOG_MSG_NO = ' '

  • PARAMETER = ' '

  • ROW = 0

  • FIELD = ' '

IMPORTING

return = ls_return

.

APPEND ls_return TO return.

EXIT.

Just i want error type and error message

Tags:
Not what you were looking for? View more on this topic or Ask a question