Convert SY-SUBRC to a String (character type).
Im just starting with ABAP and I've come to a silly problem. I want to use the SY-SUBRC into a log line and I don't know how to use it in a CONCATENATE sentece.
Im trying this:
IF SY-SUBRC <> 0.
CONCATENATE 'Error(' SY-SUBRC ')creating HTTP CLIENT for URL' LW_URI INTO LW_AuxStr.
me->log->logerror_string( LW_AuxStr ).
RAISE EXCEPTION TYPE ZCX_HTTP_ERROR.
But it wont work because of this error: SY-SUBRC must be a character-type data object....
How can I convert an Integer type into a String type?