Creating URL

Hi!
I had to put an URL to an object (a PM equipment). It has to be put with the "Services for object" button (located in the left of the dynpro title). I have to make it like this:
Services for object button - Create - Create external document (URL).
Unfortunately I never did anything like this, so I'm a bit lost, how to start.
I found some FM-s, like SO_OBJECT_INSERT, but don't know, is it enough, what parameters like does it require... And of course where are the links stored in the background? What is the exact way to post an URL like this?
Every help is welcome!
Thank you
Tamá

Hi
To create this link via a program, you need to code
something like this:
* Add a URL link to an existing workitem
PARAMETERS: p_OBJDES like sood1-OBJDES default
'Testing URL',
             WI_ID LIKE SWWWIHEAD-WI_ID DEFAULT
'000000120661',
             L_URL_ID TYPE SO_URL DEFAULT
'http://www.sap.com/' no-display.
DATA FOLDER_ID         TYPE SOFDK.
DATA LT_OBJCONT TYPE STANDARD TABLE OF SOLI.
DATA LS_OBJCONT TYPE SOLI.
DATA L_OBJ_DATA TYPE SOOD1.
DATA L_OBJ_ID   TYPE SOODK.
DATA DOCUMENT_ID       TYPE SOFMK.
DATA LT_OBJHEAD TYPE STANDARD TABLE OF SOLI.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
   EXPORTING
     REGION    = 'B'
   IMPORTING
     FOLDER_ID = FOLDER_ID
   EXCEPTIONS
     OTHERS    = 1.
WHILE NOT L_URL_ID IS INITIAL.
   CONCATENATE '&KEY&' L_URL_ID(250) INTO LS_OBJCONT.
   APPEND LS_OBJCONT TO LT_OBJCONT.
   SHIFT L_URL_ID LEFT BY 250 PLACES.
ENDWHILE.
L_OBJ_DATA-OBJNAM = 'MESSAGE'.
L_OBJ_DATA-OBJDES = p_OBJDES.
*OBJECT_HD_CHANGE
CALL FUNCTION 'SO_OBJECT_INSERT'
   EXPORTING
     FOLDER_ID             = FOLDER_ID
     OBJECT_TYPE           = 'URL'
     OBJECT_HD_CHANGE      = L_OBJ_DATA
   IMPORTING
     OBJECT_ID             = L_OBJ_ID
   TABLES
     OBJHEAD               = LT_OBJHEAD
     OBJCONT               = LT_OBJCONT
   EXCEPTIONS
     ACTIVE_USER_NOT_EXIST = 35
     FOLDER_NOT_EXIST      = 6
     OBJECT_TYPE_NOT_EXIST = 17
     OWNER_NOT_EXIST       = 22
     PARAMETER_ERROR       = 23
     OTHERS                = 1000.
IF SY-SUBRC = 0.
   DOCUMENT_ID-FOLTP = FOLDER_ID-FOLTP.
   DOCUMENT_ID-FOLYR = FOLDER_ID-FOLYR.
   DOCUMENT_ID-FOLNO = FOLDER_ID-FOLNO.
   DOCUMENT_ID-DOCTP = L_OBJ_ID-OBJTP.
   DOCUMENT_ID-DOCYR = L_OBJ_ID-OBJYR.
   DOCUMENT_ID-DOCNO = L_OBJ_ID-OBJNO.
ELSE.
ENDIF.
CALL FUNCTION 'SWL_WI_NOTE_CREATE'
   EXPORTING
     WI_ID                               = WI_ID
*   WORKITEM                            =
    NOTE                                = DOCUMENT_ID
*   I_SUPPRESS_ENQUEUE                  = ' '
*   DO_COMMIT                           = 'X'
Regards
Pavan

