Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8524

Re: READ_TEXT FM SPLITTING THE LOG TEXT UPTO 40 CHAR

$
0
0

CALL FUNCTION 'READ_TEXT'

   EXPORTING

*   CLIENT                        = SY-MANDT

     id                            =

     language                      =

     name                          =

     object                        =

*   ARCHIVE_HANDLE                = 0

*   LOCAL_CAT                     = ' '

* IMPORTING

*   HEADER                        =

   tables

     lines                         =  it_line      " Declare the it_lines as TLINE

* EXCEPTIONS

*   ID                            = 1

*   LANGUAGE                      = 2

*   NAME                          = 3

*   NOT_FOUND                     = 4

*   OBJECT                        = 5

*   REFERENCE_CHECK               = 6

*   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.




In the Above read text declare the it_lines as TLINE ,TLINE is a table with text line having char 132 of length, hope this helps you


Viewing all articles
Browse latest Browse all 8524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>