Error from BPE Adapter using in Async Sync scenario

Hi,
I'm trying to use a Asyn Sync pattern with BPM:
1)File adapter get a file from AS400, split it several XML messages and send to XI(Async)
2)XI get each message and forward to BPM using XI adapter
3)BPM has to send the message to R/3 via BAPI (Sync)
4)R/3 reply the result message to BPM(Sync)
5)BPM has to send the result message to e-mail system if an error had occurred in BAPI call (Async)
When I send directly from File adapter to R/3 works like a charm, but when I want use the BPM, a soap header error says to me, that cannot identify a data type that I’m using in the message sent by File adapter.
The error that I'm getting is BPE Adapter UNKNOWN_MESSAGE in soap header.
Regards,
Eduardo

I got the same problem after installing new patches.
This is what I had to do:
Go to SXI_CACHE
- Choose Business Processes
- select your Buisness Process
If your buisness process has Return Code 99
- Click "Repeate Activate" button
- On the next screen, click Activate again.
This worked for me. Good Luck!

Similar Messages

  • 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

  • Error Category: BPE ADAPTER???

    i  have a simple file to file scenario...with a BPM in which i have a send, a receive and one transformation...
    on running the scenario..i get the error in the MONI
    Error Category: BPE ADAPTER
    Error ID: UNKNOWN MESSAGE...
    whats the reason???????

    Hi,
    Tcode : SXI_CACHE
    Select your integration process which you created in IR and activate.
    again you will get the return code is 2 and again activate your integration process until you will get the return code is '0'.
    Prerequisite for BPM : check tcode : SWF_XI_CUSTOMIZING
    all are in green hook , if not get all are green hook
    Regards
    Chilla

  • Error in BPE Adapter

    Hi,
    I Want to Know How to Configure BPE Adapter.
    I have Done the Scenario of Arpit's given in WEBLOG File to RFC to File using BPM.
    I m getting the Following Error.
    <sap:category>XIadapter</sap:category>
    <sap:code area="BPE_ADAPTER">Unknown Message</sap:code area>
    No Message Type found for this type.
    Plz Suggest me.
    Thanks in Advance,
    Sree.

    Sanjay,
    XI 3.0 SR1 = SP 9.
    Until SP 9 to activate a BPM in cache you need an access key (which can be requested from SAP), An access key is needed to create/change the custom programs. SAP realized that BPM is not a program rather it is configuration they corrected it with OSS Note 708338.
    To apply the note, you have to configure the OSS1 transaction and go to SNOTE transaction and apply the note.
    regards
    Shravan

  • Error-Receiver File Adapter using Variable substitution when file is empty

    XI Experts,
    We are on PI 7.0, SP14.
    We are using variable subtitution to get the filename from source message. This works fine as long as we have data in the payload for filename element. But we have a scenario where we don't have to create file when certain condition does not exists in source message so in the message payload filename element will not exists in such condition and file will be empty and we should not create file.
    Parameter in the communication channel for Handling empty message is "Ignore".
    Does anyone knows how to handle this scneario. We don't want to default any file name in the message mapping if source file name element does not exists.
    We are following getting error in the Adapter engine.
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: The following variable was not found in the message payload: file
    Thanks
    MP

    You can implement this by writing the module to throw an exception or whatever method you want to execute.
    If you don't want to receive an error message then module is suitable for you.
    Gaurav Jain

  • Hide an error from the application using a servererror trigger?

    We have an application designed for an old oracle version which issues some sql which is no more supported in todays database version.
    We want to use the application unchanged with a new database server.
    Old Server Version: 7.3.4 (still in production...)
    New Server Version: 10.2 or 11.2
    The application issues an
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS ;
    which results in ORA-01986 and the application dies.
    We would like to hide the error 01986 from the application using a trigger:
    create or replace
    trigger catch01986
      after servererror
      on schema
      begin
        if (ora_is_servererror (1986)) then
          null; -- what to do here? we want clear the ora-01986 from the error stack
        end if;
      end catch01986;How to handle the error, so that the alter session set ... statement is just ignored and no error code is returned to the application?
    I asked already some days ago in Database-General Forum, but triggers belong to PL/SQL, so i repost here.
    Tnx for help in advance!

    Hi,
    hoek wrote:
    A totally weird and untested (and unable to test today) thought:
    http://technology.amis.nl/blog/447/how-to-drive-your-colleagues-nuts-dbms_advanced_rewrite-oracle-10g
    Very interesting for real dirty solution.
    Does not work for my problem, DBMS_ADVANCED_REWRITE works only for select statements.
    BEGIN
       SYS.DBMS_ADVANCED_REWRITE.DECLARE_REWRITE_EQUIVALENCE (
       'alter_session_equivalence',
       'ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS',
       'ALTER SESSION SET OPTIMIZER_MODE = RULE',
       FALSE);
    END;
    ORA-30389: the source statement is not compatible with the destination statement
    ORA-00903: invalid table name
    ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 29
    ORA-06512: at "SYS.DBMS_ADVANCED_REWRITE", line 185
    ORA-06512: at line 2
    30389. 00000 -  "the source statement is not compatible with the destination statement"
    *Cause:    The SELECT clause of the source statement is not compatible with
               the SELECT clause of the destination statement
    *Action:   Verify both SELECT clauses are compatible with each other such as
               numbers of SELECT list items are the same and the datatype for
               each SELECT list item is compatible
    hoek wrote:You already had some trigger code, catching the error and sending it to null, why didn't that work?The trigger is fired when the error occurs, but after completion of the trigger, the error code is still delivered to the client.
    I dont know how to handle the error within the trigger.
    Does the client read the error stack and does it die after reading an error from the stack?The client just checks the error code. On error it terminates.
    With the SERVERERROR TRIGGER i did the following tests:
    Test 1: trigger does nothing
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
          NULL;
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-01986: OPTIMIZER_GOAL is obsolete
    01986. 00000 -  "OPTIMIZER_GOAL is obsolete"
    *Cause:    An obsolete parameter, OPTIMIZER_GOAL, was referenced.
    *Action:   Use the OPTIMIZER_MODE parameter.
    -- Client Application reports errorcode 1986Test 2: Trigger raises NO_DATA_FOUND
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
          RAISE NO_DATA_FOUND;
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-04088: error during execution of trigger 'AH.CATCH01986'
    ORA-01403: no data found
    ORA-06512: at line 9
    ORA-01986: OPTIMIZER_GOAL is obsolete
    04088. 00000 -  "error during execution of trigger '%s.%s'"
    *Cause:    A runtime error occurred during execution of a trigger.
    *Action:   Check the triggers which were involved in the operation.
    -- Client Application reports errorcode 4088Test 3: Trigger raising an APPLICATION ERROR
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
            DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
        END IF;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20999: this makes no sense
    ORA-06512: at line 10
    ORA-01986: OPTIMIZER_GOAL is obsolete
    00604. 00000 -  "error occurred at recursive SQL level %s"
    *Cause:    An error occurred while processing a recursive SQL statement
               (a statement applying to internal dictionary tables).
    *Action:   If the situation described in the next error on the stack
               can be corrected, do so; otherwise contact Oracle Support.
    -- Client Application reports errorcode 604Test 4: Adding an EXCEPTION part to the trigger does not help, this will catch only exceptions raised while the trigger executes:
    CREATE OR REPLACE
    TRIGGER CATCH01986
      AFTER SERVERERROR
      ON SCHEMA
      BEGIN
        IF (ORA_IS_SERVERERROR (1986)) THEN
            DBMS_STANDARD.RAISE_APPLICATION_ERROR(-20999, 'this makes no sense', true);
        END IF;
      EXCEPTION
        WHEN OTHERS THEN
          NULL;
      END CATCH01986;
    ALTER SESSION SET OPTIMIZER_GOAL = FIRST_ROWS;
    ORA-01986: OPTIMIZER_GOAL is obsolete
    01986. 00000 -  "OPTIMIZER_GOAL is obsolete"
    *Cause:    An obsolete parameter, OPTIMIZER_GOAL, was referenced.
    *Action:   Use the OPTIMIZER_MODE parameter.
    -- Client Application reports errorcode 1986So i do not know what to do inside the trigger to clean the error stack so that the client will receive no errorcode.

  • Sending Request Mapping errors back to a consumer for a sync scenario

    Hello Experts,
    I have a sync scenario (JAVA Application <-> PI <-> CRM (service)) where i want to send back any mapping exception that occurs in PI on the request side of the call, back to the consumer.
    I also want to communicated back to the consumer, if there are any connection failures between PI and CRM.
    I have implemented Fault Mapping in my scenario. Will this take care of any connection failures between PI and CRM also? 
    Your suggestions are highly appreciated.
    Warm Regards,
    Anshul

    Hello,
    I have a sync scenario (JAVA Application <-> PI <-> CRM (service)) where i want to send back any mapping exception that occurs in PI on the request side of the call, back to the consumer.
    You can use the XI alerting framework for that, here are some references:
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/content.htm
    XI: Alerts - Step by step (Step-by-Step blog by Michal)
    I have implemented Fault Mapping in my scenario. Will this take care of any connection failures between PI and CRM also?
    Fault Mapping is for application errors only, it will not handle system errors.
    Hope this helps,
    Mark

  • Returning Errors from a webservice using XMLBeans

    I have a webservice that accepts XML as input and output parameters, and I'm using XMLBeans to handle this. I'm trying to work out how I can return error information from the webservice, so I created an Exception.xsd schema and 'include' it in the output XML Schema, so an exception xml element is valid in the output schema. The problem is, the XMLBean class generated from the output XML schema has no methods that allow me to create an Exception element. Is there some other way of handling the return of exceptions from webservices using XML?

    The answer is just throw a SoapFaultException and put the exception.xsd XMLBean in the FaultDetail section of the SoapFaultException.

  • Error from RFC adapter

    Hi,
    I encountered an error while sending RFC from ECC5.0 to XI using RFC sender communication channel and TRFC.  The error in the TRFC monitor is
    com.sap.aii.af.rfc.afcommunication.RfcAFWEx
    : lookup of alternative
    Does anyone have an idea what might be causing this?
    thanks.
    James Chang

    Hi,
    Is it solved?
    If not just check with RFC Destinations(SM59- Tcode). Also check with Cache Refresh.
    RFC Sender Error
    https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Hope it helps,
    Regards,
    Moorthy

  • Errors from WAD when using template

    <u>Question 1</u>
    How can the following errors be fixed or removed from WAD when the template 0ANALYSIS_TEMPLATE is retrieved. All objects have been activated:
    E260    Template Include Item HEADER_TEMPLATE unresolved or empty. Close and reopen template.
    E260    Template Include Item FOOTER_TEMPLATE unresolved or empty. Close and reopen template.
    W155    Width of Object item:CONTAINER_LAYOUT_ITEM:CONTAINER_LAYOUT_CONTENT is very small (1)
    <u>Question 2</u>
    According to OSS note 1048857:
    <i>Import Support Package 14 for SAP NetWeaver 7.0 BI (BI Patch 14 or SAPKW70014) into your BI system</i>
    Is is this referring to using SNOTE for this particular problem? SP 14 has not yet been released.
    What is it referring to?
    <u>Question 3</u>
    How do I get to the portal system and get to the PCD? Is there some sort of authorizations that should be set to get to the protal as the EP user Admin.
    null

    Please activate all BEx Web templates (BTMP) that begin with '0'. Please activate all Reusable Web items (BITM) which' begin 'with '0'. After this you should restart the J2EE Engine. This will solve your problems.
    Regarding the note - It means that the issue "Object 'BTMP:0ANALYSIS_PATTERN' refers to the invalid object 'QU:" can be ignored now. This error message will not come in SP14 (whenever its released).

  • Receiving "Invalid char in text." error from file adapter

    I'm testing a file adapter and am receiving the following error:
    Invalid char in text.
    The invalid character seems to be the ascii Record Separator character, Hex 1E, HTML &#xa;
    Is it possible for me to modify the file adapter schema to handle this character?

    The HTML description should have been this (minus space characters)
    & # x a ;

  • How can I prevent a memory flow error from occuring when using 3D contour plots?

    After displaying a single contour plot a number of times, LabVIEW crashes and reports a memory overflow error.  I only load a single 2D array, never storing previouls ones. I always index the data for contour plot 0, and don't explicitly store multiple 2D arrays in any buffer, such as appending data to a shift register.  There appears to be some sort of memory leak in LV when using this feature.  Is there a programatic way to flush the stored data in a contour plot prior to displaying the next 2D array of data?

    Hello MicTomReiSr,
    Is this in the LabVIEW development environment?  Are you making changes to the code and then running the VI?  Does the plot contain default data? Is the indicator cleared when the program stops?  The Plot Clean Data method may be what you're looking for.
    Remember that the development environment maintains an undo history of the changes you've made, and copies both the block diagram and FP contents each time.  If you have a lot of data displayed on the front panel you end up copying it multiple times.  This isn't a problem unless you're actively editing the VI in question.
    If you do need to edit and run the VI at the same time (perfectly reasonable, although you might want to consider a 64-bit installation or more RAM if you commonly work with resource-intensive data types like 3D plots) try reducing the Undo history length (Tools>>Options), although be aware that you won't be able to back up as many steps.
    Regards,
    Tom L.

  • Async-Sync scenario with out using BPM

    Hi All,
    With SP19 we can implement File-RFC-File scenario with out using BPM.
    But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
    My input file has five elements. A1,A2,A3,A4,A5
    The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
    Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
    D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
    Can anyone advise how to go about it. I don't want to use a BPM here.
    Thanks
    Abinash

    Hi
    the following thread may help you
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
    File - RFC - File without a BPM - Possible from SP 19.
    Thanks,
    Ram

  • How to capture SOAPFault in an Async/Sync Scenario without BPM

    Hello friends,
    My scenario is ECC (async) to SOAP (sync) and back to ECC (async = ALEAUD). I'm using aync/sync bridge is receiver SOAP adapter.
    My scenario works fine with a normal response but when I get a SOAPFault as a response I get the following error in de receiver SOAP adapter:
    Message processing failed. Cause:
    com.sap.engine.interfaces.messaging.api.exception.ConfigException: No sender agreement configured that matches the message's header fields (sender party: "", sender service: "NONSAP", interface: "urn:test,  SII_Test_Sync", receiver party: "", receiver service: "BS_ECC")
    The configuration of my receiver SOAP adapter looks like this:
    Did I use parameters interfaceOnFault and interfaceNamespaceOnFault correctly?
    Your help is greatly appreciated,
    Kind regards,
    John

    Hi Nilesh,
    sorry for the delay. What I found every time i used the option "DO NOT use SOAP envelope is checked" is that the envelope is removed from request and response/fault messages as well. To solve those kind of errors I developed a module called ReplaceString. What this module does is to replace a string with another one passed as parameter. What do I archive with this? Well I sometimes use this module to include some parts in the xml message before it gets in PI. For example, lets say you receive something like this:
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    and you are expecting something like this:
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    </soap:Envelope>
    You could use this module to replace the following strings:
    <FaultMessage>
    by
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"><FaultMessage>
    And
    </FaultMessage>
    by
    </FaultMessage></soap:Envelope>
    If you find it useful, I can paste the code of the module here.
    Regards!

  • Async/Sync scenario idocs- soap

    Greetings All,
             I have a scenario (on PI 7.1) where i needs to send a ZIDOC data from ECC to external web service. The web service returns response back on successfully processing the data. There is no need to update anything received from the response back to ECC (response is just a record no).
         Is it possible to achieve this without using BPM?
    (Note: I am using Java mapping to develop SOAP envelope after message mapping, as I need to add some parameter to soap header of request structure)
        I am ready with scenario (without BPM), the operation Mapping is having idoc at sender side and service interface which soap wsdl on receiver side. I did not have any mapping from response to ECC. I am not sure if it going to be work for me or not.
    I am waiting for your inputs/help and will be appreciated.
    Many Thanks,
    Sandip

    >>>Is it possible to achieve this without using BPM?
    Yes. It is possible to do idoc to soap without using BPM. You basically want asynchronous scenario.
    >>> I am not sure if it going to be work for me or not.
    >>>I am waiting for your inputs/help and will be appreciated.
    Theoratically you can ignore the response from webservice by not doing response mapping. You might see some errors  that message got interrupted in Integration Engine. I guess

