Application Development 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: 

regarding fieldcatalog to store a text field

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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.

former_member212653
Active Contributor
0 Kudos

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?

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi use

lt_fieldcat-seltext_m = 'MATERIAL'.