ABAP program can't connect to a HTTP destination

Hello,
I have an ABAP program that's used to download data from an internet site. As an internet access proxy has been installed, the program stopped working, displaying an error message:
...Connect to host...Port 80 error: NIECONN_REFUSED
Reading through the forum I found out that it's possible to turn general proxy setting for SAP through transaction SM59 (RFC - proxy configuration), but entering the proxy information didn't help...
Excerpt from the ABAP code:
concatenate 'http://www.hnb.hr/tecajn/f'
                  newdatum+6(2) newdatum+4(2) newdatum+2(2)'.dat'
                  into link.
      refresh: itab, resp.
      call function 'HTTP_GET'
           exporting
                absolute_uri          = link
                rfc_destination       = 'SAPHTTP'
                blankstocrlf          = 'X'
           tables
                response_entity_body  = itab
                response_headers      = resp
           exceptions
                connect_failed        = 1
                timeout               = 2
                internal_error        = 3
                tcpip_error           = 4
                data_error            = 5
                system_failure        = 6
                communication_failure = 7
                others                = 8.
Any ideas? I'm not an ABAP-er but I still can make small changes in code - are there any parameters that can be inserted in the code to direct the function to use proxy?

Suzy Bijnens wrote:
> Hi,
> I would talk to the guys setting up the proxy firewall. You need to make sure that access from your SAP server to port 80 is open.
> In SAP use transaction SE38 program RSRFCTRC to read RFC traces (only when this option is marked in the RFC destination in SM59) or use tr SM58.
> Rgds,
> Suzy
Efectively, the port is not 80, the connection to the proxy is good. I took a look in the trace and it seems to me that my program doesn't use proxy?...
.....640 .......H
TTP_GET.........
...Cu0147Á=     ä¸F.ú..
..;...3...1401.6
DEai..3.........
.ERROR......RLEN
GTH......STATUS.
.....STEXT......
CONVERT......X..
....ELENGTH.....
...........PPWD.
....<
......*PROXY*....
.<
....PUSER.....<
.PWD...... .....
.TIMEOUT........
........TRACE...
...Y......URI...
..ôhttp://www.hn
b.hr/tecajn/f010
109.dat

