Call to webservice External (non sap) system from SAP CRM

Hi,
I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate
Can you please tell me:
1. What settings/object needs to be maintained in SAP in order to make this call.
2. how I can make a call to this Web-Service from a BADI and pass the values to web service and also capture the returning value.
Please explain in detail
Thanks,
Mike

Hi,
Check this
Calling web service from ABAP - version 4.6C

Similar Messages

  • How to stop start SAP system from SAP transactions?

    Hi Experts,
    How can i stop start the SAP system from SAP screens? Are there any transaction for this  need?
    thanks,
    philaphi

    Hi,
    Use Tcode RZ03 -->  Control --> Stop SAP Instance.
    Best Regards,
    Sachin.

  • Call to Web Sevice in External (non SAP) system from SAP CRM

    Hi,
    I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate
    Can you please tell me:
    1. What settings/object needs to be maintained in SAP in order to make this call.
    2. how I can make a call to this Web-Service from a BADI and pass the values to web service and also capture the returning value.
    Please explain in detail
    Thanks,
    Mike

    Hi Oliver,
    I have gone through the documentation and had been able to create a proxy object, uploaded the WSDL file (from local directory) and created logical port,
    However, when testing the service, I didn't received a sucess message but
    <CX_AI_SYSTEM_FAULT>
      <CODECONTEXT>Local</CODECONTEXT>
      <CODE>ERROR_WEBSERVICE_RUNTIME_INIT</CODE>
      <ERRORTEXT>Error when instantiating the Web service runtime (Error when initializing SOAP client application: ' error_text' )</ERRORTEXT>
      <LANGUAGE />
      </CX_AI_SYSTEM_FAULT>
      </cls:CX_AI_SYSTEM_FAULT>
    What might be the Problem ?

  • DBACOCKPIT Connection for SAP systems with SAP Router

    Hello!
    We are trying to integrate all the remote SAP systems and their databases (primarily Oracle) into DBACOCKPIT of SAP Solution Manager 7.1.
    Our SAP Solution Manager is running on Windows with Oracle 11.2.0.2
    The most SAP systems (Unix and Windows) can only be reached from SAP Solution Manger over the SAP Router connection.
    It means no direct ping from Solution Manager server to the Server of managed system will work.
    Question
    Is it possible to integrate such SAP systems (with SAP Router) into DBACOCKPIT of Solution Manager?
    According to sap note 1265134 only the DBCON-connection will be required.
    By doing so (tcode SOLMAN_SETUP), we get TNS errors.
    Do we miss some additional steps (adapting tnsnames.ora of SOLMAN with the entry of managed system), etc.?
    Thank you!
    regards

    SAP-SDN wrote:
    > We of course can reach these systems via SM59.
    >
    > The question still is whether or not the several SAP systems with Oracle that can be reached from Solution Manager over SAP Router can be integrated into DBACOCKPIT of SAP Solution Manager in order to gather/ analyze performance data?
    Systems can be reached via SM59, then what's the problem ?
    In fact, this 'is' the standard procedure. This is as normal as you could have Solution manager in same 'network' with rest of the remote systems.
    Answer should be yes, you can manage several remote sap systems from sap solution manager dbacockpit.
    Thanks

  • Call to Web Sevice in external system from SAP CRM

    Hi,
    I have to make a call to External system from SAP CRM 5.0 system. The external system will provide a sample webservice which SAP will try to initiate
    Can you please tell me:
    1. What settings/object needs to be maintained in SAP in order to make this call.
    2. how I can make a call to this Web-Service from a BADI and pass the values to web service and also capture the returning value.
    Please explain in detail
    Thanks,
    Mike

    Mike,
    You should honestly search the SDN site for consuming web services with ABAP.  There are some good examples.
    However the general procedure is easy:
    1.  Generate an ABAP proxy using the WSDL provided to you by the external program
    2.  Configure an HTTP destination for the server of the web services (needed for HTTPS calls)
    3.  Configure the logical port for the web service using lpconfig
    4.  Write the abap code to call the webservice via the proxy.  Works very similar to FM call in my opinion.
    To expose a webservice(bapi being called from outside) you need to do a little more work
    1.  Create a web services for the RFC enabled function module via SE80
    2.  Use wsadmin and wsconfig to make the service available
    3.  Publish the service out to the UDDI as needed.
    Once again this code is pretty well documented in the standard help and SDN.  Do a simple search on ABAP proxies and you will find what you need.
    Take care,
    Stephen

  • Uploading data from non sap system to sap system

    hi to all experts,
    my requirement is to upload data into the sap system from non sap system . the data is in  a flat file ,but the problem is that  in the flat file all the field lengths and fields are not in order or same as sap system. How to upload the data into sap system ....

    hi,
    the data is in a flat file,but the problem is that in the flat file all the field lengths and fields are not in order or same as sap system.
    If the data is in excel sheet use this FM.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_FILE
          I_BEGIN_COL                   = 1
          I_BEGIN_ROW                   = 1
          I_END_COL                     = 17
          I_END_ROW                     = 3000
        TABLES
          INTERN                        = itab
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
    It will read the data from excel sheet column wise and then store it in ITAB. you can change the order after reading the file.
    In case of Text file use FM  GUI_UPLOAD.
    You can change the order of the fileds after reading it from file, but the length and all you have to make compatible to SAP standard fields.
    Regards,
    Sachin

  • Fm for calling save dialouge box to save file in a system from sap

    fm for calling save dialouge box to save file in a system from sap
    Step by step of its usage pls,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    hi
    FM is
    <b>POPUP_TO_DECIDE_LIST</b>
    USAGE:
    CASE r_ucomm.
    WHEN 'SAVE'.
    DATA: l_answer." no need to specify type
    DATA: t_spopli LIKE spopli OCCURS 0 WITH HEADER LINE.
    t_spopli-varoption = 'PDF'.
    APPEND t_spopli.
    t_spopli-varoption = 'EXCEL'.
    APPEND t_spopli .
    CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
             EXPORTING
    *          CURSORLINE               = 1
    *          MARK_FLAG                = ' '
    *          MARK_MAX                 = 1
    *          START_COL                = 0
    *          START_ROW                = 0
               textline1                = 'SELECT THE FORMAT OF THE OUTPUT'
    *          TEXTLINE2                = ' '
    *          TEXTLINE3                = ' '
               titel                    = 'SAVE AS'
    *          DISPLAY_ONLY             = ' '
            IMPORTING
              ANSWER                   =  l_answer
             tables
               t_spopli                 = t_spopli
            EXCEPTIONS
              NOT_ENOUGH_ANSWERS       = 1
              TOO_MUCH_ANSWERS         = 2
              TOO_MUCH_MARKS           = 3
              OTHERS                   = 4  .
           IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    IF l_answer = '2'.
    CALL FUNCTION 'GUI_DOWNLOAD'
    endif.
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Calling Non SAP programe from SAP program

    Hi Experts...
    Can we cal Non SAP programs Like Windows EXE programs from ABAP programs ?
    If yes Then How .....
    Regards ...
    ..Ashish

    Hi Ashish ,
    Ya we can call a non SAP program from SAP program.
    For example we can call a EXE program from the SAP program using the RFC connection created in SM59.
    In Sm 59 you can create a TCP/IP connection and give the path of the executable there.

  • Bulk Load into SAP system from external application

    Hi,
    Is there a way to perform a bulk load of data into a SAP system from an external application?
    Thanks
    Simon

    Hello,
    My external application is a C program and I think I want to use IDocs and RFC to communicate with the SAP system.
    Simon

  • How to call an EXE file on a remote system from SAP system?

    Hi Friends,
    I want to execute an EXE file existing on the remote system from SAP system. Could some one give me an idea of how to execute that?
    Thanx in advance,
    Ram

    Hi Ram,
    Try this
    SXPG_COMMAND_EXECUTE
    Reward if this helps,
    Satish

  • Launch a RFC in a SAP system from Redwood CPS

    Hi,
    How can I launch a rfc in a SAP system from Redwood ?
    Ex : in SE37, the function DATE_GET_WEEK, with a date (DD.MM.YYYY) as input parameter returns the corresponding week (YYYYWW)
    Regards.

    Hi,
    SAP CPS uses an RFC to communicate with a target SAP system via the XBP interface so that Jobs can be executed.  The CPS executable only knows of the calls that are appropriate to that interface or function modules created when CPS transports are loaded.  If there was an RFC type interface that exposed your function to an external executable then of course CPS could execute the executable.
    Regards,
    Simon

  • How to implement SSO to non-SAP systems using SAP logon ticket?

    Hello,
    We would like to implement Single Sign On between our SAP Netweaver system and a Siebel which is a non-SAP system using SAP logon tickets.
    Can anyone please give me some leads on this, in particular:
    1. Is there a JAVA API or an SAP plug-in that can be implemented on the Siebel machine to extract the SAP logon ticket?
    2. As the other machine might seat on a complete different domain, is it possible to implement SAP logon ticket without using cookies (perhaps through the HTTP header?
    3. In case you think using SAP logon tickets is not the best solution here I would be happy to hear any other suggestions you might have.
    Roy

    Hi,
    I'm currently using SAML as well. Unfortunately the SAP J2EE cannot work as authority (identity provider) but what you can do is using an open implementation of SAML such as opensso which is an open version of SUNs Java System access manager.
    There are a couple of other projects such as opensaml, apache's wss4j or shibboleth that might be interesting in this context.
    I just installed opensso and got it working with SAP J2EE 7.0 using SAPs JAAS SAMLLoginModule to authenticate users within SAP J2EE.
    In this scenario opensso serves as identity provider just as you need! There are a couple of Policy agents available on SUNs Download site you can use with Apache, Tomcat, JBOSS, WebSphere, Bea Web Logic etc. in order to authenticate! Otherwise you just directly authenticate against opensso. When installing opensso you can configure the type of user store you want  to use! By default it uses LDAP but you can also use different types of user store using JDBC or other mechanisms. Since you have a Directory Service you could easily connect it to your existing directory.
    There is also a way to map user ids directly in opensso by adding a uid mapping class. I created some documentation with lots of screenshots about using opensso with SAP J2EE. You can easily use opensso with any other system that supports SAML. In the case of SAP the usage is currently limited to SAML versions 1.0 and 1.1. Version 2.0 is not yet supported but should be in one of the following versions.
    Here are some links you might want to check:
    OpenSAML: https://spaces.internet2.edu/display/OpenSAML/Home
    wss4j: http://ws.apache.org/wss4j/
    shibboleth: http://shibboleth.internet2.edu/
    opensso: https://opensso.dev.java.net/
    On SDN you will find a documentation on how to connect SUN Java System Access Manager to SAP J2EE (see https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/906d9fc6-31b9-2910-1385-90edad7d7570). As I said opensso is based on the SUN Access Manager code and looks quite the same. So you can adapt this documentation in order to configure opensso or you can just ask me for the documentation.
    Hope this is helpful...
    Let me know if you need further assistance on this topic
    Cheers

  • Getting error while try to open SAP system from GUI

    Hi All,
    When I try to open any SAP system from GUI I am getting below dump error message. Please suggest on this.
    Thanks  & Regards
    Surender

    Hi Surender,
    Is it a general user issue or are you the only user facing that issue ? Does the error occur right after you enter user/password ?
    From the GUI session status bar, I see " Memory Low. leave the transaction before taking a break".
    This looks like a improper memory configured system. I would suggest that you review your memory parameters as per the SAP note 146289.
    If you already have the memory parameters set to at least the values suggested by that note, please further increase the parameters below:
        abap/heap_area_total
        abap/heap_area_dia
    Hope that helps.
    Kind regards,
    Eric

  • Starting sap-system from MS-DOS without SAP Management Console?

    Hi,
    I want to start the sap-system from MS-DOS without using SAP Management Console.
    Is this possible?
    Which file must be started?
    Thanks for your help.
    Regards
    Stefan

    Hi Stefan!
    Try this:
    startsap name=<SID> nr=<InstNo> SAPDIAHOST=<host>
    Regards,
    Carsten

  • RFC connection between two SAP systems (with SAP router)

    Hi!
    I would like to set up a RFC-connection from SAP Solution Manager to other SAP system.
    The network connection between the servers is VPN.
    How can I set up this RFC-connection, if my connection between two SAP systems looks as follows,
    (I use the following SAP routers)?
    my server  --> customer
    my server --> internal SAP Router server xy (10.101....) --> SAP Router customer 2 (10.1....) --> SAP System customer (134....)
    Back-way
    SAP Systeme customer --> SAP Router customer (134.1....) --> internal SAP router (212.6....) --> my server
    How can I set up this RFC-connection, if my connection between two SAP systems looks as follows,
    (I use the following SAP routers)?
    something like:
    /H/10.101..../S/sapdp99/H/10.1.4..../S/sapdp99/H/134...
    Thank you very much!
    regards
    Thom

    Same answer as in the other forum where you cross posted....

Maybe you are looking for

  • Problem with Java Stack- dev_w2 log mentioned.

    Hi everyone, I have a problem with Java Stack, I could not connect to XI home page, I am unable to login to j2ee engine using visual Administrator. Please go through the log below. And help me out to resolve this issue and let me know what could be t

  • Battery power and redundant shutdown while syncing

    This is mostly a suggestion for the folks at apple, but it seems that you can't just E-mail them these days. When an iPod's battery is low and you plug it in to sync, often times it gets partially through the syncing process and then decides that it

  • What is directory where I can put in jar file without specify classpath ?

    hi, Is there any directory in weblogic similar to the directory of WEB-INF/lib/ where I can throw a jar file in without specify classpath explicitly. The reason I'm looking for such directory is : -- I do not want to specify classpath explicitly -- I

  • Note 403102 - Offset takes non-working time of resource into account

    Hello Friends, I have implemented the OSS notes 403102 for considering the offset value without considerding the non working time of the resource in APO system. but as i have implemented the sample code given there(copy & Paste) the functionality see

  • "This disc cannot be used because it is not recognized" Error

    For about the last month I have not been able to burn any cd's. I have just upgraded to Leopard and that still didn't fix anything. I can read cd's but when I put in a cd-r disc to burn, the error "This disc cannot be used because it is not recognize