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

Screen text updation

Former Member
0 Likes
368

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.

2 REPLIES 2
Read only

Former Member
0 Likes
343

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

Read only

Former Member
0 Likes
343

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.