Application Development and Automation 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: 
Read only

conversion function module

Former Member
0 Likes
357

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

2 REPLIES 2
Read only

Former Member
0 Likes
332

Hello Rohit,

Use the CONDENCE NO-GAPS statement.

example: Condence w_value no-gaps.

Hope this helpful.

Regards

Sateesh.

Read only

Former Member
0 Likes
332

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..