Skip to Content
0
Former Member
Feb 06, 2007 at 05:21 AM

DYNP_VALUES_READ invalid dynproname

1092 Views

Hi All,

I am using DYNP_VALUES_READ in badi me_process_req_cust to read the address number field of address delivery tab in ME51N. But getting the exception invalid dynproname.

wa_dynpread-fieldname = 'CMMDA-ADRN2'."'ADDR1_DATA-NAME1'."'NAME1'

APPEND wa_dynpread TO t_dynpread.

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

dyname = 'SAPLMEGUI'"'SAPLSZA1'

dynumb = '0014' "'0301'

  • TRANSLATE_TO_UPPER = ' '

  • REQUEST = ' '

  • PERFORM_CONVERSION_EXITS = ' '

  • PERFORM_INPUT_CONVERSION = ' '

  • DETERMINE_LOOP_INDEX = ' '

TABLES

dynpfields = t_dynpread

EXCEPTIONS

invalid_abapworkarea = 1

invalid_dynprofield = 2

invalid_dynproname = 3

invalid_dynpronummer = 4

invalid_request = 5

no_fielddescription = 6

invalid_parameter = 7

undefind_error = 8

double_conversion = 9

stepl_not_found = 10

OTHERS = 11

.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.