Calling a Bapi on XI ABAP stack

Hi to all,
I have to call a Bapi defined on XI ABAP stack. I want to use a synchronous scenario in which my sender channel uses a File Adapter. The Bapi that I have to call is defined on the same SAP XI, then I don't know if my receiver channel has to use a RFC Adapter or an XI Adapter. If I use a RFC Adapter, I don't see any message in Message Monitoring. Instead, if I use the XI Adapter as Receiver, I get this error:
HTTP response contains status code 401 with the description Unauthorized Error when sending by HTTP (error code: 401, error text: Unauthorized)
Thanks to all!

<i>I don't know if my receiver channel has to use a RFC Adapter or an XI Adapter</i>
No XI Adapter configuration required. Use RFC adapter
<i>
I want to use a synchronous scenario</i>
Synchronous scenario using file adapter can be achieved using BPM. A workaround would be
File - RFC - File without a BPM - Possible from SP 19.
Regards,
Prateek

Similar Messages

  • RFC call from XI ABAP stack to XI

    Hi All,
    I have a RFC in the XI ABAP stack. When I created an RFC connection (TCP/IP) connection on the XI ABAP stack through SM59, and tried test connection, it is not working. Am I doing something wrong here? If I am trying to call XI JAVA stack from XI ABAP stack do I need to use an RFC adapter or is there any other way of calling the XI JAVA stack?
    Thanks,
    Geetha
    Edited by: Geetha on Feb 5, 2008 12:18 PM

    XI ABAP Stack and JAVA Stack are connected using the JCO connections, if you want to call the RFC in the ABAP stack of XI using the RFC adapter which sits on the JAVA stack
    1. whats the purpose of creating the RFC on the XI ABAP Stack, is it a business stack?
    2. the created RFC destination in the XI ABAP stack should work if it is properly created...check the SAPHostname, gateway information? and also the registred program id.
    3. use the same registred progrram iD in the RFC sender adapter and actiavte it then it will work.....

  • How to put the message in sxi_monitor when call a bapi

    hi experts,
    I call a bapi in my abap program, and I want to put some information of this program into the xml messages,then I can monitor in future, but I don't know how to do this.
    Thanks.

    I'm still waiting for the answer.  anyone will help me?
    thanks.

  • Calling a web service In Netweaver 7.0 abap stack through an external alias

    Hello,
    In CRM 2007 (Netweaver 7.0 abap stack SP 16), we have defined a web service from a module function using the wizard and configuring it with SOAMANAGER.
    This web service works great when calling it with the "official" URL, something like :
    http://host.domain:port/sap/bc/srt/rfc/sap/zwebservice/client/zoperation/zbinding
    We would like to use a more simple URL. So with SICF, I have created an external alias /zwebservice which points to the "official" URL.
    The problem is that it does not work. I get every time an HTTP 500 error code and an error Message
    u201CThe configuration of the http server is missingu201D.
    Do you think that it is possible to call a web service through an external alias ?
    Thanks in advance for any ideas or solution !
    Olivier

    Seems that no one has tried it...
    I close the question.

  • RFC call to other ABAP stack

    Hi Experts,
    I created a custom RFC function in ABAP stack of different client.
    Created port destination from current client to different ABAP client.
    How can i call the cusotm RFC in current client?
    I need data from other client to current system....
    Thanks
    Giri

    ok for more detail:
    1. Client 800
    created RFC Z_TEST
    2. Client 810
    Created TCP/IP port destination for 810 to 800
    Created report:
    Report ZTEST.
    CALL FUNCTION ' Z_TEST' DESTINATION 'RFCTEST'.
    I am getting above error.
    I need some data which is in 800 to 810 client.
    what is the way to do it?
    Giri

  • How to call BAPI in a ABAP prog

    Hi All
    I have a concern regarding the usuage of BAPI in the ABAP program.
    i have successfully created a BAPI and i have implemented a method as well using ADD API Method button.
    Now after doin all the things in SWO1.
    I wanted to know how to call this BAPI method in se38.
    CAn anyone throw some light on this ?
    Regards
    Gaurav

    Hi,
    try this
    *& Report ZKAR_MATMAS_BAPI
    *& This program demonstrates how easy it is to create Material master
    *& data using BAPI_MATERIAL_SAVEDATA
    *& The program also generates a report post-execution displaying errors
    *& as well as successful uploads
    REPORT ZKAR_MATMAS_BAPI.
    * TABLES
    * FLAGS *
    DATA: F_STOP. " Flag used to stop processing
    * DATA DECLARATIONS *
    DATA : V_EMPTY TYPE I, " No. of empty records
    V_TOTAL TYPE I. " Total no. of records.
    * STRUCTURES & INTERNAL TABLES
    *BAPI structures
    DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
    BAPI_MAKT LIKE BAPI_MAKT, " Material Description
    BAPI_MARA1 LIKE BAPI_MARA, " Client Data
    BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
    BAPI_MARC1 LIKE BAPI_MARC, " Plant View
    BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
    BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
    BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
    BAPI_RETURN LIKE BAPIRET2. " Return Parameter
    *--- Internal table to hold excel file data
    DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    *--- Internal table to hold Matetrial descriptions
    DATA: BEGIN OF IT_MAKT OCCURS 100.
            INCLUDE STRUCTURE BAPI_MAKT.
    DATA: END OF IT_MAKT.
    *--- Internal to hold the records in the text file
    DATA : BEGIN OF IT_DATA OCCURS 100,
                WERKS(4), " Plant
                MTART(4), " Material type
                MATNR(18), " Material number
                MATKL(9) , " Material group
                MBRSH(1), " Industry sector
                MEINS(3), " Base unit of measure
                GEWEI(3), " Weight Unit
                SPART(2), " Division
                EKGRP(3), " Purchasing group
                VPRSV(1), " Price control indicator
                STPRS(12), " Standard price
                PEINH(3), " Price unit
                SPRAS(2), " Language key
                MAKTX(40), " Material description
                END OF IT_DATA.
    * SELECTION SCREEN. *
    SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
    PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT " Input File
    'C:\Material_master.XLS'.
    PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'. " no.of recs in a session
    PARAMETERS: P_HEADER TYPE I DEFAULT 0. " Header Lines
    PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
    P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
    P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
    P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
    SELECTION-SCREEN END OF BLOCK SCR1.
    * AT SELECTION-SCREEN *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    *--- Validating file
      PERFORM VALIDATE_FILE USING P_FILE.
    * START-OF-SELECTION
    START-OF-SELECTION.
    *--- Perform to convert the Excel data into an internal table
      PERFORM CONVERT_XLS_ITAB.
      IF NOT IT_DATA[] IS INITIAL.
    *--- Perform to delete Header lines
        PERFORM DELETE_HEADER_EMPTY_RECS.
      ENDIF.
    * END OF SELECTION. *
    END-OF-SELECTION.
    *--- Perform to upload Material Master data
      PERFORM UPLOAD_MATMAS.
    * Form : validate_input_file
    * Description : To provide F4 help for file if read from PC
    FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        CHANGING
          FILE_NAME     = F_FILE
        EXCEPTIONS
          MASK_TOO_LONG = 1
          OTHERS        = 2.
      IF SY-SUBRC <> 0.
        MESSAGE S010(ZLKPL_MSGCLASS). " 'Error in getting filename'.
      ENDIF.
    ENDFORM. " validate_input_file
    *& Form CONVER_XLS_ITAB
    * text
    FORM CONVERT_XLS_ITAB.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME    = P_FILE
          I_BEGIN_COL = P_BEGCOL
          I_BEGIN_ROW = P_BEGROW
          I_END_COL   = P_ENDCOL
          I_END_ROW   = P_ENDROW
        TABLES
          INTERN      = IT_INTERN.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *--- Perform to move the data into an internal data
      PERFORM MOVE_DATA.
    ENDFORM. " CONVERT_XLS_ITAB
    *& Form MOVE_DATA
    * text
    FORM MOVE_DATA.
      DATA : LV_INDEX TYPE I.
      FIELD-SYMBOLS <FS>.
    *--- Sorting the internal table
      SORT IT_INTERN BY ROW COL.
      CLEAR IT_INTERN.
      LOOP AT IT_INTERN.
        MOVE IT_INTERN-COL TO LV_INDEX.
    *--- Assigning the each record to an internal table row
        ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
    *--- Asigning the field value to a field symbol
        MOVE IT_INTERN-VALUE TO <FS>.
        AT END OF ROW.
          APPEND IT_DATA.
          CLEAR IT_DATA.
        ENDAT.
      ENDLOOP.
    ENDFORM. " MOVE_DATA
    *& Form DELETE_HEADER_EMPTY_RECS
    * To delete the Header and empty records
    FORM DELETE_HEADER_EMPTY_RECS.
      DATA: LV_TABIX LIKE SY-TABIX.
      IF NOT P_HEADER IS INITIAL.
        LOOP AT IT_DATA.
          IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
            DELETE IT_DATA FROM 1 TO P_HEADER.
    * P_HEADER = 0.
            EXIT.
          ENDIF.
        ENDLOOP.
      ENDIF.
      CLEAR IT_DATA.
    *--- To delete the empty lines from internal table
      LOOP AT IT_DATA.
        LV_TABIX = SY-TABIX.
        IF IT_DATA IS INITIAL.
          V_EMPTY = V_EMPTY + 1.
          DELETE IT_DATA INDEX LV_TABIX..
        ENDIF.
      ENDLOOP.
      CLEAR IT_DATA.
    *--- Total no of recs in file
      DESCRIBE TABLE IT_DATA LINES V_TOTAL.
      IF V_TOTAL = 0.
        MESSAGE I013(ZLKPL_MSGCLASS). " No records in the file
        F_STOP = 'X'.
        STOP.
      ENDIF.
    ENDFORM. " DELETE_HEADER_EMPTY_RECS
    *& Form UPLOAD_MATMAS
    * to upload Material Master data
    FORM UPLOAD_MATMAS .
      LOOP AT IT_DATA.
    * Header
        UNPACK IT_DATA-MATNR TO IT_DATA-MATNR.
        BAPI_HEAD-MATERIAL = IT_DATA-MATNR.
        BAPI_HEAD-IND_SECTOR = IT_DATA-MBRSH.
        BAPI_HEAD-MATL_TYPE = IT_DATA-MTART.
        BAPI_HEAD-BASIC_VIEW = 'X'.
        BAPI_HEAD-PURCHASE_VIEW = 'X'.
        BAPI_HEAD-ACCOUNT_VIEW = 'X'.
    * Material Description
        REFRESH IT_MAKT.
        IT_MAKT-LANGU = IT_DATA-SPRAS.
        IT_MAKT-MATL_DESC = IT_DATA-MAKTX.
        APPEND IT_MAKT.
    * Client Data - Basic
        BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
        BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
        BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
        BAPI_MARA1-DIVISION = IT_DATA-SPART.
        BAPI_MARAX-MATL_GROUP = 'X'.
        BAPI_MARAX-BASE_UOM = 'X'.
        BAPI_MARAX-UNIT_OF_WT = 'X'.
        BAPI_MARAX-DIVISION = 'X'.
    * Plant - Purchasing
        BAPI_MARC1-PLANT = IT_DATA-WERKS.
        BAPI_MARC1-PUR_GROUP = IT_DATA-EKGRP.
        BAPI_MARCX-PLANT = IT_DATA-WERKS.
        BAPI_MARCX-PUR_GROUP = 'X'.
    * Accounting
        BAPI_MBEW1-VAL_AREA = IT_DATA-WERKS.
        BAPI_MBEW1-PRICE_CTRL = IT_DATA-VPRSV.
        BAPI_MBEW1-STD_PRICE = IT_DATA-STPRS.
        BAPI_MBEW1-PRICE_UNIT = IT_DATA-PEINH.
        BAPI_MBEWX-VAL_AREA = IT_DATA-WERKS.
        BAPI_MBEWX-PRICE_CTRL = 'X'.
        BAPI_MBEWX-STD_PRICE = 'X'.
        BAPI_MBEWX-PRICE_UNIT = 'X'.
    *--- BAPI to create material
        CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
        EXPORTING
        HEADDATA = BAPI_HEAD
        CLIENTDATA = BAPI_MARA1
        CLIENTDATAX = BAPI_MARAX
        PLANTDATA = BAPI_MARC1
        PLANTDATAX = BAPI_MARCX
    * FORECASTPARAMETERS =
    * FORECASTPARAMETERSX =
    * PLANNINGDATA =
    * PLANNINGDATAX =
    * STORAGELOCATIONDATA =
    * STORAGELOCATIONDATAX =
    * VALUATIONDATA = BAPI_MBEW1
    * VALUATIONDATAX = BAPI_MBEWX
    * WAREHOUSENUMBERDATA =
    * WAREHOUSENUMBERDATAX =
    * SALESDATA = BAPI_MVKE1
    * SALESDATAX = BAPI_MVKEX
    * STORAGETYPEDATA =
    * STORAGETYPEDATAX =
        IMPORTING
        RETURN = BAPI_RETURN
        TABLES
        MATERIALDESCRIPTION = IT_MAKT
    * UNITSOFMEASURE =
    * UNITSOFMEASUREX =
    * INTERNATIONALARTNOS =
    * MATERIALLONGTEXT =
    * TAXCLASSIFICATIONS =
    * RETURNMESSAGES =
    * PRTDATA =
    * PRTDATAX =
    * EXTENSIONIN =
    * EXTENSIONINX =
        IF BAPI_RETURN-TYPE = 'E'.
          WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,IT_DATA-MATNR.
        ELSEIF BAPI_RETURN-TYPE = 'S'.
          WRITE: 'Successfully created material' ,IT_DATA-MATNR.
        ENDIF.
      ENDLOOP.
    ENDFORM. " UPLOAD_MATMAS
    Regards,
    V.Balaji
    Reward if Usefull...

  • Call of an external web service out of the ABAP-Stack

    Hi experts,
    i have to implement a call of an external webservice out of the ABAP-stack. Directly from an ABAP-report, not using any PI/XI.
    The only thing the one implemented the service could give me was a description of the SOAP-call which should take place (see code below). So i should pass some data, call the function 'makeACall', and receive some data. But i have no idea how to use the calls of the include SOAPINCL. Is there any example showing the 'translation' of such a SOAP-message into an ABAP-stack-call?
    Thanks and regards
    Christian
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:XXX="urn:nsf">
    <SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" id="_0">
    <makeACall xmlns="urn:nsf">
         <in xsi:type="xsd:string">
              <BaseApp>
                        <Control>
                             <Plugin><![CDATA[]]></Plugin>
                             <Function><![CDATA[]]></Function>
                             <Configuration><![CDATA[]]></Configuration>
                             <ConfigurationName><![CDATA[]]></ConfigurationName>
                        </Control>
                   <Input>
                        <DetInput>
                             <CustomerData>
                                  <Record><![CDATA[]]></Record>
                                  <Record><![CDATA[]]></Record>
                             </CustomerData>
                             <otherData>
                                  <GroupId><![CDATA[]]></GroupId>
                             </otherData>
                        </DetInput>
                   </Input>
              </BaseApp>
         </in>
    </makeACall>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Hi,
    BAM has a set of default web services. You can implement your own web service call and populate the data object with corresponding codes. For instance, if you would want to monitor 2 web services, create a data object with two columns.
    This web service would run every minute and populate the data object columns with 1/0 depending on the state. You could create a chart from this data object to display the status of the web service.
    Please explore more into how to implement web services using BAM. BAM already has few of them and you need to add yours to this.
    Cheers,
    -AR

  • Calling two  BAPIs from single input field from Webdynro for ABAP

    Hi experts ,
    here i hve a small problem .
    i hve two BAPIs , both  having olly one import parameter and hving messages as the export parameters .
    so how i hve to call them , give the correct method .
    thanks in advance
    setu

    Refer to this thread
    How to call two Bapi with same inputfield in webdynpro application

  • How to get a dynamic receiver determination based on a table an SAP PI ABAP Stack

    Hello folks,
    currently I get stuck dealing with a problem about the receiver determination. Let me first describe the Problem: We are using to different SAP ERP- backend system in our test enviroment. But only of this systems is marked as current "actuall" test system. Every once in a while we need to switch between these two systems and mark the other one as the actual test system.
    This is the point were it get's a little bit time consuming for me: We have about 50 interfaces were I need to change the receiver from test system A to test system B or vice versa. So I thought about creating a more dynamic way to determine the actual test system:
    Therefore I have created a table on the ABAP stack of our PI (7.31 double stack) with just one field that holds the current test system. Now I would like to create a dynamic receiver determination where I call the RFC-function RFC_READ_TABLE. But how can I acess a table from the grapchical mapping of the pi which is stored on the PI?
    Is there mybe another fundamental way to retrieve the actuall test system within the mapping?

    You can go for enhanced receiver determination, where in you can determine the receiver system using a graphical mapping.
    Now in that graphical mapping, use the standard function " RFC Look up" and make a call to bapi and get the actual receiver system.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40b64ca6-b1e3-2b10-4c9b-c48234ccea35?QuickLink=index&…
    Step by Step guide to Explain Enhanced Receiver Determination - Application Server Infrastructure - SCN Wiki

  • Portal language refresh / reload (user data source ABAP stack)

    Hello,
    I'm on SAP NetWeaver Portal 7.0 with user data source on ABAP stack.
    I'm trying to create simple JavaScript links for changing the Portal language.
    I was able to change the ABAP stack user's logon language by BAPI call.
    But the newly set language shows up only after the user logs out and logs in again.
    I know that in the WebDynpro for Java, which implements the UME user interface, there is a functionality, that allows that relogging of the user is not necessary. After setting the language you only refresh the browser page (F5) and the new language shows up.
    Does anyone know what function I should call, for the language refresh (could be the same as in UME standard WDJ)?

    Hi Andres,
    language doesn't change on the Portal. The content remains in the previous language.
    I know that the switching of Logon language parameter in the user profile in ABAP stack and logoff and login on the portal leads to change of the language on the Portal. But I don't know, how to do it without the relogging of the user.
    I change the Logon language in ABAP by AJAX call of BAPI.
    Thank you for any idea.
    Jiri

  • Using BAPI's in ABAP code

    Hi bapi Guru's,
    I am asked to use bapi's(Instead of BDC's) for data upload .I am not getting good documentation on 'USING BAPI's IN ABAP',Like Defining structures, and what are the FM's to be called like bapi_commit.
    Any Info is Appriciated.
    Regards
    satish

    Sorry Satish,
    Maybe this is going off topic a little, bit perhaps also its relevant as you have been asked to move from BDC's to BAPIs.
    Juan,
    When I talk about debugging, there are two levels to this:
    <b>1. Debugging by the programmer</b>
    In this case, how can it be easier to debug an error from a BAPI than from the screen?  For a sales order, for example, when you enter a delivery date of 01.01.2000 for an item, via BDC you will get an error message as the item is entered (something along the lines of delivery date is in the past), and you will see exactly the date you have entered, and if you don't understand the error, you can click on F1 and it will give you the long description of the error.  Via a BAPI, you would get the error message, and you MIGHT get the item number and the date in question.  But if you don't understand the error what do you do then?  Debug the BAPI itself?  You could, but isn't this a rather lengthy way to get to the root of the problem?  In general, any errors you get calling BAPIs/BDCs are errors with your master data, or breaking business rules, you shouldn't have to debug standard code to tell you whats going wrong, the application can tell you.
    <b>2. Debugging by the end user</b>
    When you implement a BAPI/BDC this will be related to an interface/automated transaction etc.  When its in production you will occassionally get errors (due to bad master data, not fully capturing all the business logic in your custom coding [it happens], technical issues etc.)  What do you do then?  In the case of BDC you can do nothing.  The error is recorded, and you can get end users to process the errors by stepping through the screens (which they already know how to use) and make corrections as required.  In the case of BAPIs, you have to record the error in a table or a file, then develop some kind of interface to display the errors, then develop some kind of process for re-processing the errors.  If the data used to call the BAPI is not correct then you also need to provide a facility for changing the data before reprocessing.  Normally you do none of this because its too much work and you end up having all errors coming back to the SAP team who have to debug and change table entries etc. to get it all to work.  I would not say that this makes BAPIs easier to debug.
    Oops, just realised my pasta is burning!!!
    Anyway, think I got my point across.  Not personal but feel quite strongly about this topic.  To me BDC's are still a relevant tool despite the push for Idocs/BAPIs.
    Cheers,
    Brad

  • Issue in registering ABAP stack into SLD

    Hi all
    The issue is as shown below. I appreciate your help.
    Environment: SLD host-Windows Server 2003, Oracle 10g, WAS JAVA 640 SP19
    CRM ABAP+JAVA 640 host - unix, Oracle
    I was able to register CRM JAVA stack in SLD from Visual Administrator>SLD Data Supplier. The CIM Client Test was successfull.
    When i try to register the CRM ABAP stack from tcode RZ70, i get an error as below:
    SLD DS start program
        0: sapsrm_CRM_05                             : Execute program: SLDAPPL_SERV
        0: sapsrm_CRM_05                             : Execute program: SLDBCSYS
        0: sapsrm_CRM_05                             : Execute program: SLDCLIENT
        0: sapsrm_CRM_05                             : Execute program: SLDCOMPSYS
        0: sapsrm_CRM_05                             : Execute program: SLDDBSYS
        0: sapsrm_CRM_05                             : Execute program: SLDGWSRV
        0: sapsrm_CRM_05                             : Execute program: SLDINSTSC
        0: sapsrm_CRM_05                             : Execute program: SLDINSTSP
        0: sapsrm_CRM_05                             : Execute program: SLDIPSERV
        0: sapsrm_CRM_05                             : Execute program: SLDMSGSRV
        0: sapsrm_CRM_05                             : Execute program: SLDASSOC
        0: sapsrm_CRM_05                             : Collection of SLD data finished
        0: sapsrm_CRM_05                             : Data collected successfully
        0: sapsrm_CRM_05                             : RFC data prepared
        0: sapsrm_CRM_05                             : Used RFC destination: SLD_UC
        0: sapsrm_CRM_05                             : RFC call failed: / CPIC-CALL: 'ThSAPECMINIT' : cmRc=17 thRc=236#SAP gateway connection failed. Is SAP gateway started?
        0: sapsrm_CRM_05                             : Existing periodic jobs removed. Number: 1
        0: sapsrm_CRM_05                             : Program scheduled: 20080506 222324
        1: sapsrm_CRM_05                             : Event-controlled job already exists; scheduling not necessary
    I came to know from other forums in sdn that we need to install/configure separate gateway if the SLD is on a standalone JAVA engine.
    Also, in SM59 SLD_UC, SLD_NUC, SAPSLDAPI are failing with the same error of "RFC call failed: / CPIC-CALL: 'ThSAPECMINIT' : cmRc=17 thRc=236#SAP gateway connection failed. Is SAP gateway started?"
    Please suggest how to resolve this. Please let me know if you need more details.
    Thanks already
    Edited by: Rahul Paul Patchigondla on May 6, 2008 9:57 AM

    Rahul,
    as RK already stated: the SLD has to connect to an SAP gateway, such is running on an ABAP system.
    You may initially try to use the SAP gateway from the CRM ABAP stack. Therefore you will have to adjust the SLD to use that SAP gateway. On 6.40 SLD: Administration / Data supplier bridge / RFC gateway: Server (host name) and Service (combination of sapgw and instance number of CRM ABAP system).
    After that, in CRM SM59 SLD_UC, SLD_NUC, SAPSLDAPI will have to be adjusted accordingly.
    Regards, Boris

  • Whats the difference between ABAP stack, ABAP+Java stack and Java stack

    Hello,
    I have a nagging doubt about the difference between the ABAP stack, ABAP+Java stack & the Java only stack. I believe that the method of applying the kernel for all the 3 types is different.
    Also can we apply the ABAP support packs through JSPM.
    Please put some light on this.
    Thank you

    Hi Zaheer
    ABAP Stack
    AS ABAP is used to provide the ABAP foundation of SAP NetWeaver.
    Part of AS ABAP is the Search Engine Service (SES), which enables users to search for
    business objects using Search and Classification (TREX). SES accesses Search and
    Classification (TREX) functions through the Search and Classification (TREX) ABAP
    client. SES replicates the business objects from the ABAP application to Search and
    Classification (TREX), so that it can apply Search and Classification (TREX) search
    functions to them. When a user enters a search query, the Search and Classification
    (TREX) system responds to it, not the database for the ABAP application. For more
    information, see the document Installation Guide – SAP NetWeaver TREX Single Hosts /
    Multiple Host.
    Java stack
    AS Java is used to provide the Java foundation of SAP NetWeaver. Among the key
    capabilities of AS Java are:
    • J2EE Engine – a J2EE 1.3-compliant application server for running enterprise
    applications. In addition to the pure J2EE standard technologies, the J2EE
    Engine implements complementary technologies, such as Web Dynpro or Web
    Services, that are targeted at supporting large-scale, real-business application
    development projects.
    • SAP Composite Application Framework Core (CAF Core) is a service-oriented
    architecture for building and deploying composite applications. It enables
    modeling of different service types – entity services that represent a domain
    model, application services that implement business logic, and external
    services that offer connectivity to back-end services by means of remote
    function calls (RFCs) or Web services. Usage type AS Java comprises the CAF
    Core runtime environment, while design time tools are part of the SAP
    NetWeaver Developer Studio.
    • Web Dynpro is the user interface technology for developing professional
    business applications for mobile as well as for desktop clients. Web Dynpro
    applications can easily be integrated into SAP NetWeaver Enterprise Portal,
    providing a unified layout for the end user as well as enhanced navigation
    support. Web Dynpro also allows, for example, the development of interactive
    forms using the Adobe document services.
    • Adobe document services is a set of runtime services that provide a range of
    form and document creation and manipulation functions such as:
    • Converting XML form templates (created using Adobe LiveCycle Designer)
    to PDF and various print formats
    • Setting Adobe Reader rights to enable users to fill in and annotate forms,
    save and print them locally, and include digital signatures for authentication
    using the free Adobe Reader software
    Extracting data from SAP applications into Interactive Forms and transferring form data
    back into SAP applications using XML
    ABAP + Java Stack
    Contains both functionalities.
    I hope this helps
    Regards
    Chen

  • Java and abap stack connection

    Hello,
    how to check connection b/w Java and ABAP stack.
    I am getting below error :
    SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>connection to partner 'localhost:0' broken / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 t</SAP:P1>
    We did some upgrades of kernel and jvm and started getting this error.
    Please suggest

    Hi,
    Check this threads
    JCO_SYSTEM_FAILURE
    JCO_SYSTEM_FAILURE
    JCO_SYSTEM_FAILURE . Pls help
    Regards
    Ramesh

  • Not able to work with customized Java roles which were edited in ABAP stack

    Hello All,
    I am trying to copy standard roles into customized roles (i.e. Z roles) using PFCG in XI system. All ABAP based roles are working fine, but all JAVA based roles are not working. I generated profiles as well. And I check all the authorization objects in both standard and customized roles. Everything look same but customized roles are not working.
    And when I check the logs on JAVA stack I found the error which says " User XXXXXXXXXX IP address HTTP request processing failed. HTTP error [403] will be returned. The error is [You are not authorized to view the requested resource.No details available]."
    I thought there might be any Jco RFC connections missing between the stacks and I tried to check in Visual Admin, but I was not able to find much info regarding these roles.
    Am I missing anything or is there any other way for these roles to make customized roles.
    And can any one tell me how to run a trace for JAVA stack activitites as we do in ABAP using ST01. Any help will be rewarded. Thanks in advance.
    Regards,
    Farooq.

    Java roles work with influence of permissions in Application Server which we call actions in UME. As you are aware in PI user master record will be in ABAP stack. So the roles in ABAP stack will be having only RFC connections to JAVA stack for the specific JAVA based role. So you need to edit the permission on Java App Server. For that you need to log on to server through visual admin and then go to services and you will find the standard groups assigned to actions. But I don’t remember that under which service you will find them
    Under that service you will find some 200 actions. And you have to add the name of the custom created JAVA roles on ABAP to all those actions where you find the standard roles. And its a very very lengthy procedure. So SAP advice to go for customized ABAP roles and Standard JAVA roles.
    Hope this answer clears your query.
    Farooq.

Maybe you are looking for