Maybe you are looking for

  • HT1657 I rented a movie from iTunes but it is not showing up in the Movies section. What do I do?

    I just rented and downloaded a movie from iTunes and now it will not show up in my iTunes library. What do I do? It DOES show up in iTunes on my iPhone. It DOES NOT show up on my desktop. Any thoughts? Ideas? I rented it for a flight I get on in 3 ho

  • Unconfirmed line items of a sales order into account in credit management

    Hi Gurus Updated the customer orders via prog. RVKRED09. There is only one open order for this customer = 720662. My question is: in the credit master the sales value/credit exposure is USD 77.100,00. The order is for USD 105,900.00 . Found out that

  • File name and Measuremen​t in the same table?

    Hi, I have written the following VI that opens up each image file from a folder and measures a certain dimension on the image. It then puts the result of the measurement in a table. The table has one column and N rows since I have N images in my fold

  • SUS PO response in status 'out of date' SRM 7.0

    hello, after creation of PO response by vendor on SUS it always goes into status 'out of date'  and the message occurs when buyer wants to confirm this PO response - "PO XXXXXXX  has change version, hence POR changes cannot be copied to PO".  however

  • Help finding benchmarks for current iMac variations

    Hello all, I am trying to find some benchmarks to compare the various choices in the current iMac lineup. Specifically I am interested in the 20" iMac and would love to know how much of a performance jump the 2600pro provides over the 2400xt, since t