Read the screen values


 Read the screen values
DATA :l_t_dynpfields TYPE STANDARD TABLE OF dynpread WITH HEADER LINE.

l_t_dynpfields-fieldname = 'KUNNR'.
APPEND l_t_dynpfields.
CLEAR l_t_dynpfields.

CALL FUNCTION 'DYNP_VALUES_READ'
  EXPORTING
    dyname               = sy-cprog
    dynumb               = '1000'
  TABLES
    dynpfields           = l_t_dynpfields
  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

No comments:

Post a Comment

/*Newer Post*/ Older Post Home