Skip to Content
avatar image
-2
Former Member

How to get File attributes from a file on a PC

Hi Gurus

I am trying to get the last modification Time of a file that ist stored at the frontend (PC).

I habe tried many FM's like

ADS2KIPUPL_GET_FILE_ATTRIBUTES and EPS_GET_FILE_ATTRIBUTES.

But no one of this FM's can read the attributes from the frontend, it seems they are written for reading attributes from files stored in the application server.

Does anybody know a solution for my requirement?

Many thanks and best regards

Marco
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 18, 2016 at 12:36 PM

    You didn't find class CL_GUI_FRONTEND_SERVICES=>FILE_GET_ATTRIBUTES during your search?

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 18, 2016 at 05:48 PM

    CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES, but of course you have found it.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Sandra Rossi

      Aww.... Yes... in the Report its working! I tried this method in se24 instead call it in a report.

      In SE24 I didnt see the attributes!

      Thank you very much for the help!!

  • avatar image
    Former Member
    Nov 18, 2016 at 04:15 PM

    Hi Raymond

    Of course I hae found this class. But this class dont return the last modify date. This Method returns only:

    READONLY
    NORMAL
    HIDDEN
    ARCHIVE

    which are abap_bool fields.

    Regards,

    Marco

    Add comment
    10|10000 characters needed characters exceeded