Skip to Content
0
Former Member
Apr 22, 2009 at 02:20 PM

URL Attachment

1421 Views

Hi all,

i hope there is someone that can help me.

My question is: i've used in an ABAP custom program the FM SGOS_URL_CREATE_DIALOG: is this the way to create a report that may create me an URL attachment to MM document?

I ask you this because i don't able to create the URL attach in follow report:

report z_attach_url.

tables: ekko.

parameters: p_contr like ekko-ebeln.

parameters: title type sood-objdes.

data: document_id type borident-objkey.

data: is_object type borident occurs 0 with header line.

start-of-selection.

is_object-objkey = p_contr.

is_object-objtype = 'BUS2014'.

append is_object.

call function 'SGOS_URL_CREATE_DIALOG'

exporting

is_object = is_object

ip_title = title

importing

ep_url = document_id.