Hi,
Facing some issue on Attaching search help directly to the screen Fields.
I have a requirement that
1> Based on a screen field, I have to filter F4 for the other fields.
2> I have to populate 2 screen elements at the same time.
Like:
In my transaction i have 3 fields :
1> PA0001-WERKS : Personnel area.
2> PA0001-PERNR : Personnel number
3> PA0001-ENAME : Employee name.
All 3 have been defined as Dictionary fields on the screen.
Now PA0001-WERKS has its on search help and i use that to select the WERKS.
Then i have to create a search help that takes this as the input and gives me a hit list showing all the personnel number ( and there name) in PA0001 table based on the screen field PA0001-werks.
When i do F4 on say Pa0001-pernr field: a hit list showing all the personnel number ( and there name) in PA0001 table.
When i select a row both PA0001-pernr and PA0001-ENAME should be filled in the screen.
Solution that i tried:
I created a elementary seach help ZSEL_PER and had the PA0001 as the selection table and had the 3 fields as the parameters:
1> WERKS as input
2> PERNR and ENAME as output.
Then i attached the search help to the srceen fields :
1> PA0001-PERNR : Personnel number
2> PA0001-ENAME : Employee name.
Now ,
a> When i do F4 my data does not get restricted as per the WERKS on the screen.
b> When i select a row both the fields on the screen dont get populated, only the field on which i did F4 ( that too always with the colomn 1 only of the hit list )..
Is this possible with elementary search help and if yes then how ? what am i doing wrong...
Thanks, Ad.