Mapping activity step in BPM

I am trying to find out the complex conversions used in BPM process modelling activities such as mapping activity.
What are the different complex conversions/functions which are very widely used/required in BPM projects?
I am talking about custom functions and not the standard functions and rules provided by BPM mapping editor.
thx
mike

Hi Mike,
Strongly suggest you close this discussion and create 3 new discussions - one for each separate question.  When you pile up multiple questions, often people aren't sure which one to answer, and the discussion stream tends to get very confused. 
That's likely to be why no-one's responded in the last 5 days.
Rgds,
Jocelyn
with my SCN Moderator hat on

Similar Messages

  • Mapping activity step in BPM and related complex functions/conversions

    Hello Experts,
    a) I am trying to find out the complex conversions used in BPM process modelling activities such as mapping activity.
    What are the different complex conversions/functions which are very widely used/required in BPM projects?
    I am talking about custom functions and not the standard functions and rules provided by BPM mapping editor.
    b) How do we write a log function which can be used in mapping to log some attributes used in mapping to the java log.
    It is just additional logging feature on the top of standard BPM logs. But this additional log feature will be useful in reading logs for each step.
    c) I am getting only one document having 3 examples for EJB mapping function (concat, filter, and one good fair )-  can anyone provide any other functions and details around in this area?
    thx
    mike

    Hi Mike,
    Strongly suggest you close this discussion and create 3 new discussions - one for each separate question.  When you pile up multiple questions, often people aren't sure which one to answer, and the discussion stream tends to get very confused. 
    That's likely to be why no-one's responded in the last 5 days.
    Rgds,
    Jocelyn
    with my SCN Moderator hat on

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

  • Issue with Receive step of BPM

    Hi all,
    I have an BPM scenario in which I send a file to the target system and then receive an acknowledgement from the system. I have used correlation in the BPM for the send and the next receive step .
    When a wrong acknowledgement is placed , the message goes to the queue with the error message "Active correlation Not Found".
    But when an right acknowledgement is placed then also the message goes to the queue with the message "Error in delivery of message to receive step of BPM ".
    The acknowledgement is received and then interface mapping is used which sends the Filename to the Integration Process which is used for the correlation.
    Please give your suggestions .
    Regards,
    Srivatsan M

    When a wrong acknowledgement is placed , the message goes to the queue with the error
    message "Active correlation Not Found".
    when there is wrong ack then there seems to be no value coming in the field which you have used for correlation....or it seems that the field itself is not coming in the wrong ack message
    But when an right acknowledgement is placed then also the message goes to the queue with the
    message "Error in delivery of message to receive step of BPM ".
    Now in right correlation the value that is coming in the correlation field is not  matching with the field for correlation of the send step...
    So the reason for both the errors is wrong correlation configuration.

  • Container variables in User decision Step in BPM

    Hello,
    I am using User decision Step in BPM.
    When i use only text in "Title for Display" the BPM is activated successfully and Status in SXI_CACHE also shows 0.
    If I use container variables in "Title for Display" the BPM is activated successfully but status in SXI_CACHE shows 99.
    It shows the below error
    "Problem updating an integration process with object ID 073AF2C620F43E839B2903344DEE29BB. Symbol 'CE/KO' expected at position 1 in expression ''
    Please suggest.
    Thanks,
    Shabari

    Hi Shabari, did you follow the steps for declaration of variables as in [SAP help for user decisions|http://help.sap.com/saphelp_nwpi71/helpdata/en/42/c2a19fb4511d65e10000000a1553f6/content.htm]? How did you define your variable?
    Maybe discussion [in this thread|BPM activation Error in SXI_cache; can help, it is unanswered though.
    Regards, Martin

  • 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

  • Fault message in synchronous send step in BPM

    Hi,
    When executing a synchronous send step in BPM it is possible to handle application errors (fault messages) with an exception branch. But how do you get hold of the actual data in the Fault message(faultText, faultURL, faultDetail etc) for further processing (mapping)?
    Kind regards Johan

    Johan,
    u have to define another container element in integration process.
    For that container element an Async Abstract interface has to created with falult message as the message.
    Do u have the fault message defined already...
    Also go through this thread.
    Fault message handling in BPM
    -Naveen.

  • How to call the second mapping in the first mapping fails in the BPM

    Hi All,
    I have a scenario like this.
    There are two mappings. There is a one condition while genearying the root element of the first mapping. If this condition is not satisfies the first mapping will fail. If this mapping fails i want to trigger another mapping.
    How to achieve this functionality.
    If it is possible with BPM. how to call the second mapping in the BPM.

    Hi
    you can not create the containter for the synchronous interfaces.
    you have to craete the two asysnchronous abstact interfaces .
    thenusing those two abstract interfaces you have to define the containers in the BPM.
    and you also have to define the interface mapping b/w those two abstract interfaces.
    once you define the interface mapping you will be able to select the interface mapping using the transformation step in BPM.
    once you select the interface mapping in BPM then you will be able to selece the interfaces
    if you still face the problenm please reply me back.
    Thanks
    Rinku Gangwnau

  • Use of Receiver determination step in BPM

    Hi,
    I am not clear about the exact use of Receiver determination step in BPM. From my understanding, it is used for synchronous communication with many receivers configured, for eg. Multicast etc. Can anybody explain the use of receiver determination with any specific requirement example.
    Regards,
    Santosh

    HI,
    The usage of Receiver Determination depends on how you have designed your BPM. You can have the mapping getting executed in your BPM itself using a TRANSFORM step or you can do it in your Inteface Determination if you are not doing it in your BPM.
    If you do the mapping inside the BPM using Transformation step, then you need to send the Message i.e. Mapped message . In this case, your Interface determination will only determine the Receiver Interface, and it will not execute the interface mapping . (if you are not providing the Interface mapping in the Interface determination).
    Example is given here-
    http://help.sap.com/saphelp_nw2004s/helpdata/en/14/d5283fd0ca8443e10000000a114084/content.htm
    Thanks
    Swarup

  • Mapping error in the BPM!!

    Hi Fiends,
    I have a BPM ..where I have the steps defined like this..
    Transform -> send mail..
    In the transformation ..I have a simple mapping program(source & the target structures have got one field)..
    message type structures are like this..
    source& target
    Return key  ---> 1:1
       field1 --->1:1
    mapping is like this :
    Field1--->field1(when field1 is not empty)
    If field1 is empty then -> I am sending some constant to the target ...and in the mapping it is working fine...
    My mail is working perfectly when there is some value in field1..and I am getting a mail..
    and when there is no value in field1..I am getting mapping error.
    do you have any idea..how can I solve this issue..plz help me..
    Thanks..

    Raju,
    Try tracing the "transformation" step in BPM. Check the instance of the message in sxmb_moni and click 'PE' so you will be in 'workflow log' here you could see the data flow of your message inside BPE. Here you can trace were your message got exception. If it is in transformation step then click on 'list tech details' (left top corner) then click on 'show container' button corresponding to that 'transformation step'. Its similar to using trace area in sxmb_moni. here you will be aware of mapping error.
    Hope it will be helpfull.
    Regards,
    Yuva

  • User Decision Step in BPM - PI 7.1

    Hi All,
    I have posted a wiki for User Decision step in BPM in PI 7.1, Please go through it and post your queries, suggestions and comments here.
    The link for same is under:
    Part1 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+I
    Part2 - https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/userDecisionstepinSAPPI7.1-Part+II
    Regards,
    Sachin

    Hi Sachin,
    Nice job,
    During my practice on this scenario. I have got an error please kindly guide me on this, may this error also clear for the others
    *I got an error on SXI_MONITOR as:*
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No object type found for the message. Check that the corresponding process is activated</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The trace of the error as:
    <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="1" type="T">could not create BPE proxy for message, no XML object definition found for message 72485F6BFC78416A29EEE3EE10D09BCE</Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    Please kindly guide me on this, Is the message has to validate at sender agreement? if not where is the error I am doing?

  • Need Help on User decision step in BPM

    Hi All,
    I have a requirement to design the user to to system interaction in a partiular scenario.  I am trying to use the User decision step in BPM available in PI 7.1 server. I have used the User decision step and filled all the parametes as given in the sap documentation. When I am trying to execute the scenario, The outbound process is succesful but stops at the BPM workflow at the User decision step with the message (No Agent ready) .
    Can anybody help me in solving this issue.
    Thanks in advance,
    Kalpana

    Hi Shabarish and Swarup,
    I have defined the relevant user in  the Integration directory , also made sure that the user entered is defined on the integration server and there are not restrictions on the defined user. The workflow log is as follows:
    Workflow              File2File_BPM1
    Workflow instance     File2File_BPM1 http://File2File_BPMdemo
    Instance number       000000001046
    Start date            30.12.2008     Started by            WF-BATCH
    Start time            11:33:36       Current status        In Process
    View: Workflow chronicle
    Error       St Task                                          Result                                   Date       Time     Processing time
    Error Agent                     Executed Action                          Date       Time     Object               Object Name                    Object 2             Object name 2                  User Context
    File2File_BPM1 http://File2File_BPMdemo       Workflow started                         30.12.2008 11:33:36               -1s
    WF-BATCH                  Start message received                   30.12.2008 11:33:36 MIAB_BPM_OB2 / http: C532A7AB4D284B9011C0B0C7F8AFB                                                      WF-BATCH
    WF-BATCH                  Workflow started                         30.12.2008 11:33:36                                                                                WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 11:45:36 MIAB_BPM_OB2 / http: 597B946347C148AD03988B5D8BE2C                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 11:45:37 MIAB_BPM_OB1 / http: 6E0E09EE977E4F333D02DDDAE9A52                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 13:48:07 MIAB_BPM_OB2 / http: 9F5491FD9BC642E50486A6FED89DA                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 30.12.2008 13:48:07 MIAB_BPM_OB1 / http: 1AE5BB06D72341AD01F8C45E6AA7E                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 02.01.2009 05:34:58 MIAB_BPM_OB2 / http: CD698CDE5606436811BAB330011AF                                                      WF-BATCH
    WF-BATCH                  Events Dispatcher Active                 02.01.2009 05:34:59 MIAB_BPM_OB1 / http: 2D82C00C16E0447F1DF3B133470AD                                                      WF-BATCH
    'Good'{TYPE=SWFXST_STRING}'BAD'{TYPE=SWFXST                                           30.12.2008 11:33:37                0s         1046
    WF-BATCH                  Dialog work item created                 30.12.2008 11:33:37                                                                                WF-BATCH
    WF-BATCH                    EVALUATE_AGENT_VIA_EXPESSION           30.12.2008 11:33:37                                                                                WF-BATCH
    I hope this can help you in identifying the error.
    Thank you,
    Kalpana

  • Send Synchronous step in BPM - showing application error in sxmb_moni

    Hi
       We have a cc bpm in which we have a send - syncrhonous step - a call to an external webservice and synchronously getting a response back.
    Now, owing to a application condition when invoking the  webservice , the response received after being mapped back into the BPM, the status is set is being set to application error ( without a restart ) in sxmb_moni and the bpm gets  a response in the fault structure from the webservice
    My understanding is that the web service implementation sets this application error status after sending the appropriate response in the fault structure  . We want the cc BPM to continue to the next step - which is - taking this response in the fault structure from this webservice and communicating it out - in another send step.
    But owing to the application error in the synchronous send step , the BPM instance stops right there without proceeding to the next send step - after this ?
    How do we make the cc BPM not stop after getting the fault response and the application error ?

    Insert an Exception Branch by rightclicking on the block and choose insert.
    In the send step under Exceptions you can point to the created exception branch.
    In the exception branch you can now handle what to do when it fails.
    Edited by: Christian Vilhelm Henriksen on Mar 16, 2010 1:09 PM

  • No mapping property with name - BPM error

    Hi all ,
    In our BPM scenario we are getting this error .. "No mapping property with name"
    when the message passed from Sender system to BPM
    RFC - BPM - File
    <Trace level="1" type="T">No mapping property with name sap.bc.bmt.wfm.xi.interface.synch.http://test.com/tp/pcs:MI_RecipeDownload_Abstract</Trace>
    <Trace level="1" type="T">MI_RecipeDownload_Abstract really used in process?</Trace>
    Few points:  MI_RecipeDownload_Abstract  is my first recv step in BPM
                       It is also the recv interface for RFC sneder - BPM
    Any clue will be very helpful...
    Kind regards
    Goutam

    Goutam,
    MI_RecipeDownload_Abstract is my first recv step in BPM
    It is also the recv interface for RFC sneder
    >> for rec interface for RFC sender it should be with out abstract. only steps inside BPM must be abstract.
    Regards
    Sreeram.G.Reddy

  • BPM status is "IN Process" even after all the steps in BPM are completed

    Hi All,
    we have designed a BPM for collection of messages and have a transform step .
    In some cases all the steps in BPM get completed but the status of BPM is still in" In Process"  and in SWWL transaction the status is "Started".
    Even though the status is started we are able to get the desired output.
    Ideally after the steps in BPM get completed the status should be "Completed".
    please suggest why we are  getting this status and how can this be resolved.
    Thanks and Regards,
    Rajesh

    hi ,
    I am using a fork and loop with a condition to end this loop.the condition gets satsfied.
    The messages are coming out of the loop and fork but even then the status is in "InProcess"
    thanks,
    Rajesh

Maybe you are looking for