Dynamic URL Smartforms

Hi all,
I've to insert a DYNAMIC url in a Smartform behind a label.
Some topics to consider:
- The Url is created in running time.
- The Smartform is called by a Standard Program, so, I can not change the Impressor Program.
- I want the url behind the word "LINK"
For example:
CONCATENATE: 'www.' sy-mandt 'sap' sy-datum '.com' into lv_url.
so I want insert it behind a text "LINK"
When SAP sends the form by email the user could click on "LINK" and go to the url before created.
Thanks a lot
Regards
Rodrigo
ABAP HCM

I've used this Solution for E-Rec Forms too. Its a little old, you've to adapt it for the new SAP version. I mean, using a Enh Spot for the corresponding Enh.
Example:
In the SmartForm, this link:
We are currently processing your application. We appreciate
    your patience and will contact you again as soon as possible.
    HTTP://[CLIENT URL]:8000/sap/bc/bsp/sap/hrrcf_start_ext/application.do?sap-client=300&BspClient=300&sap-language=E&BspLanguage=E&rcfSpId=0002&rcfContext=ATT&sap-themeRoot=/sap/public/bc/ur/Design2002/themes/att_theme
Becomes this:
We are currently processing your application. We appreciate
    your patience and will contact you again as soon as possible.
Click here to continue to E-Recruiting.
Step 1:
Copy the function group HRRCF00_CALLBACK, renaming it ZHRRCF00_CALLBACK.  Also, rename the functions within this group as well.( ZHR_RCF_SF_URL_CALLBACK, ZHR_RCF_SF_URL_PREPARE_CALLBAC, and ZHR_RCF_SF_URL_REFRESH_GT)
Step2:
In the function ZHR_RCF_SF_URL_CALLBACK, change this code accordingly:
  READ TABLE data WITH KEY code = 'ST' INTO ls_name.                  
  CHECK sy-subrc = 0.                                                                               
lv_name = ls_name-string.                                                                          INSERT                                                                               
READ TABLE gt_url INTO ls_urlkey WITH KEY name = lv_name.       INSERT    
  CHECK sy-subrc = 0.                                                                               INSERT    
  DELETE gt_url INDEX sy-tabix.                                                               INSERT                                                                               
READ TABLE data WITH KEY code = 'LK' INTO ls_url.                  
  CHECK sy-subrc = 0.                                                
  DELETE data WHERE code = 'LK'.                                                                               
lv_name = ls_name-string.                                                 COMMENT    
READ TABLE gt_url INTO ls_urlkey WITH KEY name = lv_name.  COMMENT    
CHECK sy-subrc = 0.                                                      COMMENT    
DELETE gt_url INDEX sy-tabix.                                            COMMENT                                                                               
l_str = ls_urlkey-url.
Where INSERT is inserting the code in blue, and COMMENT is commenting out the code in blue, respectively.   This change makes sure that an alias has a URL associated with it.
Step 3:
Two standard classes must be modified in order to produce the alias.  These classes are: CL_HRRCF_CS_DOC_CAT_APPL as well as CL_HRRCF_CS_DOC_CAT_INVITATION.  Code must be added to the method GENERATE_DOCUMENT in both classes:
u2026u2026.
CONCATENATE l_prot '://' l_host ':' l_port '/' INTO l_base_url.                                                                               
ls_xsf_param-name = 'BASE-URL'.                                           
ls_xsf_param-value = l_base_url.                                          
APPEND ls_xsf_param TO me->sf_output_options-xsfpars.                                                                               
me->sf_output_options-urlcall = 'ZHR_RCF_SF_URL_CALLBACK'.         INSERT
                                                                                CALL FUNCTION me->sf_properties-function_module                           
   EXPORTING                                                               
     control_parameters = me->sf_control_pars                
Step 4:
In the SmartForms, code must be added to the u2018Initializationu2019 portion in the u2018Global Definitionsu2019 section.  Also, data types must be defined in BOTH the u2018Global Datau2019, and the u2018TYPESu2019 section as well.
In the TYPES section, define these variables:
TYPES ls_recruiting_team_member type rcf_s_cs_di_recruiting_team.
TYPES: BEGIN OF ty_url,
                name(80) TYPE c ,
                url  TYPE string,
              END OF ty_url.
