‎2008 Jul 12 7:07 AM
I am using function module F4_INT_TABLE_VALUE_REQUEST to get an input help. But I need to get the importing feature as in Search Helps. ie. i need my values displayed in the help to be based on a value in a previous field. But during the POV and POH of this field, the previous fields value is not accessible using the screen field name, because the value is not getting populated in the screen field unless I press the Enter Key.
for eg.
I have 2 fields designed in se51, 'employee id' and 'files accessible'. I need a search help for the field 'files accessible'. But while coding, i need to display the files corresponding to a particular employee only. So i need to import the employee id from my screen field and use it in my search help. But my screen field is having that value only after a PAI or PBO, ie aftre I press the enter key..
Can someone please give me solution fast
Thanks in advance.
‎2008 Jul 12 12:00 PM
Hi Suzie,
From you requirement it is pretty clear that without the Employee ID it makes no sense to get the Files Accessible. So can you make the Employee ID as a mandatory input parameter?
For the next part, you can use some global fields in your program to keep the values. The values will get populated and will come automatically from the F4 Search Help. But you need to declare a structure in the TOP include of the code.
Alternatively you can use the function module DYNP_READ_VALUE.
Below is the template to use the FM.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
TABLES
dynpfields = dynpfields.Thanks,
Samantak.
Rewards points for useful answers.
‎2008 Jul 12 12:00 PM
Hi Suzie,
From you requirement it is pretty clear that without the Employee ID it makes no sense to get the Files Accessible. So can you make the Employee ID as a mandatory input parameter?
For the next part, you can use some global fields in your program to keep the values. The values will get populated and will come automatically from the F4 Search Help. But you need to declare a structure in the TOP include of the code.
Alternatively you can use the function module DYNP_READ_VALUE.
Below is the template to use the FM.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = progname
dynumb = dynnum
TABLES
dynpfields = dynpfields.Thanks,
Samantak.
Rewards points for useful answers.
‎2008 Jul 15 5:59 PM