Similar Messages

  • "Source not found" Error creating URL Data control with query parameters

    Hi,
    I have a restful service for which i want to create a URL data control. I am able to create the URL data control successfully when i am not passing any parameters in the Source field. But if i am specifying the parameters in the source field like this Department=##ParamName##, something weird is happening. After giving the param string in the Source field, it asks for default param value to test the url. It tests the url successfully. After that i select XML as the data format in which i am mentioning the xsd like this . "file:///C:/..../something.xsd" . And this is when i am getting the error. "Invalid Connection. The source is not found". I am giving exactly same path for xsd which i gave while creating URL data control without query parameters. Infact i was able to create the URL data control with query parameters successfully till afternoon. after that it started giving me this error all of a sudden. Infact as soon as i was able to create a URL data contol with query parameter successfully, i took a backup of the application before moving further. But even that backup is not working now.
    As far as i understand, i dont think there will be any change in xsd if query params are passed to a web service. Please correct me if i am wrong.
    Just dont know what could be the issue. Please help
    Thanks

    Hi,
    xsd is used for the URL service to know what the returned data structure is so it can create the ADF DC metadata
    Frank

  • Problem while creating URL iview (in EP7.0)

    Hi,
    I encountered a problem while creating URL iview (in EP7.0) as when I selected the iview template for creating the URL iview, the content area got displayed as
    "No templates to display. You are not assigned to any existing templates."
    please assist me in this regard.
    Thanks,
    Suri

    Hi Manoj,
    Thank you for your reply.
    I am still getting the same messages even after creating the iview template in EP7.0
    Created through:
    content Admin --> portal content --> <folder>new --> iview  --> seleting "Portal component - create an iView from a portal component contained in a deployed portal archive (PAR file)" <next> --> seleting "com.sap.portal.appintegrator.sap" <next> --> webdynpro <next> --> finish.
    Open object for editing...--> Object is a Template to Yes.
    Result :
    content Admin --> portal content --> <folder>new --> iview --> seleting "iview template- create an iView from an existing iView template" <next> which displays the same message.
    "No templates to display. You are not assigned to any existing templates."
    Rgrds,
    Suri.

  • How to create URL link for telephone number ,open to account search page and account result page ?

    Hi Experts,
    Bussines role - ZCC_ICAGENT 
    If user open this bussiness role and open Account page ,user enter telephone number and enter search account ,then result will be displayed.Instead of 3 clicks ,user click direct URL link ,telephone number is parameter,account Search and account result  page will be opened direct link.
    So how to do it..could you please provide me step by step...what are the steps wee need to follow for creating URL ..how to do it..Please help..
    Thanks
    Kalpana

    Hi kalpana,
    You dont need to do any setting for this.
    Following URL will be used as per your requirement.
    http://rrnewcrm.ril.com:8000/sap(bD1lbiZjPTI0MiZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm
    ?sap-system-login-basic_auth=X&sap-system-login=onSessionQuery&saprole=ZCC_ICAGENT&
    sap-phoneno=9999999999
    Here parameter sap-phoneno will contain the number you want to search for.
    In component ICCMP_BP_SEARCH, go to view BuPaSearchB2B. write below code in its inbound plug IP_INBOUNDPLUG-
    DATA: lt_ivr_url_param TYPE tihttpnvp,
             ls_ivr_url_param TYPE ihttpnvp,
             lr_searchcustomer TYPE REF TO if_bol_bo_property_access,
             ls_searchcustomer TYPE crmt_bupa_il_header_search.
    CALL METHOD cl_crm_ui_session_manager=>get_initial_form_fields
           CHANGING
             cv_fields = lt_ivr_url_param.
    lr_searchcustomer ?= me->typed_context->searchcustomer->collection_wrapper->get_current( ).
         CHECK lr_searchcustomer IS BOUND.
    READ TABLE lt_ivr_url_param INTO ls_ivr_url_param WITH KEY name = 'sap-phoneno'.
    IF ls_ivr_url_param-value IS NOT INITIAL.
             ls_searchcustomer-telephone = ls_ivr_url_param-value.
       CALL METHOD lr_searchcustomer->set_properties( EXPORTING is_attributes = ls_searchcustomer ).
             eh_onsearch( ).
        ENDIF.
    Thanks & Regards
    Richa

  • How create URL for see my folio on the web content viewer ?

    Hello,
    I try to create URL for see my folio on the web content viewer but nothing Work
    i have this informations :
    my applicationName
    my accountID
    my publication Name
    and my articleName (even if for this i'm not sure)
    All my articles are free, my folio is published...
    For information my folio is in PDF format with the resolution 1024x768
    Have you one idea why it's doesn't work ?
    Thanks for yours answers

    Rather than cobbling together the individual parts of the URL, create a development app with social sharing enabled and at least one article set to free. When you share the article of the published folio, you'll see your web viewer URL.

  • Discoverer Plus - Creating URL's with Multiple Dimension values

    We are using the "Manage Links" feature in Discoverer Plus (10.1.2.2.0) to send dimension value names in a URL. As part of the "Manage Links" feature, the user is given the opportunity to choose which dimension values for the selected cells they want to include in the URL.
    We are attempting to create URL's to drill from Discoverer Plus to more detailed Oracle Reports, which will use the dimension values in sql statements . One problem we noticed is for each dimension we can not select multiple values to send in the URL.
    For example;
    I have a URL I want to append selected dimension values from Discoverer Plus.
    We have 2 dimensions each containing 5 dimension values. We use Discoverer Plus to filter down to 2 dimension values for each dimension to be included in our url.
    Time: Nov2007, Dec2007
    Division: USCCSLT, USCCLSY
    Measure: Flux
    URL:
    https://corpdev.ffmb.com:11228/reports/rwservlet?RPT_TEST_XLS=<TIME:VALUE>, <DIV:VALUE>
    When the link executed, the EXIT URL only contains the first dimension value for each dimension. I have included the exit URL below:
    Result:
    https://corpdev.ffmb.com:11228/reports/rwservlet?RPT_TEST_XLS=Nov2007,USCCSLT
    It should contain Nov2007, Dec2007, USCCSLT, USCCLSY.
    I've tried a variety to things in the Manage Links, but it always sends out just one dimension value.
    According to the choices given in "Manage Links", it is not supposed to work this way.
    I have a feeling I'm doing something wrong, because I don't see many posts here related to creating Discoverer Plus URL's.
    If anyone encountered this and came up with a solution, I'd be interested to read your comments.
    Thanks,
    Michael

    What version of Discoverer are you running? I'm assuming 10.1.2 but I would look at the 2 URL parameters
    pluspopup and framedisplaystyle
    From the Oracle Documentation:
    When using popup in conjunction with framedisplaystyle=, the possible combinations are:
    pluspopup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it.
    pluspopup=true and framedisplaystyle=separate opens a new pop-up browser window and launches Discoverer Plus in a new applet window.
    This combination launches three windows: the original browser window (i.e. Discoverer Connections page), the new browser window containing the Discoverer image, and the JFrame window containing the Discoverer Plus applet.
    pluspopup=false and framedisplaystyle=embedded launches Discoverer Plus in the current browser window.
    See if those help you out, if not let me know and we can dig into this further
    Matt Topper
    TUSC, The Oracle Experts
    [email protected]
    pluspopup=false and framedisplaystyle=separate launches Plus in a JFrame window. The current browser window contains the Discoverer image.

  • Javahelp Search -- Failed to create URL from jar

    When I attempt to use my search feature, I get the following message:
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-generatedid-55.html
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulc-odbc-tutorial-s-5132529.html
    Failed to create URL from jar:file:C:\ulcpen10.jar!/ulcp.hs|C:/src/db/pubs/ulc/javahelp/cp-ulsynchronize-library-sesql.htmlpresumably, the files that were found in the search were:
    cp-ulc-generatedid-55.html
    cp-ulc-odbc-tutorial-s-5132529.html
    cp-ulsynchronize-library-sesql.html
    but it seems the URL being built is incorrect. I am building my search like so:
    in the xml:
    <view>
    <name>Search</name>
    <label>Search</label>
    <type>javax.help.SearchView</type>
    <data engine="com.sun.java.help.search.DefaultSearchEngine">
    JavaHelpSearch
    </data>
    </view>
    and in the java:
         _jhIndexer = new com.sun.java.help.search.Indexer();
         //outDir is the directory the help is compiled to -- defined earlier
         String searchName = "JavaHelpSearch";
         String args[] = new String[ 3 ];
         args[ 0 ] = "-db";
         args[ 1 ] = outDir + searchName;
         args[ 2 ] = outDir;
         try {
             _jhIndexer.compile( args );
         } catch( Exception e ) {
             e.printStackTrace();
         //addDirectory copies everything from ourDir/searchName to jar/searchName
         jarFile.addDirectory( searchName, outDir + searchName, null );Any ideas how to fix this?
    Thanks,
    Aarnott

    Yesterday I met with the same problem with you, and I read the Javahelp_Guide for several times and today I solve the problem. I reply the topic and want to share the experience with friends.
    First cofirm that you have created the html pages, .hs file, index file, TOC file, map file, and be sure they all work well. We assume you put the last 4 files in D:\HelpFile, and the html pages in D:\HelpFile\HelpPage
    Now we come to the second step -- generate the Full-Text Search Database.
    1. Open "Start" -> "Run" in windows, and input "cmd" command.
    2. Switch to your help folder, here we assume it as D:\HelpFile
    3. Find the path of the jhindexer in the javahelp\bin folder of the JavaHelp system release, e.g E:\JavaHelp\bin
    4. Input the following command in cmd.exe you just open in step 1:
    E:\JavaHelp\bin\jhindexer HelpPage
    the command means to call the tool jhindexer to generate the Full-Text Search database for the html pages in folder HelpPage
    5. you'll find a new folder named JavaHelpSearch generated in the current folder D:\HelpFile
    6. Pack all the files in folder D:\HelpFile as a jar file and you can use it in your system
    Note: 1. avoid asian character in your folder path, though there's no obvious reason but we should avoid possible error.
    2. Full-Text Search need no programming in your program, just do it as the steps ibid.
    release: Javahelp 2.0.05
    Operation System: Windows XP

  • Creating url iView for exe file.

    hi,
             I have an VB exe file and I stored it in KM and I have created URL iView.
            When I preview this iView , u201Cdo you want to run or save this fileu201D message is showing.
            When I clicked u201CRUNu201D, again another message window is showing u201C The publisher could not verified, Are you sure to run this softwareu201D.
    how to remove these two messge windows.
    Regards,
    Shanthakumar.

    I believe its not suggestable to remove that message also as it will be very very serious security threat for your machine,
    try -> tools->Internet options>Security->Local internet ->Custom level->Downloads->
    Automatice
    Automatic prompting for downloads.->enable and try enabling Active X check boxes also give it a try not sure it will work.
    use this at your own risk
    jo

  • Create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hi Experts,
    create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?..
    Previous my thread was locked...Now i want to say thanks to KALYANI L and Richa Dameja,..Now This code i have followed now its working fine..Thanks Great help to Kalyani L..and Richa Dameja.. i have implemented the DO_INIT_CONTEXT.....Now getting result...
    As suggest Kalyani L i have implemented DO_INTI_CONTEXT method,Now its working fine....
    Thanks For support.
    Thanks
    kalpana
    Message was edited by: Andrei Vishnevsky
    Disussion is locked.
    Reason: Re: create URL,Telephone number as paramater Account Search and result based on parameter of telephone number ?

    Hello Kalpana,
    I've already locked your previous discussion and thought that I gave pretty clear warning.
    First of all "do my job" posts are not welcomed on SCN.
    Second point: you're incorrect in choosing SCN space with such questions. Here is a little which is related to IC in your task.
    Third point is that if somebody has an answer to your exact question then he will give you it if he wants. There is no reason to post-post-post messages asking for help or hurry. Your "urgent requirement" is not the reason either.
    Fourth one is: according to The SCN Rules of Engagement you need to do the search before posting. Almost all of your questions regarding this topic has an answer already.
    Locking the discussion again. If you continue to post such questions I will need to report this situation to SAP CRM space editors and global moderators.

  • I have created URL like sub domain. but URL which i have rewrite like sub-domain in that page This webpage is not available error showing.

    Is that any one Help me, here,
     i have created URL like aarti.domain.com using a particular code which i have add here,
    sub-domain URL is creating but This webpage is not available i am getting this error in sub-domain URL page.
    This is a code by which i have created a URL like sub-domain. its creating URL but page is not showing with data. 
    Any one can tell me whats Wrong here. 
    and how i can show data in my sub-domain url.
    Your solution will help me To solve This Big Issue.
    <rewrite>
    <rules>
    <rule name="Redirect to Subdomains" stopProcessing="true">
    <match url="^xyzPage.aspx$" />
    <conditions>
    <add input="{QUERY_STRING}" pattern="^barvalue=(.+)$" />
    </conditions>
    <action type="Redirect" url="http://{C:1}.{HTTP_HOST}" appendQueryString="false" />
    </rule>
    </rules>
    </rewrite>

    Please post questions related to ASP.NET and web development in the ASP.NET forums (http://forums.asp.net ).

  • Creating URL and fetching the parameters

    Hi,
    In my webdynpro application I hav to create a URL that shud take me to a new IView and in that URL I have to give certain Parameters that I have to fetch as application parameters.I am not aware how to create URL and give the PCD path of the new iView and the Parameters that I hav to fetch. I have seen some of the threads but I am not able to find out the clear picture.Could anyone help me out?
    This is really urgent.
    Thanxs in advance.

    Hi,
    You can navigate from one view to another using portal navigation
    WDPortalNavigation.navigateAbsolute();
    The above method needs various parameters which are shown<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm">here</a>
    Warm Regards,
    Murtuza

  • How do I create URLs for my photos in iCloud?

    I am having touble created and sharing photos by creating URLs like I used to do in MobileMe, does anyone know how this is done with iCloud?

    You can't do that in the current implementation of iCloud. There are plenty of third party services that offer this service, though.

  • Creating URL's

    Can I create URL'S for my imovie projects - It would make sharing them easer, I would think?

    You can point to the page containing the portlet by using
    <render:pageUrl pageLabel="Home"/>
    This will generate an url for the home page, where "Home" is the labe definition
    used.
    "Deepak Natarajan" <[email protected]> wrote:
    Hello everyone,
    Is there a recommended way/class method to create URL's pointing back
    to JSP
    destinations within the deployed portal application?
    In a previous version of our application running on the old commerce
    server,
    we used static methods from
    the class com.beasys.commerce.axiom.jsp.JspBase (createURL, reconcileFile
    etc) to achieve this.I guess these no longer exist, but
    are there any equivalents?
    thanks!
    BR,
    deepak natarajan

  • Create URL for image content and display in new window

    Hi,
    I am attaching a new image and it is displayed in a table view.
    I am having problems creating the URL for the image.
    When i give the link of external site like http://www.google.com, it works fine. It does not work when i give as www.google.com.
    It does not work for the image. Please help.
      ls_properties-name         = 'KW_RELATIVE_URL'.
      ls_properties-value        = lv_imgname.
      APPEND ls_properties TO lt_properties.
      ls_properties-name         = 'LANGUAGE'.
      ls_properties-value        = sy-langu.
      APPEND ls_properties TO lt_properties.
    Assign file properties
      ls_file_access_info-binary_flg = 'X'.
      ls_file_access_info-file_name  = lv_imgname.
      ls_file_access_info-mimetype   = 'image/pjpeg'.
      ls_file_access_info-property   = lv_string2.
      APPEND ls_file_access_info TO lt_file_access_info.
    Move content to file_content
      lv_str = lv_img_content.
      lv_strlen   = XSTRLEN( lv_str ).
      lv_offset   = 1022.
      lv_bytes_rd = 0.
      lv_bytes_rm = lv_strlen.
      ASSIGN lv_str TO <fs>.
      WHILE lv_bytes_rd LT lv_strlen.
        IF  lv_bytes_rm LT lv_offset.
          ls_content-line = <fs>+lv_bytes_rd(lv_bytes_rm).
        ELSE.
          ls_content-line = <fs>+lv_bytes_rd(lv_offset).
        ENDIF.
        APPEND ls_content TO lt_content.
        lv_bytes_rd = lv_bytes_rd + lv_offset.
        lv_bytes_rm = lv_strlen - lv_bytes_rd.
        CLEAR ls_content.
      ENDWHILE.
    Create a Document using class CL_CRM_DOCUMENTS
      CALL METHOD cl_crm_documents=>create_with_table
        EXPORTING
          business_object     = ls_business_object
          properties          = lt_properties
          file_access_info    = lt_file_access_info
          file_content_binary = lt_content
          raw_mode            = 'X'
        IMPORTING
          loio                = ls_loio
          phio                = ls_phio
          error               = ls_error.
    Using the logical and physical id's, get the file location as an URL
    data:
    lv_no type char1 value '1'.
        CALL METHOD cl_crm_documents=>get_with_url
          EXPORTING
            loio     = ls_loio
            phio     = ls_phio
            url_type = '2'
          IMPORTING
            error    = ls_error
            url      = lv_url1.
    should i prefix the url with 'javascript:'?
    Thanks in advance.
    Regards
    Shanthi

    Hi Shanti,
    The URLs that are external to the server, you should always have http://, your image URL is has http:// prefix? Other wise system will always look for the same inside the current BSP application. For Example your BSP application is ZBSP and if you are accessing www.google.com the URL in the browser will be
    *******/bsp/ZBSP/www.google.com which will not be existing, hence causing the problem.
    If not try adding http:// to the URL by concatenation and try.
    Regards,
    Ravi

  • Creating URLs that open a new tab or browser window?

    Hello out there...
    I am creating some podcasts via Garage Band and iWeb for my grade 9 class. I have embedded some URLs in the podcast however when one 'clicks' the links the iWeb page is closed and the user is taken to the new page.
    I would like the iWeb page with the podcast to remain open and a new page or tab open up to display the link.
    Is it possible to do this?
    Thanks,
    B!

    Hi,
         Similar question has been asked in the forum, hope it will help:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
    Take a look to the articles given in below link too.
    http://office.microsoft.com/en-in/sharepoint-server-help/change-how-to-open-a-document-in-a-library-with-one-click-HA101729873.aspx
    http://www.benramey.com/2011/04/25/opening-all-sharepoint-2010-documents-in-a-new-window/
    Regards,
    MS

  • How to create URL in Oracle Application Server ?

    Hello,
    I would like to know how to create a URL in Oracle Application server (LINUX) so that our application can be invoked from each and every machine in our
    local hosting.I expect a quick reply.

    You question is not so clear. Basically, after installing infrastructure and middle-tier instances, you can simple run http://localhost:port/appication from any web browser.
    If not, what is your requirements?
    Jaffar

Maybe you are looking for

  • Can't restore 3G - "iPhone software update server could not be contacted"

    my phone was stolen and subsequently returned to me. an incorrect passcode was inserted on numerous occassions by the thief and this action has subsequently blocked my phone. it no longer accepts my original passcode. i've managed to get the phone in

  • Problem in Nls_lang (words on form appears like ??????????)

    hi i develop forms in old release of developer 10g suit and recompile it in higher release of developer 10g suit i have a problem with language in my forms , all my words on my forms appears question marks like ?????????? i`m using developer 10g suit

  • SGD 4.6 and Mac OS X Clients

    On some Mac OS X computers I get the following message when trying to login: Error - SGD Client Helper+ Failed to install the SGD client+ has someone came across this issue? I'm running Mac OS X 10.6.5 Best regards Werner

  • ODM Client Error: Error Message: Attribute has already been added

    I'm getting the following error message in the ODM client (I've substituted an elipsis for the attribute name below.) Error Message: Attribute ... has already been added to LogicalDataSpecification. Exception type: oracle.dmt.odm.InvalidArgumentExcep

  • New Verizon pop server, Apple Mail not working

    Hi... I got the email about the new pop server in the spring and gave it a whirl.  On my ibook, Apple Mail says it connects just fine, but I never received any of the mail I know is in the inbox.  I sent test messages to myself, and they never came i