Skip to Content

Create external document (URL) via RFC using BDS_BUSINESSDOCUMENT_CRE_O_URL

Hi there,

I'm trying to attach URLs to business objects but I'm struggling with the function module parameters.

I'm using fm BDS_BUSINESSDOCUMENT_CRE_O_URL. So far, it works. The entry is visible afterwards on the related business object.
However, the issue is: It's of the wrong type! Instead of type URL, the created attachment is of type EDI!?

This is what I'm passing to the function module:

This is the value I've entered in table PROPERTIES:

Finally, the attachment list of the business object shows that the new item is of type "EDI"(yellow marked) and not an URL:

I've created a new URL on the business object manually before via GOS -> Create -> Create external document (URL) and this is working as expected. Please refer to the green arrows. The attachment is of type "URL" and it states "Ref. to Internet Page".

My question is: How I can achieve the same behavior by using the function module? Do I need to pass more parameters in table PROPERTIES? Is the MIME-TYPE related to that?

Thanks in advance!

issue.png (48.2 kB)
issue2.png (36.5 kB)
issue3.png (93.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.