Wrong Encoding for JDBC-Receiver

Dear all,
we've to convert from UTF-8 to ISO-8859-1 before we write payload data into database. We've tried with "AF_Modules/XMLAnonymizerBean"  but it does not work!
Is there any issue regarding JDBC? Should we use "AF_Modules/TextCodepageConversionBean" instead?
Kind regards, Stefan

Hi Stefan,
Sorry for the delay in response:
Please use the following parameters:
Module Name                                                                  Type         Module Key
localejbs/AF_Modules/MessageTransformBean              Local         Plain2XML
Module Key                                 Parameter Name                               Parameter Value
Plain2XML                        Transform.ContentType                 text/xml;charset=utf-8
Also,if this doesn't work ,please try charset=iso-8859-1 as well.
Let us know if it helps.
Thanks.
Regards,
Shweta

Similar Messages

  • Handling Fault Messages for JDBC Receiver (Syn Inbound)

    Dear Freinds,
    Can we handle fault messages for JDBC Receiver which is synchronous.
    OB Proxy Syn  <>  IB JDBC Syn
    1. How to handle the same ? Please give some examples.
    2. Should we use Stored Procedures at Oracle side to handle the fault messages and send back as response to the Proxy Response. Will it work.
    Thanks & Regards
    K.Ramesh

    Dear Friend,
    I have 2 interfaces where Proxy is OB & JDBC is IB. In the first interface both sender and Receiver are synchronous and in the second one it is Async.
    In the first interface i have to send one field from R/3 table along with Native SQL query string to XI and the response of the SELECT query is sent back to the sender.
    Assume if no fields are selected based on the field sent then proper error message has to be sent instead of the response message.
    In the second interface i will be using UPDATE query at Asyn JDBC receiver.
    How to do this if you are having JDBC Receiver.
    I saw in many blogs where they had mentioned that we cannot handle fault messages in the Receiver JDBC.
    KIindly explain.
    Thanks
    K.Ramesh

  • How to modify oracle stored procedure for JDBC Receiver Adapter?

    Hi all.
    This is Urgent.
    Scenario is
      SELECT a TABLE with procedure and update column with it,
      then send data to SAP System with RFC Adapter.
    When I executed a sync bpm, scenario was finished internal error.
    Pls, let me know how to correct procedure using JDBC Receiver Adapter?
    Regrds all.
    Procedure Code -
    SET SERVEROUTPUT ON
    CREATE OR REPLACE PROCEDURE zwtn2
    IS
       v_seller_company      wtnivhd.seller_company%TYPE;
       v_invoice_no      wtnivhd.invoice_no%TYPE;
       v_report_date     wtnivhd.report_date%TYPE;
       v_customs_date     wtnivhd.customs_date%TYPE;
       v_ap_post_date     wtnivhd.ap_post_date%TYPE;
       v_gr_date          wtnivhd.gr_date%TYPE;
    CURSOR l_cursor IS
       SELECT seller_company,
              invoice_no,
              report_date,
              customs_date,
              ap_post_date,
              gr_date
         FROM wtnivhd
        WHERE wtn_send_flag = 'N'
          AND rownum < 31
    FOR UPDATE;
    BEGIN
       OPEN l_cursor;
       LOOP
         FETCH l_cursor
          INTO v_seller_company,
               v_invoice_no,
               v_report_date,
               v_customs_date,
               v_ap_post_date,
               v_gr_date;
         EXIT WHEN l_cursor%NOTFOUND;
         UPDATE wtnivhd
            SET wtn_send_flag = 'Y' 
           WHERE CURRENT OF l_cursor;
       END LOOP;
    CLOSE l_cursor;
    END zwtn2;

    Hi Alex,
    plz have a look to Runtime Workbench / Adapter Monitoring to find an error message.
    Regards,
    Udo

  • Multi Mapping for JDBC Receiver JDBC Adapter

    Hi All,
        I'm trying an IDoc to JDBC (canonical XML) scenario using multi mapping (single IDoc as source and two different JDBC messages in receiver end). But, this is failing in RWB with some parser error. So, am not sure whether multi mapping is allowed for JDBC Canonical XML format. Please clarify.
    Thanks,
    Hussain.

    Hi ,
    JDBC Adapter supports multi mapping,so you can implement the same,but what do you mean by Canonical XML format??
    Regards,
    Raj

  • Alerts for JDBC Receiver Adapter

    Hi ,
    I am using JDBC receiver adapter. I have configured the alert category and Alert rules. Alerts are getting for Mapping etc.
    When ever error occured in the SQL server whether its firewall issue or some other issue. The alerts are not created. Instead I can see the error message in RWB Message monitoring and communicaton channel monitoring.
    Please let me know How can raise alerts if the error occured at the JDBC receiver side.
    Thanks in advance,
    Kevin

    Hi Kevin,
    Probabaly the alert rule did not capture the error in the adapter engine.
    The filter for sender and receiver interface details in the alert rule can cause this issue depending on when and how the error occured. Can you create an alert rule with * for all entries, for adapter engine and check?
    Also do NOT check the option "suppress multiple alerts from this rule" because it will prevent subsequent alerts from this rule, if there is already one and not yet confirmed.
    Further please check the alerts in SALRT table in se16 if its created properly or via transaction ALRTDISP.
    Please use the report SXMSALERT_LOGREADER for troubleshooting and checking the alert logs.
    Hope this helps.
    Regards,
    Francis

  • Message structure for JDBC receiver adaptor

    Hi experts,
    IN JDBC reciever adaptor i want to insert 3 fields in table.....!
    the structure i have created is as follows:
    TestReceiver
    StatementName
    Test
        Action (attribute)
       TABLE
       access(1-unbound)
           FirstName
           MiddName
           LastName
    and source is
    testSender
      Row(1-unbound)
        FirstName
        MiddleName
        LastName
    I am getting error ="MAPPING">EXCEPTION_DURING_EXECUTE
    can somebody plz tell me what is wrong?
    Thanks
    Rohan

    <?xml version="1.0" encoding="utf-8"?>
    <ns:TestSender xmlns:ns="http://test.com/EmpData">
    <Recordset>
         <Row>
              <FirstName>Aaa</FirstName>
              <MiddleName>Bbbbb</MiddleName>
              <LastName>Ccccc</LastName>
         </Row>
    </Recordset>
    </ns:TestSender>

  • Message Protocol for JDBC receiver adpater used in mapping lookup

    hi mates,
    I'm trying out the scenario explained in this blog <a href="/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler">Lookup’s in XI made simpler</a>. Since we are building a query string in the UDF and executing it, shouldn't the message protocol in adapter be 'Native SQL String' against that is given in blog 'XML SQL Format' (which is used if MT is created as per the 'Statement' structure)?
    I'm yet to execute my scenario..figuring out JDBC params...will try with both protocols once I get the info..meanwhile was wondering how 'XML SQL' would work in this.
    I appreciate your inputs.
    praveen

    I got the answer...the message protocol doesnt matter in case of lookups..coz all we are doing is getting an accessor to the channel but not passing any payload...
    the message protocol is for payload...
    XML SQL if it contains 'Statement'
    Native SQL if it contains native SQL string..

  • 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

  • XML Document Format for JDBC Receiver(Between operation)

    Hello everybody,
    is there a way to use a BETWEEN operation for the key in a SELECT XML document format????????, I need to filter in the Where for different Statements in teh strcuture as BETWEEN, thanks in advance.
    Regards,
    Julio

    http://help.sap.com/saphelp_nw70/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Not sure but Check the option of
    <key1>
         <col2 compareOperation=u201DLTu201D>val2old</col2>
         <col2 compareOperation=u201DGTu201D>val2old</col2>
    </key1>
    Thanks,
    Beena.

  • How to handle fieldnames ending with # in JDBC receiver?

    Hello Experts,
      I am developing a scenario JDBC to IDOC. I have 2 tables for  header & line item. I have to retrieve a header record first using sender JDBC & then for that header need to fetch the corresponding lineitems from second table.
        We cannot have data types defined in XI with fieldnames containing # or any other special charecter. Both DB tables contain fieldnames ending with #.
      For Sender JDBC, I managed it in SQL query using :
        Select abc, xyz# as xyz .... from tbname
    But for receiver JDBC we need to define a data type with the typical format ( Doccument format required for JDBC receiver).
    Please let me know how to handle this for JDBC receiver.
    Thanks in Advance & hope for a quick replies.
    Abhijeet.

    Hi Abhijeet,
    If you can write a query with join( you can call join query using JDBC adapter), i think this would be a fastest way and good approch rather than having 2 JDBC call.
    Another approch would be writing SP( stored procedure and then you can have your complete logic here). You can call SP using JDBC adapter.
    Eventhough query would be complex...it will be one time job.:)...I am not sure about data type for handling field names with special characters.
    Let me know if you need more details.
    Nilesh

  • JDBC Receiver Adapter with Null Value

    HI,
    I have configured ID for JDBC Receiver. In my communication channel, I already check Integration of Empty String Values = Null Value. However, when I check the result from audit log, it still shows that SAP XI sends the null value to database. In my understanding, it should not send the field which has null value (It shouldn't be included in sql statement).
    I check this with other scenario. With the same check at Integration of Empty String Values = Null Value, it doesn't send null value to database. It happens only with my first scenario.
    Have anyone ever been through this before? Any suggestion please?
    Thanks,
    Pavin

    Hi,
    1. The occurrence is 0...1
    2. This is the first result with null value (Please see field Error)
    UPDATE EXPCRM_T_CustomerProfile SET RequestID=455, RecordNo=1, SAPCustomerCode=0001000344, Error=NULL, Status=2, UpdateDateTime=12/03/2008 13:45:03 WHERE (RequestID=455 AND RecordNo=1)
    Then, I change the option from Null Value to Empty string. This is the result.
    UPDATE EXPCRM_T_CustomerProfile SET RequestID=455, RecordNo=1, SAPCustomerCode=0001000344, Error=', Status=2, UpdateDateTime=12/03/2008 13:46:12 WHERE (RequestID=455 AND RecordNo=1)
    Field Error Change from NULL to '
    The expected result from me is that field Error should not exist at all. Please help.
    Thanks,
    Pavin

  • How many messsages can we insert using JDBC receiver adapter in to DB

    Hi Friends,
    We are having 30 JDBC receiver interfaces in my current implementation project; load of JDBC receiver interfaces was 50 k messages per day and Performing only INSERT operation on data base.
    We have created individual communication channel for every JDBC receiver interface and max concurrency value set in CC was 5.
    Now we are testing all interfaces in quality with all possible cases, but we found that JDBC receiver adapter unable to process 50 k messages per day, we are on PI 7.1 EHP1 SP7.
    Please share your experiences with JDBC adapter receiver like per day how many messages we can transfer.
    Thanks a Ton,
    Raj

    Raja Sekhar Reddy T wrote:
    we are processing 50 k individual messages.
    >
    > I have increased max threads for JDBC receiver to 20 but no luck same rate only . My questions here is how many messages we can trasfer using JDBC receiver adapter?
    >
    > Regards,
    > Raj
    Hi raj,
    I have seen some interfaces that deal with upload of 5000 rows at a rime.. I don't there will be a restriction in the no of messages that can be transferred using the JDBC adapter as such  unless until the requirement is so para-normal and in your case it is not
    Kind regards
    XA

  • Issue with JDBC receiver

    Hello All,
    We have SAP ECC (proxy sender) -> XPI 7.0 -> Oracle (jdbc receiver).
    We are querying data in some oracle tables. This is the error we see in communiation channel monitoring for JDBC receiver adapter:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@xxxxx.abc.def.com:1521:rdwT1': SQLException: ORA-28000: the account is locked
    But, we were told that login credentials (user/password) are working fine and account (user name give in the communication channel) is not locked.
    So, is there anything i need to check?
    In XI's SXMB_MONI, we see the following error:
    <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Exception in method process.</SAP:AdditionalText>
    Another question is, why is the error in communication channel monitoring not getting propogated to SXMB_MONI?
    Anything obvious missing here?
    Thanks,
    Chandra

    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@xxxxx.abc.def.com:1521:rdwT1': SQLException: ORA-28000: the account is locked
    Please check the following..
    a) Test the above db connection string using TOAD or sQLplus and see how that works. The exception clearly shows account is locked. If you repeatedly use invalid credentials for three times using the jdbc channel there is a possibility that account gets locked.
    b) Also check the port, hostname and database name are right and valid one.  Also check with BASIS team whether one more time account is locked or not.
    Since you configured the receiver channel as JDBC and you will see this error log only at Java Stack.. that is in the communication channel monitoring.  This you wont see it in the Integration engine.
    Hope that helps.

  • About jdbc receiver adatper

    the format for jdbc receiver adapter have to be the following:
    <root>
       <statement1>
      <statement1/>
      <statement2>
      <statement2/>
    <root/>
    can i instert the element defined by myself between <root> and <statement1>.
    like:
    <root>
    <sqlset>
       <statement1>
      <statement1/>
      <statement2>
      <statement2/>
    <sqlset/>
    <sqlset>
       <statement1>
      <statement1/>
      <statement2>
      <statement2/>
    <sqlset/>
    <root/>
    can I do that?

    I dont think this will be allowed, if there is any parameter that you need to use then defining it as an attribute may help.....but changing the format will not work.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    Regards,
    Abhishek.

  • JDBC receiver: Values with quotes

    Dear all,
    I created an insert statement for JDBC receiver.
    I used logSQLStatement in advanced adapter mode to see the SQL statement
    He does it like
    insert into xyz(col1,col2) values(abc,def)
    but I need it like
    insert into xyz(col1,col2) values('abc','def')
    I tried the attribute hasQuot="YES" for the fields and also
    the column line delimiter, but it doesn't seem to work.
    What do I have to do to set the values in quotes?
    Thanks
    Chris

    You can write an Oracle StoredProcedure with your custom "insert" statement, and call it from the JDBC receiver channel passing field value.
    Take a look here for other informations:
    http://help.sap.com/saphelp_nw70/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    http://download.oracle.com/javase/tutorial/jdbc/basics/sql.html

