JDBC - XI - ECC

I need to send records from our MSSql server to ECC through XI. The records would be 1.5Million first time and then 10 thousands records every night and around 75 fields per record...what would be my best possible sender/receiver adapters and scenarios and any special cases that would be used for better performances...( also consider if there are any ECC lookups involved)
Thanks
Guru

Guru,
I would agree with Bill that you can either use Proxies or Idoc's on the ECC side.
But my one concern here is that you have an initial load of 1.5 million records. Considering that you will be using the Sender JDBC adapter , it would be better if you select thousands of row at a time in the Sender JDBC adapter to make sure that the data load is optimum.
a SQL query guru should certainly be able to help on how to select the data in chunks so that the load on XI server is not very high.
Regards
Bhavesh

Similar Messages

  • Sap Ecc 6.0 Installation error in  Import Java dump e

    Hi Friends,
    I got error in Phase 20 of 45:-
    ERROR 2015-08-06 17:01:26
    CJS-30049  Execution of JLoad tool 'E:\j2sdk1.4.2_12\bin\java.exe -classpath "E:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\install\sharedlib\launcher.jar" -showversion -Xmx512m com.sap.engine.offline.OfflineToolStart com.sap.inst.jload.Jload "E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/lib/iaik_jce.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/jload.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/antlr.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/exception.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/jddi.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/logging.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/offlineconfiguration.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/opensqlsta.jar;E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/install/sharedlib/tc_sec_secstorefs.jar;H:\usr\sap\ECC\SYS\exe\uc\NTI386\ojdbc14.jar" -sec ECC,jdbc/pool/ECC,
    ecc6/sapmnt/ECC/SYS/global/security/data/SecStore.properties,
    ecc6/sapmnt/ECC/SYS/global/security/data/SecStore.key -dataDir E:/sap_kol/javacomponent\JAVA_EXPORT\JDMP -job "E:\Program Files\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\IMPORT.XML" -log jload.log' aborts with return code 1.<br>SOLUTION: Check 'jload.log' and 'E:/Program Files/sapinst_instdir/ERP/SYSTEM/ORA/CENTRAL/AS/jload.java.log' for more information.
    ERROR 2015-08-06 17:01:26
    FCO-00011  The step importJavaDump with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_Jload|ind|ind|ind|ind|9|0|importJavaDump was executed with status ERROR .
    INFO 2015-08-06 17:16:48
    An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_Jload|ind|ind|ind|ind|9|0|importJavaDump".
    Kindly help me!!
    Anuska

    Hi Markus, Debashis , Uday and Friends,
    I am currently Watching Thread.
    Plz Help Me.
    Regards,
    Anuska

  • JDBC Sender Adapter - No Namespace found

    Hello
    I am currently using PI 7.1. The scenario is JDBC to ECC ABAP Client Proxy. When the JDBC Sender Adapter sends the data to the Integration Server, the root element does not contain the xmlns attribute. This root element is constructed from the Document Name of the JDBC Sender Adapter attribute.
    I am getting the following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_HIS_Material_Consumption_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns0:MT_Material_</SAP:P3>
      <SAP:P4>Consumption_ECC/Material. Values missing in queue~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_HIS_Material_Consumption_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:MT_Material_Consumption_ECC/Material. Values missing in queue~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When I perform a test at RWB, the message gets posted successfully. Once posted, the payload of this message contains the xmlns attribute.
    Here is the root element from both the instances:
    From RWB:  <ns0:MT_Material_Consumption_JDBC xmlns:ns0="http://xxx.com/xxx/finance">
    From JDBC Adapter:  <ns0:MT_Material_Consumption_JDBC>
    Could you please let me know, what has to be done to obtain the xmlns in the sender payload?
    Thank you in advance.
    John Jeyaraj
    Edited by: John jeyaraj on Apr 7, 2011 8:22 AM

    Hi Hiren
    When I test the MM without the xmlns attribute, I get the following error:
    The prefix "ns0" for element "ns0:MT_Material_Consumption_JDBC" is not bound.
    When I add the xmlns attribute, the mapping is successful.
    Thanks
    John

  • Sender JDBC Adapter and Synchronous Interfaces

    Hello
    I have a Oracle/JDBC -> XI -> ECC/RFC scenario. The communication mode is Synchronous.
    In the Oracle database I have a table with a "STATUS" field.  When JDBC Adapter Sends the rows from this table to the Integration Engine, it updates the "STATUS" from "G" (GENERATED) to "R" (READ).
    The response from the RFC contains for each row sent to RFC a "STATUS_from_RFC" field, that I would like to use to update Oracle STATUS field to "S" (SUCCESS) or "E" (ERROR).
    Can the Sender JDBC Adapter use the response from the Synchronous RFC to update Oracle "STATUS" field itself ?
    Or do I need a Receiver JDBC Adapter? In this case, I have to use asynchronous communication and BPM, ok ?
    thanks
    Julio

    Bhavesh,
    <i>>>>But, the online help states it supports QOS of BE and so it does support Synchronous Processing.</i>
    Even File adapter has QOS of BE
    To my understanding response back is possible only if it is PUSH + Sync
    Adapters PUSH + Sync
    HTTP
    SOAP
    RFC
    XI
    etc...
    For the above response is possible
    Adapter PULL + Sync
    File
    JDBC
    etc..
    In general there can be a response if there is a request. In the case of File and JDBC there is no request message coming to the adapter, its the adapter which is actually requesting.
    This is just an idea and my understanding.. might not be true If possible do try it and let everyone know I will also give it a try when time permits
    Thanks,
    Prakash

  • How to handle the jdbc receiver error

    hi,expert:
      I have a synchornous scenario:SAP/ECC(Proxy) to JDBC(SQLServer),ECC Send the message and insert data into the  database,when insert sucessfully the receiver returns the count of the sucessfull inserted  record . Not use store    procedure.
    I have a problem: When insert into the table occurs errors,like insert Duplicated record,how can i capture this exception and return  to the ECC? And if it is possible to solve this problem by using fault message?
         wait for reply ,thanks!

    Have you identified why duplicate record error coming?? you dont want to insert duplicate records in DB?? then in this case you contraol sending data in Proxy it self,
    If you want response (error message or success status from Data base you can design/develop easily, JDBC recv will support syn communication.
    even you can go for fault message type to handle this error,
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/b7623c6369f454e10000000a114084/content.htm
    Regards,
    Raj

  • How to Update ECC when there is error in Receiver channel

    Hello Experts,
    I have a query like how to inform ECC when there is a error in Receiver channe.My interface is ABAP PROXY to JDBC in ECC moni message is through in PI moni also message is through but in Receiver JDBC Channel is in error saying for a particular column the data is not valid.
    In this case directly PI should send the error in channel to ECC that payload has invalid data for this field will it be possible?
    Please give your valuable suggestions.
    Regards
    Praveen Reddy

    Hi,
    implement logic in ABAP proxy to push data when validation check is correct, this is right approach to perform validation.
    Even we can achieve this in PI Mapping.
    Create ALERT rule for this interface and forward CC errors to ECC Team.
    Regards,
    Raj

  • Error in BPE Adapter Processing

    Hi Experts,
    I have a scenario in which data flow from JDBC => BPE => ECC.
    while sending data from JDBC to BPE adapter, faced below error in SXMB_MONI.
    "Error in BPE Adapter Processing"
    In SXMB_MONI, Overall status displays as "Manual Restart Possible" error as attached below.
    I completed the all configuration related to SWF_XI_CUSTOMIZING and SXI_CACHE.
    also my Integration process has return code 0 in SXI_CACHE.
    I also want to know what are the software's required in PI related to BPM for both JAVA and ABAP Stack. i have a SAP PI System with version 7.31.
    Please guide me to solve this error and also inform me if any configuration related to BPE adapter is missing or not.

    hi dear,
    Tried the reports which are mentioned in the notes and followed the link
    but we couldn't resolve the same. can u please help us to move ahead to resolve our issue.
    any corrections / suggestion regarding the same.
    Permanent error in BPE inbound processing

  • XI File BPM scenario

    Hi all,
    i have questions regarding the usage of big files with a BPM scenario. The functional requirements are as follows:
    1. Pick up large (raw data) file (1MB) from FTP server
    2. Drop this file to a second FTP server
    3. After the file has been transmitted sucessfully (criticall !), look into a DB and extract information with the help of the filename of the transmitted file and extend the message (in a message mapping)
    4. Send this data to ECC and update a custom table
    My approach to realise this scenario, would be to perform the DB lookup in a java mapping. Are there any other options?
    In addition I am concerned about performance issues, because we will send about 200 files a day (up to 10 at a time) using that interface. Is there a possibility to avoid the integration process?
    Kind regards and thanks in advance
    Florian

    Hi Floarin,
    Your requirment can be accomplished with and without BPM.
    With BPM:
    To improve performance:
    you can use the Concepet of Message Packaging For BPE which is best suited for requirment of your kind i.e where you have multiple files coming in in bunch.
    you can also define receive of a file on a FTP under a block only as you are not using file content and you need file name only.
    Please use JDBC look up only it will improve the Performance to a greate extend.
    After JDBC look up you can use that Data to write into ECC
    Without BPM:
    You can find Modules that can extract file name and pass that file name to JDBC look up and then output of JDBC to ECC.
    Even here also you can use Concept of Message Packaging.
    To handle Exception you can use Alert
    Reward Points if Helpful
    Thanks
    Sunil Singh

  • Integration of SQL database with XI

    Dear All,
    I have a req in that I have to connect to SQL Server database to XI system then from XI to ECC.
    To do this what are Connection should done from DatabaseXI-ECC.
    I have JDBC adapter in XI.Do I need install again in XI .
    how we will connect SQL Database to XI system?
    Regards
    Manish

    Hi Manish,
    Your scenario like this
    JDBC->XI->ECC(RFC/PROXY/IDOC).
    Download the following JDBC Driver. Once you deploy this driver you would be able to connect to SQL Server .
    http://www.microsoft.com/downloads/details.aspx?familyid=6d483869-816a-44cb-9787-a866235efc7c&displaylang=en
    Drivers Instalation Process
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
    Jdbc Channel Configuaration
    JDBC Diver:com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection:jdbc:sqlserver://ServerName:Port;Database=XXXXXXXX;
    Username:XXXXX(Ex:sa)
    Pwd:XXXXXXXX
    Thanks
    Ravi

  • Select statement for JDBC receiver synch scenario for capturing random value from ECC portal

    Dear Experts,
    I am working on ECC <----> SAP-PO 7.31 <----> JDBC synchronous scenario. I am clear about the config part except the Select statement. I will be
    capturing 2 random values from the portal i.e. VendId and VendName in ECC to get the vendor details like Vendor Country, Vendor Status, Vendor Contact , Vendor Address etc from JDBC vendor table/view VENDETAIL.
    What would be the select statement to capture the random values for ECC portal? My select statement would look some thing like this..
    Select f1,f2,f3,f4 from table VENDETAIL where key1 = "VendId" and "VendName"
    Please suggest if the above select statement works for the above scenario...
    Regards
    Rebecca

    Hi Rebecca,
    Your statement should work fine.
    Please see the statement we use below.
    SELECT eT_cashier, eT_proc_yn, eT_proc_date FROM eTest WHERE eb_proc_yn = 'N'
    Just remember to update the change indicator so that you dont duplicate your records.
    UPDATE eTest SET eb_proc_yn = 'Y' WHERE eb_proc_yn = 'N'.
    Regards,
    Jannus Botha

  • PI 7.4 - interface from ECC(idoc) JDBC, idoc not making it from sm58 '

    Hi Experts,
    I've got an interface  which works in our dev and 2 of our test systems but NOT the 3rd test system. It doesnt work in our live system either. (essentially its a split receiver determination - goes to both jdbc and a file).
    I've reintroduced the config from the dev system to the 3rd test system and overwritten its ico/scenario in the hope that it might work - it didnt make any difference as was getting the first error below in bold.
    I've checked all RFC connections, destinations, partner profiles and ports, all seem in order and mirror systems that work, bar the naming conventions.
    I've checked The FM version, its the same version as the system which works.
    In sm58 I was originally getting the error 'Commit fault: ASJ.ejb.005043 (Failed in component:sap.com/com.sap.aii.ad', upon 'googling' this error it was suggested on SCN to essentially delete old config and reimport / rebuild the interface (Commit fault: ASJ.ejb.005043) . I've tried to reimport the config scenario / ico, i then deleted the config scenario and reimported it. This hasnt worked.
    I have had our Basis team double check the NWA settings, and the ResourceAdaptor settings were reset. 
    When re running the trfc in sm58, i now get the error ' Failed to resolve repository reference @XI_IDOC_DE FAULT_DESTINATION_DEV'
    Would appreciate some feedback as to what to try next..

    Hi George,
    We have seen this issue sporadically too while deploying to our QA system.  What I have generally done in the past to get it working is the following (I have run all the steps because I don't know if they are all required to get it going again):
    1. Open ID and clear the SLD data cache
    2. Open sender system in ID and do compare of adapter specific identifiers with SLD and then apply
    3. Deactivate sender IDoc channel and then reactivate (I would double check your destination in the settings also)
    Hopefully this will help.
    Regards,
    Ryan Crosby

  • Can we use JDBC adapter at ECC side to extract the data directly

    Hi ,
    Is it possible in any way we can use JDBC adapter at SAP to extract data from sap tables.because as far as i know jdbc adapter used only when we having some database system at sender side.
    Regards

    Hi,
    SAP R3 is installed over a DB (Oracle, DB2 etc) this DB as a persistent storage for storing data and other information. R3 rovides a layer over the underlying database so that no one can directly access or modify the contents (due to security and data integrity issues). Hence it exposes its own RFC's for data access and modifications...
    But like I said before SAP recommends to make use of RFC's or BAPI's to access data stored in R3 tables; but we can also access them directly.You need to take the help of a DB admin for this
    Regards
    Suraj

  • Messages getting scheduled in SAP ECC Box:Messages getting stuck in Inbound

    The scenario is -
    JDBC Sender-->> SAP PI-->> ECC Server(via ABAP proxy)
    The Interface is running properly in SAP PI & then the messages are getting posted to the Inbound queues in SAP ECC Box. Generally it takes few seconds for the messages to get processed, but now all are getting scheduled in the Inbound queues(in different channels as seen in SMQ2)
    We re-ran the interfaces again a few times, but all of them kept getting scheduled. Finally, after 2 hours one of the messages got processed. I suppose we won't face any problem now onwards.
    Though I can see several suggestions like registering the queues & assigning dedicated queues to the interface, none of the blog suggest the probable cause of the event?
    Can this be due to some issue in the server(heavy pressure of data in the server during the period/issue in the queues??)
    I found the following links regarding issues like these --
    XML file getting stucked in queue in ECC
    Message in scheduled state
    Thanks

    Is the printing issue with one specific printer or across system.
    What method you have configured for output device.
    There should be any issue if you add spool work process to Application server.
    Then you should be able to configure spool server load balancing. (Search on help.sap.com for spool load balancing)

  • ABAP Mapping for Error handling in Proxy to JDBC

    Hi All,
    I am working on a proxy to jdbc scenario in which we have to throw validation errors to NWPM(Net Weaver Process Monitor Tool)
    I am following the below steps,
    step 1 - In message mapping a UDF is created to catch errors and store them in a variable using  dynamic configuration
    step 2 - writing abap mapping for handling this thrown exception and im reading the dynamic configuration in the abap class and raising exception. The exception format expected is
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1>ZPI_THROW_EXCEPTION</SAP:P1>
      <SAP:P2>001</SAP:P2/>
      <SAP:P3>Mandatory field is missing[BUKRS] </SAP:P3>
       <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I have written the following ABAP code to achieve this:
    method IF_MAPPING~EXECUTE.
      DATA l_record type mpp_dynamic.
    DATA error type String.
    getting dynamic configuration value
    filled in by any previous mapping
    CALL METHOD DYNAMIC_CONFIGURATION->GET_RECORD
      EXPORTING
        NAMESPACE = 'http://sap.com/xi/XI/System/ERROR'
        NAME      = 'ERROR'
      RECEIVING
        RECORD    = l_record.
    error = l_record-value.
    *raising exception with our message
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '001'
        ERROR_TEXT = error .
    RAISE EXCEPTION TYPE CX_MAPPING_FAULT
      EXPORTING
       TEXTID =
       PREVIOUS =
        ERROR_CODE = '003'
        ERROR_TEXT = error .
    endmethod.
    I am gettign the following message for our code:
    SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Could you please help in finding the solution for getting currect error message from ABAP class?
    Edited by: SwethaC on Jan 21, 2011 8:18 AM

    The error is due to RFC Call fail from PI system to your ECC Application System.
    Check your RFC Destination for ECC System type 3 in PI System.
    When you are receiving data from ECC System using Proxies & again you are going to ECC System for Validation.
    Why you are not doing this validation on ECC System only in your proxy code ?
    In your proxy code, it will be much better for performance to check your data there on same system.

  • Error in SMQ2 in ECC

    Hello Experts,
    My Interface JDBC -->PROXY messages are succesfull in PI .In inbound queue of ECC 6.0,with status text "ThiSend:bad tm type /connection closed (no data)".
    I came to know the message scheduled due to function
    module sxms_async_exec
    and raising an exception as ThiSend:bad tm type/
    connection closed (no data).
    This problem is happening only some times .Please throw some light on the issue .
    Any help is highly appreciated.
    Regards
    Praveen

    Hi,
    If you double-click on the queue that is in stop status (so, step one when you have your list of queues, double-click on the one that is in error state, this will give you a one-line entry, then double-click this one line again, and it will give you a detailed view of what is held within that queue), it will give you more information and may have a line in it that is causing the error. This tends to give you more info on why it is in stop status (we have had wide, varied and some weird ones in here!) - most of the time you fix it by just deleting that line that has the error associated with it. then you just go back one level to the queue 'header' and click on the unlock queue button and it should process.
    Hope this helps
    Regards
    Cara

Maybe you are looking for

  • How do you change default settings for Pdf document viewing?

    Somehow the default setting for all my PDF documents and photos is now ColorSync. How do I change the main default setting, which I think should be Safari?

  • SSID Broadcasting even when disabled

                       I have two 5508 wireless controllers with two WLANS.  One is public and SSID broadcasting is enabled.  The other is our secured network and was configured with broadcasting disable.  When looking at the controlling both through pri

  • Turn computer on, goes to green, flashes yellow, back to green and no scree

    So I turn the computer on, the power button goes to green, flashes yellow, back to green and all the while the screen is not turning on. This just happened all of a sudden after no unusual circumstances. Help please! I've been looking for similar top

  • OTM error: oracle.oats.jagent.exception.FatalJavaAgentException

    Hi all, I have created a whole host of OATS scripts that run on my pc. Most of these scripts make use of databanks. I have ensured that the scripts are set up to point to databanks 'Relative to a Repository'. Now we have moved the repository to a ser

  • HT4759 comment accéder à mon Icloud d'un pc du collège?

    JE suis prof dans un collège et j'ai besoin d'accéder à mon Icloud des ordinateurs du collège (celui de mon bureau, celui de ma salle de classe, celui qui est au laboratoire...). Quand j'essaye de me connecter il me dit que je dois installer le proga