cancel
Showing results for 
Search instead for 
Did you mean: 

[MIME] Check if file exists

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

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