‎2008 Jun 18 11:01 AM
Hello,
I have a screen with a header area.
in that i have 2 I/O Fields means plant and plant text. When ever i select plant using the F4 help the plant text does not filled.but the Text is filled when i pressed ENTER Key word.
i have used FM regarding this Functionality:
IF NOT gs_0410-mawerk IS INITIAL.
SELECT SINGLE name1 FROM t001w INTO (gs_0410-mawerktx)
WHERE werks EQ gs_0410-mawerk .
REFRESH l_t_dynpread.
CLEAR l_t_dynpread.
l_t_dynpread-fieldname = 'GS_0410-MAWERKTX'.
l_t_dynpread-fieldvalue = gs_0410-mawerktx.
APPEND l_t_dynpread.
CALL FUNCTION 'DYNP_VALUES_UPDATE'.
its not working properly.
reward thepoints.
Thanks,
Amruth.
‎2008 Jun 20 5:23 PM
Hi,
easy to solve in DDIC (SE11):
1) define one I/O structure containing both fields
2) define one search help containing both fields
3) edit I/O structure (1) and assign serach help to both fields
4) use I/O structure (1) in programme and Dynpro
Kind regards,
Holger
‎2008 Jun 20 5:46 PM
Have you written the code in PROCESS ON VALUE-REQUEST event?
If its a report write the code in at selection-screen on value-request event.