Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom Action Block - How to pass URL as Input


I've been searching for possible solutions to my query but failed.

I have a custom action block which accepts a String and XMLDataType. My question is: How can I pass an input string in my custom action block using this pattern: web://project/folder/file.fileextension? Every time I try to pass this it will only append the value to my user directory. And in return I always get the error: "The filename, directory name, or volume label syntax is incorrect." when running my transaction.

Do I have to use a special data type just like XMLDataType for MII to know that I am passing a URL/file path and not a String input?

I noticed that the action block Image Loader has a SourceURL input parameter and it accepts a Web URL and/or a file-based URL. This is the same behaviour that I would like to achieve with my custom action block.

Not what you were looking for? View more on this topic or Ask a question