‎2009 Jun 20 2:04 PM
Hello
My requirement is
let us take the example
data: w_value(20) type c.
w_value = wa_value.
here wa_value is runtime value which may change every time in terms of digit(xys(3 char),rstv(4 char) etc).
At final our results comes like
w_value = xys .i mean xys followed by 17 spaces Total 20 char(defined in data declaration)
Do we have any function module for that.
Regards
Rohit
‎2009 Jun 20 2:21 PM
Hello Rohit,
Use the CONDENCE NO-GAPS statement.
example: Condence w_value no-gaps.
Hope this helpful.
Regards
Sateesh.
‎2009 Jun 20 9:20 PM
though u have declared it as C(20) as u are passing only 3 chars or 4 char.. there will only be those number of characters in it i guess.
so condense wont work in ur case..
what is ur main purpose.. and how is it getting affected??
can ur prob be solved by declaring that variale as STRING and not by C(20). ??
but as i asked before.. tell us wahts ur exact need..