"SAP ABAP : Attach a Search Help to the Screen Field
I have a requirement to attach a search help to the
screen field. When I click on the drop-down list, it should automatically pick
the company code that is already displayed on the screen and show the results. It dosent make any sense for search help to wait for
user to input the same company code which is already displayed.
SORT ltab_fields.
DELETE ADJACENT DUPLICATES FROM ltab_fields.
*-- Fill values
SELECT chect
INTO TABLE ltab_values
FROM zfi_pmntadv
WHERE pmnt_adv NE space.
SORT ltab_values.
DELETE ADJACENT DUPLICATES FROM ltab_values.