Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

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