Web Connection Set-up in SAP

Hi - Could you please tell which transaction code i need to use for setting internet proxy and password for allowing ABAP programs to connect to Web.
I am using rfc_destination = 'SAPHTTPA'

Not required.

Similar Messages

  • Object variable not set error in SAP-VB Connect.

    This is the coding part i have used for connecting SAP and VB for creating the Sales Order in SAP.
    But it gives the error in the line
    oheader.Value("DOC_TYPE") = Text1(0)
    as Object variable or With block variable not set.
    What could be the reason, pls advise me.
    Dim bapictrl As Object
    Dim boOrder As Object
    Dim oPartner As Object
    Dim oItemin As Object
    Dim oheader As Object
    Dim oreturn As Object
    Dim oconnection As Object
    Private Sub Command1_Click()
    Dim x As String
    oheader.Value("DOC_TYPE") = Text1(0)
    oheader.Value("SALES_ORG") = Text1(1)
    oheader.Value("DISTR_CHAN") = Text1(2)
    oheader.Value("DIVISION") = Text1(3)
    oheader.Value("PRICE_DATE") = Text1(4)
    oheader.Value("PURCH_NO") = Text1(5)
    oPartner.rows.Add
    oPartner.Value(1, "PARTN_ROLE") = Text1(6)
    oPartner.Value(1, "PARTN_NUMB") = Text1(7)
    oItemin.rows.Add
    oItemin.Value(1, "REQ_QTY") = Text1(8)
    oItemin.Value(1, "MATERIAL") = Text1(9)
    oItemin.Value(1, "COND_VALUE") = Text1(10)
    boOrder.createfromdata orderheaderin:=oheader, orderitemsin:=oItemin, orderpartners:=oPartner, return:=oreturn
    x = oreturn.Value("message")
    If x = "" Then
    MsgBox "Transactin Complete"
    Else
    MsgBox x
    End If
    End Sub
    Private Sub Form_Load()
    Text1(4) = Format(Now, "mm/dd/yyyy")
    Set bapictrl = CreateObject("SAP.BAPI.1")
    Set oconnection = bapictrl.Connection
    oconnection.logon
    Set boOrder = bapictrl.GetSAPObject("SalesOrder")
    'Set boOrder = bapictrl.GetSAPObject("BUS2032")
    Set oPartner = bapictrl.DimAs(boOrder, "CreateFromData", "orderpartners")
    Set oPartner = bapictrl.DimAs(boOrder, "CreateFromData", "orderitemsin")
    Set oPartner = bapictrl.DimAs(boOrder, "CreateFromData", "orderheaderin")
    End Sub
    Thanks in advance
    Regards
    Rajaram

    Hi,
       This error occurred in the page where I used the file upload control. The control was working fine before. We tried installing entire PDK again and then applying the hotfix-1, but nothing worked and then I had to use an URL iview to invoke an ASP .Net application just for uploading the files.
    Thanks
    Swetha

  • How to call COPY web service from sharepoint in SAP

    Hello Experts,
    I want to call COPY web service from SharePoint in SAP  web dynpro / JAVA application.
    However, when I try to connect to web service and download wsdl using   http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
    it results in Unauthorized error and doesnt complete the setup. Detail error is :
     Error occurred while downloading WSIL file. Error message: Deserializing xml stream  http:// <hostname:port>/_vti_bin/copy.asmx?wsdl
    failed.com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (401) Unauthorized. The requested URL was:"Connect to 
    http:// <hostname:port>/_vti_bin/copy.asmx?wsdl , used user to connect: userid"
    I am trying to connect with server user account. Any idea on what authorizations might be required or any help on the scenario .
    -Abhijeet

    Here's an example on how to delete a list item, hopefully this helps
    package com.jw.sharepoint.examples;
    import java.io.File;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Properties;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import com.microsoft.sharepoint.webservices.CopySoap;
    import com.microsoft.sharepoint.webservices.GetListItems;
    import com.microsoft.sharepoint.webservices.GetListItemsResponse;
    import com.microsoft.sharepoint.webservices.ListsSoap;
    import com.microsoft.sharepoint.webservices.UpdateListItems.Updates;
    import com.microsoft.sharepoint.webservices.UpdateListItemsResponse.UpdateListItemsResult;
    public class SharePointDeleteListItemExample extends SharePointBaseExample {
     private String delete = null;
     private String deleteListItemQuery = null;
     private String queryOptions = null;
     private static final Log logger = LogFactory.getLog(SharePointUploadDocumentExample.class);
     private static Properties properties = new Properties();
     public Properties getProperties() {
      return properties;
      * @param args
     public static void main(String[] args) {
      logger.debug("main...");
      SharePointDeleteListItemExample example = new SharePointDeleteListItemExample();
      try {
       example.initialize();
       CopySoap cp = example.getCopySoap();
       example.uploadDocument(cp, properties.getProperty("copy.sourceFile"));
       ListsSoap ls = example.getListsSoap();
       example.executeQueryAndDelete(ls);
      } catch (Exception ex) {
       logger.error("Error caught in main: ", ex);
     public void executeQueryAndDelete(ListsSoap ls) throws Exception {
      Date today = Calendar.getInstance().getTime();
      SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
      String formattedDate = simpleDateFormat.format(today);
      String queryFormatted = String.format(deleteListItemQuery,formattedDate);  
      GetListItems.QueryOptions msQueryOptions = new GetListItems.QueryOptions();
      GetListItems.Query msQuery = new GetListItems.Query();
      msQuery.getContent().add(createSharePointCAMLNode(queryFormatted));
      msQueryOptions.getContent().add(createSharePointCAMLNode(this.queryOptions));
      GetListItemsResponse.GetListItemsResult result = ls.getListItems(
        properties.getProperty("folder"), "", msQuery, null, "",
        msQueryOptions, "");
      writeResult(result.getContent().get(0), System.out);
      Element element = (Element) result.getContent().get(0);
      NodeList nl = element.getElementsByTagName("z:row");
      for (int i = 0; i < nl.getLength(); i++) {
       Node node = nl.item(i);
       String id = node.getAttributes().getNamedItem("ows_ID").getNodeValue();
       String fileRefRelativePath = node.getAttributes().getNamedItem("ows_FileRef").getNodeValue();
       logger.debug("id: " + id);
       logger.debug("fileRefRelativePath: " + fileRefRelativePath);
       String fileRef = properties.getProperty("delete.FileRef.base") + fileRefRelativePath.split("#")[1];
       logger.debug("fileRef: " + fileRef);
       deleteListItem(ls, properties.getProperty("folder"), id, fileRef);
     public void deleteListItem(ListsSoap ls, String listName, String listId, String fileRef) throws Exception {
      String deleteFormatted = String.format(delete, listId, fileRef);  
      Updates u = new Updates();
      u.getContent().add(createSharePointCAMLNode(deleteFormatted));
      UpdateListItemsResult ret = ls.updateListItems(listName, u);
      writeResult(ret.getContent().get(0), System.out);
     public void initialize() throws Exception {
      logger.info("initialize()...");
      properties.load(getClass().getResourceAsStream("/SharePointDeleteListItemExample.properties"));
      super.initialize();
      this.delete = new String(readAll(new File(this.getClass().getResource("/Delete.xml").toURI())));
      this.deleteListItemQuery = new String(readAll(new File(this.getClass().getResource("/DeleteListItemQuery.xml").toURI())));
      this.queryOptions = new String(readAll(new File(this.getClass().getResource("/QueryOptions.xml").toURI())));
    Brandon James SharePoint Developer/Administrator

  • Connecting Crystal Reports to SAP BW BEx query

    Post Author: mfrank
    CA Forum: Data Connectivity and SQL
    We have used Crystal Enterprise 8.5 to connect to an SAP BW BEx query in the past, however we are having some difficulties.  Rather than trying to upgrade our old CE system, I've been told that we should be able to connect Crystal Reports (2008?) directly to the BW BEx query.  I've been trying to accomplish this, but can't seem to find any drivers that will allow the connectivity.  When I try to set up a connection using OLAP, the only two options listed are Hyperion and Microsoft OLAP.  I have an old version of Brio Query (now Hyperion, now Oracle) that does show up with a driver for BW, but this doesn't show up in my Crystal options.
    Can someone give me some advice as to how to connect Crystal Reports to SAP BW?  I realize there are licensing issues with running live data without using Crystal Enterprise (or later BO products), but I'm just looking to print a report to a PDF.
    Thanks

    Post Author: A Kumar
    CA Forum: Data Connectivity and SQL
    Hi mfrank,
    I am also facing a similar kind of a problem. Did you get any solution to your problem. If yes, kindly let me know.
    Thanks
    A kumar

  • Unable to use SSO with universe connection on top of SAP BW query

    Hi,
    We're creating a universe on top of a SAP BW query by using universe designer.
    We logon to universe designer by using SAP credential.
    When creating the connection, we set the option "Use Single Sign On when refreshing reports at view time" in order to logon to BW server. But when clicking next, an error arises:
    "DBD: Unable to connect to SAP BW server Incomplete logon data"
    The strange thing on this is that there is one laptop which is able to set up this kind of connection, while all other workstations are not able to set it because they recieve that error (we all work against the same BO server). So this looks like an installation issue.
    We reinstalled SAP Integration Solutions on those workstations, but problem is still the same.
    I found thread: Universe Connection Authentication on SAP BW which talks about the same issue, but solution involves uninstalling Xcelsius. But we do need Xcelsius!
    Any suggestions?
    Thanks,
    David.

    >
    Ingo Hilgefort wrote:
    > Hi,
    >
    > - how did you enter the SAP credentials when logging on ?
    username/password with sap authentication
    >
    > - are you using a application server or a message server for the connection ?
    Application server
    >
    > - SAP GUI is installed ?
    SAP GUI 710 patch 11
    >
    > - SAP Integration Kit is installed ? is it a full keycode or a temp keycode ?
    SAP Integration Solutions with temp keycode
    >
    >
    > thanks
    > Ingo

  • Who Make a connection from WebDynpro to SAP R/3

    Hi All
        Pls...Can any one explain me the settings for making connection
        From WebDynopro to SAP R/3 ???
    Regards
    Prasad K

    Hi
    Go thru the links,
    Web Dynpro - Problem with (SLD) JCO Connection
    JCO , Web Dynpro & SLD connection
    and for details read,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3103eb90-0201-0010-71af-be6f4a6f61d1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    Regards
    Srinivasan T

  • BI setup: WebAS ABAP Setting - Java to ABAP communication problem

    Hello,
    i've got a problem during intallation of BI in Netweaver 2004s. The Diagnostics & Support Desktop Tool reports errors in WebAS ABAP Settings. These errors are:
    - "Web Template Validation failed due Java to ABAP communication problem (return code:ERSBOLAP018)"  with the suggested solution "Check Connector Connection of System Object in Portal System Landscape". What does it mean?
    - "Call ABAP->Java for function RSWR_RFC_SERVICE_TEST failed for destination <destination>" and "Call ABAP->Java for function RSRD_MAP_TO_PORTAL_USERS failed for destination <destination>" with suggested solution "Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway." Run of transaction SM59 returns no errors.
    Further i've take a look in the log 'dev_jrfc.trc' and there i found the errors:
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSRD_MAP_TO_PORTAL_USERS not found on host <host>
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_RFC_SERVICE_TEST not found on host  <host>
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_PREEXECUTION_PROXY not found on host  <host>
    Can these errors be the cause of the WebAS ABAP Setting error displayed in the Diagnostics & Support Desktop Tool? How they can be solved?
    Thanks for your help,
    Martin

    Hello Chetan,
    thanks for your response. Maybe i've described my problem not clear enough. There is no problem of installation and usage of support & dektop tool, but of installation of BI. The support & dektop tool indicates the errors described above with no other hints. My questions is, if anybody knows, what is the cause of the errors and what i must do, to install BI correctly.
    Cheers,
    Martin

  • Connection to database in sap crystal reports enterprise xi 4.0

    Hi,
    When we are trying to connect to database in sap crystal reports enterprise xi 4.0 ,i am geting the below error.please advise.
    Error:
    Failed to establish a connection.The cause was:
    Connot connect to SAP BussinessObjects Enterprise at this time.Please try again later.

    Thanks for your quick response Henry....
    I checked all this things and all are working fine.
    Now I am able to connect to BOE server.
    The cause behind the issue was in "CMC > Applications > Web
    Service > Access URL:"  the URL was having different server name which we have changed earliar, I just correct the URL and issue got resolved.
    But now when I am trying to access BOE Server through Crystal Reports for Enterprise 4.0 client tool directly not from launch pad, it probes me the same error. (Note: I used the same parameters which i got from launch pad token to this)
    Is that a only way to use Crystal Reports for Enterprise 4.0 from launch pad ??

  • This Server has no web connection defined- Problem by publishing a web repo

    Hello.
    My problem is that when I create a query in the Bex and want to publish it on the web I get the error message:
    This Server has no web connection defined.
    When I enter the Url of a template directly in my browser it works.
    Where do I have to define the web connection in the system - because I search now nearly 6 hours to get it to work.
    Rgards
    Tim

    You'll need to add the icm/server_port_0 instance parameter using RZ10 as it probably does not have the port and protocol defined.  SAP needs to be restarted to pick up the change.  You would then need to start transaction SICF and select the services under BW, right-click and then select Activate.  There are OSS notes on this as well, maybe search for SICF.  Transaction SMICM can be used to verify that the services are running.

  • External Web Service setting for Supplier Registration ROS to EBP

    Dear guys,
    We are working on Supplier registration scenario where potential supplier are accepted in ROS client and then transferred to EBP via Suppliers Directory.
    For this we have defined External Web Service in both clients ROS and EBP
    Can anyone tell me what are the Parameters and setting required to define External Web Service?
    We have created New Web Service with following parameters in both the clients ROS and EBP.
    Web Service ID                     : ROS
    Description                          : Suppliers Directory in ROS Client
    Bus. Type of Web Service               : Lost of Vendors
    Display Partners Data Again in Vendor List      : X
    Vendor Root Node                     : 50000620
    Use Error Log                         : X
    Use HTTP GET to call Web Service          : <blank>
    Codepage of Service                    : <blank>
    Technical Type of Service               : <blank>
    Logical system                    : SRDCLNT300 (EBP Logical system)
    Path for Symbol for Service               : <blank>
    Define Standard Call Structure with following Parameters
    1        <blank>     http://erpdevsrci.egat.co.th:8010/sap/bc/bsp/sap/ros_prescreen/main.do
              URL
    2        HOOK_URL      <blank>     Return URL
    Please correct us.
    With this setting system does display the Suppliers Directory option in Supplier Screening (Suppliers Directory in ROS Client), however after selecting suppliers directory instead of listing the accepted supplier to transfer to EBP, system displays the same suppliers Prescreen again with no option to transfer accepted supplier to EBP client.
    I think I have not set the External Web services setting properly ..
    So can anyone send me the correct web service parameter setting?
    Regards,
    Sandeep parab

    Ramki/disha,
    I have defined following setting in external web services in EBP client
    Web Service ID    : ROS
    Description: External Web Service in EBP
    Bus Type of a Web service : List of Vendors
    Display Partner Data again in Vendor List : X
    Vendor Root Node : 50000620  (this is Vensor Root node in EBP client)
    Use Error Log : X
    Use HTTP GET to call Web Service : <blank>
    Codepage of Service: <blank>
    Techinical type of Service : <Blank>
    Logical system : SRDCLNT310 (this is ROs client from there supplier will be transfered)
    Path for symbol for service : <blank>
    Standard Call Structure Parameter setting as follows
    1. <blank> http://....ros_prescreen/main.do  URL
    2. sap-client 310 fixed_value
    3. sap-username dineshp fixed_value
    4. sap-password GAJANAN fixed_value
    5. HOOK_URL <blank> Return_URL
    6. ~OkCode ADDI fixed_value
    7. ~target top fixedvalue
    8. ~caller CTLG fixed_value
    Also defined ROS external web service as default CAT attribute in the organization setting.
    Maintained ROS client in SAP_BBP_STAL_STRAT_PURCHASER role.
    Created New Users in ROS as well as EBP and tried the scenario. still it failed to transfer the supplier from Ros to EBP.
    Where can we debug the error message?
    Regards,
    Sandeep

  • WebI report without universe in SAP BO BI4.0????

    Hi is it possible to create webI report without universe in SAP BO BI4.0???
    If possible please let me know briefly how to do it, 4.0 is something new and I can't figure whether it is possible and if it is possible is it good practice to go without universe or with universe?

    you can create webi report directly against BICS connection or against personal data providers (using Desktop client )
    you can find ore details in WebIntelligence user guide at http://help.sap.com/businessobjects

  • Re: Web Connection Timeout

    I have a Nokia C6-01 and I have a problem when I connect to WLAN at my office. It establishes connection, but when I start browsing it hangs and I get an error message "Web: Connection time-out". 
    When I try connecting the same in some other phone, it works perfect. It connects to WLAN and the firewall setting appears and when the username and password is provided, it works just fine.  
    Could someone help me out to sort out this issue

    You better check with your company IT department on permissions.
    ‡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

  • WRT54GL not allowing Remote Desktop Web Connection

    Im currently using a WRT54GL in a network with just two computer. Computer A is using a wired connection and Computer B is wireless with a Linksys adapter. Public IP address from ISP is a static IP address and all is setup in the router allowing both computers internet access with no problems. Both computers are setup with static IP. Computer A is 192.168.1.101. Computer B is 192.168.1.103. Both computers are installed with Internet Information Services.
    1) Setting Up The Two Computers: I setup Computer A for port 50001, ie. I opened Control Panel, clicked Performance & Maint., Clicked Admin Tools, Double clicked IIS. Expanded Websites, right clicked Default Website and clicked on Properties. On the Website tab, I changed the value of the TCP port to the one above, 50001. I Opened the Properties Window of My Computer and clicked to the Remote tab. I placed a green Check into where it states, [Allow users to connect remotely to this computer]. On side note, I have admin rights to the computer so I  did not click to [Select Remote Users]. I then accessed the Windows Firewall Settings, In the Exception Tab, I have Remote Desktop with a Check - Set with TCP 3389. I also added new port - game it Name: Remote Access, Port:50001. Settings were all saved. (I did all the same exact steps for Computer B, but the only difference is I used for 50002 instead)
    2) Setting up the router: I access the router configuration with IP 192.168.1.1 Clicked to the Applications and Gaming. Selected [Port Range Forward]. Below where it tells to enter the ports and name for each port I entered for the first port. Application: FM-HS01, Start and End Ports: 50001 to 50001, Protocol: TCP, IP Address: 192.168.1.101, Enabled: {checked}. I again setup another below that for Computer B. FM-HS02, 50002 to 50002, TCP, 192.168.1.103, Enabled: {Checked}. I then clicked to Port Triggering screen. Under Application: [Remote Access], Trigger Range Start - End: [50001 to 50002], Forwarded Range Start - End: [3389 to 3389], Enabled [Checked]
    Under the Security Tab for Firewall - I unchecked {Block Anonymous Internet Requests}, but have {Filter Multicast}, {Filter Internet NAT Redirection} , {Filter IDENT(Port 113)} all checked.
    I also enabled remote access to router using default port 8080.
    By using the ISP Static IP: ie http://64.193.93.46:8080/, I am able to access the router config page no problems. Problem is trying to access each Computer A and B. For Example: in IE address bar, I entered http://64.193.93.46:50001/ I get page stating Under Construction. Now if I try http://64.193.93.46:50001/tsweb/ I actually get the Microsoft Windows Remote Desktop Web Connection screen stating to enter Server __________ Size: and Connection Button. I enter the Computer Name for Computer A: FM-HS01, Choose the appropriate size and clicked connect. Page loads then all I see is an outline of a box where I assume the remote computer's screen should show. A message appears after trying to load stating: "
    Remote Desktop can’t find the computer “FM-HS01”. This might mean that “FM-HS01” does not belong to the specified network. Verify the computer name and domain that you are trying to connect to."
    This is where I have been ending up at. I have not able to get pass this part. Any Help Please??? I am not sure is there are other ports I would need to open along with the ones I have specified above. On another side note, my Antivirus software for both computers are CA eTrust AntiVirus which I have also configured for both computers.

    Just change the ports to what ever you think of and be sure to make the right single port forwards (if you put comp A to 50001, make *.*.*.101:50001 forward and so on). Just be sure you are not running anything else on the same port, on the same computer (for excample the IIS terminal server client application). And from outside you just connect the remote desktop client to your external iport_number ie use the comp_ip:50001 for comp A in the client program connection window (not http:// in browser).
    - who stole my beer? -

  • This server has no web connection defined

    Hello all, I am a new member to this board. I am in direr need for some assistance. I have recently installed a BW server 3.1 and upon trying to launching reports via the web browser I am encountering this error, “This server has no web connection defined”.
    Please, any feedback towards this issue will be really appreciated.
    Regards,
    Iqbal

    You'll need to add the icm/server_port_0 instance parameter using RZ10 as it probably does not have the port and protocol defined.  SAP needs to be restarted to pick up the change.  You would then need to start transaction SICF and select the services under BW, right-click and then select Activate.  There are OSS notes on this as well, maybe search for SICF.  Transaction SMICM can be used to verify that the services are running.

  • BI to Web connectivity: Query designer's query cannot display in IE

    Hi all,
    I have configured web connectivity and from SMICM if I type the URL in IE it prompts for user/password and connects to BI, however, from query designer if a query is published on web the URL will point towards standard sap.com at port 50100 and IE will display a broken link message.
    After a bit of research I discovered that httpplugin.dll is missing from /usr/sap/sys/exe and there is no folder under /exe where the httpplugin.dll is expected to be.
    Any suggestion, please.
    Thanks.

    Below is the URL that IE points to:
    http://portal-dmb.wdf.sap.corp:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?QUERY=EX4_TBW20&VARIABLE_SCREEN=X&DUMMY=1
    Thanks.

Maybe you are looking for

  • Connect to Oracle 8i from Forms 6

    I have installed Personal Oracle 8i and developper 6 in a NT. I got the error when tried to connect to the Oracle 8i from Form Builder. "could not resolve service name". I did enter the database name. Any ideas?

  • Lightroom and wide monitors

    Hi I just changed monitors and now have a widescreen LCD (a Samsung 215TW). However, images loaded in Lightroom (or Elements) appear too wide and changing width of the application doesn't help. Do I have to run LR in 4:3 mode? Jay

  • I'm unable to lock the toolbars so that disabled toolbars remain disabled. HELP!

    I want to be able to disable toolbars; enable as needed, e.g., Yahoo toolbar. However, every time I open Firefox in a new window, there are the toolbars I just disabled in a previous window. What am I doing wrong/not doing? I'm also not able to contr

  • Quicktime crashes when I attempt to play purchased videos

    I have recently purchased a few TV shows on iTunes. Just today, iTunes will no longer play these purchased videos: When I try to play an episode itunes either becomes unusable, or outright crashes. Quicktime also crashes when I try to use it to play

  • EM Grid control 10G installtion problem ........

    I m trying to install EM grid control 10G release 2, it prompt error on OMS configuration: Failed status INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stderr: INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Performing