‎2006 Jun 05 2:17 PM
Hi gurues, Im having some problems with the function SET_DYNP_VALUE.
I have this code:
DATA: v_field3 LIKE dynpread-fieldname,
v_repid3 LIKE sy-repid,
v_dynnr3 LIKE d020s-dnum,
v_value3 like dynpread-fieldvalue.
v_field3 = 'P2002-ENDDA'.
v_repid3 = 'MP200000'.
v_dynnr3 = '2051'.
v_value3 = '12319999'.
CALL FUNCTION 'SET_DYNP_VALUE'
EXPORTING
i_field = v_field3
i_repid = v_repid3
i_dynnr = v_dynnr3
i_value = v_value3.
I put that code in the field exit ZXPADU02 but nothing happens when the systems goes through the function (the field endda remains just the same as before, it doesnt get the value '12319999').
Any idea with this?
Thanks very much,
Cristian
‎2006 Jun 05 2:21 PM
Hi Christian,
Probably you must use the value '99991231' if you wish to fill the field ENDDA (which is a date field).
Regards,
Rob.
‎2006 Jun 05 2:31 PM
Rob, thank you for answering. I tried what you said but nothing happens.
I have debugged the system and it calls the function, with no vissible effect.
I dont know what to do
‎2006 Jun 06 8:23 AM