09-18-2008 12:32 PM
Hi friends,
I want to store a text field in field catalog .so that it won't effect in field catalog . when if loop at fieldcatalog depending on that value i need to perform.
regarding
anil
09-18-2008 12:48 PM
yu can use this variable s_fieldcatalog-reptext_ddic = 'Sche qty'. for example to give your own text .Declare it in it_ekpo
and use accordingly.
s_fieldcatalog-col_pos = '9'.
s_fieldcatalog-fieldname = 'MENGE'.
s_fieldcatalog-reptext_ddic = 'Sche qty'.
s_fieldcatalog-tabname = 'lT_EKPO'.
s_fieldcatalog-rollname = 'MENGE'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
09-18-2008 12:39 PM
Hi
In field catalog no dummy fields available. each field serves its own purpose. So better you use the FIELDNAME field only and depending on tht content only perform your task. My suggestion is to map your TEXTFIELD value to FIELDNAME value and based on comparing those perform the tasks.
09-18-2008 12:40 PM
The field catalog structure is SAP standard structure.As far as i know there are no dummy fields.Which field are using to store the text?
09-18-2008 12:48 PM
yu can use this variable s_fieldcatalog-reptext_ddic = 'Sche qty'. for example to give your own text .Declare it in it_ekpo
and use accordingly.
s_fieldcatalog-col_pos = '9'.
s_fieldcatalog-fieldname = 'MENGE'.
s_fieldcatalog-reptext_ddic = 'Sche qty'.
s_fieldcatalog-tabname = 'lT_EKPO'.
s_fieldcatalog-rollname = 'MENGE'.
APPEND s_fieldcatalog TO t_fieldcatalog.
CLEAR: s_fieldcatalog.
09-18-2008 1:13 PM