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

writing data on a file (application Server)

Former Member
0 Likes
364

Hi Experts,

Suppose i have declare a feild which contain part no which is of type C and size is 23 and assume that PartNo = 'abc' when the value is written on the file which is on application server the empty digits shld b filled with spaces. How this can be done. coz on file it appearg as 'abc' but it shld look like this 'abc ', i.e. empty digits shld b replaced by spaces. How this can be achiveved.....?

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
338

use offset

say TRANSFER_TEXT is ur variable tro store data on Application server

TRANSFER_TEXT+0(23)  =  V_PARTNO.

Hi Experts,

Suppose i have declare a feild which contain part no which is of type C and size is 23 and assume that PartNo = 'abc' when the value is written on the file which is on application server the empty digits shld b filled with spaces. How this can be done. coz on file it appearg as 'abc' but it shld look like this 'abc ', i.e. empty digits shld b replaced by spaces. How this can be achiveved.....?

Thanks in advance

1 REPLY 1
Read only

Former Member
0 Likes
339

use offset

say TRANSFER_TEXT is ur variable tro store data on Application server

TRANSFER_TEXT+0(23)  =  V_PARTNO.