Similar Messages

  • Abap program to MSSQL connection

    Hello !!
    Do anybody knows how to retrive data directly from  MSSQL server to abap program ,normaly it should by done by defining DBCO connection and using Native SQL statments but  our SAP system is running on UNIX and what I have found for know in sap notes is that connection to MSSQL can only be defined in DBCO transaction if SAP is working on Windows platform. Are there any other solutins to set that conection in situation like mine ??
    BR
    Jacek

    Hi again,
    1. since your system is aix,
       i don't think .DLL files (windows files)
        will work on it.
    2. probably , for MSSQL,
       there must be some other file,
       (for other operating systems like  AIX, UNIX etc).
    3. If that file is installed,
       then something may move further.
    4. Moreover, your basis
      team will have to make a CONNECTION STRING
      (ie. connection from application server
       to MSSQL server)
    5. Once that is made, only then
      we can use in abap.
    regards,
    amit m.

  • Only the suthor of ABAP programs can see and edit his/her code

    Hi:
    We've created developer accounts with the following authorization profiles: A_ABAP_ALL, S_A.DEVLOPER, AND S_A.USER.
    The account holder can access the system, create ABAP programs, and successfully run them. However, there is a problem: a user can see and edit the programs of others.
    Can we set up the account in such a way that only the author of the program can see and edit it? If YES, what should we do?
    Thanks a lot for the help,
    Thuan Nguyen

    Hi Gus:
    Thanks a lot for the help. For creating profiles, I read into 2 different books to get the steps that show how to do it. however, both of them only discuss the general things and do not get to the steps of how to do it.
    Do you know what I need to do to create profiles or where I can get some documentation with details of how to do it?
    Thanks a lot

  • Mail program can't connect to iCloud. Keep getting pane saying iCloud cannot connect to account. Having to put in password each time. Doesn't affect iCloud mail web page just Apple mail program.

    Keep getting pane in Apple mail program; iCloud cannot connect to account iCloud. Have to put in password in order for mail to work. Does not affect iCloud mail off the webpage, just Apple mail proram??

    Keep getting pane in Apple mail program; iCloud cannot connect to account iCloud. Have to put in password in order for mail to work. Does not affect iCloud mail off the webpage, just Apple mail proram??

  • Since I downloaded the last update of iTunes, the program can't connect to the airport speakers

    I just downloaded the new version of iTunes for Windows and now my Airport Express can't connect.
    Anybody else having this issue?

    Yep. Annoying the crap out of me. I'm on Windows 7, 64 bit and the airport utility can't find the express. It's stuck on "RESCAN".

  • ADOBE CC - Germany - Can't open Photoshop and other programs - can't connect ADOBE

    Hello - I try to open my CC program's - but don't work. I get always the information hat I have to much profiles. But is not true. I try to connect with ADOPE to close all profils. But doesnt work. No connection to ADOBE

    Is this Change Account https://forums.adobe.com/thread/1465499 link the one you are using?

  • Directaccess can't connect with IP-HTTPS

    Hi,
    I'm cannot connect from client with Direct access thru IP-HTTPS tunnel.
    On client:
    On server:
    How I can troubleshoot why from Internet explorer on server I got "cannot display the webpage"? is it IIS problem?
    Thank you

    If IIS is listening to port 443, on the same IP as DA then that is your problem.
    Disable all bindings to port 443 on DA address in IIS and restart the server (including "all unassigned").
    What does the Event Viewer on the server tell you?
    Hth, Anders Janson Enfo Zipper

  • Exchange 2003 - Can't connect RPC over HTTP

    I'm running a Windows SBS 2003 with Exchange, and am trying to configure Outlook anywhere. 
    Slowly I've been making progress on the Microsoft Connection analyzer, but this one has me stumped. (I'm not much of an IT professional.)
    Can anyone help me out?
    Testing RPC/HTTP connectivity.
    The RPC/HTTP test failed.
    Additional Details
    Test Steps
    Attempting to resolve the host name mail.****.com in DNS.
    The host name resolved successfully.
    Additional Details
    Testing TCP port 443 on host mail.****.com to ensure it's listening and open.
    The port was opened successfully.
    Additional Details
    Testing the SSL certificate to make sure it's valid.
    The certificate passed all validation requirements.
    Additional Details
    Test Steps
    Checking the IIS configuration for client certificate authentication.
    Client certificate authentication wasn't detected.
    Additional Details
    Testing HTTP Authentication Methods for URL https://mail.****.com/rpc/rpcproxy.dll?PTESVR1.****.local:6002.
    The HTTP authentication test failed.

    Hi,
    According to the test result, there may be improper authentication method which your RPC virtual directory has.
    Start the Internet Information Service Manager, navigate to the Default Website and right click the RPC Virtual Directory. Navigate to the Directory Security tab and confirm if you disable the Checkbox for Enable Anonymous Access and enable the Basic Authentication
    checkbox.
    And here is a similar thread you can refer to:
     http://social.technet.microsoft.com/Forums/exchange/en-US/3021fc19-ed26-48e0-8d77-094b0ac6eb85/client-certificate-authentication-wasnt-detected?forum=exchangesvr3rdpartyappslegacy
    And we can also check the settings in the RPC virtual directory.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela Shi
    TechNet Community Support

  • [SOLVED]Can't connect to mythweb/http suddenly on arch box

    Been running mythweb for quite a while with no probs, but just got home and it was just hanging, then I rebooted box and now it doesn't load at all. Here's my /var/log/httpd/error_log from just now:
    [Tue Apr 12 21:34:39 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
    [Tue Apr 12 21:34:39 2011] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Tue Apr 12 21:34:39 2011] [notice] Digest: generating secret for digest authentication ...
    [Tue Apr 12 21:34:39 2011] [notice] Digest: done
    [Tue Apr 12 21:34:41 2011] [notice] Apache/2.2.17 (Unix) DAV/2 mod_ssl/2.2.17 OpenSSL/1.0.0d PHP/5.3.6 with Suhosin-Patch configured -- resuming normal operations
    [Tue Apr 12 21:40:43 2011] [error] [client 192.168.1.101] client denied by server configuration: /home/httpd, referer: http://192.168.1.100:1758/mythweb/
    [Tue Apr 12 21:40:51 2011] [error] [client 192.168.1.101] client denied by server configuration: /home/httpd
    Clearly there's a client denied by server configuration, but I don't understand what could've changed or what to check on between last night and tonight. Thanks for any help
    edit: Ack, such silliness! It was MySQL all along. I have /var/lib/mysql mounted to a separate partition and it ran out of space, so MySQL was hung and not starting up but wouldn't stop either. Just freed up some space, restarted MySQL and it is working okay.
    Last edited by colbert (2011-04-13 03:05:22)

    wicd is another wireless system AFAIK, so you can't use wicd (with a KDE or GNOME) in combination with NetworkManager, so if you want to use wicd, there is no need to look for the networkmanager log.
    If you still want to use NetworkManager:
    It could be I was mistaken in the filename (aren't using my laptop right now), it could be the messages are located in the more general /var/log/messages or /var/log/daemons. Could you check those it they contain anything related to NetworkManager? It both aren't containing anything NetworkManager related, the obvious question is, is it running/has it ever ran? (did you manually run /etc/rc.d/networkmanager start or did you add networkmanager to the daemons array in /etc/rc.conf and gave your system a reboot)

  • Hi friends: I Install Itunes ver 11.1.4 the lastest version of itunes and I have a Ipod 2nd generation and I can't sincronize it with itunes. I perform a test and the program can't connect with the ipod. What happens?? Can I restore old version of itunes?

    Can I restore a previous version of itunes??

    Try
    iOS: Device not recognized in iTunes for Windows
    I would start with              
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    Before you reinstall the Apple software, also remove iCloud vi Control Panel Remove programs. The reinstall the Apple programs
    New cable and different USB port?
    Runs this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests

  • While trying to activate Acrobat 9 Pro I am told the program can not connect to the server.

    I have tries with firewalls on and off and two different ISP (Comcast and Sprint) and receive the same error every time. I am running Window Vista.

    i don't think anyone on the forums can offer more than reiterating the info in that message 1 link about your hosts file, making sure you have no antivirus/antimalware/firewall active, making sure you don't have any nanny controls limiting access to certain websites and making sure you're not behind a proxy server.

  • Firefox unable to connect after brand new first time installation, IE can load fine, I have followed all directions for firefox can not connect but other programs can, and it did not solve the problem

    I have downloaded Firefox for the First time, Firefox can not connect to any website (Unable to COnnect), but IE can. I have followed all the directions on the page for firefox can not load when other programs can (Firefox connection settings,IPv6,DNS Prefetching, firewall settings)
    == This happened ==
    Every time Firefox opened
    == I downloaded it for the 1st time ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; MSN Optimized;US)

    http://support.mozilla.com/en-US/kb/Firewalls
    http://support.mozilla.com/en-US/kb/Cannot+connect+after+upgrading+Firefox
    http://support.mozilla.com/en-US/kb/Error+loading+web+sites
    http://kb.mozillazine.org/Error_loading_websites

  • I can not update adobe product and trying to load MIDI programs that require a connection through my internet connection that seam to fail or can not connect

    I am trying to install or update software and the install program can not connect through my internet with foxfire as my default browser. Adobe flash sends me an update notice but when starting the process it bombs out. can not make a connection. Is there a requirement in foxfire to allow certain programs/software to have access??

    Launch the QuickTime Player and go "Edit > Preferences > Register", as per the following screenshot:
    ... that should get you through to the Register Tab in your QuickTime Control Panel.

  • ABAP program on process chain

    Hi, 
       I'm trying to create an ABAP program in the process chain. I Know how to do this, so the problem that I'm having is that I need to know <b>WHO is</b> the process chain that is call me because this same ABAP program can we caller from another process chain. Exist any function code to interpret this ? I need to know this and then save it.
    Thanks a bunch.

    Hi Sebastian,
    please post questions like this in the another BI forum, e.g. BI General or Data Warerhousing. This forum is dedicated to SAP NetWeaver 2004s only topics.
    Nevertheless, please see the online documentation for the information you need
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/06/efd63b54e56276e10000000a11402f/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/06/efd63b54e56276e10000000a11402f/content.htm</a>
    (GET_INFO)
    For the implmenetation of a custom defined process type, please see
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45d8a990-0201-0010-a290-f22083728179">https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/45d8a990-0201-0010-a290-f22083728179</a>
      Cheers
        SAP NetWeaver BI Organisation

  • How to create crystal reports from ecc abap program?

    Hi all,
    I am new to sap ecc to bo report!!
    I heard that abap program cannot be directly connected to crystal reports,
    So created a function module which is equivalent to the abap program!!
    And happened to connect the same in crystal !!
    Can anyone let me know how to proceed !!
    will be there any performance issue ?
    can anyone guide me how to do reporting from ecc function module to crystal reports directly?
    Thanks

    Hi Pooja,
    From what I know, not all ABAP programs can be accessed in Crystal Reports. The program should return rows and columns, otherwise, CR would not be able to report off it.
    I'm not sure if there are any performance issues if we follow your path. Do you experience any?
    And, do you need help in creating a report on the function module, I mean do you also have any design related queries?
    -Abhilash

Maybe you are looking for