TYPES: ty_urltab TYPE TABLE OF ty_url.
TYPES: GD_URL TYPE string.
TYPES: DISPLAY_URL TYPE string.
In the u2018Global Definitionsu2019 section, define these variables:
GS_URL     TYPE          TY_URL
GT_URL     TYPE          TY_URLTAB
GD_URL     TYPE          STRING
DISPLAY_URL     TYPE          STRING
Also, here you can define any other constant aliasu2019 you would like to use (e.g. G_ALIAS_TEST type STRING with Constant value 'Test Link').
In the u2018Initializationu2019 of the SmartForm, the correlation between the link and the alias is defined:
gs_url-url  = CANDIDATE-PERS_PAGE_URL.
gs_url-name = 'Persönliche Seite'.
APPEND gs_url TO gt_url.
or
gs_url-url  =u2019http://whatever.comu2019.
gs_url-name = 'Testlink'.
APPEND gs_url TO gt_url.
In our case, we generated the URL in a string, then assigned the dynamic string to the URL:
   concatenate
      ls_protocol '://'
      ls_host ':'
      ls_port
      '/sap/bc/bsp/sap/'
      'hrrcf_start_ext/application.do'
      '?sap-client=' sy-mandt
      '&BspClient=' sy-mandt
      '&sap-language=' sy-langu
      '&BspLanguage=' sy-langu
      '&rcfSpId=0002'
      '&rcfContext=ATT'
      '&sap-themeRoot=/sap/public/bc/ur/Design2002/themes/att_theme'
      into GD_URL.
gs_url-url  = GD_URL.
gs_url-name = 'Testlink'.
APPEND gs_url TO gt_url.
The link MUST be defined within the SmartForm.
Next, make the call to the custom function:
CALL FUNCTION 'ZHR_RCF_SF_URL_PREPARE_CALLBAC
              TABLES
                     pt_url = gt_url.
Now we link the DISPLAY_URL to the name that we defined in gs_url-name.
display_url   = gs_url-name.
This will make the text whatever you define it in the code above, and also makes the actual URL whatever you defined it as.
Step 5:
In the Main Window of the SmartForm (under Pages and Windows), you must define the DISPLAY_URL as a variable to be displayed.  Using the INSERT FIELD button on the page, type in:
&DISPLAY_URL&
Then, highlight the variable, and then click the HYPERLINK button to make it a hyperlink.  The variable should now become highlighted in blue.
Let me know if you need some help
Regards
Rodrigo

