on 03-01-2006 12:39 PM
using lt_layout-colwidth_optimize = 'X' only the column contents get optimized in size,
but the header text is still not visible.
I have also tried fieldcat-outputlen but it didn't work.
Pl suggest how to do this.
Regards
Alok Pathak
Hi Alok,
for fieldcat check these
<b> seltext_l
seltext_m
seltext_s</b>
if you specify seltext_l then give ddictxt = 'L'
or
<b>seltext_M then give ddictxt = 'M'</b>
or
<b>seltext_S then give ddictxt = 'S'</b>
then it will work
Regards
vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi alok,
1. after populating the field catalogue thru the fm,
use like this :
DATA : alvwa TYPE slis_fieldcat_alv.
LOOP AT alvfc INTO alvwa.
alvwa-ddictxt = 'L'.
MODIFY alvfc FROM alvwa.
ENDLOOP.
also use
lt_layout-colwidth_optimize = 'X'
2. Now it will work.
regards,
amit m.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI alok
have you given like this
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
regards
kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if u want the header text to be visible full,
dont use lt_layout-colwidth_optimize = 'X' ,
only increase output length in fielcatalog.
wa_fieldcat-tabname = 'ITAB'.
wa_fieldcat-fieldname = 'FIELD1'.
wa_fieldcat-outputlen = 'specify the length'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.