Call http url in Abap - Should not open Browser

Hi Friends,
   I have a requirement where i need to check whether a perticular http service is running or not. For that i need a some code to call http url from abap and it should not open the browser. If that perticular url is not found or time out then i should know that in program...
Is there any way to do that..

just run the following url (after changing the values for host,etc) from browser
http://<abaphost>.<domain>.com:<port>/sap/public/ping
to get the values for http://<abaphost>.<domain>.com:<port> just go to transaction se80 and choose bsp application option and choose any existing bsp application and then doubl click on a page. on the right side click on the attributes tab and at the end you can find the url
Regards
Raja

Similar Messages

  • ABAP calling HTTPS URL using CL_HTTP_CLIENT

    Hello,
    I have a requirement where I will have to call a URL inside an ABAP or BSP passing some query parameters  program and then the response will be a big string with all the data I need.
    I found I can use CL_HTTP_CLIENT thanks to Brian weblog.
    The URL is HTTPS, the technical contact told me that I would need to encrypt the data in SSL and after pass to the URL as a query parameter.
    Also the response will be encrypted so I will need to convert from SSL before being able to interpret it.
    He also said that I need to install a certificate on my webas server, and use this certificate.
    So my doubts are:
    Do the class CL_HTTP_CLIENT automatic convert the data to SSL?
    How do I install and use such certificate?
    Regards,
    Mauricio

    check out this weblog (under subheading <b>Release 620</b>) to understand how you can load the certificate and use the same with cl_http_client call
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Regards
    Raja

  • Call external URL from ABAP userexit, capture data and return it to SAP?

    My apologies if this question has been asked before, but I've searched for a few hours today and haven't found anything directly related to my question.  Thank you in advance for any help you may be able to provide!
    I would like to be able to make a call from an SAP userexit during Sales Order Entry in the VA01 transaction in the SD module to an external website, allow the user to capture some data in the external site and then pass that data back into the userexit where I can use it to populate internal tables, etc.
    I'm completely unfamiliar with Web Dynpro programming, but this seems like a good place to start my search for a solution. 
    Does this sound like a problem that can be solved with Web Dynpro and what documentation or code examples should I reference to go about building such a solution.
    I should also note that I'm hoping to build a solution that could be called from any userexit in R/3, SAP ERP, SAP CRM, etc. and would obviously need to learn about what dependencies to consider (ex: SAP GUI version, SAP product release number, Web AS release, etc.).
    Eric

    Thank you for the response.  Let me provide some additional information.
    The external application will be a Hosted Web page.  It is not an SAP system. 
    The external application will be a web page served by a separate system outside of the company domain(shouldn't matter what the technology is I would think - but the web page will be hosted by a different company than the one calling the URL) that would appear as a web page in which the user will enter data, logic will be performed on that data and then some or all of the data would need to be passed back to the calling point in SAP.
    For practical discussions it doesn't matter to me if the call in ABAP occurs in an SD userexit, in a custom report, in an HR screen or in a CRM business partner screen.  There will be many places where this external application may be called from and I'm just trying to figure out how to call an external HTTPS URL and return data from that web page to the calling point in ABAP.
    I hope that clarifies my question.
    Thanks!
    Eric

  • Call an URL with ABAP program (Method POST)

    Hi everyone,
      I need to call an URL for example "www.google.com?q=hello" with ABAP using POST method.
      Like the FM "Call_Browser", but my variable q=hello need to be passed with POST method.
    Any idea ?
    Thanks.

    here is one example I use from abap to call a web browser ITS solution with a project number, I guess you can adapt the it for your purpose?
          check <data>-pspid is not initial.
          concatenate gv_pfs_link
                      'zpfs2?~okcode=PROJ_SEL&zpspid=<###>&sel_action=X'
          into lv_url.
          replace '<###>' with <data>-pspid into lv_url.
          condense lv_url no-gaps.
          cl_gui_frontend_services=>execute(
            exporting document = lv_url ).

  • Clicking Lync meeting URL in Chrome does not open Lync

    We have some staff that use Chrome as their default browser.
    In OWA, if they click on a URL to join a Lync meeting, and the Lync 2013 App is installed on their computer, the App does not open.  Instead a Lync Web App opens.
    Is this happening because of a shortcoming in Lync or in Chrome?
    We'd prefer not to set IE as the default browser and not to install the IE Tab chrome plugin - I guess I'd like to understand a bit more about why the full App isn't called?

    There is a chance that this issue is caused by Lync using a deprecated model in the plugin.  Honestly, I don't even understand the second half of the previous sentence, but a similar issue in Chrome for Mac was traced to that root cause.  Quoting
    from a Chromium developer:
    #12 [email protected]
    Okay, thanks; that's what I needed.
    The reason this started with Chrome 22 is that we dropped support for legacy graphics and event models (QuickDraw and Carbon, respectively) that have been deprecated for several years. To remain compatible with Mac Chrome 22+, plugins need to negotiate the new CoreGraphics and Cocoa models. Almost all the popular plugins have updated over the last several years, and I had reached out to the vendors of plugins I was aware to let them know. I hadn't heard of this plugin, so I hadn't contacted them.
    The fix here is for them to release an updated version of their plugin. If their plugin doesn't draw or handle events (and it sounds like it doesn't, but is just a bridge to the app) then adding the negotiation to the plugin is a trivial change in their plugin.
    I don't see any contact info for them, so what would help is for anyone experiencing this to contact Microsoft Lync technical support or any other contact point you have to let them know that their plugin needs to be updated, and point them to this bug for details. Feel free to provide them my email address in case they want to follow up in any way.
    With a view to getting help from the Microsoft Lync team to investigate this, I've opened a call with Office 365 support.  Initially, first line support could not get permission to install Chrome and replicate the bug, and thus wanted to close the call
    as it potentially related to non-microsoft software.  I've asked for the call to be escalated to a more senior tier that would have permission to install Chrome and hopefully someone somewhere is working on it.
    Can I ask that anyone experiencing the same issue please raises a call with Office 365 about this, as a flurry of similar calls at the same time will get someone's attention - as all of us that work on helpdesks know too well!
    Thanks to the 12 people that have starred the issue on the Chrome bug tracker in the last week.

  • Excise Invoice Tab should not open at GRN

    Hello all,
    I am trying to procure assets with account assignment A and without material code. I am using 0% tax.  We also do not have any records in J1ID tcode.
    However, during GRN the Excise invoice tab is opening up.
    One way to get around at GRN is to use " no excise entry". But this tab should not be opening at all.
    Can you guess what configuration, if any, might be making the system propose excise for the PO. The PO item is not excisable in fact.
    Thanks and regards,
    Soumyadeep

    Hi,
    If you using asset PO without material master with a vendor. Now if you do not want excise TAB should come in MIGO, then remove vendor number in J1ID t.code and then do GR.
    If you want to enter excises details , then you should slect check box of "Duty different at GR" check box selected ( so that you can entry manually the excises value in MIGO screen) in MIGO Setting segment in Maintaining Excise Group setting in following path
    SPRO ->>Logistics general ->> tax on Goods Movements-->>India -->> Basic setting -->>Maintain Excise Groups
    NOTE:
    If you want Excise fields are should not be open, then you DO NOT should select check box of "Duty different at GR" in the above path. But think what about Dealer Invoice Scenarios.
    Regards,
    Biju K

  • How to encrypt Password while calling Portal URL from Abap

    Hi all,
    My requirement is to call portal from R/3 4.6C.  As part of it I'm calling Portal URL along with user id & Password by using the FM CALL_BROWSER. The problem here is User ID & Password are visible everyone in the URL.
    Is there any way that I can encrypt sothat it doesn't become a security issue?
    I really appreaciate for your help.
    Thanks
    Seshu

    can you please mention the abap code  by which you are sending the username and password to a portal via url.....
    are you able to log on to the portal...please share your code ......
    Edited by: Ashutosh Shukla on Apr 18, 2008 9:17 AM

  • The hop url for clickbank do not open what to do ?

    When I am try to open link from ho clickbank it do not open for exsembel :http://161d6r8s0p0m7u3a5fdwey6r3f.hop.clickbank.net/
    or http://b6d90r6vzo7r9s9jw5r4tr3br8.hop.clickbank.net/
    it just come blank page .
    sincere
    Gudmundur E Joelsson

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Screen "Define Status Profile for User Status" should not open in changemod

    Dear all ,
    After following the path CRM>SPRO>SAP IMG -->Customer Relationship Management -->Transactions -->Basic Settings --> Status Management -->Define Status Profile for User Status.
    the screen opens in change mode & allows user to carry out the changes, this is very crucial screen & hnece should not be in open mode ,kindly advice on closing the same.so that it opens only in display mode for production system.
    Regards

    Hi Milind,
                 To Block changes to any Object their is a Provision for the same in Client Deatils Screen
    Go to TCode:SCC4
    Check the Tab Cross-Client Object Changes
    Try setting the Option (3.No Changes To Cross-Client Customization Objs)
    Following Options Symbolises:
    Changes to the Repository and cross-client Customizing permitted
    There are no restrictions on the maintenance of cross-client objects for the client when this setting is used. Both cross-client Customizing objects and objects of the SAP Repository can be maintained.
    No change to cross-client Customizing objects
    Cross-client Customizing objects cannot be maintained in the client with this setting.
    No change to Repository objects
    With this setting, objects of the SAP Repository cannot be maintained in the client.
    No change to Repository and cross-client Customizing objects
    Combination of both restrictions: Neither cross-client Customizing objects nor objects of the SAP Repository can be maintained in the client.
    (Choose This One it Should Resolve your Problem)
    Hope it answered Your Queries..
    Thanks and Regards,
    RK.

  • Web.show_document does not open browser anymore

    We upgraded our production database over the weekend from 10g to 11g. When it was still 10g, our Forms application used to open a PDF embedded in IE. After moving to 11g, it does not open IE anymore and shows no error messages. Clicking the button with the web.show_document command does nothing. Our test database is also 11g but does not have this problem. What could have gotten wrong?

    I can't explain why it seems to started failing all of a sudden. We often hear comments like this only to later discover that either someone else made changes of which you are unaware or possbily a software update occurred automatically. For example, the JRE version may have been auto-updated.
    As for recoding in an alternative fashion, it will be difficult for me to say specifically because I don't know the app nor do I know your needs. The biggest, and it isn't all that big, deal will be to identify from where the pdf being opened comes from. In other words, does it already exist on the client machine or is it downloaded to the client from the/a server? Also important to know is whether or not the file name is known or not.
    So, if you want to change the code, first figure out how you want the application to complete the task. Here are my suggestions:
    Suggestion 1.
    <blockquote>If the file (pdf in your case) originally resides on a remote server, then leave it there. The document can be opened using a direct url to the file on the remote server. For example:
    WEB.SHOW_DOCUMENT ('http://server/somepath/my.pdf','_blank');If the file lives within the Forms directories, you can even use a relative path rather than the fully qualified one above. For example, if the files live in \forms\java\foo then you can do this:
    -- The exact entry may differ slightly depending on which
    -- Forms version you are using and where you locate the files
    WEB.SHOW_DOCUMENT ('/forms/java/foo/my.pdf','_blank');This makes the application a little more flexable given that you would not need to change the app code if the server name changed. Once the file has been opened on the client side, whatever pdf reader the end-user is using will offer a "Save" option. So if they choose to save the file locally, they can do so as they desire.</blockquote>
    Suggestion 2.
    <blockquote>If, for whatever reason, the file is downloaded to the client or just happens to already exist on the client, you can use WebUtil's CLIENT_HOST (or WEBUTIL_HOST.HOST) command to open the file locally. There are several ways to do this and which method you choose will depend on a few factors. For example, are all the client machines Windows based? I will assume, for this example that the client machines are Windows based. And, because I like to write code as generically as possible, here is a way to open documents on Windows without the need to know which application normally handles it. In other words, you don't need to know that it will be Adobe Acrobat that opens pdf files or that MS Word will open doc files.
    -- In this example, the value of myPathAndFile is the path and filename.
    -- For example, myPathAndFile := 'C:\Users\<USER_NAME>\Documents\foo.pdf';
    CLIENT_HOST('rundll32 shell32,ShellExec_RunDLL '|| myPathAndFile);This is a bit of an old school way of accomplishing the task, but it is very effective and flexiable. Alternatively, you could use CLIENT_HOST to directly call the file, but this may not always work. For example:
    CLIENT_HOST('C:\Users\<USER_NAME>\Documents\foo.pdf');</blockquote>

  • How to call an URL from ABAP

    Hi,
    When an user clicks on a document display link in a SAP tranasction(for example FB02),an URL has to be called in the background(by ABAP) and the details of the URL should be displayed in a browser.
    What are the possilbe options available in SAP4.7 to meet the above requirement?
    Thanks in advance,
    Leo

    hi,
    you can use call browser function
    data url(200) type c.
    url = 'your_url'.
    CALL FUNCTION 'CALL_BROWSER'
      EXPORTING
        URL                          = url
       WINDOW_NAME                  = ' '
       NEW_WINDOW                   = ' '
       BROWSER_TYPE                 =
       CONTEXTSTRING                =
    EXCEPTIONS
       FRONTEND_NOT_SUPPORTED       = 1
       FRONTEND_ERROR               = 2
       PROG_NOT_FOUND               = 3
       NO_BATCH                     = 4
       UNSPECIFIED_ERROR            = 5
       OTHERS                       = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    for this you have to enable SSO on your server.
    hope this helps you, else revert back.
    regards,
    Hemendra

  • WebDynpro ABAP iView not opening in new window

    Hi,
       I have created an iView for a WebDynpro ABAP application and I am having a link in a home page from where the iView should open in a new page. I have set the properties "Launch in new Window" and "Show open in new window option" of the iView but still it doesn't open up in a new window.
        Can someone suggest me what's going wrong?
        Will reward points for helpful answer.
    Regards
    Mukesh

    Hi Volker,
       Thanks for your reply.
       I think, I have set the properties of the iView right. I have tried with all the options for the property "Launch in new window" property of the iView but it didn't work.
       "By home page framework" I mean that the link of the iView in portal has been created using the "Home page framework" i.e. from "SPRO" transaction in the backend.
       Please let me know if you need any other input from me.
    Regards
    Mukesh

  • Does E52 support calling HTTPS URLs with the brows...

    Hi,
    does anybody happen to know if HTTPS websites (SSL encrypted web pages) can be browsed with E52?
    On some pages i found that SSL/TLS support is reported as "no" for this handy, which i do not understand, since this is a basic feature nowadays...
    Thanks and best regards
    Alexander
    Solved!
    Go to Solution.

    Yes, you have the same OS and Opera mini is Java. I noticed that the default browser doesn't allways show all the content. That could be a problem filling in forms etc... Opera mini has no issues.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • Java installer does not open browser the right way

    Windows 7 SP1 x64
    Hi,
    since no direct feedback to Oracle is possible (feedback form does not work), I'm using this forum for feedback. The feedback is meant for Oracle but I appreciate any input from the community.
    At the end of the installation process the Java installer opens the default browser and navigates to a Java/Oracle website. The call is not made using the default way by invoking the standard browser. However the installer seems to open the main exe of the default browser by circumventing standard procedures.
    Example: My default browser is Chrome. Registry settings are set in a way that the browser is opened with specific path variables like a non-default cache path and size and some other variables. Everything works fine and all calls to display any URL are made using the registry settings provided. If I open any URL the browser will open using the specified variables. The same is true for any program that tries to open an URL. The only exception is - of course - Java. The installer opens Chrome directly by circumventing the default settings thus resulting in Chrome opening up with completely different settings.
    Let me tell you how deeply dissatisfied I am with such a behavior. Programs should invoke browsers using standard system calls. If Java had done this Chrome would have opened with default settings.

    please?
    It is a big problem, because also the search does not work propperly.....

  • Hyperlinks in Outlook 2010 emails do not open browser

    I have 2 PCs with nearly identical software configurations except for the OS.
    One PC uses Windows 7 Ultimate x64, the other uses Windows 7 Home Premium x64.
    Both have Office Professional Plus 2010 and Norton Security Suite 4 installed.
    Both PCs have all available updates installed.
    My problem is with hyperlinks contained in emals received into Outlook 2010.
    On the Ultimate system, the hyperlinks work properly, that is, clicking a hyperlink opens a browser window, as expected.
    On the Home Premium system, the hyperlinks don't work at all correctly.
    The first time any hyperlink is clicked, a message box titled "Windows" pops up with the following content:
      Windows can't open this file.
      File:
    http://www.youtube.com/watch_popup?v=LO2eh6f5Go0
      To open this file, Windows needs to know what program you want to use to open it.
      Windows can go online to look it up automatically or you can manually select from a list of programs that are installed on your computer.
      What do you want to do?
      The first option button is labeled "Use the web service to find the correct program."
      The second option button is labeled "Select a program from a list of installed programs."
    If I select the first option, nothing appears to happen.
    If I select the second, I get a pop up with a list of apps.  I select Internet Explorer. check the box labeled "Always use the selected program to open this kind of file", click OK and the browser opens.
    However, if I go back to the same email and click the same hyperlink during the Outlook session, a window pops up asking me to confirm that I want to open the link using IE.
    If I click on any other hyperlink, in the same email or any other email, I get the first pop up "Windows needs to know what program..."
    I didn't see any Outlook settings that would affect this behavior.
    Any clues about what needs to be done to fix this very annoying behavior?

    Hi,
    First, please check if you can open other URL in the email, such as
    http://www.microsoft.com.
    Based on the current situation, the file should be played by Media Player. Now let’s try to set Internet Explorer and Windows Media Player as the default program:
    ===========
    1.      
    In a window of Internet Explorer, click
    Tools > Internet Options.
    2.      
    Click the
    Programs tab, under Internet programs, click the
    Set Programs button.
    3.      
    Click
    Set your default program.
    4.      
    Click on
    Internet Explorer, click Set this program as default, and click the
    OK button.
    5.      
    Click on
    Windows Media Player, click Set this program as default, and click the
    OK button.
    6.      
    Reboot the computer and check the results again.
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything I can do for
    you, please feel free to let me know.
    Best Regards,
    Sally Tang

