Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Read a directory from logical path

$
0
0

Hello Community,

 

i would like to read a whole directory from local maschine with a logical path.

How do i have to define the logical path if i want to get all files from the directory?

Syntax group AS/400 should be in use.

 

My definition:


Phy. Path:  Z_TEST_PATH

C:\Users\Test\Downloads\<FILENAME>

 

logical file: Z_TEST

 

phys. file: file      type: BIN

 

im using FM 'FILE_GET_NAME' and then OPEN DATASET.

 

My Problem:

 

i want to read all files from a directory with the logical path.

An Example Code would be great and a FM which i can read a dir from logical path.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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