Monitoring Transformation in BPM
Hi all,
I have in BPM three transformaions steps one after another.
Partly I use as message mapping XSLT.
What is the best way to check the message interfaces in transformation processes (message mapping). SXMB_MONI shows only the messages at send time.
Regards
Mathias
Hi Mathias,
To see the message mapping (transformation) inside a BPM:
From the Graphical View on Integration Process (Workflow log graphical version) double click on the step you want to see, menu Extras->Container->MESSAGES_IN->Nested Table-> MESSAGES.
For the errors you should make the same thing, in the container you have everything.
You can monitor every step of a BPM, follow this document:
https://websmp201.sap-ag.de/~sapdownload/011000358700003141152005E/HowToMonitorccBPM.pdf
Regards,
Sandro
Similar Messages
-
Parameterized Transformation in BPM- Null Pointer exception
Dear All,
I'm doing RFC Lookup in the mapping Transform inside BPM. I have defined the parameters in Message Mapping, Operation Mapping as well as Configurable parameters in Transformation step inside BPM. I don't know if there are any additional steps needs to be done.
If you have any thought on the below error, can you please help me out?
Thanks!null Thrown: java.lang.NullPointerException: null at com.sap.guid.GUID.parseHexGUID(GUID.java:1046) at com.sap.guid.GUIDGenerator.parseHexGUID(GUIDGenerator.java:111) at com.sap.aii.utilxi.misc.api.GUIDFactory.parseHexGUID(GUIDFactory.java:127) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.createInputParameter(ParametrizationMap.java:140) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.createElement(ParametrizationMap.java:112) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.createParametrizations(ParametrizationMap.java:57) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.<init>(ParametrizationMap.java:37) at com.sap.aii.ibrun.sbeans.mapping.ParametrizationMap.newInstance(ParametrizationMap.java:65) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:111) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:72) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at sun.reflect.GeneratedMethodAccessor423.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16) at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177) at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy901.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor4292.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:183) at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:267) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:266)
-
How to monitor message in BPM?
Hi all
I try to find in forums but I did not find. Could you please to guide me how I can to see message content in each step in BPM.
Thanks and Regards
ParkHi park,
To monitor messages for BPM... got transaction SXMB_MONI_BPE
there u can check each step.....
hey... check the slide....also useful......
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1db5e190-0201-0010-1c90-d9de570c6b18
Regards
Biplab
<i>Reward with point if useful</i> -
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 -
I have a scenario where I'm collecting Debmas from R3 and I want to convert it to a text file.
I'm unable to transform the multiple Debmas to a single xml structure with multiple debmas.
The BPM collects the IDOCs correctly but during the transformation it outputs only one IDOC .
In my message map testing it is able to convert the multiple Idocs to a single structure but within the BPM it does not do that.
Please suggest what could be the issue.
Thanks
ManojHi Manoj,
Have you entered the correlation correctly.. (the condition for collecting IDOCS, a primary key in most cases)
When u r collecting Idoc Debmas, ( Customer Master i believe), u should have the mappings as IDOC XSD to IDOC and then IDOC to txt conversion.. Am I right ?
inbound interface: target structure (txt)
outbound interface : idoc
abstract interface : for collecting multiple idocs..
mappings would be like this :
IDOC to IDOC XSD and
IDOC XSD to Txt structure .
Things to look out for while developing the interface:
Occurences and BPM data, like selecting multiline and defining correlation.
You should recheck the container for any discrepancies.
I am sending you two links (as there's some information missing, to identify your problem)
IDOCs (Multiple Types) Collection in BPM by Pooja Pandey:
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
and Collecting IDocs without using BPM by Stefan Grube:
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
Check the first one, You will get some idea, where there might be a problem.
You can also do the same without using BPM as Stefan has so elaborately explained.
Alternatively, you can also refer to this URL :
www saptechnical com/Tutorials/XI/CollectMultipleIDocs/Collect1.htm
Happy Developing..
regards,
Abhi..
Edited by: Abhisek on May 10, 2009 12:26 AM
Edited by: Abhisek on May 10, 2009 12:29 AM -
Problem with XSLT Transformation on BPM
Hi there,
I have a 1:N File --> Idocs Scenario with BPM, Inside the BPM i have an XSLT Transformation that has a problem i cant figure out, basically this XSLT Groups the file structure like this:
<File> * <Shipments>
<Route> * <Route>
<Id>1</Id> * <Id>1</Id>
<delivery>1</delivery> * <delivery>1</delivery>
</Route> * <delivery>2</delivery>
<Route> * </Route>
<Id>1</Id> * <Route>
<delivery>2</delivery> * <Id>2</Id>
</Route> * <delivery>3</delivery>
<Route> * <delivery>4</delivery>
<Id>2</Id> * </Route>
<delivery>3</delivery> * </Shipments>
</Route> *
<Route> *
<Id>2</Id> *
<delivery>4</delivery> *
</Route> *
</File> *
It's supposed to generate 1 Route Segment for each disctint Route Id on the Source file, it has always worked fine as we ran several tests before going into production system, but now, sometimes it misses a few routes for example the output will be 25 different Routes for a source file that 28, or 2 routes from a file that as 3.
I have tested the XSLT on the repository and it works fine all the time, same thing when using xml spy, i always download the payload i get from the file adapter, i got a source file from PRD that has 28 routes and i ran the whole scenario on QAS and it generated 12 routes only, im about to open an OSS message but first i wanted to know if anyone has seen something like this, thanks in advance for all the help you guys can provide.
Best Regards,
Roberto.
p.s. i can send the XSL if needed or anything just ask for it.Hi,
Basically because i have to do 2 transformations, first i run the XSLT to group all the deliveries and such, and then i do a graphic mapping to split it into single Shipment Idocs, i dont know how to group by id on graphical mapping..., anyway i don't think the fact that im using BPM would finally alter the xslt result,
Regards,
Roberto. -
Autonomy, Governance and Monitoring Inter Organisational BPM
Hi All,
Which technological approach is suitable for implementing Collaborating BPM across the value chain from the point of view of Autonomy, Governance, Security, and Monitoring? What are the benefits of selecting the one approach over the other?
These approaches are Centralise, Decentralise, and Peer-to-Peer.
Explanation of these approaches:
Centralise CBPM: Ownership of Collaborative System is with one Central Organisation and other Partners Participate in this collaboration through use of various UI’s such as portal. Example, Collaboration between the automobile manufacturer and dealer were automobile manufacturer provides portal for dealer to place order, manage its customer and handle warranty and recalls.
Decentralise CBPM: In this approach every partner provides communication technology like Web Services for its Business Partner for collaboration. The ownership is decentralise and more flexible
Peer-to-Peer CBPM: In ideal condition in this approach every Partner should have the same technology which is developed for handling collaborative Business Processes. In this case the same modelling, monitoring, and implementation technology is available across the value chain.
I kindly request your views and appreciate any questions and guidance.
Regards,
Ganesh SawantPROS:
Using the Webservices you can trigger the BPM Process and pass the values from the web dypro component which will available for the end user and pass it on to the BPM Proess.
We can use EJB as a webservice, where the automated activity in the BPM can output the value based on the logic in the EJB Function. We can manage the automated activity which runs in the back ground of the process as per our logic and returns the value to the next task.
CONS
Using Webservices in the various activity with fewer data is not advisable as it takes longer time to deploy the process. And any change in the data in the webservices requires regularly re importing of the web services. -
Error using custom xpath function with XSL transformations in BPM
Hi,
We have created a custom xpath function for use with SOA Suite and BPM. This has been built as per specified within the http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_appx_functs.htm#SOASE11100. We have also reviewed the Oracle Sample for mapper-107-ExtensionFunctions (sample demonstrates the use of user-defined extension functions). This has been registered with jDeveloper and SOA within the oracle.soa.ext_11.1.1 (run ant to include in oracle.soa.ext.jar)
We ideally want to use this is BPM within an xsl. However when consuming this function is either BPEL or BPM using an xsl, the xsl fails with an error such as:
XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/gwCustomXpathUtil_rev1.0/xsl/Transformation_1.xsl<Line 9, Column 113>: XML-22043: (Error) Extension function error: Method not found 'getWeekDayDate'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
In an Assign it operates fine and returns the expected result. We have included a combination of both of the Config files (ext-mapper-xpath-functions-config.xml and ext-soa-xpath-functions-config.xml) in the META-INF folder, however neither allow the use of this function in the XSL.
I believe there may be an issue getting the custom xpath functions within XSL files. Hence I have also raised an SR. Has anyone experiences of this?
Our SOA / BPM suite environment is using 11.1.1.6.4 and has the following patches applied:
13801175
14406487 (11.1.1.6.4 SOA Bundle)
13896993
13088538
Regards Dave
Edited by: DavidGaskell on Mar 14, 2013 10:08 PMHi All,
I am also facing the same issue...Experts can you please help us.
hi DavidGaskell, did you find any resolution, if so can you share it with me.....
Thanks,
RR -
Collecting synchronous responses and transforming in BPM
Friends,
Iam perplexed with a BPM scenario.
We are making synchronous calls to web service using BPM, we are getting response for all the calls.we will use these responses for one more transformation.
Can you please explain me how to collect all the response from web service and then transform it message by message?
Thanks for looking into this.
Regards,
PavanHi Pavan,
For your requirement SAP predefined BPM Patterns ( Name: BpmPatternMulticastParallel or Sequential) can be used.Please go thorugh the patterns 6 & 7 in the follwing blog and refer the BPM patterns in BASIS component in the IR for more details on properties of BPM steps.
Blog : /people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-2
Refer the follwong thread that discuss similar requirement.
Thread: Re: Collecting set of files and posting them through a single message
Thanks,
Ram. -
How do we monitor the messages processed through BPM?
when do we use SXMB_MONI and SXMB_MONI_BPE exactly? which of these used for BPM processes?Hi,
If you don't SAP Service Market place user Id , then refer this document-
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
If you want to monitor details of the BPM with technical details or workflow log or messages inside the BPM then either you can use SXMB_MONI_BPE or you can go from SXMB_MONI->PE->Technical Details
Regards,
Moorthy -
Deffernce betweens file,birgde,transform in BPM
Hi All,
Can anyone explain about defference between those BPM's
Regards,RajaHi Raja,
Please go through below explanation,
Each step type used in BPM have its own individual importance and attributes. We can't compare these steps with each other
defference between transform and switch
The purpose of using transform step is as I had already posted above,
n:1 Transformation --Bundles multiple messages into one message,
1:n Transformation --Splits a message into multiple messages,
1:1 Transformation --Converts a message into another message.
The purpose of using switch step is as,
You use a switch () to define different processing branches for a process. The Otherwise processing branch is created automatically.
You define a condition for each processing branch (see also: Condition Editor). The condition is checked at runtime. The process is continued in the branch that is first to return the value true. If no branch returns the value true, then the process is continued in the Otherwise branch.
deference between birdge and transform,
The transform steps transform the message format either combine or split multiple messages or convert toanother message format.
Whereas bridge is concept used for integrating Synchronous and asynchornous sender and receiver systems.
I hope now you got the idea about these BPM steps. We can't make comparison for it. Each step have its own image. May I kindly request you to go through below links it will help you to explain the improtance and step by step procedures of all BPM steps.
The various steps of the BPM are clearly explained in the following links, You can follow these to configure your BPM.
Recieve step:
http://help.sap.com/saphelp_nw04/helpdata/en/75/cc283f2bbad036e10000000a114084/content.htm
Transform Step:
http://help.sap.com/saphelp_nw04/helpdata/en/27/db283fd0ca8443e10000000a114084/content.htm
Block:
http://help.sap.com/saphelp_nw04/helpdata/en/f6/e1283f2bbad036e10000000a114084/content.htm
Container operation:
http://help.sap.com/saphelp_nw04/helpdata/en/59/e1283f2bbad036e10000000a114084/content.htm
Switch:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/db283fd0ca8443e10000000a114084/content.htm
Loop:
http://help.sap.com/saphelp_nw04/helpdata/en/76/5d373f5e550456e10000000a114084/content.htm
Send Step:
http://help.sap.com/saphelp_nw04/helpdata/en/86/80163f6b5baa09e10000000a114084/content.htm
Please let me know if this explanation clearify your doubt.
Thanks
Swarup
Edited by: Swarup Sawant on Jan 27, 2008 9:14 PM -
Transformations using BPM - File -webservice-merge-File
Friends,
I have a requirement something like this.
1. i get the file through the sender file adapter
2. one field out of those sent by the sender will be used to make a webservice call to get dateofbirth and name details.
3. i need to merge these data (from file + webservice response) and send it to the receiver using FTP
Can you please elaborate as to how we can achieve this?
Thanks and Regards,
PavanUse a SOAP lookup;
/people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
More about the lookup api - https://help.sap.com/javadocs/NW04S/current/pi/index.html -
Message Monitoring for each within the BPM process
I have a question concerning message monitoring within a BPM process. I receive an IDOC into my BPM process. I then have three transformation steps before sending an E-mail to the end receiver. When I look at the messages in the workflow log, I am unable to see the message after each transformation step. In the log display if I click the instance ID for all steps except the first step I am unable to see a message.
List of Message Objects
Object Type Instance ID Creation Time
ZXI_PROXY...0001 DC9F66530C7899F1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C789FF1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C78A5F1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C78B1F1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F66530C78ABF1AC430017A44943B2 11:04:39
ZXI_PROXY...0001 DC9F614BA98C51F1AC430017A44943B2 10:28:40
If I click all except the first instance I receive the following message:
No messages available for selection
Message no. XMS_ADM113
Is there a way to make the message persistent after each step within the process? I would like to see the data after each step in the workflow log. Is this possible?
I do receive the e-mail from the send step so I know that it's completing the process. What I'm not sure of is if each step individually processed the data as I expected.Hi Audra,
Check this link
BPM monitoring
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
Sachin -
BPM Monitoring: not all messages are groupped my bpm name
Could you explain me why not all messages are groupped my bpm name?
There are messages above bpm name that was sent in this bpm.
It is too diffucult to monitor messages in BPM monitoring.Hi Denis,
Is the concerned message a synchronous message or a message that relates two integration processes? If yes, this about to be changed and will be corrected in the next SP.
Best regards
Joachim -
Hi guys,
I'm doing a file 2 file BPM, where in my sender file has a record tag 1: unbounded containing two sub tags FNAMe and LNAME. I need multiple files to be generated at my output depending on the occurence of the record tag in my input.
I have completed my scenario, and when i place the file in my input folder, it is getting picked also.
I'm seeing the message in sxmb_moni. However i don't see any monitoring for my BPM. I'm not getting any output file in my destination.
Can anyone please help me on the steps to debug this
Thanks guys
VarunHi varun
also try this
BPM Monitoring
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
monitoring BPm https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c
Reconciliation of Messages in BPM - /people/krishna.moorthyp/blog/2006/04/08/reconciliation-of-messages-in-bpm
Also see the below BPM related links
check list for BPM https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
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
Many other examples can be found under the following link at help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
hey... check the slide....also useful......
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1db5e190-0201-0010-1c90-d9de570c6b18
REward POints if found useful **
http://help.sap.com/saphelp_nw2004s/helpdata/en/cb/15163ff8519a06e10000000a114084/frameset.htm
Maybe you are looking for
-
Payment card details not replicated from CRM to ECC
Hello We are creating BP in CRM which replicates into ECC. In BP, we are maintaining Payment cards. But, while replicating to ECC, this Payment card details are not replicating to ECC. The data is present in the BDoc. Please help!! Regards, Debolina
-
What image gallery script is this?
Hi, Has someone any clue about what kind of image gallery script is on this site? Pictures scale to page size in full screen , easy forward-backward browsing. And thats it, simple and user friendly. Most of image galleries are quite heavy in practice
-
How do I fix or open a corrupted file that has been corrupted by some sort of programmatically email
How do I fix or open a corrupted PDF file that has been corrupted by some sort of programmatically emailing? Please see the following screen shot: http://i67.photobucket.com/albums/h292/Athono/pdfproblem_zpsbd9bdc00.png
-
Windows update KB2847077 messes up Media Player settings
Windows update KB2847077 causes Media Player 12.07601.17514 to lose track of all settings and libraries Double clicking on a video media - opens a first time window that asks to use recommended or custom settings. (this is catastrophic for me as I us
-
I created a custom logon page and its not working. I'm pretty sure that it has to do with the authscheme.xml file. Can someone post the authscheme.xml file they used for their custom logon page, or tell me what is wrong with mine. I posted it below a