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: 

Custom field label not changing in standard MB52 report while saving as variant

Former Member
0 Kudos
396

Hi,

I have added a field to the standard MB52 input screen through enhancement.

I am able change the text(field label) for new field but that is not reflecting on variant screen for selection.

Is there any way to change parameter text both on selection screen and variant screen.

Thanks

Kota

1 ACCEPTED SOLUTION

Former Member
0 Kudos
86

Finally found solution.

Declare an internal table itab TYPE SORTED TABLE OF textpool.

READ textpool sy-repid INTO itab LANGUAGE 'EN'.

and insert following entries in INITIALIZATION

itab-ID                = 'S'.

itab-KEY            = 'P_TEST'.               "parameter name

itab-ENTRY       = '        Desc'.            "parameter description

itab-LENGTH     = '20'.                        "length of the text

Thanks

Kota

3 REPLIES 3

Mohamed_Mukhtar
Active Contributor
0 Kudos
86

Hi Bharathi,

Please check if you have created selection text for this field .

Go through the below link to know how to add selection text.

Thanks

Message was edited by: Always Learner

0 Kudos
86

Hi ,

I tried the method you specified.

and it is working perfectly for changing parameter text on selection-screen.

But I want same text on variant saving screen also.

Thanks

Kota.

Former Member
0 Kudos
87

Finally found solution.

Declare an internal table itab TYPE SORTED TABLE OF textpool.

READ textpool sy-repid INTO itab LANGUAGE 'EN'.

and insert following entries in INITIALIZATION

itab-ID                = 'S'.

itab-KEY            = 'P_TEST'.               "parameter name

itab-ENTRY       = '        Desc'.            "parameter description

itab-LENGTH     = '20'.                        "length of the text

Thanks

Kota