Skip to Content
0
Former Member
Dec 20, 2006 at 02:51 PM

Input Output Field Value Update Problem

97 Views

ı am using 'DYNP_VALUES_UPDATE' FM for setting value for input output field.

I am using below code. But it doesn't update my ZWM460-MAKTX input output field value. When I debugging code it is return sy-subrc = 0 ????? But cann't update.

How can I fix this? Thanks

DynpFields-Fieldname = 'ZWM460-MAKTX'.

DynpFields-FieldValue = 'BLABLA'.

DynpFields-stepl = l_stepl.

Append DynpFields.

CALL FUNCTION 'DYNP_VALUES_UPDATE'

EXPORTING

DYNAME = 'ZHYT_WM_RPR_460'

DYNUMB = P_0064

TABLES

DYNPFIELDS = DynpFields

EXCEPTIONS

INVALID_ABAPWORKAREA = 1

INVALID_DYNPROFIELD = 2

INVALID_DYNPRONAME = 3

INVALID_DYNPRONUMMER = 4

INVALID_REQUEST = 5

NO_FIELDDESCRIPTION = 6

UNDEFIND_ERROR = 7

OTHERS = 8.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.