2006 Oct 03 2:50 PM
I am executing an ALV report in background. The output column heading is getting truncated.
How to get complete column heading?
Thank you.
2006 Oct 03 6:20 PM
Hi AP
· seltext_l (long field label)
· seltext_m (medium field label)
· seltext_s (short field label)
· reptext_ddic(header) Analogous to the Data element main header
· Ddictxt (specify text) : You can specify with values 'L', 'M', and 'S', the keyword that should always be used as column header. If the column width changes, no attempt is made in this case to find an appropriate header for the new output width.
Value set: SPACE, 'L', 'M', and S.
Regards
David N
I am executing an ALV report in background. The output column heading is getting truncated.
How to get complete column heading?
Thank you.
2006 Oct 03 2:52 PM
hi,
Increase the length of that field in field catalog to avoid truncation of column heading.
Regards,
Sailaja.
2006 Oct 03 3:04 PM
Increasing the length of that field in field catalog only helps in foreground run. In background run the column heading still gets truncated.
Any other suggestions please.
Thanks.
2006 Oct 03 3:04 PM
hi
good
is it coming in the background, if it is coming than check the lenght of the paricular column lenth that you r going to display,increase that and see the difference.
thanks
mrutyun^
2006 Oct 03 3:08 PM
hi,
Change the output_len also in field catalog for that field.
This might help you.
Regards,
Sailaja.
2006 Oct 03 3:16 PM
Column header is still getting truncated.
Any suggestions please.
Thanks
2006 Oct 03 3:49 PM
2006 Oct 03 3:56 PM
When you run the program in back ground it would ask for the page format.
In the page format you must have given a format which cannot accomodate all the columns and hence it is truncating the column headers.
Regards,
ravi
2006 Oct 03 4:12 PM
Ravi-
Even when I run the job in foreground and save it to execel it gives the problem of trucating the column header.
But if in foreground if I download by clicking on the excel icon it DOES NOT truncate the heading
THanks
2006 Oct 03 3:54 PM
Hi,
If the column itself is getting truncated..Try this..
When you schedule a job in the printer settings increase the report width to 255 columns..
<b>Print Settings</b>
Report page 65 Rows
Report width 255 Columns
Format X_65_255
Thanks,
Naren
2006 Oct 03 3:56 PM
2006 Oct 03 4:00 PM
2006 Oct 03 4:57 PM
Hi AP
You can check that the fields seltext_l, seltext_m and seltext_s in your fieldcat, because it use some of them to display. Another think that you can do is put in your layout colwidth_optimize = 'X'
I hope it will be useful
David N
2006 Oct 03 6:06 PM
Did all the changed mentioned but still not working.
Any other suggestions please.
Thanks.
2006 Oct 03 6:20 PM
Hi AP
· seltext_l (long field label)
· seltext_m (medium field label)
· seltext_s (short field label)
· reptext_ddic(header) Analogous to the Data element main header
· Ddictxt (specify text) : You can specify with values 'L', 'M', and 'S', the keyword that should always be used as column header. If the column width changes, no attempt is made in this case to find an appropriate header for the new output width.
Value set: SPACE, 'L', 'M', and S.
Regards
David N
2006 Oct 03 7:13 PM
David-
By passing the value to field Ddictxt in field catalog reloved the issue.
Thank you.
2006 Oct 03 6:34 PM
Hi,
These <b>"p_gt_fieldcat-outputlen = 30."</b> lengths should be according to the field size which you mentioned in the table.
for eg:-
This field <b>'PNTEXT</b>'is <b>char 30</b>, in my table.
Please try this..
call function 'LVC_FIELDCATALOG_MERGE'
exporting
i_structure_name = gv_struc
changing
ct_fieldcat = p_gt_fieldcat[].
suppress key fields ZCD_PNIN and so on..
loop at p_gt_fieldcat.
*To display field lengths according to the field size.
case p_gt_fieldcat-fieldname.
when 'ZZCD_ATA100'.
p_gt_fieldcat-outputlen = 12.
when 'PNTEXT'.
p_gt_fieldcat-outputlen = 30.
when 'EQUNR'.
p_gt_fieldcat-outputlen = 45.
endcase.
modify p_gt_fieldcat.
endloop.
endform.
Note: Please check your container size too..
Hope this helps you.
Regards
Madhavi.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |