SGOS_URL_CREATE_DIALOG

Good morning,
does anybody knows how can I use this function module to include a URL in a Material. This function is used to upload hyperlinks as a services for object but I don't know how can I use it?
Regards

Hi,
You are missing COMMIT WORK
eport 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.
commit work.  " <<<<<<  Give Commit here <<<<<

Similar Messages

  • Create an URL attachment using FM SGOS_URL_CREATE_DIALOG

    Hi all,
    i hope there is someone that can help me.
    My problem is: i've to create an URL attachment to an MM document in ME33K using a custom ABAP report.
    In my report i use FM SGOS_URL_CREATE_DIALOG but when i call ME33K and display the document i don't find the URL attachement.
    I know that if the attachment is created i'd find a new redcord in table SRGBTBREL, is ok?
    Regards,
    Alex.
    PS: my report is:
    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.
      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.

    Hi Chris,
    Thanks for your advice.  It's for our own sites, so we can accept the overhead.
    The animation is simply fade in image, fade out image, fade in text message, fade out text message, fade in next image, etc.
    So, when you say "they are instead wrapped inside a single custom component", I understand it conceptually but need a few details:
    1.  Does this mean I first create the custom component (before doing anything else)?
    2.  At what point to I import/load my Photoshop file with all of the layers?
    Jim

  • FM to create external document(URL) in IE02

    Hi,
    I need to create external document(URL) for equipment master.
    We can create manually it is done by clicking a button Services for Object and then selecting option (Create External Document URL).
    I refered many links but failed to create the url in IE02.Please help me with the example.
    Regards,

    Hi,
    You will need to use function BINARY_RELATION_CREATE for this.
    Check how is it handled in function SGOS_URL_CREATE_DIALOG. Also check code in PAI of screen 2400 (subroutine create_url_doc). You will need to use that code.
    Sridhar

  • SGOS - URL

    Hi,
    I'm trying to create a attach to na FI document, using the FM GOS_EXECUTE_SERVICE and IP_SERVICE 'URL_CREA'.
    Where can i define the URL?

    It can be defined using the FM SGOS_URL_CREATE_DIALOG and entering customized code.

  • URL Attachment

    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.

    Hi,
    You are missing COMMIT WORK
    eport 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.
    commit work.  " <<<<<<  Give Commit here <<<<<

Maybe you are looking for

  • Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1

    Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1 ?

  • Problem in translations for standard screen...

    Hello All, I got the access key for a standard screen and have added an item to the menu bar of the standard GUI status. Now I want to translate the same into different languages. But when I tried the same by clicking GO TO , the translation option h

  • Regarding execution of smartforms without a selection screen.

    Hi ,     I would like to know whether it is possible to generate a smart form, by calling a function module in a report program without the option of selection screen.Can anyone suggest me in this regard. Thanks in advance, Shwetha Korlepara.

  • How to segment songs in iTunes?

    Hello... I've used Garageband to record all 9 chapters of my company's ebook. I plan to create both CDs and downloadable MP3s out of this recorded content. I've successfully exported my GB files to iTunes. However, I've noticed that some people are a

  • When to format a USB flash drive to Mac O?

    I use thumb drives to transfer files from on computer/location to another, and never had a problem with drives that formatted FAT-32. Should I have been formatting these drives to Mac OS? Under what circumstances should a USB flash drive be formatted