‎2009 Mar 03 12:41 AM
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.
‎2009 Mar 03 3:13 AM
Hello Lee,
In the call function of CARD_CLASS_CHAR_READ_ALLOC ( line55) the value is again reset. However it is not received in the function call, but this should not be a reason for the error. Please get inside the function call of CARD_CLASS_CHAR_READ_ALLOC and check if any of the conditions fails there.
Regards,
Hari
‎2009 Mar 03 3:32 AM
Hi,
We have already debugged the FM - CARD_CLASS_CHAR_READ_ALLOC and there is no error found during debugging in that FM. The RETURN-TYPE in that FM is still 'S' until the end and therefore we do not think that there is anything wrong with the data.
Thanks for your information.