10-05-2007 8:36 AM
Hi,
Is there an FM to put sign in front for entire of WorkArea?
In my LT_TABLE af have 14 fields with numbers and signs.
For all 14 fields I have to call FM CLOI_PUT_SIGN_IN_FRONT.
tnx, Adibo.
10-05-2007 8:41 AM
Hi
Use a PERFORM statement and call that for each field of work area
by changing the Value of each field
Regards
Anji
10-05-2007 8:41 AM
Hi
Use a PERFORM statement and call that for each field of work area
by changing the Value of each field
Regards
Anji
10-05-2007 8:54 AM
Hi Anji,
Could you help me how to achive this, plz..?
LOOP AT LT into WA.
Perform put_sign_in_front changing WA.
ENDLOOP.
**************************
FORM put_sign_in_front changing value.
DATA: TEXT1(1) TYPE C.
SEARCH VALUE FOR '-'.
IF SY-SUBRC = 0 AND SY-FDPOS <> 0.
SPLIT VALUE AT '-' INTO VALUE TEXT1.
CONDENSE VALUE.
CONCATENATE '-' VALUE INTO VALUE.
ENDIF.
ENDFORM.