Application Development and Automation 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: 
Read only

F4_INT_TABLE_VALUE_REQUEST

lijisusan_mathews
Active Contributor
0 Likes
533

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
508

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.

2 REPLIES 2
Read only

Former Member
0 Likes
509

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.

Read only

0 Likes
508

thnx a lot...u just saved my day..