Get Domain Values Texts

CALL METHOD CL_RECA_DDIC_DOMA=>GET_TEXT_BY_VALUE
    EXPORTING
      ID_NAME   = P_L_F_DOMAIN
      ID_VALUE  = P_L_VAL
      ID_LANGU  = SY-LANGU
    IMPORTING
      ED_TEXT   = P_L_F_TEXT
    EXCEPTIONS
      NOT_FOUND = 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.











No comments:

Post a Comment

/*Newer Post*/ Older Post Home