<b>getting a single quot into a variable.</b>
I have a condition where I am dynamically constructing an IF condition, and passing it to my subroutine pool. My IF condition exceeds text literal maximum length. I cut it up into segments and wrote out the code in segments. This is not acceptable when the break is IN A TEXT LITERAL. ex.
IF BSEG-KUNNR EQ '2322093' OR BSEG-KUNNR EQ '330938'. gets broken up into IF BSEG-KUNNR EQ '2322093' OR BSEG-KUNNR EQ '33 0938'.
What I am doing instead is getting every 2 character piece of the string IFSTRING and trying to check if that 2 character string equals [' ]. That's just a single quote and a space. That would indicate the end of a single comparison. I tried comparing it to ` , ''', '` ', and others:
MOVE IFSTRING+OFF(CURLENGTH) INTO lt_string. IF lt_string eq '` '. APPEND OFF TO BREAKREFERENCES. ENDIF.
<b>Does anyone know how to move a single quote to a variable</b>? so i can concatenate <singlequot> & <singlespace> into comparisonstring.