‎2006 Jun 29 9:26 AM
Hi group,
In the report after selecting the item from search help(or Drop down),how to display the text beside this.I am using the field from Z-table.
like
eg: 01 -- material group
‎2006 Jun 29 9:30 AM
You can have a display only field next to the key value, get the description and assign the description to the display only field.
Where are you using this, on the selection screen?
Regards,
Ravi
‎2006 Jun 29 9:34 AM
‎2006 Jun 29 9:42 AM
I guess you are handling the search help yourself in the event of that specific field.
Have a display only field next to the parameter, and then in your code, once you get the key get the description and assign that to the display only field.
Regards,
Ravi
Note - Please mark the helpful answers
‎2006 Jun 29 9:45 AM
Declare a parameter beside the key field for the description like :
PARAMETERS p_param_text TYPE (data_element) MODIF ID b.
and restrict the display of that field at initialization
INITIALIZATION.
LOOP AT SCREEN.
IF screen-group1 = b.
screen-input = 0.
screen-display_3d = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Now use some logic to get the description against the field and do something like this :
IF NOT p_param is INITIAL.
p_param_text = desc.
ENDIF.
where p_param = parameter for which u need desc.
p_param_text = parameter for description
desc = description
‎2006 Jun 29 9:46 AM
Hi Ravi,
I am adding the search help for the field in my Z-table.
I am bit unclear with this method which you suggested,can
please elaborate.