BPM Monitoring of IDOCs
Hello all,
I have a scenario with 100 IDOCs and I map the IDOCs in ccBPM. But if somehow a mapping process for one of the IDOCs in ccBPM goes wrong you get an error (a red flag) for all of the other 99 IDOCs.
My question is then how can we monitor which and why the IDOC went wrong without opening all of the IDOCs?
I have tried SXMB_MONI --> Process --> PE --> Technical details
But I havent found my solution.
Has anyone any suggestion?
Kind Regards,
Kamran Vakili
I checked this, It's not a solution when error's occur in the transformation step (mapping).
I have the same problem. I guess there is no solution for monitoring BPM when messages go wrong.
Anyone an idea? The only error you get from BPM when transformations goes wrong is:
com/sap/xi/tf/_mm_IDOC_Orders05_naar_Orderbestand~
com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRu
ntimeException in Message-Mapping transformatio~
Regards,
Luc
Found the solution:
Go to technical details -> scroll down to bottom -> double click on show container -> Double click on TRACE -> Double click on Value under Object Type (in my cause CL) -> Now you see what went wrong in the message and which message went wrong.
Message was edited by:
TPG TPG SAP CCC - Pink Roccade
Message was edited by:
TPG TPG SAP CCC - Pink Roccade
Similar Messages
-
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 -
Hi Experts
I have BPM where i receive some message. Scenerio is sync. So i BPM first i open sync to async bridge. In BPM i send idoc to ERP end after this step i do transformation with source abstract interface releted to idoc message target respode to sync request.
My purpose is to recieve message id of idoc that has been send in this BPM. in transformation i receive message id of abstract interface with naturaly has diffrent id than idoc.
Any idea ?
Regards
M.Bhavesh,
I have reached a step further in my Mapping.
I have defined a Mapping between File1_ABS and File2_IN (get Message ID)
Second Mapping is between File2_ABS and File2_IN
for Scenario : N:2 Transformation
N IDoc collected (Receive) -> Transform(2 files) -> Send1(File1_ABS)
-> Send2(File2_ABS)
I am struck at the Scenario. How do i define Receiver Agreement, Interface determination and Receiver determination?
Kindly Advice.
Thanks,
Gowri -
Hi,
I am doing a File - File using BPM.
I sent a file and its getting picked up and I could see a checkered flag in Moni.
But file is not present in target folder.
When I have monitored receieved CC, It has not received message from BPM at all....
how do I proceed from now on to monitor my scenario?
regards,
Nikhil.hi,
Please check the status of the BPM process in SXI_Cache. The status should be 0.
check this thread also for some info..
Re: bpm monitoring
Thanks,
Vijaya -
Monitoring receiver idoc communication channel
Hi All
I have an idoc to idoc scenario.
I am unable to see my receiving idoc communication channel in communication channel monitoring of RWB. It is not available in the dropdown list.
I want to have a look at the audit log to see if the idoc is delivered to the receiving system.
How can i monitor receiver idoc communication channel?
How can i ensure that the idoc is delivered to the receiving system?
In sxmb_moni, status is checkered flag.
Many Thanks
Chandra SekharHi,
IDOC is on ABAP stack hence u can not monitor IDOC.
For testing purpose
1) GO to SXMB_MONI check the status of message.
2) Go to R3 and enter Tcode WE02 and check the IDOC which is send from XI. enter the idoc name and see the status of IDOC it should be in green status if it is posted successful or else see the status record for checking the error message.
chirag -
Hello all,
I try tu have a good monitoring of IDOC.
To be clear, I will explain the problem.
We use the IDOC HRMD_ABA for the replication sap HR towards an other system CRM.
Sometimes we have some IDOC not in error but not fully posted status 52 (via transaction BD87).
The problem is : the message is not fully clear I don't know on which segment I got the error. I would like to add more information to the message, I look on customer function but I found no appropriate function => I told me why not to copy the function module [IDOC_INPUT_HRMD] for the IDOC's post into a [ZIDOC_INPUT_HRMD] function module and to manage better the message error but it looks a heavy work.
Anybody has a better idea to realise that ?
I try also to read the table EDIDS and EDID4 but the information was not helpfull.
Thank you very much in advance, Gene.Hi Genevieve,
Yes there is a better (and much easier) way.
Go to the customer exit 002 for this specific function.
Function module = EXIT_SAPLRHA0_002.
Inside you will find: INCLUDE ZXHALU06 .
Double click on ZXHALU06 (and if it does not exist, create it by answering Yes on the create dialog).
Then simply use your coding to investigate the results and/or extend the message.
This customer exit is meant for monitoring workflow functions for this IDoc handler.
However, to copy IDOC_INPUT_HRMD to your own ZIDOC_INPUT_HRMD and extend this is not so very much work. You only need to find out with which partner the communication occurs (e.q. EDIDC-SNDPRN field).
Find this partner in transaction WE20. Indise the transaction find the message in the inbound parameters.
Double-click the partner and go to the Process code field.
Double-click the process code field and you will see that with the identification the function module IDOC_INPUT_HRMD is given.
Press the button behind the identification field and remember all fields from that screen.
Once you have copied to ZIDOC_INPUT_HRMD you can replace the identification with your function module and fill in the related fields (that you did remember).
Hope this gives you a good start.
Regards,
Rob. -
hi...
how can we monitor the idoc in XI.
thanks
VishnuHi vishnu sreenu ,
Go thru these websites for IDoc monitoring :
Mastering IDoc Business Scenarios with SAP® XI
http://www.sap-hefte.de/download/dateien/1156/100_leseprobe.pdf
A Beginners Guide to SAP XI Settings, Part I
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c9692
cheers!
gyanaraj
reward points if u find this helpful -
Hi to all,
Can anybody please tell me some examples on monitoring ALE/IDOC.
Thanks in advance.
Regards
MonalisaYou can easily and effectively monitor inbound and outbound processing of IDocs using special reports and graphic displays. An agent can also be notified automatically using a workflow if an emergency occurs (active monitoring).
The following tools are available for monitoring:
· IDoc Display
All the other fields of the control record are available as selection criteria as well as partners and messages
- IDoc numbers
- Ports
- IDoc types
You can display a tree structure of the IDoc directly using the IDoc number. The IDoc list is displayed again if several IDocs are selected.
· IDoc Statistics
The IDocs are sorted and represented graphically according to predefined status groups. Lists and individual IDocs can be displayed using mouse clicks.
· IDoc Search
You can select IDocs according to their business content, that is, according to the data contained in the segments.
· Error and Status Processing
Error and status codes are defined for the IDoc transfer. These codes can be assigned to a workflow task, which informs the agent automatically in a procedure.
The final section explains Active Monitoring.
If you receive IDocs by qRFC, this function can monitor the inbound queue and react to any errors which occur.
Prerequisites
You post inbound IDocs with qRFC.
Features
This monitoring function displays the elements in the inbound queue:
· Display sender
· Selected queues
· IDoc number
· IDoc status
· Link to IDoc display
You can make the following changes to a queue:
· Flag IDocs for deletion
· Delete IDocs from the queue
· Start a queue
Activities
Choose Tools ® IDoc Interface/ALE ® Administration ® Monitoring ® Troubleshooting ® Monitor IDoc Inbound Queue (transaction WEINQUEUE), to go to the inbound queue monitoring.
Select the IDocs or queues which you want to monitor, using the specified selection parameters.
If an IDoc in a queue has an error status, select it and go to its detail view with the Display IDoc button, to determine the cause of the error, and resolve it.
If you cannot correct an IDoc with error status, you can delete it from the queue with the Delete IDoc from Queue button.
To edit a queue, select the queue name and choose Start Queue.
If you send IDocs by qRFC, this function can monitor the outbound queue and react to any errors which occur.
Prerequisites
You send IDocs with qRFC.
Features
This monitoring function displays the elements in the outbound queue:
· Recipient port
· Selected queues
· IDoc number
· Link to IDoc display
You can make the following changes to a queue:
· Flag IDocs for deletion
· Delete IDocs from the queue
· Start a queue
Activities
Choose Tools ® IDoc Interface/ALE ® Administration ® Monitoring ® Troubleshooting ® Monitor IDoc Outbound Queue (transaction WEOUTQUEUE), to go to the outbound queue monitoring.
Select the IDocs or queues which you want to monitor, using the specified selection parameters.
If queue problems occurred in transmission, you can select IDocs and go to their detail view with the Display IDoc button, to determine their status.
You can remove IDocs from the queue with the Delete IDoc from Queue button.
To send a queue, select the queue name and choose Start Queue.
In the IDoc Administration, you can assign a procedure to a workflow task error or status code.
With the Error and Status Processing function, you can check the assignment of the error procedure codes tothe standardtasks, if you have used EDI communication in an earlierversion.
You must also maintain this assignment for your user developments.
Example
Code Type ID Description
EDIX 2 TS0008070 ALE/EDI: Syntax error (Outgoing)
Activities
Check whether the assignment matches the table listed below.
1. Choose SAP Menu -> Tools -> IDoc Interface/ALE -> Administration -> Runtime Settings -> Error and Status Processing (transaction WE46).
2. Perform the function. The table must contain the ALE error handling entries listed below:
Code
Task
Description
Type
EDII
TS00008068
ErrorProcInb
2
EDIO
TS00007989
ErrorMessage
2
EDIP
TS60001307
idocpaket
2
EDIX
TS00008070
SynErrorOut
2
EDIY
TS00008074
SynErrorInb
2
EDIM
TS00007988
ErrorMessage
2
The table contains the assignment of the error procedure codes (e.g. EDII) forstandardtasks (e.g. TS00008068).
The procedure type is 2 (work item).
Notes
If you used EDI in an earlier version, standard tasks ofthe old versions are still assigned here for the procedure codes EDII and EDIO. If the new tasks are not entered here, there may be ALE Processing problems.
This report automatically informs the agents responsible if too many incorrect IDocs are found.
Integration
Active monitoring is not used for processing or reimporting of an incorrect IDoc. Exception handling of every incorrect IDoc is responsible for this.
Activities
You plan the report to run regularly with a variant. The variant also informs the report of the status values to be selected: If the critical status contains more IDocs than specified in the critical number of IDocs, a message is sent to a predefined recipient.
The recipient receives the notification in the form of a work item displayed in their Business Workplace. If they execute the work item, the IDoc statistics are displayed with the values determined at the time of evaluation. The agent can display the current status of these IDocs using the Refresh function. The selection criteria which led to the notification are also used for this evaluation.
An important customer orders goods using EDI on working days, between 8am and 6pm. These goods are to be delivered at 4pm the next day. To ensure that the delivery is made on time, the ordered quantity must be recorded by midday on the day of delivery. The active monitoring function is to be used at 8am every morning to determine whether there are any orders which could not be processed automatically. The report, therefore, is started at the same time every day and 0 is selected as the critical number of IDocs. The agent responsible is notified if any incorrect IDocs are found and can then manually process the outstanding orders by midday.
For more information see
Schedule Monitoring Job (example)
Schedule Monitoring Job (Example)
Prerequisites
The following refers to the example in the section Active monitoring . The active monitoring report is to be started as a background job every morning at 8am, to evaluate the IDocs which were received between 8am and 6pm on the previous day.
Procedure
Enter the RSEIDOCA report in the BAP Editor, select Variants, and choose Display.
Give your variant a name and choose Create.
Enter the following parameters:
Recipient type: US (user)
Recipient of notification, for example SMITH
Start time or End time before batch run: 1 Day and 0 Days 14:00:00h
Critical number of IDocs: 0
Status: 51 , 56 and 64
Logical message type: ORDERS
Partner parameter (here sender):
Choose Continue to enter a short text for your variant. Save your entries.
To schedule your job as a background job, choose System ® Services ® Jobs ® Job Definition and enter B (medium priority for periodic jobs) as the job class.
Select Start condition and enter a date and 08:00 as the start time.
Choose Execute job periodically.
Choose Period values ® Daily and save your entries.
Enter the scheduled report again when saving (RSEIDOCA) and the variant that you maintained.
Result
IDocs selected during the daily run of the background job will now be:
Those which were received between 8 am and 6 pm on the previous day
Those which have the logical message type ORDERS
Those received from the relevant customer
An IDoc from status 51 , 56 or 64 must be assigned now to ensure that a notification is sent to the user SMITH.
REWARD POINTS IF HELPFUL -
How can I design a BPM with mulitiple IDOC types as sender
Hi Experts,
I am using PI 7.1
I have a senario that I have to design a BPM in such a way that I will get different IDOC types as sender while the receive step has to trigger the the respective IDOC types at run time.
For example: when matmas is the IDOC the BPM instance have to trigger only the respective Abstract interface at runtime.
In my senario I have 5 IDOC TYPES which should pick the related one using a single Abstract Interface in the same design( one BPM ).
Is this possible. Please suggest me how can I do this if possible.
Regards
Shankar.Hi,
you could work with multiple receive steps that triggering the process.
Similar to the example pattern in SAP Basis BpmPatternSerializeMultipleTrigger
http://help.sap.com/saphelp_nw04/helpdata/en/77/0737133012b24b9d0a12c6df2b1054/frameset.htm
In the fork step you could set the number of required branches to 1 that means only one receiving IDoc is required to leave the fork step.
Regards
Patrick -
Async Sync Bridge without BPM (Proxy-Soap-Idoc)
Hi,
I have read some blogs how to do the Async Sync Bridge without BPM for JMS adapters. I have a requirement that I am getting a Async Proxy message to PI and then PI makes Sync Soap call then the result need to send through the Idoc adapter.
Proxy - Soap- Idoc
Here Proxy is a sender so no adapter required in the Config and also Soap is java based adapter and Idoc adapter is a ABAP based so I am not sure this is possible but I just wanted to check with you.
Please let know if this is possible or not?
PI 7.1 with EHP1
Thanks,
Laxman
Edited by: Laxman Molugu on Oct 14, 2010 2:15 PMThe mapping programm can be defined as a user defined function. As sample of mine is "getGoogle()", which is doing some kind of address validation. The input parameter URL[0] contains source address. For that you need to import:
org.apache.commons.logging.*;
org.w3c.dom.*;
javax.xml.parsers.*;
org.xml.sax.SAXException;
org.apache.commons.httpclient.*;
org.apache.commons.httpclient.methods.*;
org.apache.commons.codec.*;
org.apache.log4j.*;
Example code for UDF "getGoogle()" is:
String sUrl = "http://maps.google.de/maps/api/geocode/xml?address=" + URL[0] + "&sensor=false";
HttpClient client = new HttpClient();
GetMethod method = new GetMethod(sUrl);
byte[] responseBody = null;
try {
// int statusCode = client.executeMethod(method);
// byte[] responseBody = method.getResponseBody();
// result.addValue(new String(responseBody));
String sResponse = "initial";
int statusCode = client.executeMethod(method);
responseBody = method.getResponseBody();
ByteArrayInputStream bis = new ByteArrayInputStream(responseBody);
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder db = factory.newDocumentBuilder();
Document doc = db.parse(bis);
doc.getDocumentElement().normalize();
NodeList nodeLst = doc.getElementsByTagName("formatted_address");
Node formAdr = nodeLst.item(0);
NodeList nlFormAdr = formAdr.getChildNodes();
sResponse = ((Node) nlFormAdr.item(0)).getNodeValue();
// Deal with the response.
result.addValue(sResponse);
} catch (Exception e) {
result.addValue(e.toString() + "######## exhrenda - googleResponse:############### URL=" + sUrl+"###########"+new String(responseBody));
} finally {
// Release the connection.
method.releaseConnection(); -
BPM HTTP Sync - IDOC Async Timeout
Hi!!!
my scenary is using a BPM
HTTP sync <--> BPM -> IDOC
my IP
receiver sender1 transforme sender2
SI_ABS_SYNC SI_ABS_REQ OM_ABS_REQ_to_ABS_RES SI_ABS_RES
SI_ABS_REQ SI_ABS_REQ Close S/A Bridge
Open S/A Bridge SI_ABS_RES
Create New Transaction
HTTP IDOC Mapping HTTP_Response
-> -> -> <-
-> <-
the steps the BPM pass
receiver -ok
sender1 -ok
tranformer -ok
sernder2 - mistake
could you help me, what i need to move or configurate to return the response message
the tranformer is a Mapping with return a ID that it is in the request message, i simple sent to return
Levy GonzalezHi Levy,
this forum is about SAP NW BPM, not PI ccBPM. Please post your question in the PI forums, I´m sure there are people that can help you.
Best regards,
Matthias -
hi
I am working with BPM and I am trying to monitor it using SXMB_MONI_BPE. I want to know whether my BPM is processing messages or not so where do I check that ? Can I check whether each step has been successfully executed or not ?
AjithI want to know whether my BPM is processing messages or not so where do I check that ?
SXMB_MONI
Can I check whether each step has been successfully executed or not ?
SXMB_MONI --> for your message processing --> click on the PE link....you will see the graphic flow of your BPM.
Regards,
Abhishek. -
BPM Monitor job in solution manager
Hi
I am trying to monitor job's with solution manager.
In the BPM (Trans' solution_manager) I config a business process and add a job to the monitor.
But there is no support massage create when the job fails.
I don't know what i did wrong.
Help
Best regards
Lior GrinbergHello,
The automatic creation of a notification has to be configured separately from alerting. See documentation: http://help.sap.com/saphelp_smehp1/helpdata/en/a6/a1b52fda154614ba38a17be5243b73/frameset.htm
Please also visit the Business Process Monitoring site in Service Marketplace: http://service.sap.com/bpm
I recommend to configure the Job Monitoring from within a Job Documentation. The process is described in :
a) End user documentation
http://help.sap.com/saphelp_smehp1/helpdata/en/8e/3ad6f807e147669036d2a6aed597aa/frameset.htm
b) Tutorial on Service Marketplace
http://service.sap.com/~sapidb/011000358700001911422008E.sim
Best regards,
Martin -
HI ,
I Used BPM scenario for merging two files and the Two files are picked from the source and in SXMB_MONI I try to click PE it showign the pop up PROCESS OVERVIEW ON INTEGRATION SERVER ONLY
In receiver I did not get the desired data I need to check the BPM workflow I am unbale to do in PI7.1
How can I monitor the BPM workflow in PI7.1
Regardscheck your installation with these steps:
https://technology.amis.nl/2014/06/28/bpm-suite-12c-quick-start-installation-20-minutes-and-good-to-go/
Hope this helps,
A.
Maybe you are looking for
-
Apple Id has become corrupt and I can't fix it
One of my Apple Ids is demanding a password and the one I have always used doesn't work any more. I suspect it has been hacked because when I try to fix it I can't get past the security questions as it won't recognise my birth date. Moreover, when
-
Diplay Text in Text Box in selection Screen
Hi Experts i want to display text in text box in selection screen like Personnal Number Display in text box and disable................please help me Edited by: BFawad26 on Jun 21, 2010 9:46 AM
-
Is it possible to open "settings" from Air?
Hi, Is it possible to open/ link to "general - > settings" from Air? (iOS in this case) I'm using native Facebook/ Twitter ANEs and it would great to present a "Go to settings" from my app, if FB/Twitter isn't installed.
-
Ipod 4g won't restore, itunes won't update.
*please look at recent question for more information* My ipod 4g isn't restoring itself from recovery modee and everytime I try it says error 3194. It sent me to an error page telling me to update to the latest version, but once again an error page a
-
Hi All, I am using the javax.swing.text.html.HTMLEditorKit in order to render HTML in a JTextPane. The thing is that I wish to aff my own CSS definitions to any HTML file. I cannot seem to find how to do it... Can anyone post a code snippet of how to