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

Data on application server

Former Member
0 Likes
590

Dear all,

     I have a list of files which are stored on the Application Server in a particular directory .

     I was able to get the all the files using the function Module SUBST_GET_FILE_LIST but

     is there any possibility to get the names of the report which were used to write the data.

with rgds

Ranjith Singh

4 REPLIES 4
Read only

Ruediger_Plantiko
Active Contributor
0 Likes
563

How would you possibly expect this to work?

How should an OS - which is agnostic of ABAP, independent of ABAP at all (and can only be called from ABAP) - should be aware of which ABAP report generated its files?

You should inspect the program which writes the files and add the maintenance of a history there.

Read only

0 Likes
563

Hi Rudiger,

     Thanx for the update. what u say right.

     when i ran the standard report "RPR_ABAP_SOURCE_SCAN" and got a huge list which is impossible to get into each and find out the path.

Or is there any where we can a list of report (ofcourse with the Path) ,where in the data is being read ,Written into the directory.

Read only

0 Likes
563

Hi Ranjith Singh,

the file properties will give you owner's (creator's) name, date and time written. This may help you to find out details.

We used

  CALL FUNCTION 'SXPG_COMMAND_EXECUTE'

    EXPORTING

      commandname                         = 'LIST_DB2DUMP'

      additional_parameters               = l_path

     operatingsystem                      = 'UNIX'

*   TARGETSYSTEM                        = SY-HOST

*   DESTINATION                         =

*   STDOUT                              = 'X'

*   STDERR                              = 'X'

*   TERMINATIONWAIT                     = 'X'

*   TRACE                               =

* IMPORTING

*   STATUS                              =

*   EXITCODE                            =

    TABLES

      exec_protocol                       = lt_btcxpm

which seems to work on all kind of operating systems.

Regards

Clemens

Read only

0 Likes
563

The creator of the file will be the single collective OS user used by the SAP installation (e.g. 'devadm'), if the file is created by SAP.