Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Drop-Down

gt_values-key = 'R'.
  gt_values-text = text-001.
  append gt_values.

  gt_values-key = 'S'.
  gt_values-text = text-002.
  append gt_values.

  gt_values-key = 'C'.
  gt_values-text = text-003.
  append gt_values.


  call function 'VRM_SET_VALUES'
       exporting
            id              = 'V_SEC_REQ_VAL'
            values          = gt_values[]
       exceptions
            id_illegal_name = 1
            others          = 2.
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
            with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
  refresh gt_values.

I have written the above code in the include for PBO.

I declared the gt_values in top include.

when i am try to activate i am getting error message

gt_values-key is not defined.......

i am trying to fix this error since last hour

please let me how to fix this error.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question