Skip to Content
avatar image
Former Member

[MIME] Check if file exists

Hello Guys,

I have some files in my MIME Directory, and I just would like to check if the file exists in this one.

have you got short code? or a way to request this directory?

Thank you for your help.

Rachid.

3.jpg (38.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • May 29, 2015 at 04:25 AM

    Hi Rachid,

    You need to get files from application specific mime repository. i.e. which are stored under /SAP/BC/WEBDYNPRO/<namespace>/<name of wd component>

    use the class cl_mime_repository_api and you can use methods either GET or FILE LIST to get the mime object(s) of your WD component.

    Sample url : /SAP/BC/WEBDYNPRO/SAP/ZWD_TEST

    Regards,

    Rama

    Add comment
    10|10000 characters needed characters exceeded