2008 Apr 10 2:37 PM
what are the parameters present in field catalogue?
2008 Apr 10 2:43 PM
Hi,
you mainly use fieldname, tabname and seltext_m when filing a fieldcatalogue.
Thanks & Regards
Nayan
2008 Apr 10 3:33 PM
Hi Kumar,
Check this code
wa_fieldcat-fieldname = 'ZZMJAHR'.
wa_fieldcat-ref_tabname = 'MARA'.
wa_fieldcat-seltext_s = 'Mat.Doc.Yr.'.<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 1:37 PM
2008 Apr 10 3:37 PM
Hi,
Please refer below:
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
Thanks,
Sriram Ponna.
2008 Apr 10 3:42 PM
Hi
u need to give the
i_PROGRAM_NAME -
sy-repid
i_internal_tabname -
IT_OUT......internal table name
ct_fieldcat -
it_fieldcat
name of the feild catalog
2008 Apr 10 3:47 PM
Also, You can try to use this FM: REUSE_ALV_FIELDCATALOG_MERGE
This FM creates the field catalogue completly.
Cheers from Spain
2008 Apr 10 3:45 PM
Hi,
chk some of the
row_pos like sy-curow, " output in row
col_pos like sy-cucol, " position of the column
fieldname type slis_fieldname,
tabname type slis_tabname,
currency(5) type c,
cfieldname type slis_fieldname, " field with currency unit
ctabname type slis_tabname, " and table
ifieldname type slis_fieldname, " initial column
quantity(3) type c,
qfieldname type slis_fieldname, " field with quantity unit
qtabname type slis_tabname, " and table
round type i, " round in write statement
exponent(3) type c, " exponent for floats
key(1) type c, " column with key-color
icon(1) type c, " as icon
symbol(1) type c, " as symbol
checkbox(1) type c, " as checkbox
just(1) type c, " (R)ight (L)eft (C)ent.
lzero(1) type c, " leading zero
no_sign(1) type c, " write no-sign
no_zero(1) type c, " write no-zero
no_convext(1) type c,
edit_mask type slis_edit_mask, "
emphasize(4) type c, " emphasize
fix_column(1) type c, " Spalte fixieren
do_sum(1) type c, " sum up
no_out(1) type c, " (O)blig.(X)no out
tech(1) type c, " technical field
outputlen like dd03p-outputlen,
offset type dd03p-outputlen, " offset
seltext_l like dd03p-scrtext_l, " long key word
seltext_m like dd03p-scrtext_m, " middle key word
seltext_s like dd03p-scrtext_s, " short key word
ddictxt(1) type c, " (S)hort (M)iddle (L)ong
rollname like dd03p-rollname,
datatype like dd03p-datatype,
inttype like dd03p-inttype,
intlen like dd03p-intlen,
lowercase like dd03p-lowercase,
ref_fieldname like dd03p-fieldname,
ref_tabname like dd03p-tabname,
roundfieldname type slis_fieldname,
roundtabname type slis_tabname,
decimalsfieldname type slis_fieldname,
decimalstabname type slis_tabname,
decimals_out(6) type c, " decimals in write statement
text_fieldname type slis_fieldname,
reptext_ddic like dd03p-reptext, " heading (ddic)
ddic_outputlen like dd03p-outputlen,