Application Development 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: 

Setting output length

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello,

Use the Properties:

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

If useful reward.

Vasanth

6 REPLIES 6

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

xfc-OUTPUTLEN = '20'.

Regards,

RIch Heilman

Former Member
0 Kudos

Hello,

Use the Properties:

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

If useful reward.

Vasanth

alex_m
Active Contributor
0 Kudos

You can set the output length.

FILEDCAT-OUTPUTLEN = 'wanted size'

Former Member
0 Kudos

Hi KP,

when you use ALV take:

MOVE 10 TO WA_FIELDCAT-OUTPUTLEN.

Regards, Dieter

Former Member
0 Kudos

hi,

it_fldcat-fieldname = 'KWMENG'.

it_fldcat-tabname = 'ITAB'.

it_fldcat-seltext_m = 'QUANTITY'.

it_fldcat-outputlen = 15.

APPEND it_fldcat.

regards,

priya.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

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

Regards,

Rich Heilman