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

Issue with FM Read_Text

$
0
0

Hi,

 

I have created a Standard Text ->ZY4AP_RTN_CR_POLICY, using the FM-> Read_text for my Function Module(code i am updating), I am getting the dump.. Something wrong with the updating value in FM Read_text.

Code is as below.

 

Declaration:

              DATA: IT_LINE  LIKE TLINE OCCURS 0 WITH HEADER LINE,

                        V_TDNAME LIKE THEAD-TDNAME VALUE 'ZY4AP_RTN_CR_POLICY'.

 

FM used:

 

CALL FUNCTION 'READ_TEXT'

       EXPORTING

*       CLIENT                        = SY-MANDT

         ID                               = 'ST'

         LANGUAGE                      = 'EN'

         NAME                          = V_TDNAME

         OBJECT                        = 'TEXT'

*       ARCHIVE_HANDLE                = 0

*       LOCAL_CAT                     = ' '

*     IMPORTING

*       HEADER                        =

       TABLES

         LINES                         = it_line

      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.

 

     ENDIF.

     Append it_line to msg_ret.

 

------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

What might be the wrong on this?

 

Regards,

Ethan


Viewing all articles
Browse latest Browse all 8985

Trending Articles



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