2014 Feb 17 1:12 PM
Dear all
i have 3 input fields in the screen , for the 3rd field i have used POV.
PROCESS ON VALUE-REQUEST.
FIELD GV_VERID MODULE VAL_VERID.
in the module val_verid i have used select query to fetch values from mkal and passed that value to CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'.
Problem is in select query i have used first two fields in where condition .those two fields showing empty even after i have given values in the text box.
How to rectify this.
Thanks
2014 Feb 17 1:26 PM
Hi, use FM
DYNP_VALUES_READ to read entered values of 2 fields before you call search help
Example :
data s_prueba TYPE dynpread.
s_prueba-fieldname = 'BELNR'.
APPEND s_prueba TO t_prueba.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = t_prueba.
READ TABLE t_prueba INTO s_prueba INDEX 1 .
*zzz = s_prueba-fieldvalue .
2014 Feb 17 1:26 PM
Hi, use FM
DYNP_VALUES_READ to read entered values of 2 fields before you call search help
Example :
data s_prueba TYPE dynpread.
s_prueba-fieldname = 'BELNR'.
APPEND s_prueba TO t_prueba.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = t_prueba.
READ TABLE t_prueba INTO s_prueba INDEX 1 .
*zzz = s_prueba-fieldvalue .
2014 Feb 17 1:52 PM
Thanks maxim ,, got it ..but after clicking the value in help it not get stored in input field.
2014 Feb 17 1:39 PM
hi peter ,
You cannot get values if you just give the field name.. You must read the field values using a function module DYNP_VALUES_READ.Using this Function module it is possible to read the values of the text field.
This is because you are working in POV of a particular field. so same way if you want to update some other field with your values.. You cannot give the value directly to the field name . You have to set the values to the field using DYNP_VALUES_UPDATE.
Regards,
Sivaganesh