cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic fieldcatlog name

Former Member
0 Kudos

Hi All,

Can I give filed catlog name dynamic ? I have selection screen in which one Plant input filed is there name is P_WERKS.

Now I want to display alv grid for plant. Then the column name should come plant + P_WERKS.

I am using field catalog W_FCAT-SELTEXT_L = 'Plant'.

Note : column name shoud come Plant - 9852 where p_werks = 9852 input field.

Thanks,

Rakesh

Accepted Solutions (1)

Accepted Solutions (1)

venkat_o
Active Contributor
0 Kudos

Hi, <l>Use like below


CONCATENATE 'Plan' '-' p_werks INTO w_fcat-seltext_l.
Thanks Venkat.O

Answers (1)

Answers (1)

former_member1245113
Active Contributor
0 Kudos

Hi Rakesh,

take a string type variable

data : str type string.

clear str.
concatenate 'Plant' p_plant into str.

W_FCAT-SELTEXT_L = str.

Use the above one.

Cheerz

Ram