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

Similar Messages

  • Create PO with attachement using BAPI_POEC_CREATE

    I'm using bapi BAPI_POEC_CREATE to create a PO in SRM but i also need to add an attachment.
    The bapi has parameter I_PO_ATTACH but i need an URL for the attachment, what do i need to do in order to upload the attachment and get the URL?
    Thank you in advance.
    Regards,
    Pedro.

    anyone?

  • Create SR with Attachment using WSDL

    Anybody knows how to create a SR on CRMOD, with an Attachment consuming WSDL?

    Dear Dmitry Rassakhatsky
    Can you please elaborate what you are trying to achive using BAPI_DOCUMENT_CREATE02  and SAP XI.
    We would be in better position to suggest solution.
    Also most of us will not be able to understand Technical ABAP so request you to provide detail scenario.
    With Warm Regards
    Mangesh Pande

  • 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 <<<<<

  • How to create a pdf for the URL attached to an invoice and send it as an attachment in a mail

    HI,
    I have requirement where i need to get the URL attached to an invoice, create the pdf and send as an attachement in a mail.
    The URL attached to an invoice can be seen by following the path : VF03-> Billing document->system->Services for object ->Attachement list.
    On searching through existing forums, i found that there is a table 'SRGBTBREL' which stores relationships of GOS object. On giving the invoice number in field 'INSTID_A', i could find an entry in this table.
    To get the content, i used the class CL_FITV_GOS, method GET_CONTENT. To this method i passed following values:
    IV_ATTA_ID = FOL21000000000521URL39000000000012 (The value if field INSTID_B from table SRGBTBREL)
    IV_OBJTP   = 'URL'
    On execution, i get URL link but the content table is empty.
    Could anybody provide some input on how i get the content? Or may be how i can create pdf from the URL link and attach it to mail as an attachment?
    Thanks,

    Hi Amit,
    Solution provided by you is working when the link length is one line but it is not working for more than one line
    Eg: say link is https://......80 [80 characters long]
    I will give    <a href="https://...72            [in first line]
                     73..80">click here</a>         [in second line]
    I will get the output as 73...80">click here
    But i want only CLICK HERE in my output..
    Please suggest solution.
    Thanks,
    Kavya

  • How to create an URL link for product cancellation using an FM

    Hi,
    I have tried creating an external attachment i.e URL link for a workorder by triggering a custom FM by exporting business object type , order id ,realtion type , title and link with return parameter as a message .
    But i'm not being able to create URL link for workorder using the custom FM.
    Kindly please suggest some solutions regarding how the URL link can be created using an FM instead of manual creation.

    given that there can be a variety of reasons for something to crash, you can sometimes initialize a buffer by wiring a non-null data structure to the left terminal of the call library function node. for example, if the output is to be a string no more than 100 characters long, create a string that long of nulls, blanks or anything and attach that to the left terminal for that output. no guarantees, but i have seen that work.
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Function Module used to updating URL attachment in RE80

    Hi there !
    I'm currently developing a program in RE module . I'm finding off ways on how to auto update my URL attachment in RE80 , someone told me to use the function module SO_OBJECT_UPDATE to do it , but then I don't know how it works ? Can someone teach me on how to use this ? or is there any other function module that I can use for this kind of scenario ?
    Your help will be much appreciated.
    Thank You !

    We didn't pushed through with such revision in our program , though your comments helped us alot , the program still can't manage it's import and export mechanism .
    Thanks for your help !

  • Lync converts URL's containing & with %26 creating an invalid URL for use in Chrome.

    I have a web app that uses the "&" character in the URL. If this URL is copy/pasted from a browser to Lync during an IM, Lync converts the URL to use %26 instead of & which does not work in Chrome. The link opens an empty page since the
    app does not understand what to do with %26. Is there any way to stop Lync from converting the & characters to %26 in the URL?

    Hi Lisa
    I don't agree with your answer. The & character is part of the ASCII set and it is not an unsafe character. Actually, it is one of the reserved characters in URIs (see section 2.2 in RFC 3986). Here's the relevant quote from this RFC:
    Percent-encoding a reserved character, or decoding a percent-encoded octet that corresponds to a reserved character, will change how the URI is interpreted by most applications.   Thus, characters in the reserved set are protected from normalization
    and are therefore safe to be used by scheme-specific and producer-specific algorithms for delimiting data subcomponents within a URI.
    The & character is very often used in URLs, as it separates the GET parameters. E.g. if you search "GET parameter" in bing, the URL of the result page looks like this: http://www.bing.com/search?q=GET+parameter&go=Senden
    Therefore it is very annoying that Lync does convert all &s to %26, which makes many URLs worthless.
    Please check whether this bug is fixed in newer versions of Lync. I would also appreciate if this could be fixed in a bugfix release of Lync 2010, but I don't know whether you still do bugfixes for this version.
    Best regards
    Adrian

  • Pa30 create external url link ( mass opload

    Has anyone been able to upload multiple attachments from a spread sheet to this transaction. Obviously using the function upload. I think the function module that I will need to use is called BDS_BUSINESS_DOCUMENT_CREA_URL.
    I have passed the following to the function module
    classname bus1065
    classtype bo
    client 210
    object_key personell_number 00080063
    and in the next section I am creating a url.
    When I run the function module it seems to be populating the trans pa30 with an attachment but it doesnt have a dynamic link and when you select an attachment you get an info message saying attachment link could not be uploaded.
    Can anyone help with this issue, I will be grateful if you could send me some sample parameters to get the test of the function module working properly>?

    Hi jeromemonange,
    Here is some information about creating hyperlinks in a PDF, both to external sources, such as a website, or to another page within the PDF: http://help.adobe.com/en_US/acrobat/X/pro/using/WS58a04a822e3e50102bd615109794195ff-7cb7.w .html
    Please let us know how it goes.
    Best,
    Sar

  • WorkItem Attachment: URL attachment from Intranet portal (authorization)

    Hello Guru's
    Ive got a requirement to create an attachment as an URL.
    The URL points to Sharepoint 2010 server. I am able to attach local or server URL, *.doc, *.pdf etc. file into WorkItem.
    But when i attach intranet file SAP doesnt open it. It seems like user authorization, and SAP doesnt transfer user credits to Sharepoint portal.
    Could some one help?
    Best regards
    Laurynas Prikockis

    Hello Laurynas Prikockis !
                       If there is an URL for your intranet file, then you can access it by its URL by using the function module CALL_INTERNET_ADRESS.
                       Create a method within which call this function module.On execution, it will call the URL on the system's default browser.
    Regards,
    S.Suresh

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • Unable to open URL attachment from SBWP in CRM WEB UI

    Hello Gurus,
    Need your help please. I'm having some problem opening the URL attachment from SBWP via CRM 7 WEB UI (I used a Transaction Launcher for SBWP). The attachment is a Webdynpro application.  I am able to open the attachment in SAP GUI, but not in CRM WEBUI. This problem occured when we update the SP level of CRM 7.
    Here's the scenario,
    - whenever I click the attachment, it open a new window, which also happen even before SP level update, with the following information:
      Execute an Application on FrontEnd
      Please wait. You will be forwarded automatically.
      This page is included for technical reason.
      Execute program.
      Status: Displaying Office Document ..........
      After a couple of seconds, it will return to the Workflow Workplace screen.
    I have checked the workflow log and found no inconsistency on the attached URL.
    Immediate response would be highly appreciated. Thanks in advance.
    Regards,
    Edwin

    Thanks for the reply WD ABAP.
    Yes, I did try to use the functionality of Worklist and the URL attachment successfully opened. However, there are some limitation in its functionality as indicated in the link below that opted us to use the SBWP in CRM WEB UI via transaction launcher.
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWorklist-AdvancewithDialognotSupported
    We don't want to adjust the logic of our existing workflow at this point as described in the above link as it will entails end-to-end testing again. We just encountered this issue when we update the SP level of CRM 7.
    Hope there is an alternative solution without shifting us to Worklist.
    Regards,
    Edwin

  • How do you create an array without using a shell on the FP?

    I want to be able to read the status of front panel controls (value, control box selection, etc.) and save it to a file, as a "configuration" file -- then be able to load it and have all the controls set to the same states as were saved in the file. I was thinking an array would be a way to do this, as I have done that in VB. (Saving it as a text file, then reading lines back into the array when the file is read and point the control(s) values/states to the corresponding array element.
    So how do I create an array of X dimensions without using a shell on the front panel? Or can someone suggest a better way to accomplish what I am after? (Datalogging doesn't allow for saving the status by a filename, so I
    do not want to go that route.)

    Thanks so much m3nth! This definitely looks like what I was wanting... just not really knowing how to get there.
    I'm not sure I follow all the icons. Is that an array (top left with 0 constant) in the top example? And if so, that gets back to part of my original question of how to create an array without using a shell on the FP. Do I follow your diagram correctly?
    If I seem a tad green... well I am.
    I hope you understand the LabVIEW environment and icons are still very new to me.
    Also, I had a response from an NI app. engineer about this problem. He sent me a couple of VI's that he threw together approaching this by using Keys. (I still think you are pointing to the best solution.) I assume he wouldn't mind m
    e posting his reply and the VI's for the sake of a good, thorough, Roundtable discussion. So here are his comments with VI's attached:
    "I was implementing this exact functionality this morning for an application I'm working on. I only have five controls I want to save, but they are all of different data types. I simply wrote a key for each control, and read back that key on initialization. I simply passed in property node values to the save VI at the end, and passed the values out to property nodes at
    the beginning. I've attached my initialize and save VI's for you to view. If you have so many controls that this would not be feasible, you may want to look into clustering the controls and saving the cluster as a datalog file.
    Attachments:
    Initialize_Settings.vi ‏55 KB
    Save_Settings.vi ‏52 KB

  • Xcelsius error: Unable to load URL while using QAAWS on XI 3.0.

    Hi Experts,
    I am getting "unable to load url" in xcelsius 2008 while importing a qaaws url.
    After all the testing below are my observations:-
    1) This has something to do with QAAWS.
    2) When I logged into QAAWS and tried accessing the newly created url from the browser. It gave this error " can not communicate to the server mcc69u01:6400" but intrestingly the cms port is located at 6464 and not 6400.
    3) For every other application like infoview and cmc it picks the correct port i.e. 6464.
    4) Server is present on a UNIX box.
    5) I read somewhere that I need to make changes in the dsws.properties file under war files folder. There I enetered "domain= mcc69u01:6464" and restarted TOMCAT.
    6) After making this change I was unable to even log into QAAWS as it gave the error 02718 " you are not authorized to create query".
    7) After reverting the changes now I am able to log into QAAWS and create new queries but the same problem persist.
    8) TOMCAT is listening to port 8088 for our environment.
    9) Tried the same thing from a different client machine with fairly new BO XI 3.0 client installation(same server) but no success.
    I believe somehow QAAWS is not able to connect to the correct port 6464 and that is the reason for this issue.
    Could anyone suggest what I should do???
    Thanks in anticipation,
    Anshul

    hi Anshul,
    The QAAWSservletprincipal is not related to how you log into the server when creating queries
    It is used when the queries are actually running, or when you are trying to load the query to a tool like Xcelsius. I had the same unable to load error and it was caused by the QAAWSservletprincipal being set to concurrent licence when my server was all named users.
    I think the issue you are seeing is more likely a bug caused by hardcoded cms port, but I think it is worth ruling out.
    Regards
    Alan

  • How to create a simple app using the MVC approach?

    Hello gurus i'm trying to learn the SAPUI5 and i'm trying to create a simple app using the MVC i created the app and trying to add a lable to the view but there is nothing appear when i run it the code for the HTML page
    <!DOCTYPE HTML>
    <html>
      <head>
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/>
      <script src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js"
      id="sap-ui-bootstrap"
      data-sap-ui-libs="sap.m"
      data-sap-ui-theme="sap_bluecrystal">
      </script>
      <!-- only load the mobile lib "sap.m" and the "sap_mvi" theme -->
      <script>
      sap.ui.localResources("mytestapp");
      var view = sap.ui.view({id:"idshell1", viewName:"mytestapp.shell", type:sap.ui.core.mvc.ViewType.JS});
      view.placeAt("content");
      </script>
      </head>
      <body class="sapUiBody" role="application">
      <div id="content"></div>
      </body>
    </html>
    the code for the view
    sap.ui.jsview("mytestapp.shell", {
      /** Specifies the Controller belonging to this View.
      * In the case that it is not implemented, or that "null" is returned, this View does not have a Controller.
      * @memberOf mytestapp.shell
      getControllerName : function() {
      return "mytestapp.shell";
      /** Is initially called once after the Controller has been instantiated. It is the place where the UI is constructed.
      * Since the Controller is given to this method, its event handlers can be attached right away.
      * @memberOf mytestapp.shell
      createContent : function(oController) {
      var oLabel = new sap.ui.commons.Label("l1");
      oLabel.setText("Test label");
      oLabel.placeAt("content");
    i dont know what is wrong or if i should use a container to display my controls
    any help will be appreciated
    thanks in advance

    Hi,
    Instead of   oLabel.placeAt("content"); use return oLabel;
    so it will as below,
    createContent : function(oController) {
      var oLabel = new sap.ui.commons.Label("l1");
      oLabel.setText("Test label");
      return oLable;
    Regards,
    Chandra

Maybe you are looking for