Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CLOI_PUT_SIGN_IN_FRONT for entire WorkArea?

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

Use a PERFORM statement and call that for each field of work area

by changing the Value of each field

Regards

Anji

2 REPLIES 2

Former Member
0 Kudos

Hi

Use a PERFORM statement and call that for each field of work area

by changing the Value of each field

Regards

Anji

Former Member
0 Kudos

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.