Maybe you are looking for

  • How do I set up the servlet listener in IIS 4.0?

    I'm installing Reports Server 6i (part of Forms 6i) on a Windows NT 4 (SP6) box with IIS 4.0 and JRun 2.3.3 as a servlet engine. I want to install the Servlet listener, but Oracle Installer does not list this option. I have found the Java files that

  • How to find out if there are repeated characters in a string

    hey guys well i kinda have a little problem figuring out how to find out if there are repeated characters in a string. if anyone can help, would appreciate it. thanks milos

  • CALLING DA NAM ......... Where is your FCE/FCP Getting Started Tutorial ?

    I don't know whether Da Nam has dropped off the forums but last year he posted a BRIEF tutorial to get beginners started with FCE/FCP. I have searched but cannot find that post. Does anyone know where it (or anything similar) can be found ?

  • HDD Replacement program

    I have an Imac which had its disk replaced by Apple. It was backed up by Time Machine and it was running Mountain Lion. Now it is back to Snow Leopard. My original start up disk is Snow Leopard. So I restored my Time Manhine and all data is there Tha

  • Mozilla cutting off the bottom of my FormsCentral Form

    All the content on my site is in <section>tags and everything fits beatifully except this form (meaning there is no height set in the css for the sections) and only on firefox. Has anyone else run into this? It is cutting off the submit button which