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

Increase the length

Former Member
0 Likes
357

hi all,

i have an ALV report , i need to execute in background the problem is for 2 fields i have given outputlength equal to some value in fieldcatalog.

for first field

in database table for these field length is 40 but i have given 30 but it is accepting till 15 only.

wa_fieldcat-fieldname = 'KTEXT'.

wa_fieldcat-tabname = 'lt_file'.

wa_fieldcat-outputlen = 30.

for second field, the lenth in database table for these filed is 8 , i need 23 but it is accepting 10.

wa_fieldcat-fieldname = 'PS_PSP_PNR'.

wa_fieldcat-tabname = 'lt_file'.

wa_fieldcat-outputlen = 23.

please help me how to get the length as i need.

thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
327

Hi,

it should work, can you send the code once what you have written in the program, it will be much clear.

Regards,

Sridhar

Read only

Former Member
0 Likes
327

Hello Srilatha-

Instead of referring internal table fieldname for fieldcatlog refer dbase fieldname it should work.

Cheers,

~Srini.....