IDOC to JDBC Message is getting successfull in SXMB_moni

Hi EXperts,
    I have an source IDOC and target to JDBC and my message is getting successfull in MONI and i can not see any audit log in the reciever channel in communication channel monitoring(it is displaying yesterdays log and i can not see todays log).Could any one suggest what might b the reason.
Thanks in advance,
Naveen.

Hello Naveen,
This is a known issue.
As I`m not sure about your systems release and scenario, check the notes below according to them and apply the patches.
1290443 - Audit logs missing for async messages
1228675 - Missing Audit Log entries
1436261 - Audit Logs from other clusternodes are not displayed
1520874 - Unexpected deletion of audit log entries
863182 - Loss of Audit Log entries in case of EOIO processing
I hope this helps...
Cheers,
Jorge Eidelwein

Similar Messages

  • Getting ROUTING_BACK_ERROR in the IDOC to JDBC Scenario

    Hello,
    I am working on the scenario IDOC to JDBC .Here from IDOC i have successfully inserted the entries in the table usig JDBC adapter.But it is giving the error in the acknowledgement as below
    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="OUTBINDING">ROUTING_BACK_ERROR</SAP:Code>
      <SAP:P1>,XD1_WEB</SAP:P1>
      <SAP:P2>,EDI,,</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error in back routing Error in communication channel</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards,

    Hi Muthu,
            Sorry for the late reply, i missed the auto mail.
    Anyways is the problem solved?
    Actually the acknowledgement is asked by sender SAP system which pots idoc so it donot matter if your target is JDBC,
    You can see this weblog where the author sends an idoc to xi and xi posts a file and sends back an acknowledgement to SAP server.The technical reason which i think is that SAP system posts and sees the target as a Business system or business service or an intregation process so it donot matter if target is JDBC or file.
    The weblog is:
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    I mean get a try to this, if this donot work we can troubleshoot or think of alternative solution.
    Have a great day!!
    Anirban.

  • Message mapping issue in idoc to jdbc scenario

    We have a scenario of  idoc->XI-JDBC
    the below given segment may get repeated , as shown below ,
    E1EDP19[2]--idoc segment
       QUALF---003
       IDTNR---01000123(Bar Code No)
    E1EDP19[3]--idoc segment
       QUALF---003
       IDTNR---20500000000034(EAN No)
    Reqd mapping
    if QUALF=003
    THEN IDTNR----->Bar_code_Number_EAN
    Now IDTNR has to be mapped with Bar_code_Number_EAN for the segment which comes last
    Pl suggest how to map using graphical mapping for the above scenario.

    Hi Raj ,
    The current mapping works fine if the parent segment E1EDP01 is only one but if that gets repeated then the last value of IDTNR is getting populated in the target side, very clearly i m giving the source and target structure and the mapping done using the UDF
    Source structure
    E1EDP01
           E1EDP19[1]--idoc segment
                  QUALF---002
                  IDTNR---01000123(Bar Code No)
           E1EDP19[2]--idoc segment
                  QUALF---003
                  IDTNR---01000123(Bar Code No)
           E1EDP19[3]--idoc segment
               QUALF---003
               IDTNR---20500000000030(EAN No)
    E1EDP01
         E1EDP19[1]--idoc segment
                    QUALF---002
                    IDTNR---01000123(Bar Code No)
         E1EDP19[2]--idoc segment
                   QUALF---003
                   IDTNR---01000123(Bar Code No)
          E1EDP19[3]--idoc segment
                 QUALF---003
                 IDTNR---20500000000031(EAN No)
    E1EDP01
           E1EDP19[1]--idoc segment
                   QUALF---002
                    IDTNR---01000123(Bar Code No)
          E1EDP19[2]--idoc segment
                  QUALF---003
                  IDTNR---01000123(Bar Code No)
         E1EDP19[3]--idoc segment
              QUALF---003
              IDTNR---20500000000032(EAN No)
    Target mapping
    if QUALF=002
    THEN IDTNR--->Article_No this is the direct mapping so , no issues
    if  QUALF=003
    THEN IDTNR----->Bar_code_Number_EAN, now this IDTNR should get repeated every time  the segment  E1EDP01 gets repeated , currently only the last value form all the  IDTNR is coming to the target side.
    The current mapping works fine if the parent segment E1EDP01 is only one
    Target structure
    Access1
    IDTNR--> Bar_code_Number_EAN( value is 20500000000030)
    Access2
    IDTNR--> Bar_code_Number_EAN( value is 20500000000031)
    Access3
    IDTNR--> Bar_code_Number_EAN( value is 20500000000032)
    Current mapping
    If QUALF = 003
                    Then  QUALF ---->
                                                     mapBarCodeEAN---->Bar_code_Num_EAN
    If QUALF = 003
                    Then  IDTNR ---->
    Context of QUALF is set to E1EDP01
    Context of IDTNR is set to  E1EDP01
    thanks for your personalised help
    rgds
    mojib
    Edited by: mohammad mojib ur rahman on Apr 9, 2010 1:30 PM

  • Idoc to jdbc :On the basis of field WERKS, the child segments should get re

    We are working on IDOC to JDBC scenario.
    In my IDOC INFREC.INFRECMASS01 has one  segment E1E1NAM( parent segment), inside this parent segment we have one  child segment E1E1NEM containing two lines. On the basis of one field WERKS, the child segments should get repeated in the target  but in the target side we are getting only one of the values of WERKS .
    We have used SPLIT BY VALUE(each value) on WERKS but still only one of the values are coming on the target side .
    pl help
    rgds
    arun

    ahi arvind ,
    i sent the source /target every thing in ur rediffmail id  , we tried to change the context of WERKS TO E1EINAM ,removed split by value , but got an error
    Cannot produce target element /ns0:MT_IB_VENDORISL/STATEMENTNAME[2]/si_sku_vendor_link/ACCESS. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    pl suggest ...
    rgds
    arun

  • Message should get generated in outbound program  when idoc is posted in ot

    Dear All,
    Can anyone please tell me,how i can send response back to the idoc program.
    Requirement: Outbound program will generate an idoc and when it gets posted in the other server a message should appear that idoc was posted in other server...
    Now can anyone tell me how i can do this,i mean message should get generated in outbound program when idoc is posted in other server..
    warm regards
    Sajid

    hi,
    Go through the following thread
    iDoc - XI - iDoc with Acknowledgement
    Regards
    Mudit

  • Message mapping from 0..1 to 1 (IDoc to JDBC)

    Hi,
    My Scenario is IDoc to JDBC. I have a field in IDoc which is optional, this optional filed is mapped to a mandatory field in JDBC.
    If the optional filed in IDoc doesn't exist, then mapping between Optional field and mandatory field is not happening and hence the mandatory field is becoming null which is throwing error in JDBC.
    Can any one guide me in how to map these fields and even if optional field in IDoc doesn't exits, a constant 'false' should be filled in mandatory field.

    Hi
    Use mapwithdefault standard function. so even if your optional field does not occur then a blank value will still be pased to your target field.
    Also you can check if your optional field exitst, if it does not then pass a blank constant else pass your value.
    You can use any of the above 2
    FIELDNAME->MAPWITHDEFAULT->TARGET
    Hope this solves your issue
    THanks
    Saiyog

  • IDOC to JDBC scenario in case of Cost Element Group IDOC.

    This is an IDOC to JDBC scenario.
    The Cost Element Group IDOC is having different segments. The main segment E1COGH (1...unbound) is consisting of different subsegment like E1OGS (0...unbound) & E1COGV (0...unbound). The main segment (E1COGH) along with subsegments E1OGS & E1COGV) is occuring more that 1 times. I have to insert data into the table, which we can do in single rows (no hierarchy  is possible in tables). I have used "use one as many" in message mapping. Now if E1OGS or E1COGV is repeating in a single E1COGH segment then we dont get any error. But if I duplicate the main segment then I am getting runtime exception.
    Please suggest about how to map in this case.

    In my scenario:
         E1COGH
         |
          -> E1COGS
             E1COGV
    where     E1CGH -> Main segment
         E1COGS & E1COGV -> sub segment
    E1COGH -> 1..unbound
    E1COGS -> 1..unbound
    E1COGV -> 1..unbound
    At the target side I have created two Statement Structure (ie.Statement & Statement_1) . One for E1COGS (ie. Statement) & the other for E1COGV (ie. Statement_1).
    Case 1 ->  If E1COGS is present in the main segment E1COGH then it is mapped AS IS.
    Case 2 -> If E1COGS is not present in the main segment E1COGH then it is mapped as blank.
    This will be mapped with Statement & in the absence of E1COGS this Statement structure is SUPPRESSED.
    Similarly,
    Case 1 -> If E1COGV is present in the main segment E1COGH then it is mapped AS IS.
    Case 2 -> If E1COGV is not present in the main segment E1COGH then it is mapped as blank.
    This will be mapped with Statement_1 & in the absence of E1COGV this Statement_1 structure is SUPPRESSED.
    All the elements of the segment E1COGH, E1COGHT & E1COGHR are replicated in all the rows for X (no. of occurance of E1COGS) + Y (no. of occurance of E1COGV).
    While testing in Message Mapping, I am able to get the output as for multiple occurence of E1COGS & E1COGV in a single E1COGH.
    But if I increse the occurence of E1COGH the it is giving the following error :
    Runtime exception during processing target field mapping /ns0:MT_Cost_Element_Group_Response/Statement/DBtablename/access/GROUPNAME. The message is: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Too few values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method useOneAsMany[com.sap.aii.mappingtool.flib3.CollapseContexts@51197231, , ]
    Please suggest how to map the occurence of E1COGH simultaneously with the occurence of E1COGS & E1COGV.

  • Problem in Idoc to JDBC scenario(uses BPM)

    Hi
    I have a IDoc to JDBC scenario which also uses BPM.
    The JDBC adapter has to execute a Stored procedure on Sybase database.
    I work on XI3.0 SP14.
    When I am sending IDoc to XI it is failing in CALL adapter step.
    The error message is "Unable to convert sender service TruckLiftAccountUpdate to an ALE logical system".
    However this scenario is working in Production with same settings.But it is not working in Quality and it is giving the above error.
    Can any one help me in this.
    Thanks in advance.
    KP

    Thanks for your quick reply..
    All the settings are in place.
    Here the Idoc is coming to BPM and BPM cant able to execute the stored procedure.and we are getting the error from BPM to target system.
    Here error is unable to convert the sender service(from BPM service) to ALE
    logical system.
    same settings are there in Production but it is not working in QA.
    Thanks in adavnce,
    KP

  • Very strange error : IDOC to jdbc scenario

    Hi
    I am getting a very strange error when I see the log for the idoc to jdbc scenario that I am building.
    The mapping test shows the header record and line item record properly in the mapping result.
    insert, access nodes, fields with access nodes are all formed correctly.
    However the communication channel log shows below error.
    Could not execute statement for table/stored proc. "tblTestItem" (structure "Item") due to com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'tblTestItem' (structure 'Item'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    The message status was set to WAIT.
    The query that I see in the log is :INSERT INTO  tblTestItem () VALUES ()
    However mapping tool shows that all nodes are correctly formed.
    Please assist.

    Hi
    I am still getting this issue even after the below steps so kind of stuck - actually very much stuck.
    1. Restart of the dev environment
    2. Tried with a new extension of the idoc
    In the communication channel log for the JDBC receiver channel I still see
    INSERT INTO tblItem () VALUES ()
    The payload that I see in the message content tab is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_XXX_XXXX xmlns:ns0="http://capita.com/pi/XXXX">
    - <Statement>
    - <dbTableName action="INSERT">
      <table>tblItem</table>
      </dbTableName>
    - <access>
      <InvoiceNo>0000000009293467</InvoiceNo>
      </access>
      </Statement>
      </ns0:MT_XXX_XXXX>
    How do I debug the jdbc adapter to see how it converts the above xml output from the mapping step (note that this output is from an actual run and not test tool) to a sql query.
    Very strange that the column names are present in the target payload but it is not reflecting in the query.
    I have other tables being populated with the same jdbc receiver communication channel which makes this more and more confusing.
    PLEASE ADVICE.

  • IDOC to JDBC

    HI All,
    I am working on IDOC to JDBC scenario. Everything is going correct In Pipeline steps.
    But in whenever I am sending IDOC frm R3 to XI message getting stuck in SMQ2 . for this I have checked after the mapping Excuetion if I am sending the 5000 records in IDOC after mapping I am getting only one record in payload.
    Moreover I have checked in SXMB_MONI and notice very unsual thing
    Inbound tab in MONIidoc is coimg in place of AENGINE and nothing is coimg in outbound tab for place of IENGINE and Q.Status it is coimng red errror symbol.
    Please advice...
    Regards
    Edited by: Manish22 on May 4, 2010 2:25 PM

    Hi ,
    All the steps are there and fine in SXMB_MONI but the last step call adapter is not coming that means CChaanel adapter is not properly working. For this I checked in Communication Channel Monitoring no message is there?
    I have refershed the cache also and I deleted and created New Channel also. it is not working 
    Please advice..
    Regards

  • Acknowledgment in IDOC- XI- JDBC

    Hi,
    I have a question I've got a process IDOC->XI->JDBC without BPM.
    In BPM could I set "Acknowledgment" f.e. to Transport  if I use a async sender.
    Could I also use this option in a process without a BPM?
    THX Matt

    Hi Ajay,
    thanks for your response message
    The problem that I have is, on my QA System, I get akcnowledgment from Sybase DB - no problem.
    But since we transport all the stuff zu Prod. System it doesn't work anymore...
    What did you mean with "you have to create a listener in the sender side".
    Thanks a lot
    Matthias

  • IDOC to JDBC :Error handling in Query execution

    Hi,
    I have a scenario idoc to JDBC, here I will get 'n' number of segments in an idoc corresponding to 'n' records which needs to be updated in SQL Database table.
    In this scenario how we can handle the error when any record is failing while updating into the table?
    Is there any method by which we can know which records are successfull and which records are unsuccessfull?
    Please provide your valuable ideas.
    Regards,
    Shiva.

    Hi Soorya,
    thanks for the response.
    Actually I want to know how to handle the situation when we are trying to insert/update 10 records and if 6th,7th and 8th records failed to insert/update then
    1. Will the other records are insert/updated in to the DB?
         If yes : then how to get know the failed records(6th , 7th  and 8th) i.e., how the response msg will be?
          If no :   then how the response msg will be?
    2. Is this achieved thru normal sql query or need to use stored procedure?
    Regards,
    Shiv.

  • IDoc to JDBC Problem

    Hi Frnds,
    I'm doing a IDOc to JDBC scenario, there is some intermediate processing in between which involves getting response from DB & sending final update message to DB using JDBC. Till obtaining response  & sending final update is getting executed successfully but  i was asked to handle exception case in BPM where if we get empty response then an alert should be raised & send to the recepient
    So for doing this  i had some questions
    1. I included exception branch  & assigned two control steps in it one for sending Alert & other for cancelling process. Is this fine or do we not have deadline step as mandatory to handle exceptions ?
    2. How can we identify whether response from JDBC is empty in BPM, exactly where can we set application acknowledgement for synchronus send step in BPM,becoz when there is empty response process should go to exception branch for handling this ?
    Need ur suggestions Pls..
    Regards,
    VKG.

    1. I included exception branch & assigned two control steps in it one for sending Alert & other for cancelling process. Is
    this fine or do we not have deadline step as mandatory to handle exceptions ?
    Thats fine....deadline is normally required for Async_Send and receive case.....the SYNC call will be completed within a given time-frame.....so if you want to set deadline then make sure that you select a trade-off between the SYNC_Timeout and your business need.
    2. How can we identify whether response from JDBC is empty in BPM, exactly where can we set application
    acknowledgement for synchronus send step in BPM,becoz when there is empty response process should go to exception
    branch for handling this ?
    You have to make use of a SWITCH branch and then  check if the response if blank or not.....check if a node exists and if it exists then check if it has some value or not.
    Regards,
    Abhishek.

  • IDOC to JDBC :Error using JDBC

    Hi Frnds,
    My scenario is Idoc to JDBC scenario, I am getting the follwoing error while trying to process an idoc. Please help me in hadling this error.
    Error Message:
    JDBC message processing failed; reason 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:microsoft:sqlserver://180.1.32.194:1433;DatabaseName=CZZ03;': SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    Regards,
    Shiv

    Hello Shiva,
    Are you installed  JDBC Drivers?
    Go through this links,
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    Thanks,
    Satya Kumar
    Reward if it is usefulll

  • IDOC to JDBC - Multiple Inserts

    Hi  ,
    I have an idoc to JDBC scenario.
    Here is idoc structure.
    E1MASTL 1...1
              |-->  E1STOKL 0....9999
                 |--->E1STOPL 0....9999
    my table struture expects data  from 2 segments in the E1MASTL and 4 segments from E1STOKL and 3 segments from E1STOPL.
    when i trigger the idoc which has 5 line items in E1STOPL and 5 line items in E1STOKL but only one from E1MASTL.
    Now, when this idoc is triggered, the table is updated with all the first line items from each segment, instead i want all the 10 lines to be updated in the table.
    I  have tried mapping the Statemetn and access tags to the all the possible nodes on the Idoc side but could not succed in inserting multiple lines in the table though i had multiple line items in the idoc.
    Please help me how do i do it.
    Thanks in advance.
    Regards,
    Kalpana.
    Edited by: Kalpana Timmapuram on Nov 27, 2009 9:58 PM

    Now, when this idoc is triggered, the table is updated with all the first line items from each segment, instead i want all the
    10 lines to be updated in the table.
    The Statement node should be repeating.....now only first instance is getting mapped because the Context is not handled properly.
    If you test the mapping in Message Mapping/ Interface Mapping Test tab then too the same thing will happen...only first line item is considered.
    You either need to raise the Context of the respective Source nodes to a higher node (right-click on the source node in mapping editor--> Context --> raise it to higher node)
    OR
    You need to make use of the standfard functions Collapse Context & Remove Context in the mapping logic.
    Regards,
    Abhishek.

Maybe you are looking for

  • JMS transport - weblogic changes soap:address location="jms:.. to http

    Hi, Please help me to configure web service to use only jms transport. I try to create web service that uses JMS transport. I started from WSDL where I placed two elements: <soap:binding style="document"                transport="http://www.openuri.o

  • Bookmarks not recorded

    When I open a book using Adobe Digital Editions and if I want to access the bookmarks I have created during the previous session it fails.When I click on the bookmark button the name of the previous bookmarks are displayed duriing less than one secon

  • MacBook Pro and Iphone emails Gmail:

    I have a MacBook Pro and iphone sync'd, my email boxes are fine on the iphone and controlable. then I have a set up as Photobox50 Gmail which holds all my Gmail from any of my three email addresses. I want to delete from this Gmail - All Mail permane

  • Help in printing from flex application

    Hi Guys, I am working from last few days with the printing via flex application, i face some issues while printing if any have suggestion or help it would be great.. 1. Print which i got is not clear, like fonts are little fuzz or blur like. 2. Is pr

  • ODBC/oracle problem

    To further clarify the problem I mention below, the specific error I get with integer datatypes is "Driver Not Capable". Thanks. Date: Wed, 07 May 1997 11:53:54 -0500 To: forte users From: Tim Clotworthy <[email protected]> Subject: ODBC/oracle probl