Skip to Content

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

VT03N READ_TEXT ABAP

How is read text ? my abap code is error ? why ? i call function true.

REPORT  ZPLANLAMCINOTUOKU.

DATA: IT_TEXTS LIKE THEAD-TDNAME OCCURS 0 WITH HEADER LINE.

CALL FUNCTION 'READ_TEXT'

   EXPORTING

     CLIENT                  = SY-MANDT

     ID                      = 'ZPLN'      "Text ID

     LANGUAGE                = 'TR'    "Laguage

     NAME                    = '0009701089'    "Text name

     OBJECT                  = 'VTTK'     "text object

     ARCHIVE_HANDLE          = SY-TABIX

   TABLES

     LINES                   = IT_TEXTS   "Internal table

   EXCEPTIONS

     ID                      = 1

     LANGUAGE                = 2

     NAME                    = 3

     NOT_FOUND               = 4

     OBJECT                  = 5

     WRONG_ACCESS_TO_ARCHIVE = 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.

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question