10-04-2008 10:43 PM
Hi , I have two fields Customer no & Doc. number on the selection screen, how can i get F4 Help on doc. nunmber field depending on the customer number i will mention in the cust no field.
I have to get all the doc. numbers as F4 help relating to customer number tht i mention only. no other doc. numberes should show up.
Thanks in advance.
10-05-2008 2:16 AM
You can use the function moduele
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
when the user selects the value for the customer number .using that you should populate an internal table
whinch should be passed to next F4 help Function.
Regards,
Midhun Abraham
10-05-2008 4:34 AM
10-05-2008 2:32 AM
In case you need to read a value of another field BEFORE the user hits enter, you can use the following function.
DYNP_VALUES_READ
Then, you can populate the F4 list based on user input of other fields.
10-05-2008 4:37 AM
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = <name of return field in internal table>
DYNPPROG = <Report Name i.e sy-repid>
DYNPNR = <Screen number e.g. 1000 incase of sel.
screen)
DYNPROFIELD = <screen field name>
VALUE_ORG = 'S'
TABLES
VALUE_TAB = <internal Table with values>
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.