Skip to Content
0
Former Member
May 22, 2013 at 09:28 AM

Exceptions for BAPI_USER_GETLIST

1811 Views

Hi All,

I have called a Bapi inside a program. In this Bapi there are no Exceptions maintained.

Thus when I check my program through Code Inspector it throws an error stating EXCEPTION specification that sets the SY-SUBRC Thus the value of SY-SUBRC is always 0.

Call to FM is as follows,

CALL FUNCTION 'BAPI_USER_GETLIST'
EXPORTING
* MAX_ROWS = 0
with_username = lv_user
* IMPORTING
* rows =
TABLES
* SELECTION_RANGE =
* SELECTION_EXP =
userlist = lt_user
* RETURN

Please tell me how to tackle this error as i cannot add exception in the Standard Bapi.

Attachments