Error in transformation step

Hi all,
In my requirement i have a BPM with the following steps
start->Rx->Send<>Tranform>Send->end
first send step is synchronous and it is sending req to a website and receiving response through http receiver channel.
second send step is asynchronous , sending response received from website to a file server through file receiver channel.
i have a transformation step ,where i am doing transformation between the structure in receive step and the structure in second send step,
can i do that?
can we do transformation between any async abstract structures that we define for BPM?
BPM is showing error in transformation step, i dont know whats the error is and how to see the error and rectify the problem
plz help
regards
jhansi

<b>-Check the Transformation Step in BPM, weather it has correct source and target abstract interfaces or not.
- Check the Message Mapping and interface Mapping manually from the Test Tab in IR.
-Check the status of the Error of BPM in SXI_CACHEIntegration ProcessyourBPM. Code should be 0..if something else it is showming means it has an Error.
-Check the Test data you are using to test your interface.
- Check Webservice sending the correct response or it is failing at the time of response..may be because of WS is not running properly or server is down.</b>
Thanks
Farooq.

Similar Messages

  • Capture Error in transformation Step and send it by email without Alerts

    Hi all,
         I have a problem in my BPM.
         I need to capture an error in transformation Step and send it by email with a send step without alerts. 
    Is there a way to do this in BPM?

    Hi Mariano,
    Please check the standard pattern in IR under software component SAP BASIS ->Integration process
    -->BpmPatternReqRespAlert.Hope this will help you for building the scenario.
    In this process we define a deadline branch to monitor the deadline. If the deadline is missed, an alert is triggered and this can be sent to an email too.
    Alert Configuration
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Hope this helps.
    Best regards,
    Sharath
    Edited by: sharath Girmaji on Dec 19, 2008 7:17 PM

  • Error in Transformation step of BPM

    Hi all,
    In BPM, I have defined a transformation step. For this, I have specified the Interface mapping which is between 2 abstract asynchronous interfaces. The Message Mapping for this Interface mapping involves multi-mapping (1:n) of the messages used.
    Also, for naming convenience, I have kept the names of the abstract async interface and its message type same.
    I have created containers for the message types of the both interfaces. The container for target message is of type 'multi-line'.
    When I checked the integration process, errors (red boxes) appear for both - the source and target messages in the transformation step properties window. The error text says <b>"Expression must return the interface type < Name of abstract message interface >"</b>
    What could be the cause of this error ?
    Any help would be appreciated.
    Thanks in advance.
    -Shankar

    Hi Shankar,
    Are you splitting the messages i.e 1 message into N messages ? If so, do  you have multiple message types in the Message Mapping in the target side ?
    Anyway, just recheck the Abstract Interfaces are activated. And reassign the container variables with Source message Absract Interfaces and Target message Abstract Interfaces.
    The error tells that, there is somewhere occurence problem.. So that is mismatch with the Message Interfaces..because you have selected the Multiline in the COntainers right ? Check without that..if it is ok, to narrow down the debugging..
    Regards,
    moorthy
    Regards,
    Moorthy

  • BPM Error in Transformation Step: Interface Mapping not found

    Hi,
    Can you help me on this? I have a tranformation step in my BPM that combines a request and response message of a previous Send step to create a Source message for the next Send step. However, on my transformation step, I got the mapping error in workflow log: Interface mapping http://gl.euhreka.com/learning/skillsoft/catalogSy.YGLXI_OM_MergeRequestAndHandleResponseAB_To_PollFo (SWCV=DF8549309ECE11DFB58DF3570A341E0F) not found
    Do you have any idea about this error? My mapping program is working fine. I also checked if the container elements assigned to the transformation steps are correct. 
    Can you suggest of other way on how can I achieve on merging 2 messages (request and response) and set it to the Request for another send step?
    Thanks,
    Jenny

    Hello,
    I already solved the problem. The namespace and Operation mapping name is too long that's why it cannot be located at runtime.
    After the rename, another error appeared.
    "Incorrect XML format after mapping: Root-Tag expected instead of Messages"
    There are no useful information on the trace:
      <?xml version="1.0" encoding="utf-8" ?>
    - <MappingTrace>
      <Trace level="1" type="T">Mapping http://test YGLXI_OM_Merge , Software Component Version DF8549309ECE11DFB58DF3570A341E0F</Trace>
      <Trace level="1" type="T">Mapping Step 1 , Type XSLT , Program PollForReport_Merge</Trace>
      <Trace level="2" type="T">Call XSLT processor with stylsheet PollForReport_Merge.xsl.</Trace>
      <Trace level="2" type="T">Returned form XSLT processor.</Trace>
      </MappingTrace>
    Here is myXSLT program:
    <?xml version='1.0' encoding='utf-8' ?>
    <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"  >
         <xsl:template match="/">
              <YGLXI_MT_PollForReportRequest>
                   <customerID>
                        <xsl:value-of select="//customerID"/>
                   </customerID>
                   <customerPassword>
                        <xsl:value-of select="//customerPassword"/>
                   </customerPassword>
                   <reportIDHandle>
                        <xsl:value-of select="//reportHandle"/>
                   </reportIDHandle>
              </YGLXI_MT_PollForReportRequest>
         </xsl:template>
    Here is my source message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:YGLXI_MT_InitiateFullCourseListingRequest xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
             <customerID>ZZZ</customerID>
             <customerPassword>XXX</customerPassword>
             <reportFormat>VVV</reportFormat>
             <mode>VCC</mode>
             <userName>CC</userName>
          </ns1:YGLXI_MT_InitiateFullCourseListingRequest>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:YGLXI_MT_InitiateFullCourseListingResponse xmlns:ns1="http://gl.euhreka.com/learning/skillsoft/catalogSynchronization">
             <reportHandle>SADA</reportHandle>
          </ns1:YGLXI_MT_InitiateFullCourseListingResponse>
       </ns0:Message2>
    </ns0:Messages>
    I tested my program in Operation mapping and it is working. How come it is not in BPM?
    Thanks,
    Jenny

  • Error in transformation steps

    Hi
    I have a scenario where i need to send to source messages  to ont target message ,I am tring to do using BPM.
    I have used steps
    1)recive step to recive the file(I am giving here 1 msg type from two)
    2)Transformation step to transform two sources to 1 target
    3)Send file to pick the file.
    I am not doing any configuration for the transformation step...
    Error in bpm work flow technical details at mapping error..
    *****com/sap/xi/tf/_eadress_mm_com.sap.aii.utilxi.misc.
    api.BaseRuntimeExceptionRuntimeException in
    Message-Mapping transformatio~******
    I have tested messape mapping & interface mapping they where no errors..
    Can any please help me how to work with transformation or can any one please send sample weblogs which explains transformation step in detail...
    Thanks
    sriram

    Hi,
    <i>1)recive step to recive the file(I am giving here 1 msg type from two)</i>
    >> Do you mean, you are getting 2 files of same message type ? i.e multiple messages of same message type,then you need to collect it and send it one message ? So you need to execute N:1 mapping ?
    If so, you need to go for bpmCollectPatterns available in the SAP BSAIS Software comoponent in the Repository.
    Refer this part of SAP Help-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
    If you  have 2 types(i.e 2 different Interfaces) of files then you can look into this Pattern-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    >>>the error looks like , mapping is not done properly.i.e did you test the mapping with the live data from the SXMB_MONI.
    Also check the Occurence levels of the messages in the mapping, if you are collecting the messages
    Hope this helps,
    Regards,
    Moorthy

  • BPM Collect Pattern: N:1 Mapping error in trnsformation step

    Dear All,
    I am using collect pattern Payload Dependant.
    I have one source data type and one target data type. Mapping is one to one.
    Data type contains 3 fields, Value Name and Surname.
    In Loop I have used condition when Counter is equal to value stop the loop.
    I have used Transformation step as I am using N:1 mapping.
    I have used abastrct to abastract message mapping.
    Source message is 0 to unbounded.
    In interface mapping target message occourance is 1. But in mapping program target message occourance is 0 to unbounded.
    When I am running my scenario, Third party to IP is working fine. But in IP i am getting error in transformation step.
    "com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:Messages/ns0:Message1/ns1:Collect_Receiver_MT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd at com.sap.aii.mappingtool.tf3.AMappingProgram.start"
    Can anybody will help me to solve this problem?
    Warm Regards,
    Gouri

    Have a look
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
    Also have a look at these seminars,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    Thanks

  • Error in Transformation of BPM(N:1 Scenario)

    Hi,
       I am trying out a BPM scenario for an N:1 transformation.The workflow log shows the error on Transformation step.The Interface mapping(called inside BPM) is done between the abstract type of both Source structure(0 to Unbounded) and the target structure(1-1).The underlying Mesage mapping between the source and the target is as as below :
          Source                                                                     
         Messages(1-1)                                                            
              Message1(1-1)
                   MT_Src(0-Unbounded)
                       Packet(1-1)
                          Dataset(0-Unbounded)
              Messages(1-1)
                  Message2(1-1)
                      MT_Src(0-Unbounded)
                           Packet(1-1)
                              Dataset(0-Unbounded)
          Target                                                                     
         Messages(1-1)                                                            
              Message(1-1)
                   MT_trg(1-1)
                       Packet(1-1)
                          Dataset(0-Unbounded)
                                                   Could someone help me out with any pointers to the above said pbm?

    Hi Thiyagarajan,
    the problem is, that such a mapping makes no sense.
    You have 1-1 in target. That means that the target message will be generated exactly one time (not more and not less)!
    So it is not possible to map two sources (which are 0-Unbounded) to a target that is 1:1.
    Regards Mario

  • BPM Collect Scenario errors at transform stage

    The BPM Collect scenario is using a Fork within a Block.
    Branch 1 - Loop Receive Append Container Endloop
    Branch 2 - Receive step of triggerIdoc
    End of Block
    Transform step - multiline container of XML documents to one XML document
    Send step
    BPM Errors at Transform step with JCo mapping not available.
    Whilst BPM in Error (Workflow in Error) more messages being received but never processed as the RECEIVE event is "lost" for these messages.
    We are looking at redesigning the BPM to reduce the likelihood of this transform error.
    In the meantime was looking at ways to Alert the administrator straight away to the error. As we have a workaround to get the process going and to pick up the stranded messages. So have started setting up the ALERT categories as described in How to Guide, for Adapter and Interface. Will this work?
    Also in the Transform step there is a box (system exception) but I can't enter anything in. Is there a way to do this if the Alert category doesn't report an error in the BPM. OR do I have to add the Transform step into a Block of its own?
    Advice gratefully received if we come up with a working solution will post it out here. Have spent a large amount of time reading posts and blogs on here but have not got a clear picture yet of what is best to do.
    thanks,

    > Whilst BPM in Error (Workflow in Error) more messages
    > being received but never processed as the RECEIVE
    > event is "lost" for these messages.
    This should give you an issue called Parked Messages. The best way to deal with this is to actually define a Local Correlation. In the Block Step properties, you will have an option, Use Correlation --> Give the name of the Correlation . This will make sure that when there is an error, the Correlation become inactiva and a new BPM instance is created.
    > In the meantime was looking at ways to Alert the
    > administrator straight away to the error. As we have
    > a workaround to get the process going and to pick up
    > the stranded messages. So have started setting up the
    > ALERT categories as described in How to Guide, for
    > Adapter and Interface. Will this work?
    Not sure if this will work. The issue is that the messages are passed to the IE already and will be in wait step waiting for an active BPM 's receive step How will another interface pick up this message?
    > Also in the Transform step there is a box (system
    > exception) but I can't enter anything in. Is there a
    > way to do this if the Alert category doesn't report
    > an error in the BPM. OR do I have to add the
    > Transform step into a Block of its own?
    This is what is called exception handler. Defined a Exception handler for the Block. Right Click block, insert Exception Branch, give name of the Hanler and then you can select this in the Transformation Step's System Error. This is like Try - Catch of Java.
    Regards
    Bhavesh

  • Error in Trasformation step

    Hi,
      I have a scenario where if the condition satisfied i need to send it to both receiver file and email otherwise if not only to email.
      Here i declared the 2 idoc Abstract MI(payment and verfication) and 1 file Abstract receiver.  Here only payment need to be send as output.  But I am getting error in transformation step as
    Expression must return the interface type PAYEXT.PEXR2002.ZEXR2002.
    Expression must return the interface type MIPaymentadviceFile
      In this scenario please tell me how many transformation need to be used and currently I used only one before switch statement because all the sender need to send the same output.
    Regards,
    Dhill

    Hi Bhavesh,
       My actual scenario is
    I need to receive 2 IDOC PAYMENT (N TIMES) and VERIFICATION (1 TIMES) so n:1 ration.  In this in the payment idoc I have field where I need to find the sum of the field then I need to campare withe the VERIFICATION Idoc with other too field like
    if IDCREF01-E1IDRH1-PAYRUNID equals to PEXR2001-E1IDRH1-PAYRUNID and
    IDCREF01-E1IDRH1-PAYRUNDT equals to PEXR2001-E1IDRH1-PAYRUNDT and
    IDCREF01-E1IDRS1-SUM01 equals to PEXR2001-E1IDKU5-MOABETR.
    where MOABETR is the sume field.  And if the condition is satisfied then i wl send only PAYMENT IDOC to file and as well as mail otherwise only 2 file.
    Please let me know whether it could be possible without BPM and if yes let me know the details and I am sorry i have raised so many forum whether I am getting stucked but till now not able to proceed further.
    If you want i will explain the BPM step which involved.
    Regards,
    senthi.

  • Transformation step exception

    Hi,
    I want to route message to one recieve if there is any error in transformation step.
    If transformation is success then it must be routed another reciever.How can i achieve this.
    Tried with exceptions but transfomration step handles only system errors and cancels message processing.
    Thanks
    --Pradeep

    Hi,
    Exception Handling can be used around Send Steps and Transformation Steps.
    Use of Exception Handling is a very essential step inside your BPM and the best thing to do would be to wrap each of your Send / Transformation inside a Exception Handling block.
    Michal's blogs : Very useful block
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    You can use Moorthy's blog on Reocnilation as well as trigger alerts.
    /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
    Please reward points if it helps
    Thanks
    Vikranth
    Edited by: Khimavath Vikranth on Jun 12, 2008 10:09 AM

  • ** Transformation step - 1:n mapping error - BPM

    Hi friends,
    In my BPM transformation step I am doing 1:n mapping. I created & tested the message mapping and Interface mapping for this. Its working fine there. But, while I put the payload, the message is not splitted. Instead only the first message is splitted.
    Source Payload
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:PurchaseOrder xmlns:ns0="http://www.XYZ.com/ABCD/SDFunctions">
    <row>
    <PONO>5005</PONO>
    <PODATE>2008-06-09</PODATE>
    <VENDOR_CODE>0000100614</VENDOR_CODE>
    <REFERENCE>PENA</REFERENCE>
    <MATERIAL_CODE>100-00</MATERIAL_CODE>
    <ORDER_QTY>1</ORDER_QTY>
    </row>
    <row>
    <PONO>5006</PONO>
    <PODATE>2008-06-09</PODATE>
    <VENDOR_CODE>0000100614</VENDOR_CODE>
    <REFERENCE>PENA-1</REFERENCE>
    <MATERIAL_CODE>100-100</MATERIAL_CODE>
    <ORDER_QTY>4</ORDER_QTY>
    </row>
    </ns0:PurchaseOrder>
    But, only the message is splitted comes in SXMB_MONI with the following error.
    HTTP response contains status code 500 with the description Timeout Error while sending by HTTP (error code: 500, error text: Timeout)</
    What could be the problem ? Why second message is not splitted. Is it required to add any Receiver Determination step in ID ?
    Kindly tell me, friends.
    Thanking you.
    Kind Regards,
    Jeg P.

    Hi friends,
    I have corrected Message Mapping and Interface Mapping. If I send 2 message (source), I will get only 1 message in the target side. (after transformation)
    In my BPM design, after 'Transformation' step, one block is there, I set property Mode as 'For Each', and I set Multiline Element.
    Now, the 500 Internal Server problem has gone. But, why the 2nd message is not entered into block ?

  • Expression must return the interface type in Transformation Step in BPM

    hi,
    We are getting below while activating the IP,
    Expression must return the interface type SI_Send_AA
    Expression must return the interface type SI_Get_AA
    No semantic errors found
    We have a Transformation Step in BPM,
    In OM, Source is SI_Send_AA and Target is SI_Get_AA
    Also Container variable points to  the same Abstract SI's.
    Few Thread's for Same are error are:
    Error in  BPM
    expression must return the interface type
    Transformation step in ccBPM scenario
    Error while compiling Business Process
    Even after checking these i am getting this Exception.
    Please Help!
    Thanks,
    Mayank

    Also Container variable points to the same Abstract SI's
    Are you sure that you are using Abstract Message Interfaces only and that these are referring to relevant container variables.
    Normally it happens that there is some mis-match between the message types/ interfaces that we use in the mapping and that we use in the BPM.
    If still not solved, then delete the Transformation step --> save --> activate......then again Edit the BPM to include the Transformation Step.
    Regards,
    Abhishek.

  • Multiple source messages in transformation step in bpm

    Hello,
    I am using a transformation step in bpm, I have two source messages and 1 target message, I got an error 'expression must return the interface type XXXX(in source message)', I checked my source message in interface mapping and the container element, the types do match.
    All the interfaces in the OM as well as in the bpm container definition are of type abstract.
    It seems to have something to do with the interfaces belonging to different software components?
    I declared a usage dependency from one swcv (holding the bpm) to another (holding the abstract interfaces which cause the error in the transformation step), so that I can reference them in the bpm.
    I thought it might have something to do on how  the message interfaces are selected in the operation mapping. so I tried to select the messages through the depencency path, but that was of no help either.
    Have I been clear?
    Any ideas?
    Thanks
    Matthias

    Since no receiver information is available in the transformation step, there can be no value mapping within the transformation  step. If the messages to be transformed give values in different formats, for example different date formats, you must first normalize the values before the messages can be processed in the process. To do so, define a message mapping with a corresponding value mapping.
    Check the help page below for reference
    http://help.sap.com/saphelp_nwpi71/helpdata/en/27/db283fd0ca8443e10000000a114084/content.htm

  • Exception is not showing in transformation step in BPM after activating

    Hi ,
    I want to cancel the process if any mapping error occur in transformation step for that I designed by below steps.
    1.Block step ( mentioned exeption)
    2. transformation step ( Inside block mentioned block step exception)
    3. exception branc inside block
    4. contorl step (Cancel process inside exception branch)
    after activating the BPM , in transformation step exception is not showing .
    How to resolve this issue how
    Please help me
    Regards

    2. transformation step ( Inside block mentioned block step exception)
    Did you define the Exception Handler properly and also used the same in the Exception Branch? If you do a check in IR for your BPM (F7) do you get any error/ warning messages?
    Regards,
    Abhishek.

  • Sync Send step after transformation step in BPM

    Hi Gurus,
    I have an interface where I am loading the data into an Oracle database and getting the response back (insertcount) from the database. Based on the response, I have to execute a stored procedure in another sync send step.
    I am doing perfectly alright until the transformation step. The sync send step after this step has the following entries.
    Sync interface: MI_LG_SP_INPUT_ABS
    Request Message: sp_lg_rec
    Response Message: sp_lg_snd
    While doing 'check(F7)', I am getting the following error.
    <b>Interface MI_LG_SP_INPUT_ABS for element sp_lg_poc_step2 is not abstract/asynchronous</b>
    The request message for this sync send step is the target message of the transformation step.
    This error is bugging me since 2 days. Please help me with this.
    Thanks
    Kalyan

    Sravya,
    I know what I did now. For my send sync interface which is MI_LG_SP_INPUT_ABS, I have unnecessarily created a container element and which caused this problem. From your post, I rechecked it and found that I don't need a container element for my abs/sync interface as I already have container elements for request and response which are abs/asynch.
    I gave you full points, thinking that you will come for my rescue in the future (just kidding!!!).
    Thanks again,
    Kalyan

Maybe you are looking for