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

Setting output length

Former Member
0 Likes
1,117

Hi,

can anybody tell me how to set the lenght for a field in the output using the field catalog?

thanks in advance.

kp

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,074

Hello,

Use the Properties:

<b>FILEDCAT-OUTPUTLEN = 50.</b>

If useful reward.

Vasanth

Hi,

can anybody tell me how to set the lenght for a field in the output using the field catalog?

thanks in advance.

kp

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,074

Sure, just set the value OUTPUTLEN in the field catalog.

xfc-OUTPUTLEN = '20'.

Regards,

RIch Heilman

Read only

Former Member
0 Likes
1,075

Hello,

Use the Properties:

<b>FILEDCAT-OUTPUTLEN = 50.</b>

If useful reward.

Vasanth

Read only

alex_m
Active Contributor
0 Likes
1,074

You can set the output length.

FILEDCAT-OUTPUTLEN = 'wanted size'

Read only

Former Member
0 Likes
1,074

Hi KP,

when you use ALV take:

MOVE 10 TO WA_FIELDCAT-OUTPUTLEN.

Regards, Dieter

Read only

Former Member
0 Likes
1,074

hi,

it_fldcat-fieldname = 'KWMENG'.

it_fldcat-tabname = 'ITAB'.

it_fldcat-seltext_m = 'QUANTITY'.

it_fldcat-outputlen = 15.

APPEND it_fldcat.

regards,

priya.

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,074

Ouch.... that hurts.........

Regards,

Rich Heilman