Maybe you are looking for

  • Report to see the actual cost and Revenue..

    Hi all, My Sales Cycle is Sales Order --> Delivery --> PGI --> Invoice --> and Accounting. When we do the PGI GOGS account entries will generate, When we do the Invoice Revenue and customer account entries will generate. Now my customer wants to see

  • How can I use comma in the return values of a static list of values

    Hi all, I want to create a select list (static LOV) like the following: Display Value / Return Value both are "Y" / 'YY' one is "Y" / 'YN','NY' I write the List of values definition is like this: STATIC:both are "Y"; 'YY',one is "Y";'YN', 'NY' Howeve

  • Steps to to enhance the existing cube and get the data from r/3

    I am at entry level. if i want to enhance an existing cube and pull data from R/3 into the cube what are the main steps i do. in my scenario - this is SD module. The infocude is  custom cube(CONTRACT cube) . I have to enhance this existing custom cub

  • IPhone 5 loses or forgets my music

    I had this problem several times with my iPhone 4, and now I'm seeing it again (several times over the last two weeks) with my iPhone 5.  I open up my Music Player, and all but two of the artists (one song per) are "gone" from my music library.  As a

  • PO created but SC still in SOCO

    Hi, We are working on SRM 4.0 Extended Classic Scenario. Once the PO is created in SRM,  the Shopping cart should get removed from the SOCO of the Purchaser, but the SC are still in the SOCO. We have applied some notes and the issue is now resolved,