JDBC Adapter debugging parameter

Dear gurus,
We wanna activate the debugging parameter for the JDBC adapter to generate logs in XI 3.0.
Please comment !!!!
Regards,

I cannot find how to set the parameter for activating the trace for JDBC adapter.
The exact path is given in the question here in this thread
JDBC adapter trace logs
help me in activating the parameter logSQLStatement
As already been suggested refer note:801367
I think this parameter is available in XI3.0 also.Just go to the advanced mode of the JDBC channel and select it.

Similar Messages

  • JDBC Adapter debugging

    Hi evrybody!
    I can't remember the config setting I have to activate in order to see the actual SQL commands generated by the JDBC adapter... Could you please tell me, how to switch on this setting?
    Regards, Joerg

    Hi,
    Advanced Tab Page
    Adapter-Specific Message Properties
    ·        To store adapter attributes in the message header of the XI message, select Set Adapter-Specific Message Properties.
    ·        To apply the following attributes in XI message headers, set the corresponding indicators:
    Name
    Technical Name
    JMS Message Correlation ID
    DCJMSCorreleationID
    JMS Message Delivery Mode
    DCJMSDeliveryMode
    JMS Message Destination
    DCJMSDestination
    JMS Message Expiration
    DCJMSExpiration
    JMS Message ID
    DCJMSMessageID
    JMS Message Priority
    DCJMSPriority
    JMS Message Redelivered Flag
    DCJMSRedelivered
    JMS Message ReplyTo Destination
    DCJMSReplyTo
    JMS Message Time Stamp
    DCJMSTimestamp
    JMS Message Type
    DCJMSType
    Used JMS Message Selector
    DCJMSMessageSelector
    Used JMS Message Queue
    DCJMSMessageQueue
    JMS User
    DCJMSUser
    ·        If you want to set additional JMS message attributes, select Specify Additional JMS Message Properties (10 Maximum).
    ·        In the table, enter the names of the JMS message properties whose values are to be included in the message header of the XI message.
    The technical names of the additional attributes are DCJMSMessageProperty0, DCJMSMessageProperty1, ..., DCJMSMessageProperty9.
    You can enter more than 10 properties in the table, but only the first 10 are taken into account.
    The attribute namespace for the adapter is http://sap.com/xi/XI/System/JMS.
    Adapter Status
    Set the adapter to Active to enable messages to be exchanged.
    Additional Parameters
    To make additional settings or replace the default settings, enter the parameters and values in the table.
    You can set the following parameters, for example:
    Name
    Value
    JMSMessageClass
    com.ibm.jms.JMSMessage
    JMS.Message.method.setStringProperty
    java.lang.String XAppId, java.lang.String myapp
    You can set additional JMS parameters for all JMS providers.
    Or go through
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    Regards
    Hemant
    Award points if find helpful

  • Error while executing the stored procedure through sender JDBC adapter

    Hi All,
    I am getting below error while executing the stored procedure through sender JDBC adapter.
    Database-level error reported by JDBC driver while executing statement 'exec SapgetNextEntity 'SalesOrder''. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: The statement did not return a result set.'. For details, contact your database server vendor.
    what is the problem? any idea to anyone...
    regards
    Ramesh

    hi Dharamveer,
    I am not getting below statement for your reply
    Try to use Refrence Cursor it will return u reference of resultset.
    I mention SP like this
    exec SapgetNextEntity 'SalesOrder'
    SapgetNextEntity -
    > SP Name
    SalesOrder----
    > Parameter I am passing...
    regards
    Ramesh

  • Calling a Stored Procedure with JDBC Adapter ?

    I'm trying to call a Stored Procedure in my XI 3.0 JDBC adapter, but I get an "...invalid number of parameters...." error.
    Does anyone have an example of a Query SQL Statement and the corresponding Stored procedure?
    This is my test code. Eventually I would like to return a resultsett from the stored procedure.
    Query SQL Statement:
    call Sp_sapxi( 'F1' , 'xx' )
    Stored Procedure:
    CREATE OR REPLACE PROCEDURE Sp_sapxi (
      transtype_in IN      xi_flaggtest.TRANSTYPE%TYPE,
      status_in    IN      xi_flaggtest.STATUS%TYPE)
    IS
    BEGIN
      UPDATE xi_flaggtest
                 SET status = status_in
               WHERE transtype = transtype_in;
    END;
    Regards,
    Elling

    you can clear the field key tags mandatory in the XML Schema interpreter parameter and make the Empty string value to Empty string from null value.
    For mapping : you can pass a value that is of the same format of date; but you can take your own value in the database since you are parsing the date format from one to other
    thanks
    nikhil

  • Stored procedure in Sender JDBC Adapter

    Hi All,
    My Scenrio goes like this ...
    Stored Procedure(SQL Server) --- PI  -
    File
    I need to write the results of  stored procedure to File.Here I don't need any mapping.So how many DT , MT and MI need to be created?
    The interface need to run by 6AM from Monday to Thrusday, how can i achieve this ?
    Stored Procedure has only select statement and no Update statement , but it takes Date as Input parameter , so what i need to provide in sender JDBC adapter.
    Thanks,
    Monish

    Hi Monish,
    As per your requirement it is JDBC to File. Please be careful with the structure to be created for sender JDBC. I am unable to understand why you donot require a mapping for this. How XI will send the data to a file then.As per my knowledge if it's file to file and just pick and drop then we can neglect IR and go for ID.But here you are working with JDBC and File so you will be in need of it.
    IR:
    DT: 2
    JDBC_Sender_DT
    File_Output_DT(Optional)
    You can use the JDBC sender data type structure for File output also.
    MT as per your DT
    MI:2
    Outbound MI: JDBC structure
    Inbound MI : File structure
    MM: 1
    IM: 1
    ID as similar to other scenarios.All 1 objects for RD,ID,Sender Agreement and Receiver Agreement.
    Sender JDBC channel:
    Query: Select * from table where date
    But I have a query how are you providing date in input paramerter.It will be dynamically entered into the query right.
    You can mention the Avalibility planning for your interface to work in RWB.
    Go to RWB>Component Monitoring>Adapter Engine->Communication Channel Monitoring>Avaliablity Planning
    Please explain.
    Regards,
    Nutan

  • How to update row by row  in   Jdbc Adapter sender  ?

    Hi friends ,
                      No i am reading data from a table using select query and resulting data i am keeping in the FTP folder as XML File.
                      I want to
                     1. to  know how many rows i read ? 
                     2. Update the  read completed time in each row of the sender side table . 
               (   I am  using <b>select * from a table where tag='n'  </b> . I am giving this in <b>Query SQL Statement</b> of JDBC Sender adapter processing parameter .
    I am writing update query as update table set tag='y' where tag='n' .
                         Will it perform row by row ?
                     3. Insert in to another R3 System  table  the rows which i read  as a log  .
                          Can  you please give  procedure to do that .
                        Expecting your reply asap .
                        Thank you
    Best Regards.,
    V.Rangarajan

    Hi raj ,
                 Thanks for ur reply .   I am new to xi . Just i am doing a scenario . I can able to read  the ms-sql server table data using jdbc Sender  adapter .
                   Can i use RFC Adapter to insert the values to R3 table ?   
                    If  i have mapped  to rfc fields will it store into the table once we read  the data from ms_sql server table using select query of JDBC Sender  Adapter ?
    Best Regards
    V.Rangarajan

  • Calling Stored Procedure without JDBC-Adapter

    Hallo,
    as it is not possible calling Stored Procedures with the parameter Typ Record in Oracle my question: It is possible connecting to DB using native java-code for example in Mapping?
    Thanks in advance,
    Frank

    Hi Frank,
    Maybe you can use the DB look up using the JDBC adapter in your mapping.
    Just check this blog for the same,
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    As for calling an Oracle Strored Procedure, it is possible using a RECEIVER JDBC adapter, but not a SENDER JDBC adapter.
    <i> import the jdbc-driver (oracle) in an archive in Designer.</i>
    Also, this imported archive should be under any Namespace, but, it should be in the same SWCV as the one in which the mapping is being executed.
    Regards,
    Bhavesh

  • JDBC-Adapter-Receiver Calling Stored Procedure with Input-Typ Record

    Hallo,
    I´ m trying calling a stored-procedure with two input-parameter; one of typ record (oracle) and one of type tabel of records. Is this possible (I think there are only types like string, integer etc. possible)? When not is there another possibility to work with that type?
    Thanks in advance,
    Frank

    Hi Frank,
    I think stored procedures will not take Array of Records as a Input. If you want to make a loop funtionality etc then JDBC adapter will work accordingly. You need to just call the stored procedure from the JDBC adapter. It will work for the array of records(multiple occurences).
    Receiver JDBC Procedures.
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    Alternative option is you can make use of Java Proxy and from there you can call stored procedure ..I think it is possible.. not tried.
    Hope this helps
    Regards,
    Moorthy

  • Receiver JDBC Adapter testing?

    Hi
    Can any one tell me ..how do I test specific adapter w'ther it is connected or not?
    I have cross checked using adapter monitor, my jdbc adapter doesn't showing specific error(red) or success(green),in same JDBC monitor remainig channels showing all information..i thought it unable to connect?Am I correct?
    Did i do any specific settings in JDBC receiver communcication channel?
    I left default settings as it is in CC..
    after giving driver details...i left default settings ..
    1. Interpretation of empty string values = Null value
    2. Persistance          = Local
    3. Conflict resolution  = Redo
    and my datatype structure like this:
    <StatementName>
    <table>Payment_ReceiptFromSAP</table>
    <dbTableName action=”INSERT”>
    <access>
    <col1>ComapnyCode</col1>
    <col2>PaidDate</col2>
    <col3>PaidAmount</col3>
    </access>
    </dbTableName> 
    </StatementName>
    mapping is working fine, tested! RFC sender channel working fine, picking the data from SAPR/3.
    SXMB _MONI -- I haven't find any payload ..why? I thought if RFC is picking the daata properly then XI will hold that data into integration server?..how do i find this data?
    It would be appriciated and rewarded , if you make me clear in this situvation..thanks in advance.!
    Regards..rambarki!

    hi,
    >>I have cross checked using adapter monitor, my jdbc >>adapter doesn't showing specific error(red) or >>success(green),in same JDBC monitor remainig channels >>showing all information..i thought it unable to connect?Am >>I correct?
    you will see in adapter monitoring only after the first time the call is made, the bean in generated and you will be able to see in atapter monitoring.
    >>SXMB _MONI -- I haven't find any payload ..why?
    is ur scenaio synchronous?? if so then make sure you have logging set in sxmb_adm
    Configuration -> Integration Engine Configuration -> Change Specific Configuration Data.
    Category : Runtime
    Parameter : LOGGING_SYNC
    value : 1 (activated)
    Cheers,
    Naveen

  • JDBC adapter - no UPDATE to database

    Hi,
    I have the scenario ABAP Proxy to XI to JDBC to read some data from a database and return some info back to BW. Is it mandatory to UPDATE the selected records in some way or can the UPDATE part of the adapter be disabled by putting something in the UPDATE parameter on the comm channel ?
    Cheers
    Colin.

    Hi Colin,
    if you are talking about a sender JDBC adapter: you can put <TEST> in the update statement.
    See this snippet from the help:
    <i>Update SQL Statement
    You have the following options:
    Enter a valid SQL statement that is to be applied to the database once the data (determined from the Query SQL Statement) has been successfully sent to the Integration Server/PCK.
    It must be an INSERT, UPDATE, or DELETE statement.
    In place of the SQL statement, you can also enter <TEST>. Once the data determined from Query SQL Statement has been successfully sent, the data in the database remains unaltered.
    This is recommended if the data has not only been read, but also changed by a stored procedure entered under Query SQL Statement.</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    If you want to synchronously call a receiver JDBC adapter, i think you can use action=SELECT without an update.
    Regards
    Christine

  • Response message timed out - JDBC adapter - PI 7.1

    Hi All,
    I have a synchronous Proxy <-> XI <-> JDBC scenario. The interface works fine in most of the cases, but when my proxy sends data to UPDATE the receiver SQL server 2000 with more than 1000 records, I do not find the response message in SXMB_MONI. But all the records have been successfully updated in SQL database. The response message in my case is the number of records that have been updated.
    Initially I got the message "Synchronous response expired" in RWB, and based on SAP note 791379 and 1078420 , I changed the xiadapter.inbound.timeout.default parameter from 180000 to 600000 and added the parameter 'sqlquerytimeout' in my receiver JDBC adapter configuration with value as 600 seconds.
    I have also enabled batch mode in my receiver adapter.
    Now my problem is I don't see any error message in RWB , but still in SXMB_MONI I am not able the response  message, but can see only the log version of my request message.
    Any idea on what needs to be done in this case ? Any help will be greatly appreciated.
    Regards,
    Sandeep

    Hello,
    Could you pease let us know how thiswas solved ?
    Same problem i am having.
    Thanks in advance

  • In jdbc adapter

    Hi,
    for the JDBC adapter i got an error.."key field parameter missing "
    how to solve it?
    Plz help me out
    thanks & regards
    guna

    Hi,
    Once again check all adapter inputs, find below help link will help u
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/frameset.htm

  • Time Limit Exceeded. JDBC Adapter

    Hello guys,
    we have problem in an interface in production.
    The interface is asynchronous and is File -> PI -> JDBC
    Some messages have sometimes an error in PI monitorization, and we can see the next error:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Grouping
      -->
    - <SAP:Error SOAP:mustUnderstand="1" 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="INTERNAL">SYSTEM_DUMP</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>XXXX : XXXX___0000 : Time limit exceeded.</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    It seems there is an error when sending to the JDBC adapter? The concurrency of the adpter is set to 1 and we send 7 messages to the same adapter and the messages are executed more or less at the same time.
    Could we have to do some PI configuration about queues? or maybe is about the concurrency of the adapter?
    Many thanks in advance.
    Regards,
    Xavier.

    You might need to increase MAXIMUM CONCURRENCY > 1 and set poolWaitingTime > 0 as per SAP Note 831162. By doing this will alow JDBC Receiver to process concurrency the request from Integration Engine.
    or you also can try to increase "Recv.maxConsumers" for JDBC Adapter. The current value is 5
    In addition above, since more messages are concurrently happening more or less at the same time, I would recommend also to use this parameter setting.... Go to advanced tab in the jdbc receiver channel.
    check the option "Disconnect from Database After Processing Each message".  This would help if the connection is not immediately return to the other thread after serving the first thread.  Plus it is a best practice to follow up.

  • What will be input for custom module developed for JDBC adapter

    Hi,
    I have a scenario SQLDB -> Xi -> R3 .
    Here I have added a custom module before callsapadapter module.
    As I know the sequence of module calling will be as follows :
    1. Standard jdbc adapter
    2. custom module
    3. callsapadapter
    Standard jdbc adapter has a select query . After that what will be the input format for my custom module .Will it be the xml structure of my source Data type or will it be a resultset or will it be a inputstream(stream of xml fomat????).
    And then in which format i need to generate the output format for CallSapAdapter.
    Regards

    Hello Moni,
    SAP has a wonderful feature in ABAP. There are some Runtime Errors that you can <i>catch</i>. This is somewhat similar to the Exception Handling procedure in Java / C++. So here's how you go about it....
    Sometimes there might some calculations that we do, multiplication , for example, where the result of the arithmetic operation is known only at run-time. And the recepient for this result may not always be of the right type to take the result. Consider the following code:
    parameters a type i obligatory.
    data : b type i,
           c type i.
    b = 99999999.
    ** Assume that the user has entered 99999999 for the value of the parameter a.
    c = a * b.    " 99999999 * 99999999 "
    write c.
    This program will certainly give a short dump saying that there was an arithmetic overflow. But we can actually avoid this Shor Dump and handle the situation quite elegantly. consider the following.
    parameters a type i obligatory.
    data : b type i,
           c type i.
    b = 99999999.
    CATCH SYSTEM-EXCEPTIONS ARITHMETIC_ERRORS = 1.
    ** Assume that the user has entered 99999999 for the value of the parameter a.
       c = a * b.    " 99999999 * 99999999 "
    ENDCATCH.
    if sy-subrc ne 0.
      write: 'There was an arithmetic overflow in the calculation.'
    else.
      write c.
    endif.
    This way you can actually avoid the short dump and make the system set a value for sy-subrc. Based on the avlue of the sy-subrc, you can go ahead with further processing / error-handling, as the case may be.
    Here, ARITHMETIC_EXCEPTIONS is called an <i>exception group</i>. For more information on what other run-time errors can be <i>caught</i>, and What the various exception groups contain, please refer to the online documentation for the CATCH statement.
    Regards,
    Anand Mandalika.

  • Sender JDBC adapter slow processing in Production

    Hi All,
    We are facing an issue with processing time for Sender JDBC adapter.
    We tested a scenario in Quality for JDBC to Proxy. In quality the Sender JDBC adapter is taking around 30-50 sec. to send data to PI, but in production the JDBC adapter is taking more then 7 mins to send the same amount of data from DB to PI.
    We have checked the setting in PI; it is same in both the systems (Q and P).
    Even the parameters for both the servers maintained same.
    Can any body please suggest the reason of this behavior and any workaround?
    Regards,
    Rahul

    Based on my experience, these are the things that could be used to improve JDBC performance
    1. You may increase the thread count for JDBC related queues. This has to be done in accordance with SAP Note 1084161.
    2. There is parameter in JDBC communication channel called Maximum Concurrency. It signifies that one communication channel can make how many connections to database. This is 1 by default and could be increased to some values like 3-4.
    3. In the Visual Admin/ NWA, there is a parameter called as queueParallelism.maxReceivers which defines the number of parallel worker threads for one receiver channel instance. This should be done following SAP Note 1136790. This can be done along with the first point.
    Regards,
    Prateek

Maybe you are looking for

  • (Probably) A stupid playback question:

    I've recently (after purchasing a new PC) cleaned up my external HDs, and put my music collection onto iTunes, for use as a "media" player. I've had iTunes for many years, so, excuse me if this sounds remedial (I just cant figure it out): Why can't I

  • N80 V4.0707.0.7 Update

    Hi, Since I upgraded my N80 to the latest verison of the firmware my O2 balance alerts don't work! Any Ideas??? Many Thanks

  • When sharing photos get missing pictures

    Hi All any help greatly appreciated. We are trying to share iphoto libraries, using home wifi,one macbook pro running Snow L one imac Running Lion both selected sharing and when then connect together imac comes up with missing pictures which require

  • Document Preview File Types

    Hi, I am trying to find a list of all the file types that the document preview in a SharePoint Online environment supports. By this I mean the preview must show the contents of the document, and not just the metadata. Does anyone know of a list I can

  • Reporting some proxy problems/bugs

    Is there a way to report problems/bugs in the proxy software without having support? I believe this can be done for Java, but what about the proxy? In our environment we are using the proxy software (currently v4.0.5, but I haven't seen these items i