Skip to Content
avatar image
Former Member

What is the method to import flat file data from UNIX system?

Hi.

I understand that the method to import flat file data from Windows based system is GUI_UPLOAD. What is the method for UNIX? Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 12, 2007 at 08:34 AM

    Hi Kian,

    use this:

    OPEN DATASET DATEI_A FOR INPUT IN TEXT MODE.

    IF SY-SUBRC NE 0. MESSAGE E001. STOP. ENDIF.

    *

    DO.

    *

    READ DATASET DATEI_A INTO ITAB_READ.

    *

    IF SY-SUBRC <> 0. EXIT. ENDIF.

    *

    APPEND ITAB_READ.

    *

    ENDDO.

    *

    CLOSE DATASET DATEI_A.

    Regards, Dieter

    Add comment
    10|10000 characters needed characters exceeded