Database error for JDBC to Proxy Scenario

Hello SAP PI Gurus, 
I am having a JDBC to Proxy Scenario .And the interface is running at 10 min of duration. 
However, my other interface are running fine with the same details.
But for this interface, it giving the belwo error :
Database-level error reported by JDBC driver
while executing statement 'call proc_dtdc_prod_summary'.
The JDBC driver returned the following error message: '
com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table
'dtdc_prod_summary_temp' already exists'. For details,
contact your database server vendor.
So increased the time from 10 min to 20 min to 30 min. But the erro remians.
So pls look into this and give your suggestion.
Regards,
Ravi

Hi Ravi,
Please check execution of your stored procedure is resulting with creation of Table : dtdc_prod_summary_temp.
Modify your stored procedure to just fetch records or insert records in the existing table. Or change the code to Create a table 'dtdc_prod_summary_temp only if it doesn't exits in the Table data base.
Regards
Praveen K

Similar Messages

  • ALE Configurations for JDBC to PROXY scenario

    Can some body tell me what are the ALE configurations that needs to be done in both the systems and also in XI system.

    Hi there
    No need for ALE confihuration unless you are using IDocs in your scenario.
    You need to configure the integration engine in the Proxy system using SXMB_ADM and create an RFC for the Integration server.
    on the JDBC side you'll need the database bridge configured in the communication chanell...
    what is your scenario specific...which system types and versions?
    Nimrod

  • Error while sending the mail( Database error for ADDR_PERS_COMP_COMM_GE)

    Hello guys,
    I am facing the error    " Database error for <ADDR_PERS_COMP_COMM_GET> <0> " as a pop-up message.
    below is my program.
    types: BEGIN OF t_p0002,
            pernr type PERSNO,       "Personnel number
            nachn TYPE PAD_NACHN,    "Last Name
            VORNA TYPE PAD_VORNA,    "First Name
            gbdat TYPE gbdat,        "Date of Birth
          END OF t_p0002.
    *******************Data of an object which can be changed**************************************
    data   S_maildata type SODOCCHGI1.
    *******************Text field length 255: texts***********************************************
    data : IT_MAILTXT1 type table of SOLISTI1 ,  "Internal table will contain texts of mail header
           WA_MAILTXT1 TYPE SOLISTI1,
           IT_MAILTXT2 type table of SOLISTI1 ,  "Internal table will contain texts of contents in the mail
           WA_MAILTXT2 TYPE SOLISTI1.
    *******************Structure of the API Recipient List*****************************************
    data : IT_MAILREC type table of SOMLRECI1,
           WA_MAILREC TYPE SOMLRECI1.
    DATA : it_pa0002 TYPE TABLE OF t_p0002,
           wa_pa0002 type t_p0002.
    data  Header_text type c LENGTH 15.
    CONSTANTS  content_text type c LENGTH 35 VALUE 'Tomorrow is the birthday of'.
    *******************Event start of selection***************************************************
    start-of-selection.
      PERFORM get_birthdate.   " will give birthday details
      PERFORM document_details. " will give text and mail details
    *&      Form  get_birthdate
          text : subroutine to get employee birthdate details
    form get_birthdate.
      data : l_date like sy-datum.
      refresh it_pa0002.
      l_date = sy-datum + 1.
      SELECT pernr nachn vorna gbdat
        from pa0002
        INTO TABLE it_pa0002
        where gbdat = '19650302'.
    ENDFORM.                    "get_birthdate
    *&      Form  document_details
          text : subroutine to get texts and mail details.
    FORM document_details.
      CLEAR: Header_text,
              wa_MAILREC.
      REFRESH  IT_MAILREC.
      S_maildata-obj_name = 'Birthday Reminder'.
      s_maildata-obj_descr = 'Birthday Reminder'.
      s_maildata-obj_langu = sy-langu.
      READ TABLE IT_MAILTXT1 INTO WA_MAILTXT1
      WITH KEY WA_MAILTXT1-line .
      WA_MAILTXT1-line = 'Birthday Reminder'.
      append WA_MAILTXT1 TO IT_MAILTXT1.
      CLEAR WA_MAILTXT1.
      LOOP at it_pa0002 INTO wa_pa0002.
        READ TABLE IT_MAILTXT2 INTO WA_MAILTXT2
         WITH KEY WA_MAILTXT2-line .
        CONCATENATE content_text ' ( ' wa_pa0002-pernr ' ) ' wa_pa0002-nachn wa_pa0002-vorna
        INTO  WA_MAILTXT2 SEPARATED BY ' '.
        append WA_MAILTXT2 TO IT_MAILTXT2.
        CLEAR WA_MAILTXT2.
        CLEAR wa_pa0002.
      ENDLOOP.
       LOOP AT IT_MAILREC INTO WA_MAILREC.
      WA_MAILREC-RECEIVER = 'Any mail id'.
      WA_MAILREC-rec_type = 'U'.
      append WA_MAILREC TO IT_MAILREC.
       ENDLOOP.
    ********************Function Mofule:To Send new Document*****************************************
      CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
      document_data = S_maildata
      DOCUMENT_TYPE = 'RAW'
      PUT_IN_OUTBOX = ' '
      COMMIT_WORK = 'X'
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
      tables
      OBJECT_HEADER = IT_MAILTXT1
      OBJECT_CONTENT = IT_MAILTXT2
    CONTENTS_HEX =
    OBJECT_PARA =
    OBJECT_PARB =
      receivers = IT_MAILREC
       EXCEPTIONS
       TOO_MANY_RECEIVERS = 1
       DOCUMENT_NOT_SENT = 2
       DOCUMENT_TYPE_NOT_EXIST = 3
       OPERATION_NO_AUTHORIZATION = 4
       PARAMETER_ERROR = 5
       X_ERROR = 6
       ENQUEUE_ERROR = 7
       OTHERS = 8
      IF sy-subrc = 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "document_details
    After I pressed the exit button the program is getting terminated but still this mail is comming to sost transaction code.
    If I will comment the message code which is after sy-subrc the popup will not come and program will work without any interruption.
    Can anybody please solve this problem?

    Resolved

  • Database error for ADDR_PERS_COMP_COMM_GET 0

    Dear All,
    In my organization end user is getting error Database error for <ADDR_PERS_COMP_COMM_GET> <0> while trying to fetch a report through background.
    Pls help , it's very urgent
    Thanx in advance
    Abhishek

    Hi Abhishek,
    Try to debug this batch job and see what is the problem.
    Put a break point in ur program.In Sm37 select already executed/cancelled batch job. Type jdbg in command prompt and press enter control will go to the program. Now debug and see what is happening.
    Most probably it is some thing that needs to be corrected by BASIS peopple. So get in touch with them also.
    Hope it will be helpful.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Jul 5, 2008 12:58 PM

  • JDBC To Proxy Scenario Problem

    Dear All,
    I am doing JDBC to Proxy scenario. In SXMB_MONI in XI Message is sucessful and JDBC Adaptor fetching records also. These records are seen in SXMB_MONI.
    When I check in SXI_MONOTOR in R/3 , message is sucessful, but payload is Blank. The selected records in JDBC are not reaching R/3 . What may be the problem
    Raghvendra

    Check the mapping between the JDBC response and the Proxy response in XI?
    Does the JDBC response have the valid rows? If yes, check  what is the output mapping that is sent to the Proxy.
    Regards
    Bhavesh

  • Inbound Proxy Error - JDBC to PROXY Scenario

    Hi experts,
    I am getting the following error while activating Inbound Proxy.
    Error when creating service node. [unknown]You are not authorized to use function Netzwerkadministration
    Exception of class CX_SRT_WSP_ICF
    Regards,
    Sudheer

    Hi Experts,
    Thank you for your replys.....Problem got solved......:)
    Some authorisation was missing...Now it was fine and I can activate Inbound proxy......:)
    Once again Thank you for your replys.....:)
    Regards,
    Sudheer

  • Error in FILE 2 Proxy Scenario

    Hi All,
    I am doing File to Proxy Scenario i am getting following error
    Could any one provide the solution for this.
      *<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
    *- <!--  Call Inbound Proxy*
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">INTERFACE_REGISTRATION_ERROR</SAP:Code>
      <SAP:P1>ifmmessif</SAP:P1>
      <SAP:P2>MI_Emp_Sender</SAP:P2>
      <SAP:P3>Namespace</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No implementing class registered for the interface (ABAP interface, request message MI_Emp_Sender, request message, namespace )</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Thanks in Advance
    Mahesh
      </SAP:Error>
    Edited by: Mahesh Reddy on Jul 10, 2008 12:47 PM

    Hi Mahesh,
    1) Use SPROXY transaction.
        Menu-> Proxy -> Activate All.
    2) check in the interface determination if u are using correct
    inbound interface.
    3) If this if fine....try deleting all proxy objects of the interface
    and create new.
    Regards,
    Praveen K

  • EOIO is not working for file- BPM- Proxy scenario.

    Hi All,
    I have one File to BPM (Merge pattern ) to Proxy scenario.
    I have two file communication channel at the sender side and defined QOS as EOIO for both. In SXMB_MONI it assings same queue for all messages.
    BPM is merging that messages. However during that it assings different queue for merged messages.
    When it comes to proxy , again different queues are assingned to the messages.
    Is there any way I can define QOS in BPM or at the proxy side ( I know it should be at the sender side only , but it's not working..)
    Thanks & Regards,
    Dijesh Tanna.

    HI,
    Within the current release the BPM will always only use EO (SAP Note 833740).
    May be the SAP note  905049 will help you on this ...
    Thanks
    Swarup

  • SET_PAYLOAD_FAILED error in SOAP to Proxy scenario

    Hi PI Experts,
    We have an inbound syncronus interface (Non sap system to SAP) using the SOAP to Proxy scenario.
    When we test the interface using any soap tool like soapui it is working fine but when the interface is triggered end to end from source system then the below error is getting dispalyed on source system.
    500 Internal Server Error
    In XI below is the error message -
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">SET_PAYLOAD_FAILED</SAP:Code>
      <SAP:P1>IN</SAP:P1>
      <SAP:P2>REQUEST</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Internal error when completing the message object (setting the payload, direction: IN message: REQUEST)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can any please let me know what is the issue here?
    Appreciate your help.
    Regards,
    Jitender

    We had a similar issue with a Synchronous Interface
    The interface worked perfectly when sending the request directly to the integration server, but when sending it using SOAP the issue appeared.
    It was very tricky to solve it because we had similar interfaces that worked without any issues.
    SOLUTION: Create a new Service interface with a new name different from the one failing. And make sure The Message Types are in the same namespace as the service interface.
    Why?:
    The issue turned out to be in the sender agreement, and name-spacing issues.
    Our Outbound Service Interface belonged to one SWCV and ns, We will call it "ns1:SI_A_OUT".
    In PI 7.3, and I believe 7.11 also, the you no longer assign a default interface in the to the SOAP communication channel sender agreement pair.
    Therefore the SOAP adapter determines the soap method from the payload. If The internal message type in the soap message belong to different namespace, the the java method  getMessage() does not find the correct XML node, therefore does not find the payload.
    <"ns1:SI_A_OUT">
    ...<ns2:MT_element>
    getMessage( ns1:MT_element)
    We are not sure if the issue is the implementation of the SOAP protocol or in the WSDL generation. But this issues seem to create orphan object during runtime, and even if you re-implement the complete interface, the sender agreement seems to be corrupt.
    Therefore the only was we could solve this, was to move our MT to the same namespace as the service interface and rename the interface "ns1:SI_A2_OUT"
    Hope this helps someone.
    Juan Francisco Zurita Duque
    NNIT A/S

  • Payload issue in jdbc to proxy scenario

    HI Experts,
    We have designed a new interface from jdbc to proxy where in it went fine with the design part.
    But while testing it the records are pulled by XI but were not posting to ECC.
    So when collected the payload to test in mapping I see a red color to the fields in the structure. due to which am not able to get the output in mapping.
    Can anyone help me out how to resolve this issue.
    Appreciate the quick response.
    Thanks and regards,
    Ranganath.

    Add those Extra fields in your Data type and dont map it with target.
    or
    In select stataement in sender JDBC adapter mention the fieldname you want to pick
    Suppose employee table has 3 field
    EmployeeeID,
    Employeename
    address
    but you dont want address field then write the select query like this
    Select EmployeeeID, Employeename from employee
    mention the table fieldnames in select query which you have in your mapping source structure.
    if you are write select * from employee
    then address will come as extra field and create problem in mapping
    Refer this
    http://www.java2s.com/Code/SQLServer/Select-Query/Specificcolumnnamesaredefinedinthequery.htm

  • JDBC to Proxy scenario

    Hi,
    Hope you are doing well.
    I have a scenario where I need to fetch the data from an Oracle table and pass them on to SAP via proxy. Since, the data to be extracted from the Oracle db is huge, I want to call a stored procedure to fetch the data, and then pass them on in batches of say 100 records at a time to XI. To do this,I believe the stored procedure has to trigger the interface in XI.
    I have seen a few blogs stating that a sender JDBC adapter cannot interact with a stored procedure since the latter provides the data in a cursor whereas XI needs the data in record sets.
    Then how can I achive my objective? Please provide me some ideas.
    regards
    Debansu

    Bhaskar,
    Thanks.
    A huge amount of data needs to be fetched from the database (for example say 100000 records). My plan was to use the stored procedure to trigger the XI interface and send the fetched data in batches (say 100 records per batch). How am I going to do this without using a stored procedure? Am I going to use fetch all the data using select statements in XI and then chunk it into messages using UDF in XI? Is there a better way to achieve this? Please suggest.
    regards
    Debansu

  • XI protocol error occurred in abap proxy scenario- plz

    Scenario is asynchronous
    Http -> XI ->R/3(abap server proxy)
    sender: Through http client
    receiver is abap server proxy
    <u>Repository objects:</u>
    Sender: sender_DT, sender_MT, sender_MI(outbound asynchronous)
    Receiver: imported RFC from R/3 client 550, receiver_MI(which has message type refered to the imported RFC)
    Interface mapping: source=sender_MI, receiver_MI.
    Proxy generated on R/3 client 550 for receiver_MI.
    <u>Configuartion objects:</u>
    Sender: business service, no comm channel since http sender.
    receiver: R/3 business system
    Comm channel: receiver_cc type of XI.
    transport protocol: http
    message protocol : XI 3.0, since both XI and R/3 on webas 6.4
    addressing type: URL
    target host: diamond
    service number: 8005
    path: /sap/xi/engine?type=entry
    Authentiction data:
    user name: user22
    passwrod; correct
    logon client: 400 which is the same client I developed ll the design and config objects.
    Recevr determinaion, interface determination and recevr agrrement looks fine.
    The error iam getting is:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProtocol</SAP:Category>
      <SAP:Code area="MESSAGE">LOOP_IN_MESSAGE_ROUTING</SAP:Code>
      <SAP:P1>is.05.diamond</SAP:P1>
      <SAP:P2>IS</SAP:P2>
      <SAP:P3>XI</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>XI protocol error occurred</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    <b>
    Please reply , your help is appreciated.</b>
    Thanks
    KK

    Stefan thanks,
    I tried as you suggesetd putting the info of R/3 for
    server: diamond
    port: 8005
    client: 550
    user id: user05
    pwd: correct
    But I get the below error, suggest me what permission should this userid have?
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.01Transitional//EN"><html><head><title>Logon Error

  • Unable to load Database Error for one of the BSO Application.

    Hello Everyone,
    We have one Production Issue like suddenly the an Application Fiji while should be running was stopped. When i tried to restart it its showing Error.
    gvw3086-v.atlanta.hp.com:1423.Fiji    Start  application    August 28, 2013 8:32:24 PM SGT    Failed
    Error: 1002141 Unable to load database [Arirang], error code [1019038]
    gvw3086-v.atlanta.hp.com:1423.Fiji.Consol    Start database    August 28, 2013 8:33:30 PM SGT    Failed
    Error: 1002141 Unable to load database [Arirang], error code [1019038].
    I checked the Log but not sure it correct or not i see this Error message.
    [Wed Aug 28 11:33:48 2013]Local/Fiji///7944/Info(1002089)
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING
    But i also saw this error before but the application use to start automatically but this time it did not.
    can anyone help me on this.
    Regards,
    Naveen

    Hi,
    As i mentioned above its only for one Application Fiji. For a temporary Solution we tried to restart the Hyperion Services. But this did not work. One of the the Hyperion Service HyPService(not sure of the exact name). did not restart. So we have done a a fail over to other node and now the Fiji apps is running. But i don't think so what we have done is the correct fix for the solution. Have any one faced this problem.
    Hi John,
    Which Doc ID you mean to refer me is that the doc which comes with the Essbase Software.
    Regards,
    Naveen

  • SM58 Error For IDOC to IDOC Scenario

    Folks,
    I am getting an error in SM58 from Sender system ( IDOC-XI-IDOC Scenario ) <u><b>IDoc adapter inbound channel: Error Error when reading</b></u>. The Issue is XI is not receiving any IDOCS. Does anybody know what is the problem
    Thanks
    Manish

    Hi Renjith,
    I'm facing the same problem the flow is basically form BW to BO.
    When they load the data at sender side the idocs are stucked with error status 2:
    "Could not find code page for receiving system" in transaction BD87.
    Also when I reprocess it is successful. But its is getting stucked in SM58 with errors like:
    1)Error in RFC connnection
    2)ERROR REQU_D38IW3WD0XGK1DA48DM96N12J PG# 8 in BW
    When I execute it throes an error saying "Function Module does not existsor EXCEPTION raised".
    Also are many queues stucked in SMQ1 Outbound.
    Please help. Many Thanks.

  • How to use Http test Client  for Java Client Proxy Scenario

    Hi,
    I build a scenario using Java Client Proxy where JSP as my FrontHand.
    Can I know that whether i can use Http Test Client in place of JSP for sending data and getting response back. If yes than how can i implement this ?
    Regards,
    Abhi

    Hi,
    with Http Test Client you post your messages
    directly to the Integration Engine (not using adapter framework)
    so you can use Http Test Client to simulate any message
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • Creation of new value fileds

    Initially operating concern is in active mode. I have created new value fileds and assigned to operating concern.  After assignment operating concern is in red. How to activate operating concern.

  • Accessing properties of loaded WindowedApplication from the Main WindowedApplication.

    Hi Friends. I am trying a project and according to my plans I am trying for some thing but don't know is it possible.. I am compiling multiple air applications and One of them will be the main application. and another will not be actually *.air but t

  • Components getting distorted when the JFrame application is minimized

    Hello, I have developed a GUI application using Net Beans, the JFrame has a panel which has a JButton, JTextField, image icon (using label) and few other label's, when i click the button the text fields, image icon, button relocate using setBounds fu

  • General Preferences Show Flag

    logon as sysadmin on 12.0.6 apps set the profile option General Preferences Show Flag'. to No results are as follows: (a) The Preference button is not available in the Application Home Page. (Results were as expected) (b) However, as we enter the app

  • Update Failed for Sum of previous row and current row

    Hi i need to update the column length of the previous row and current row so i followed this method but i'm unable to update what is problem in my syntax SQL> begin 2 DECLARE Total number = 0; 3 UPDATE StringOutput set Total = SumOfLength = Total + C