I built a Screen Dialog containing (to simplify) an Input field (in a BOX) and an ALV (in a Custom Cotrol).
In the ALV, I fill two columns : material and quantity.
When pressing on Enter on the quantity field, I get the netwr (total price) from a table. I would like to display this price in the Input field.
In fact, the Input field does get the price value but does not display it to the screen.
I try to use the following function but still not refreshing :
CALL FUNCTION 'DYNP_VALUES_UPDATE'
dyname = sy-repid
dynumb = sy-dynnr
dynpfields = lt_dynpfields
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
OTHERS = 8.
Thanks for the help!!!