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

Similar Messages

  • 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

  • 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.

  • 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

  • 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

  • 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.

  • 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

  • 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

  • Error in Block step in BPM.

    Hi all,
    I am getting the error in block step, my design follows like this i defined one transformation before block step, the transformation step will splits the input bunch of records into equal no of record packets and sent to block step.. while defining block step i used foreach mode, in block step we kept one sync send step which will send message and gets response ....
    but my block step is getting error once message enters into the block...
    Thanks in advance for your valuable  suggestions and solutions...
    Srinivas

    Hello...
    >>the transformation step will splits the input bunch of records into equal no of record packets and sent to block step
    The transformation splits the message into bunch.. Put  the output in a multiline container and use this in the block step...
    >>but my block step is getting error once message enters into the block...
    What error are you getting??
    >>Thanks in advance for your valuable suggestions and solutions...
    Great to know that you are happy with the responses from the community member in this forum.. So I wish to point one more thing here.. Some of the recent threads closed by you were having closing comment as solved.. it will be better if you point out the problem and the solution which you have adopted to solve the same, so that other community member having the same problem will get a speedy solution... This is just a suggetsion from my end...
    Thanks
    Suraj

  • Error in send step in BPM

    Hello,
    I ehanced an existing BPM where a send step sends data to a J2EE system. I inserted a switch and put the existing send step to one branche and a new send step to the otherweise-branche. The new send step interrupt with an error:
    <b>No exception defined for fault message hostname http://xml.apache.org/axis/</b>
    But there is an exception branche defined. An idea what's the problem?
    I didn't define a message called hostname, so where he got this name from?
    thx
    chris

    No, everything seems fine.
    Here is the payload of response :
    <i>
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    </i>

  • Error with fork step in BPM

    Hey guys
    i m trying to collect three different IDoc's in a BPM and using fork for that,when i try to enter 3 in the Necessary branches property of Fork,its giving me and error sayin that maximum value permitted is 2.
    any idea why i m getting this error?
    thanx
    ahmad

    Hi,
    Are You the correlation
    This might Help you
    Fork and BPM
    Fork is not working - BPM
    Regards
    Agasthuri Doss

  • 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

Maybe you are looking for

  • Credit memo net due date is not correct

    Hi experts, In most cases the net due date of customers credit memos (posting key 11) is correct based on payment terms but sometimes itu2019s not (e.g. payment terms 30 days end of month but net due date is the same as document date). Any ideas why?

  • Hello , i have an IMAC with OSX10.9 , impossible to send a mail with a attach file , thank you for your help

    Hello , i have an IMAC with OSX10.9 , Safari 7.0 and a mail gmail , so it is impossible to send a mail by apple mail with a file attachment ( ex pages ) , no probeme without file this problem began yesterday thank you for your help

  • Question about utl_file_dir

    Dear, i have 2 node apps EBS R12 12.0.5 node1 = app tier node2 = db tier show parameter for utl_file_dir i could see 2 locations /usr/tmp and ....... the job OAM Applications Dashboard Collection.most of the time is fine, sometime it shown completed

  • WRT54GS Router-trouble connecting to vista computer

    I have 2 laptops. One is xp and one is vista. I used the setup cd to install my new router on both of them. the first thing i noticed was that there were 2 very different setups for the vista and the xp computers. when i loaded it into the xp compute

  • Does the symbol server work for current version?

    I followed the "Using the Mozilla symbol server" article in order to see symbols for Firefox in a debugger. But i still only get those "firefox.exe+1a05" entries, instead of "firefox.exe+Sleep" for example. All windows symbols work, but I never got a