Similar Messages

  • Open a Dynamic URL from a Table column link

    Hi,
    Jdev Version (11.1.1.6.0)
    I have requirement to open a dynamic URL from table column. Any time I click on link, it should generate dynamic URL based on column attribute and open in popup or browser. Can someone pls suggest how to achieve this.
    Thanks
    Ank

    1)If you have any parameters that needs to be passed to build that dynamicURL, just set a propertyListener on the column attribute and get the value.
    2)Then on the af:commandLink action, build your dynamicURL with the required parameters.
    3) If you URL is all together a different application which doesn't share your transaction, you can open it as below
    In the below code, urlWithParams will be your dynamicURL.
    ExtendedRenderKitService erks =
    Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
    StringBuilder sbURL = new StringBuilder();
    sbURL.append("window.open(\"" + urlWithParams + "\");");
    erks.addScript(facesContext, sbURL.toString());
    You can also try the above response by user 948181.
    Hope it helps.

  • How create  dynamic URL for every row  shown in the report?

    Hi,
    Iam new to this Application. I created one interactive report to find the number of bugs logged for every product and its sub component for past one year. The report will look like below structure in the application.
    Product Subcomponent Total
    P1 S1 10
    P2 S2 4
    P2 S21 15
    Now i want to pick the value of Prouct and sub component for every row dynamiaclly and want to generate the URL with the conditions and make it as hyperlink for the Total Column.
    Iam able to make hyperlink for the Total column using the edit options for the total attribute, but it is opening the same page for all the rows in the total column. I want to generate dynamic URL by picking the value prodcut and sub componenet dynamically from the report for every row and want to make it as hayperlink for every row individually.
    Please tell me how to do this?
    Please revert back if you are not clear. Appericiate for your quick help.

    Hello <unknown user>,
    So you already set the Column Link attributes for your Total column. Should all links go to the same page, but with different parameters (ProductID, SubcompID)? Or to another page? And how can you determine that page?
    Assuming you'll go to a sort of detail page or form:
    Target = [Page in this app]
    Page = <your target page no>
    Item1 = <ProductID field in target page>
    Value = #PRODUCTID#
    Item2 = <SubcompID field in target page>
    Value = #SUNCOMPID#
    (you can use the ' flashlight' for getting the correct values)
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Dynamic URL value at runtime

    Hi,
    We have created an iView of type "com.sap.portal.appintegrator.sap".
    In URL template property we have set the following value:
    <System.protocol>://<System.server>:<System.port><System.uri>?parameter=value&parameter=value&...
    That's to say, it is a dynamic URL that is built at runtime.
    My question is: How can we find out the value of URL when we preview the iView, that is, the URL value at runtime?
    Helpful answers will be rewarded!!
    Thanks in advance,
    Samantha.

    Hi Samantha,
    If I am understanding the issue properly.
    the solution is:
    there is no way you can get the url for iView.
    You need to assign the iView to Role. and assign it to a user.
    When you open the iView then from title bar select Add to Favorites, this will save it in the Browser favorites and when you go to the link and see the properties you get the Short URL.
    In Portal terminology the Dynamic URL is called Short URL.
    And to find the short url navigate to
    System Administration->Navigation-> Short URLs
    Hope this helps you.
    Pramod
    -award points if helpful

  • How to call a dynamic URL on 'button press' event, in MVC-based BSP

    Hi,
    My requirement is as below:
    On selecting a row in table view, and pressing a button, I need to open a browser.
    The Browser URL depends on the row selected.
    The key field from table view, is added at the end of the URL string.
    Shortly, I can say that, I am getting a value on row selection & want to pass it to button event.
    In Views Section, there are 2 tags- (1)table view & (2)button.
    Right now, I have put the code for getting the key field, in DO_HANDLE_DATA method.
    In Button's OnClientClick method, I have called the Javascript to open the browser.
    If I now write the code to concatenate the key field value to form the dynamic URL in 'OnClick' method,
    it will be called only after the browser is opened.
    (as OnClick event is executed only after OnClientClick event is executed)
    Could anyone please tell me what event (and in which tag) can be used to solve this.
    Is there any event which is triggered, as soon as the row is selected, &  before the button press event is triggered ?
    Would really appreciate responses made to this query.
    Thanks,
    Nisha Vengal.

    Hi Nisha,
    The crux of your issue here is that you want to call the event triggered with onClick before calling the event triggered on onClientClick. This can be achieved by the following code in the function called on the onClientClick.
    function fn_button()
               htmlbSL(this,2,'b_row_selection:onInputProcessing()');
               window.open("new_page",target="BLANK");
    Here, fn_button is the javascript function called on button click, and b_row_selection is the event triggered on the onClick event of row selection.
    Try this out and let us know if it works for you.
    Regards,
    Saurabh

  • Dynamic URL in SOAP Receiver adapter

    Hi all,
    I have a scenario where I am using a SOAP receiver adapter to send a cXML document to some vendors. I need to change the URL based on the vendor number (passed by sender SRM system). So I have created a user-defined function and used in message mapping to assign the right URL to the variable TServerLocation. But the communication channel still prompts for a static URL which appears to be a mandatory field. Even though the DynamicConfiguration tab in Message Monitoring shows that the TServerLocation was correctly assigned, the scenario does not work when I put some dummy in the static URL field like 'dummy' or '*'. Any ideas on how to make the communication channel go for the dynamic URL field and ignore the static URL field? I have already selected the'Use Adapter Specific Message attributes' and 'Variable Transport Binding' check boxes. Am I referring to the correct variable that references the target URL? Also other than the two checkboxes that I mentioned, I am not displayed anything else under "Adapter Specific Message Attributes" section in the comm. channel.
    Thanks

    James,
    I ve just been digging into SAP help, and have tried it too ... Looks like it doesnt work the way it is supposed to.
    Anotheer point i found was, in the FILE ADAPTER, when we say ADAPTER SPECIFI ATTRIBUTES , we can select the attirbutes.. This is not possible in a SOAP adapter...
    Maybe, we can only access the ADAPTER SPECIIFC ATTIRIBUTES of a SOAP adapter, but cannot set them dynamically.
    Let me know if you find something on this issue.
    Regards,
    Bhavesh

  • Dynamic URL for HTTP receiver adapter

    Hi all,
    when the XI send the http request to the target system, the format maybe like this:
    header + body the body is including: Prolog, payload and Epilog
    here is about the target system have a 'input' parameter(maybe string type)
    is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
    i mean is it possible to set the dynamic URL for http receiver adapter like this:
    http://host:port/path?input=<the header and body>
    i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
    Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
    and the similar threads in the forum
    please give me some advice
    thanks in advance

    When a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
    Could you check this?
    Regards
    Stefan

  • Dynamic URL for Recv HTTP (Adapter spec attribute enabled)

    Hi,
    I need to have a dynamic URL for one of my cases been worked. the URL is
    httlp://:<host>/perform/XTA?serv=*&action=start
    the event "action" can accept either start/stop or restart. i wanna to control this dynamically and went for recv http enabled with adapter specific message attributes. here i had enabled the check box "URL" and in parameter 1 i had given the name as "action".
    in my message payload the "action" will be start/stop or restart which is handled by UDF for which the code is below:l
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey trig = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "UrlParamOne");
    conf.put(trig,action);
    return "";
    this udf is mapped to the root node of the target...but when execute the case i get the following error
    "Dynamic Header - Missing Message Attributes: URL/HTTP Destination"
    when i execute the url
    httlp://:<host>/perform/XTA?serv=*&action=start
    in browser it works fine and also with fully qualified name in http recv works fine but not with dynamic settings.
    any help on it pls?

    Hi Prabhu,
    Enable Adapter-Specific Message Attributes(ASMA) in receiver HTTP channel.
    Dont enable checkboxes for "URL or HTTP Destination".
    Enable checkbox "Apply URL Parameters"
    for parameter1 textbox give value action
    Regards,
    Praveen Gujjeti

  • Dynamic URL for SOAP receiver adapter

    Hey!
    I've been looking all over the forum for this issue. What I have seen is many good suggestions, but no one seems to have made this work.
    I have tried with message mapping and TServerLocation, but when the scenario is executed, Target URL in the communication channel always overrides the suggested URL from the mapping.
    Is is possible to do this dynamic configuration? Do I have to use HTTP adapter and create envelope with mapping instead? Anyone in here actually got this dynamic URL working?
    Thanks a bunch!
    regards Ole

    Hello Cengiz Aytemir,
    I am stuck with a similar issue that you faced earlier. I've configured the scenario as you have suggested (Both the UDF and the CC settings). I've hard coded the Target URL as http://
    I can see the dynamic URL set correctly in the MONI but the request that I am sending is not reaching the web service.
    Below is the error that I am getting:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    When I hard code the Target URL as Test, the error that I get is different. (Detailed error shown below)
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: no scheme
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    I am on PI 7.0.
    Any help in this regard is highly appreciated.
    Best Regards,
    Vijay

  • HTTP Adapter with dynamic URL

    Hi all
    Could you please to help. I need to use receiver with HTTP adapter which in this adapter that I need to pass dynamic URL into this. I had try follow this document
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
    but when I test it I got this error
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER"><b>ATTRIBUTE_MISSING_URL</b></SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Dynamic Header - Missing Message Attributes: URL/HTTP Destination</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    I think my XML source message format that is incorrect. This is my XML source message
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_OB xmlns:ns0="http://xxxx.com:db6">
       <type>
          <TargetURL>http://xx.xx.xx.xx</TargetURL>
       </type>
    </ns0:MT_OB>
    Could you please to suggest.
    Thanks
    Park

    Hi,
    Use the UDF in mapping to create the dynamic URL.
    DynamicConfigurationKey keyURL =  DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", <b>XXXXX</b>);
    // access dynamic configuration
    DynamicConfiguration conf = (DynamicConfiguration) param.get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    // set value
    conf.put(keyURL, url);
    See the belowlinks
    dynamic URL - adapter specific properties (http receiver adapter)
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    Regards
    Chilla

  • Dynamic URL creation in Adapter Module

    I have a situation in which I need to create a dynamic URL to send data using an HTTP POST ( using  HTTPS).
    I created an UDF to use Dynamic Configuration, this works fine for the UrlParam in the HTTP CC and the TServerLocation in the SOAP CC.
    My issue is that both variables have the same limitation of 200 chars max, and sometimes the URL is longer than 200 chars (I have to pass more than 20 parameters in the URL). The message mapping with the UDF fails whenever I try to put more than 200 chars in the Dynamic Configuration Variables. Therefore I cannot use Dynamic Configuration.
    I'm now thinking of creating an Adapter Module which creates an URL out of the XML message passed to the adapter, and use this value to overrule the URL defined in the Communication Channel. The URL field in the Communication Channel does not have a  200 chars limitation.
    Does anybody know how to do this? Is it possible to replace the value of the URL field in the Communication Channel with another  value in an Adapter Module?
    I have to pass the data as parameters in the URL, not as Header fields in the message.
    Thanks,
    Andre

    Hello Chris,
    The error is:
    RuntimeException during appliction Java mapping com/sap/xi/tf/_mm_paymentClusterCreate_ Thrown: com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /ns0:mt_newPaymentClusterData/merchant_name; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (471/200):
    It's even in the SAP Help:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/ce299c3a8e5430e10000000a42189b/frameset.htm
    The length of the attribute value is defined by the XI message protocol. Values can be a maximum of 200 characters long. If, for example, you assign longer values in the mapping or adapter modules then this can lead to processing errors at runtime or the values are shortened to 200 characters. This shortening can also lead to a processing error. The processing error that occurs depends on the components that access the attributes.

  • How to diaplay a logo dynamically in smartforms

    hi experts,
    i have 3 logos which needs to get printed in the smartform based on the business areas as the condition
    can you please help me in providing a sample code to display the logo dynamically in smartform
    Edited by: murari sampath kumar on Jan 28, 2010 7:42 AM

    Hi
    place all the three logos on the smartfrom.
    Suppose u have three business areas,
    1
    2
    3
    then in the condition part of the graphics,
    provide the condition.
    like field name eq business area
           relation   Equal to
           Comaprison value eq 1.
    when this conditon will satisfy then only ur logo will print.
    apply this condition to all three logos.
    Hope this will solve ur problem.

  • Opening Centered Pop-up window with Dynamic URL

    I got some code for a centered pop-up window in Flash from a
    Kirupa tutorial. It works well, except that you are supposed to put
    an actual URL for the 'address' variable. I'm using a dynamic URL
    (+url[p]+) for my URL. When I put address = "'+url[p]'"; for the
    address, it doesn't work.
    Here's the code for the button:
    on (release) {
    //customize the window that gets opened
    // 0 equals NO.
    // 1 equals YES.
    address = "'+url[p]+'";
    target_winName = "FlashDevelopment";
    width = 700;
    height = 400;
    toolbar = 0;
    location = 0;
    directories = 0;
    status = 1;
    menubar = 0;
    scrollbars = 1;
    resizable = 1;
    //sends data back to the function
    openWinCentre(address, target_winName, width, height,
    toolbar, location, directories, status, menubar, scrollbars,
    resizable);
    And here's the function:
    // New Window Function
    _root.openWinCentre = function (url, winName, w, h, toolbar,
    location, directories, status, menubar, scrollbars, resizable) {
    getURL ("javascript:var myWin; if(!myWin ||
    myWin.closed){myWin = window.open('" + url + "','" + winName +
    "','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
    ",location=" + location + ",directories=" + directories +
    ",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
    scrollbars + ",resizable=" + resizable +
    ",top='+((screen.height/2)-(" + h/2 +
    "))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
    "')}else{myWin.focus();};void(0);");
    Any idea why my dynamic url is not being recognized?

    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • CRM5.2 UI-Call a dynamic URL on button click

    Hi all, 
               My requirement is to call a dynamic url on the click of a button in the overview page. I have added a custom button in  the method  IF_BSP_WD_TOOLBAR_CALLBACK~GET_BUTTONS , and the related code in do_handle_event.I have created a custom method for the button event. I have enhanced a custom controller and created an attribute.In the custom method created for the button event, I have written the code for retrieving the parameters to be passed to the url.
    In the layout of the view associated with the display view , I have written the following code for calling the URL in a new window.
    <%
    DATA: lr_cuco_EMA TYPE REF TO ZL_BP_CONT_BPCONT_IMPL,
          lv_url TYPE string,
          lv_url1 type string,
          lv_count type i.
      lr_cuco_EMA ?= controller->get_custom_controller( 'ZBP_CONT/BPCONT' ).
      check lr_cuco_EMA is bound.
      if lr_cuco_EMA->gv_VALUE is not initial.
      if lr_cuco_EMA->gv_COUNT IS NOT INITIAL.
      clear lr_cuco_EMA->gv_COUNT.
      endif.
      LV_URL = lr_cuco_EMA->gv_VALUE.
      Concatenate 'http:/' LV_URL  into LV_URL1.
      Concatenate '"http:/' LV_URL '"' into LV_URL.
        lv_count = lr_cuco_EMA->gv_COUNT mod '2'.
        if lv_count Ne 0.
      lv_url = lv_url1.
    endif.
      %>
         <scrpt language="Javascript">
            window.open(<%= lv_url%>).focus();
          </script>
       <%
             lr_cuco_EMA->gv_COUNT = lr_cuco_EMA->gv_COUNT + 1.
             clear lr_cuco_EMA->gv_value.
             clear lv_count.
             clear lv_url.
             clear lv_url1.
             ENDIF.
    %>
    But here my URl is getting called alternate times.If I do not write the code  by using the variable GV_COUNT the url is getting called only the first time of the button click  and to call the URL again you need to navigate back to the search page and again back to the overview page and click on the button.
    Can anyone help me regarding this? I want the URL to be called in a new page on every button click.
    Thanks in Advance,
    Chandana

    Hi Nisha,
    The crux of your issue here is that you want to call the event triggered with onClick before calling the event triggered on onClientClick. This can be achieved by the following code in the function called on the onClientClick.
    function fn_button()
               htmlbSL(this,2,'b_row_selection:onInputProcessing()');
               window.open("new_page",target="BLANK");
    Here, fn_button is the javascript function called on button click, and b_row_selection is the event triggered on the onClick event of row selection.
    Try this out and let us know if it works for you.
    Regards,
    Saurabh

  • SOAP Receiver : Dynamic URL configuration vs. TAuthKey capability

    Hello all,
    I plan to use dynamic URL configuration of web service URL in SOAP Receiver CC. I got an idea, which is more or less described on SDN already. But one thing bothers me a lot.
    In my scenario we talk about 10 and more WebServices' URLs to be called dynamically. The WS call will include also authorization username:passwd and it is expectable, that each WS will have different uname:passwd definition to be authorized with.
    I made a capability analysis of SOAP Receiver CC - tab Advanced - Authetication keys and there are prepared only 10 possibilities to define password for authentication key (which I'll handle to CC via TAuthKey parameter).
    In the help page http://help.sap.com/saphelp_nw04s/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm there is a note regarding authentication key:
    If authentication is required for the receiver system, you can enter a password with confirmation for each key value. This means that you do not need to write passwords in the enhanced message header.
    So in other words there should be a way, how to send to CC even the password with other adapter-specific message attributes. (or maybe I miss the meaning of this comment, like the other way is to develope own module for CC and process additional attribs from enhanced message header)
    Does anyone have some experience with handling the authentication data in "enhanced message header" ?
    Thanx for you info in advance.
    Regards
    Tom

    Hi all,
    I got an idea that the solution could be to use "Enhanced receiver determination" and use a set of Services-CommChannels with special naming convention. With this (little bit complicated) scenarion I'll get a possibility to define more then one SOAP Receiver CC => I'll get more than 10 options to store the logon password.
    What do you think ?
    Points for ideas guaranteed.
    Tom

Maybe you are looking for

  • Problemas com nota fiscal de entrada de importação

    Ola pessoal, estou precisando de uma ajuda de voces. Numa importação qualquer, importação tradicional, com DI, envolvendo despachante... enfim, os impostos, II, ICMS... são calculados sobre o valor da invoice (os itens de importa) + o frete de import

  • Document opened in Photoshop CC prompts for MyriadPro fonts

      Using Photoshop CC as part of entire suite. Platform: Windows 8.1 Everytime the end user opens certain documents they get. "Some text layers contain fonts that are missing. These layers will need to have the missing fonts replaced before they can b

  • Font smoothing not working

    I am using OS X Yosemite. Back in earlier versions of OS X, there was an option that would set the minimum font smoothing size. Fonts at a lower size than this in most applications would appear jagged. I set this to the highest value (9-12 px or some

  • RFC Adapter not getting data

    Hi experts! I am developing a RFC to File scenario on PI 7.1 EHP1 and ECC 6.0 which is synchronous. Following the Help page Setting Up an RFC Destination for the RFC Adapter I created two destinations. The fist one is a TCP/IP, name RFCDE1COMPANY2, p

  • Downgrade 3600 Capwap AP to Autonomous 3600 AP

    Hello! I have to prepare an 3600 Capwap AP for autonomous functionality! The following image was downloaded: ap3g2-k9w7-tar.152-2.JA The release notes say: Site-Survey Only Mode for 3600, 3500, and 1550 Access Points You can install Cisco IOS Release