Skip to Content
0
Former Member
Jan 19, 2012 at 02:57 PM

CX_SY_IMPORT_MISMATCH_ERROR

685 Views

Hi All,

I am getting this dump message at my FM call.Please let me know if I am doing something wrong in passing variables.

ls_thead-tdid = 'ST'.
     ls_thead-tdspras = pa_spras.
     ls_thead-tdname = 'Z_TEST_FOOTER'.
     ls_thead-tdobject = 'TEXT'.

CALL FUNCTION 'READ_TEXT'
        EXPORTING
*   CLIENT                        = SY-MANDT
          ID                            = ls_thead-TDID
          LANGUAGE                      = pa_spras
          NAME                          = ls_thead-TDNAME
          OBJECT                        = ls_thead-TDOBJECT
        TABLES
          LINES                         = lt_lines
       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.

      loop at lt_lines into ls_line.
        concatenate p_lv_string ls_line-tdline into p_lv_string.
      endloop.
      ENDIF.

      write : p_lv_string.

Thanks

Kiran

Please use code tags.

Edited by: Rob Burbank on Jan 19, 2012 10:04 AM