Skip to Content
0

Create external document (URL) via RFC using BDS_BUSINESSDOCUMENT_CRE_O_URL

Nov 05, 2016 at 12:00 PM

435

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers