Application Development and Automation 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: 
Read only

Reading data from APPLICATION SERVER without using Traditional way!!!!

Former Member
0 Likes
674

Hi to all experts,

       I am working on BDC now. As a ABAP developer we all know how to read and write data From/Into Application Server. By using Open dataset 'datasetname'for input/output in text mode encoding default.

now i have few questions regarding this.

que 1. What is the use of using RZL_READ_DIR_LOCAL-----> it just read the file name.After this  As usual we need to use open dataset for input.

      then why we need to go with RZL_READ_DIR_LOCAL.

QUE 2 . is there any class to read data From application server directly with out using Read dataset (or) open dataset for input.

If any wrong in my question plese excuse....!!! Hope some one give perfect answer..!!!! Thanks in advance

2 REPLIES 2
Read only

0 Likes
621

This class can be used data from application server

CL_RSAN_UT_APPSERV_FILE_READER

RZL_READ_DIR_LOCAL

It is a RFC enabled FM used to check the existence of the file in remote system

   

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
621

RZL_READ_DIR_LOCAL can be used to get a list of the files in a directory on the app server. It's an equivalent of the OS DIR command, essentially. We use it in one interface program that needs to read all the files in certain directory. But this FM is not released and I've heard in later releases it was changed, so we'll have to update our program eventually. I would not recommend using it.