Skip to Content
0
Mar 03, 2009 at 12:41 AM

FM - BAPI_CLASS_CHAR_DELETE_DEP

40 Views

Hi,

Anyone used this function module before? There seems to be a problem with this fm.

Our scenarios keep hitting the following error:

IF L_SUBRC <> 0 OR RET-TYPE NE 'S'.

PERFORM WRITE_MESSAGE USING MSGTY_E '27' '200'

C_API_NAME

'CARD_CHAR_VAL_READ_ALLOC'

L_SUBRC SPACE.

EXIT.

ENDIF.

because RET-TYPE is always blank.

RET-TYPE is initially assigned with 'S' but then it is cleared by BEGIN_OF_API (see below codes) and I dont see it assigned it back anywhere. Therefore I will keeping hitting that error.

CLEAR: ERROR, WARNING.

CLEAR: RETURN.

RET-TYPE = 'S'.

PERFORM BEGIN_OF_API TABLES RETURN

USING C_API_NAME

CHANGING WARNING ERROR.

Please help to point out if there is something wrong with this FM (I have checked and there are no OSS notes) or i have misunderstood this FM.