Value manipulation in BPM

Hi, all
In a BPM, which triggers function modules in more than 1 System, I want to write the SenderParty of each send into a field in my Response message.
So my question is how to manipulate a special field in a message with a value of a simple type container element?
Thanx
Regards
Olli

Thank you Michal for your quick replay.
But my main question was how to change a field within abstrakt interface container element.
My problem is that I do some synchronous requests (RFC) and want to write the party of the sender of the response of this request to a field within a abstract interface container valiable.
Therefore my problem is that the Sender and Receiver of this synch req is the same (the BP) and the "sender"-constant in the mapping is useless in tis case.
Regards
Olli

Similar Messages

  • Value mapping with BPM

    Hi Experts
    How to do value mapping with BPM.
    I tried searching for blogs in SDN but i didnt get any solution
    Regards
    Sowmya

    Hi,
    Your question is not very clear. Let me know how you want to use Value mapping?
    You can implement value mapping in two ways..
    1. Value Mapping Replecation Method, in which we create ABAP program (outbound proxy) in R3 which selects data from R3 tables and sends into XI, and which get stored in XI JAVA Cache untill you run the ABAP program next time which is very rare. This kind of method is best when you have large amount of R3 data.
    2. If you have some data which is used just to varify the conditions at run time then in that case we go for Value Mapping creation in Integration Directiory. Below mentiond blog will give an idea how to use Value mapping in ID.
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    Value Mapping is used in Graphical Mapping which gives the value at run time only, so you cannot test it in TEST Tab of message mapping.
    So as per you question, BPM can come into picture later on after you maintain the value mapping in ID and do the corresponding mapping in IR.
    Regards,
    Sarvesh

  • Value Mapping in BPM

    We are using Value Mapping in XI 3.0 in the integration builder under the configuration.
    Value Mapping is not working during the transformation step in BPM. See help.sap.com under transformation step: http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Does anybody have a solution for executing the value mapping in this case.
    Thanks in advance,
    Glenn van Kamperdijk

    Dear Stefan,
    What if you do want to use value mapping in a ccBPM? What values should be entered at:
    Source Values For Agency?
    and
    Target Values For Agency?
    Best regards,
    Roelof Jan

  • How to pass value object to BPM process and access process returned data

    Hi,
    I am new to Oracle BPM studio and gone through the tutorial. I did not find anywhere how to orchestrate the java components or ejb components or web services in BPM process. if any one provide sample business process orchestered with java component or ejb component or webservice, it will be great. Or atleast provide steps to do that.
    Thanks and Regards
    Mahesh Babu

    There is a tutorial available online.. But you can always catalogue web services and JARs files into the ALBPM..
    Just create a new module inside the Catalogue and then right click on it to see Catalogue Component and then select what component u want to add to ALBPM and then follows the steps of adding that component from your local machine and introspecting it..
    If it is successful, then all the web-service methods or the JAR file methods would be catalogued into ALBPM..
    You can put the WSDL address in the space provided for Web Services.. If password is required that too can be put..
    Another way is to create a component in External Resources and then Cataloguing it...

  • Availability of System id value in a BPM

    Is there anyway of knowing which system or the SAP system id, the BPM is running on (ex: DEV, TST, PRD) based on context object or any other container variable. If so, how can I access this information.
    Please let me know as soon as possible.
    Thank you,
    Parimala

    Hi Michal,
    I tried with SENDER_SERVICE and RECEIVER_SERVICE and each time I get "null" return.
    I tried "INTERFACE" just to see if this was doing anything at all and I got "null" again. I'm accessing context via mapping.
    I had to run a true test (end to end) since running in mapping test results in TEST_SenderService because of no access to directory stuff. Because the code does not return syntax error, should be ok, right?
    This is my code....do you see any issues with it.
    Under Imports, I have nothing. Is that OK. I'm thinking all libraries are standard anyway.
    String constant;
    java.util.Map map;
    map = container.getTransformationParameters();
    constant = (String) map.get(StreamTransformationConstants.INTERFACE);
    return constant;
    So still not sure how to access XI system info - either system id or host.
    Thank you for you time and effort.
    Parimala

  • Bex variable value manipulation in the customer exit

    Hello Experts - I have a situation where I need to manipulate the value of a variable in the customer exit based on certain conditions. I have a customer class variable defined in the query with the processing by Manual Input/Default Value. I need to restrict the values that this variable gets based on values that are selected for another variable (division). For example if the division value is 01, class variable can not have value 'CB'. Any ideas how this can be accomplished. Any input will be appreciated.
    Rgds,
    Venu.

    Mansi & Guy - Thanks for your input. The query is not used interactively and it is used as dashboard query in VC for which the variables are fed via Adobe Flex application. In detail here is my requirement -
    Division is a mandatory field that is selected on the dashboard (You can think this for query)
    Class is a Optional field (users have option to select multiple values).
    If the users choose particular division (say in my case 04) and not any Class, at the query level, I want to exclude CB which I can do it in i_step3 logic.
    In case if the user selects any class, I want to skip the logic of exclusion in the i_step3 (This is because, I can restrict the user what class they can pick based on the Division they choose, so the i_step3 logic wouldn't be required in this case).
    Basically, I do not want to raise messages and this needs to handled based on user selections.
    Appreciate your help,
    Venu.
    Edited by: Venu on Sep 14, 2009 10:03 PM

  • BPM Reporting Activity content extraction in ejb/enterprise app

    Hello BPM experts,
    I have a running BPM in our production system. And there are about 6000 users
    who use the process.
    The process has a reporting activity that collects all the possible failuers,
    and successful event traces.
    Now we want to build a  controller app that uses jsps performing:
    1.  show all the data collected by the reporting activity objects.
    2. show a list of all the process instances those have a status of suspended
    3. and can cancel the processes by selection.
    We plan to build the  app based on ejbs those are accessed by jsps to
    perform the 3 tasks mentioned above.
    The reason that we want to build these apps is because the administrators
    are system administrators and do not want to logon the NWAdmin gui.
    So, guys, my questions are where do I find BPM apis, and other support
    / sap nw bpm dependency libraries / jar files ??
    I highly appreciate your help and cooperations for this :-)
    Best Regards,
    Ajeet Phadnis

    There are many tutorials available:
    USING BPM JAVA API’s
    Customize Your SAP NetWeaver BPM through APIs
    How to generate a process report using BPM API, CE 7.3 in webdynpro?
    SAP Help Links:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606e0ec9-53c7-2f10-8aaf-e9e7354850f0?overridelayout=t…
    Building a Task Worklist with the BPM API - Modeling Processes with Process Composer - SAP Library
    Providing Value Help Using BPM API - Modeling Processes with Process Composer - SAP Library
    Using Substitution Rules with the BPM API - Modeling Processes with Process Composer - SAP Library
    Building an Administration UI with the BPM API - Modeling Processes with Process Composer - SAP Library
    Canceling a Process with the BPM API (New) - What's New in SAP NetWeaver 7.3 EHP1 (Release Notes) - SAP Library
    Analytics Public API for Business Users - Modeling Processes with Process Composer - SAP Library
    Custom WDJ Application to process Tasks using BPM JAVA API in NWDS 7.3
    All the best buddy

  • Is itpossible recover BPM Object instance from Screenflow in Grab Activity?

    My process has two roles: role1 and role2.
    role2 has an activity of type "Interactive" and the implementation type of this activity is Screenflow, in this Screenflow I have an instance variable of the type BPM Object.
    role1 has a Grab Activity from Interactive Activity that describes above, the Grab Activity has a unconditional transition to another Interactive Activity and this Interactive Activity has the same implementation type of the Interactive Activity of the role2 and points to the same Screenflow.
    I need to recover the values of the BPM Object that filled in role2, in other words, I need the same instance of the BPM Object in Interactive Acitivity of the role2 in the role1.
    If an user filled a field called "name" of BPM Object in the Interactive Activity of the role2, it needs to see that value in the Interactive Activity of the role1 after grabbed this activity of the role2 to role1.
    Is it possible?

    Hi,
    Sure it's just me, but I got a bit lost with the description of what you're trying to do. One place I got lost was in the discussion of roles. Roles are used in Oracle BPM processes for a variety of reasons, but I'm not sure they're germane to your problem so I'm trying to rephrase your question without their use.
    Here's my attempt to rephrase what it is that I think you're trying to do:
    1. I think you have two activities. I'm naming them "Check Credit" and "Final Check"
    2. I'm guessing you have a transition between the two activities "Check Credit" and "Final Check"
    3. Your process has an instance variable that is a BPM Object that I'm naming "customer". Since it's a BPM Object type, it has a variety of attributes (e.g. customer.name, customer.address, etc.)
    4. You have a Grab activity that has its "Runtime" property set to be "Defined" (meaning you have transitions defined coming into and out of the Grab activity). I think you might have a transition going from the "Final Check" activity to your Grab activity and I think you might have a transition going from the Grab to the "Check Credit" activity.
    Does this describe your process? I'm assuming you probably want to have the instance variable revert back to original values of the instance variable object before work was done in one of the activites, but don't want to head too far down this path until you confirm that this is what you want to know.
    Thanks,
    Dan

  • Runtime information in BPM

    Hello XI Experts,
    I've got one question: Is it possible to obtain a runtime information in Business process ? I have created alerts where I use container to add dynamic text from payload but I also need to add information on which system this alert was triggered (dev, int, prod). I need information from SOAP Header, Runtime. Does anybody now how to do it?
    Regards,
    Pavol

    Maybe the solution in this thread will help,
    Availability of System id value in a BPM
    <i> found a neat way of resolving this issue and thought I would share with you both.
    I created a user-defined function and put the following lines of code....works like a charm!!
    String user_login_id = System.getProperty("user.name");
    return user_login_id.substring(0,3);
    This returns system id since the system users are always
    xi0adm / xc0adm or xp0adm.</i>
    Regards
    Bhavesh

  • Order of Message in BPM

    Hi guys, i got a question regarding BPM. Does BPM will retain the sequential order of a message?
    For example I am calling a storedprocedure oracle (via jdbc adapter) synchronously.
    My message will contain 4 rows in sequential order 1 2 3 4. The stored procedure will return a value to XI (BPM) for each row (that is A B C D).
    Does the return from the storedprocedure is also in the order of my message from BPM, that is:
    For row 1, i will get an A for the return.
    For row 2, i will get an B for the return.
    For row 3, i will get an C for the return.
    For row 4, i will get an D for the return.
    Does anyone know about how XI (BPM) handle this?
    I really appreciate any solution and input from you guys. Thank you very much in advance.

    Wishnu
    Are you sending all the rows in one instance ( Single XML file ) or in different 4 XMl files.
    If they are in different XML files than you have to use the Correlation, to assign messages that belong together to the same process instance.
    - Lalit -

  • JSP-BPM Process-Web Service interaction

    Hi all
    I am new to Oracle bpm studio. I am having one very important question.
    I want to understand the JSP-BPM-Webservice interaction in Oracle BPM studio BPM Process, as we have an enterprise application having servlets, ejbs, etc, for these servlets & ejbswe are creating web services to expose their functionality, through a BPM process. We have created jsps for showing the result fetched from the external web services imported in our BPM process.
    So in brief, jsp and external webservices are imported in our BPM project, configured as interactive & global activity respectively.
    Please guide us for the JSP-BPM-Webservice interaction.
    How to make the webservice working in response of the jsp, getResult Button? So that on pressing the button on jsp the webservice can return the result and the result can be diplayed on another jsp?
    How to bind the webservice with bpm object, and pass the values through the bpm flow?
    Could you please guide me through this small demo application?
    Please please please reply my question, eagerly waiting for your reply.......................................
    Thanks & Regards
    Ashish Chaudhary
    Edited by: user10952025 on Jan 11, 2010 8:43 PM

    Hi Sujata
    Yes we did the same, as given in some tutorials how to create the "Web service catalogue component", we did it, introspected the webservice.
    Now we need to pass the inputs to the add method of the web service, so that it can return the result back to the jsp. So in order to achieve this we created one interactive activity component & object for jsp in the main BPM process and for the same jsp, one interactive activity component in the screenflow, and to interact with the webservice, we created the global activity in the main BPM process. We edited this global activity and dragged the add method definition there.
    So now we are facing issues with jsp-web service interaction, they are not interacting, so we want somebody to guide us how to enable this with step by step instructions if somebody has done it already. We have already gone thru a lot of tutorials & forum but we want to resolve this asap.
    Thanks & Regards
    Ashish

  • BPM and UCM Integration

    I want to save some flexField value of a BPM human task into a custom field created in UCM doc store, for that i am following the following steps
    1) Created a custom field in UCM document store
    2) Created a flex field in BPM work Space
    3) Added pay load in human task from the "*data*" tab of human task flow
    4) Mapped Pay load with the flex field of BPM Work Space
    5) Now when I want to map the pay load attribute by adding a custom attribute in the "documents" tab of the human task, IDE is not allowing to add any custom fields except the pre populated values.
    In this situation if I want one of my human task payload attribute to be saved in the custom field created in the document store how to do it. According to the Oracles guide we can add a new attribute through the "**document**" tab of the human task flow but it is not happening.

    OK, so you are using the attachment option from BPM.
    I gave you few hints in my previous post, but I will explain them in more details:
    a) BPM has its own metadata
    Forget for your document for a moment - the BPM process instance still can have its own metadata. These are used when you create BPM screen flows.
    I think you will need to create a BPM parameter to store your custom value first. (and this is really purely a BPM question)
    b) A document can be attached to a BPM process instance
    In a sense, such a document is nothing, but an additional information for the BPM process instance. This has nothing to do with document-oriented workflow (quite often, the attached document enters no workflow at all); it is the BPM process instance that routes across the organization, not the document.
    c) BPM metadata <--> UCM metadata
    AFAIK, there is no integration between BPM and UCM concerning metadata. You may check-in (attach) a new document using UCM profiles, but for your process this value is not visible - unless you call a service to retrieve it/update it. If you implemented a) (created your custom value in BPM), you may call UCM's services to update this value - at the minimum when you are leaving from the BPM workflow step.

  • Elements from BPM in alert container. Possible?

    Hi!
    Is it possible to define container elements in TCODE ALRTCATDEF and fill them with values from a BPM? I have read about this and it seems to be possible when coding an abap application, but can it be done from the BPM at runtime?
    Thanks!
    regards Pavel

    Hi Pavel,
    If you are using the fault message's to get the errror details.
    It is possible to trigger the alert ...with all the information which inturn is coming in the fault message.
    Do an RFC call in the fault message mapping to RFC  - SALERT_CREATE.
    If not then the easy option
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Which doesn't suites your requirement...
    Sunil.

  • ITunes is putting strange numbers in the BPM & play count

    I've noticed that iTunes has been putting odd values in the BPM and play count fields. They almost always seem to be some multiple of 64. I found a bunch of songs with 256 or 512 play counts added to them. I have also had iTunes put 192 in the BPM for all the songs on 4 different CDs. I think it happens when I update my iPod. Both iTunes and the iPod Video are up to date. Any ideas? I plan on taking the time to complete the BPM field and i don't want iTunes messing it up.

    I've been having a similar problem with the iTunes play count. Instead of 256 or 512 or anything like that, though, it says I've played Stormbringer (by Deep Purple) -1090303414 times. I don't know what's going on.

  • Get BPM Container Variable?

    Is it possible to get the value of a BPM simple type container variable at Mapping time?

    Hi Ruben,
    you can use a trick:
    - datatype: extend the source container with one field (your simple type)
    - datatype: make all fields optional (0-1 or 0-unbounded)
    - process: create a new multiline container from this type
    - tranformation: fill the one line container with simple type
    - container operation: append to multiline
    - tranformation: fill the one line container with your message
    - container operation: append to multiline
    - transformation: merge the multiline to single-line
    - transformation: Now you have the value of your simple type in an additional field
    Regards,
    Udo

Maybe you are looking for