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

Table Column Contents Alignment

Former Member
0 Likes
490

Hello Gurus,

I have an internal table with 5 columns.

TTYPE(3) TYPE C,

ORDNO(20) TYPE C,

SEQNO(6) TYPE N,

MATNR(10) TYPE C,

EXPQT(9) TYPE N.

I loaded the contents of the table to the application server.

By default, type C columns are left aligned and type N columns are right aligned.

But some of the entries of my MATNR column are numbers and when I open the file put in application server, the entries showup as -

<u>MATNR</u>

0000023654

0000000345

ABC-1

KTK-25

Can you help me out so that I can see the output on the application server as -

<u>MATNR</u>

23654

345

ABC-1

KTK-25

Regards,

Balu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
456

Call the function module CONVERSION_EXIT_MATN1_OUTPUT for the material number prior to downloading to application server.

3 REPLIES 3
Read only

Former Member
0 Likes
457

Call the function module CONVERSION_EXIT_MATN1_OUTPUT for the material number prior to downloading to application server.

Read only

Former Member
0 Likes
456

Hi,

use Function Module CONVERSION_EXIT_ALPHA_OUTPUT.

this will remove the leading zeros .

with regards,

s.vijayendra

Read only

Former Member
0 Likes
456

Fred and Vijayendra,

Thanks for your reply.

It worked.

Regards,

Balu