Error catching in process chains
Hi experts
I need to know if it's possile to catch errors while executing a process chain;
actually if one of my process chains fails, it brutally stops without reaching the last process that resets some flags and sends an email to the client. Instead of this behaviour, I would like that after any error the process chain resumes directly the last process that sends the email.
thank you in advance
Full points available
Francesco
Usually if any failure in the process chain, it stops at that point and won't reach to the last process to execute the email variant. If we didn't get email means that some problem within the process chain. So all process variants will get connected only with if successful option. I think, this is how it works. Am not sure how the PC ending up with sending some email to the client as you mentioned. Check the connectors.
I don't think so we can catch the error the way you mentioned within process chain. Probably you can think of calling the PC through ABAP program with all your custom options.
Thanks
Viswa
(Assign points if helpful)
Similar Messages
-
Error messages in Process chains
Hello BI fans
In which transaction can I maintain batch-initiated error messages from process chains.
I am not looking for the process chain variant for messages.
I would like to create messages only for errorness messages.
thanks
BEOHi,
Please check the forum before posting for this issue.
Here You can follow below steps:
1) right click on process type and select "create messages".
2) choose "error" and create variant for error message
3)write message body in "EDIT DOCUMENT" and mention email ID's in "Maintain Recipient list" tab
4) save and schedule the chain again
Edited by: shailesh patil on Nov 14, 2011 5:51 PM -
Error handling in process chain-doubts
Hi ,
I have some doubts in error handling of process chains.
1) I have aprocess load infopackeage and subsequent process is update fromPSA.
process load infopackage got failed , so i loaded the IP manually and repeated the next i.e process update from PSA .
How to correct the process chain from now?
2) I have aprocess load infopackeage and subsequent process is Delete request in infocube .process load infopackage got failed , so i loaded the IP manually and repeated the next process i.e Delete request in infocube. Chain continued by deleting the right request . How this is possible ?
Plz help me as this is urgent and daily i have to deal with this issues. If any documents on error handling is greatly appreciated.
My mail id is [email protected]
Regards,
PavanHi Pavan,
Hope the following links will give u a clear idea about process chains and clear ur doubts.
Business Intelligence Old Forum (Read Only Archive)
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/19683495-0501-0010-4381-b31db6ece1e9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9936e790-0201-0010-f185-89d0377639db
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/263de690-0201-0010-bc9f-b65b3e7ba11c
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
Errors in monitoring of process chains can be categorized into 4 different sections...
Master data - Full Update
Master data - Delta Update
Transaction data - Full Update
Transaction data - Delta Update.. in terms of loading of data which can be due to server shut down or system maintenance... errors due to incorrect entries in the OLTP system in which case you'll have to fix the errors in the PSA and manually load the data...
Otherwise it can have errors on Attribute change run being locked by some other job... Aggregate Roll up failing because of attribute change run being run at the same time... Problem with hierarchies and save hierarchies...
There can be problems with the data store activation if the ODS object contains any incorrect request sitting inside it... then, you need to delete the incorrect request and reload the data again...
In case of Transaction Delta failure, you'll have to request for a repeat either manually in the infopackage or using the repeat option if available on right clicking the load event...
For Master Data Delta failures, you need to do an Re-init by deleteing the previous initalization condition in the "initalization option for source systems" in the menu scheduler or reschedule the enitre chain... because, master data generally do not support repeat of last delta ...
U can even look into these links:
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
For common data load errors check this link:
/people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
****Assign Points if Helpful****
Regards,
Ravikanth. -
How to identify what are all the errors appears in process chain,
Hi all,
i have a process chain running, but i want to find out what are all the errors that the process chain has thrown
thanks
poojaHi Pooja,
Errors in monitoring:
SID error
Reason: If the corresponding master data is missing for the particular transaction data.
1. Check for the load timing for the respective master data, if it less than an hour then make the request red and repeat the ip.
2. If the data is loaded to PSA then you have to delete the request from target and manually push the data to from PSA.
3. If we are required for selective update then note down the info source from header and find it in RSA1,select the one with Single as postfix.
4. Goto data selection tab and change the range.
Tip: change the last 4 digits for from to 0000and the last 4 digit for to 9999.
5. Repeat the ip.
6. In case only of failure in one target goto RSA1 find the PSA, put he request no. and reschedule it.
Note: IF PSA is present never make the request red rather delete it.
Replication error
Reason: Data source replication Failed.
1. In order to handle this error you should be known to IP, info source and source system.
2. Goto RSA1, find the data source in the source sys tab.
3. Right click on the data source and replicate it.
4. Since all the transformation rules pertaining to this data source need to be reactivated so go to SE38 and execute rs_transtru_activat_all, data source and sys name.
5. Delete the red request from the target.
Update R not supported
Reason: The corresponding initialization flag for the ip is lost.
1. Goto header click on the ip and goto schedule tab and click initialize in the source system, whatever screen appears delete the only request present(the initialization flag).
2. Goto RSA1, find the ip in the info source (one with the Adhoc initialize flag).
3. Goto update tab and select Initialize delta process try going for with data transfer.
4. Reschedule the IP.
Duplicate Record Error
Reason: Duplicate error records for the loaded master data.
1. Goto info package via header or via RSA1.
2. Goto processing tab and change the ip setting, selecting only PSA and ignore duplicate records and re run the ip.
3. Do remember to change the ip settings back to the original once after the second step.
ODS activation failure
Reason: Prerequisites for ODs activation not satisfied i.e. unique key.
1. Goto maintain variant.
2. Check for the QM status of the requests in the target they should be green.
3. Then click the ODS activation tab.
4. In the screen which appears put the requests for which ODS activation failed.
5. Activate these and keep on refreshing them until status reverts from green,
Remember to refresh these requests one at a time.
6. If requests are red then delete them from target.
7. Reschedule the IP.
Note: Never Try activating ODS manually if it is Y1.
Aggregate Rollup error
Reason: No aggregate found for the respective rollup.
1. Click on the variant in which the error occurred.
2. Goto chain tab and copy the variant and instance.
3. Run the nestle provided program YBW05.
4. Put in info in there and put the status as g green.
5. Execute and refresh the status.
Lock issue
Reason: The same ip is been locked by other user or may be used by other process chain.
1. We can see the locked entries and in the transaction SM12.
2. Wait for the other process to get complete once the ip loads to target in that process then there is no need for running it for the process.
3. In other case make the request red, when PSA is present then goto environment tab ->schedule->initiate update.
4. In the box appears select update in the background.
5. And the manually update the failed IPs by selecting manual update in the context menu.
Alfa confirming value error, Time conversion error, Chain didnt start, Delay due to long running job, Poor system performance,Heirarchy node exist in duplicate.
Reasons:
Alfa confirming error: Data format mismatch.
Time conversion error: Date, time format mismatch.
Chain didnt start: A scheduled chain didnt triggered at the prescribed timing.
-For all the above error we have to raise a ticket.
Idoc or TRFC error
Reason: An Idoc is been stuck somewhere.
1. Reload the Master Data manually again from Info-package at RSA1.
2. Release the Idoc.
3. In the source system level got environment->transaction->Transaction RFC or Data ware housing level.
4. In the Screen if the status is Transaction Recorded it means its stuck goto edit and click Execute LUW or press F6.
5. If status is Transaction executing then it means its fine wait.
6. Or raise ticket.
Error Due to short Dump
Reason: Error due to Short dump could be due to many reasons i.e. memory, table space, lock, error record, page allocation, failed change run.
Process terminated in the Source system.
Reason: Sometimes we face that a load has failed due to job Termination at Source System.
This happens due to unavailability of the source system or some connectivity problem between source and target systems.
1. Make the request red.
2. Delete the request from the data target.
3. Reschedule the ip.
4. If still the job fails raise the ticket.
And also check in following links:
Process Chain Errors
/people/mona.kapur/blog/2008/01/14/process-chain-errors
Common Process chain errors
For Data Load Errors check this blog:
/people/siegfried.szameitat/blog/2005/07/28/data-load-errors--basic-checks
Pls assign points if it helps u,
Thanks & Regards,
Madhu -
Error while activating Process Chains
Hi all,
while activating the Process Chains, i am getting the following error "Job BI_PROCESS_PSAPROCESS could not be scheduled. Termination with returncode 8"
when i double click on the error msg, i got the following help msg: "
<i>Message no. RSPC065
Diagnosis
Program RSPROCESS is to be scheduled as job BI_PROCESS_PSAPROCESS under user ALEREMOTE.</i>
Can any one please show some way to solve this problem? please do this favor, i have been suffering with error for a long time.
Points will be given
Thanks
GaneshHi,
Just analyze the error message that you get while activating the PC, don't give any server name.If you are trying to run process chain using Flat file, it won't work,
and you should have source system R/3 or you have own datasources in BW system itself at that toime you can use PC to extract data. If your source system is Flat ile, it won't work. other wise you should place your flat file in application server, using AL11 tcode.
<b>OSS : 511475</b>
<b>Symptom</b>
You cannot schedule or perform any batch jobs with the BW or source system background user.
The error RSPC 065 occurs in the process chains:"Job could not be scheduled, termination with return code 8"
<b>Other terms</b>
RSPC065
<b>Reason and Prerequisites</b>
The user type is
"CPIC" up to 4.6B
"Communication" as of 4.6C
This user type may not execute or start any batch jobs, irrespective of the user authorizations.
<b>Solution</b>
Set the type of background user to
"Background" up to 4.6B
"System" as of 4.6C
This user type corresponds to the "Communication" type and may also perform background functions.
Through the Customizing, the BW user is automatically created by mistake as a communication user.Depending on your BW system release, you can solve this problem as follows:
BW 2.0B
Import Support Package 24 for 2.0B (BW2.0B patch24 or SAPKW20B24) into your BW system. The Support Package is available once note 456551 with the short text "SAPBWNews BW 2.0B Support Package 24", which describes this Support Package in more detail, has been released for customers.
BW 2.1C
Import Support Package 16 for 2.1C (BW2.1C patch16 or SAPKW21C16) into your BW system. The Support Package is available once note 456566 with the short text "SAPBWNews BW 2.1C Support Package 16" has been released for customers.
BW 3.0A
Import Support Package 8 for 3.0A (BW3.0A patch08 or SAPKW30A08) into your BW system. The Support Package is available once note 452632 with the short text "SAPBWNews BW 3.0A Support Package 08" has been released for customers.
<b></b> -
How to delete the error stack in process chain?
Hi all,
we just want to do the following:
- we are loading in FULL daily to our datatarget (data is versionized by 0calday)
- we want to use the error-stack in order to analyze wrong data
--> but we now encounter the problem that, if data has once been added to the error stack and has not been handled yet, all data from the next daily load will be sorted out as records with this key do already exist in the error-stack. But that's exactly what we want to avoid.
with other words: how can we delete the records in the error stack by a report by e.g. using this in a process chain?
Thanks in advance,
Best regards,
bivision
Edited by: bivision2009 on Jul 6, 2010 12:25 PMDbl click that DTP.... From menu... Extras -> Setting for Error Stack
Here U can see error stack table name /BIC/B0001234000.
Using SE38, create simple program "Delete from /BIC/B0001234000"
In the process chain, add process type "ABAP Program" to add above deletion statement. -
"Error While creating Process Chain"
Hi all,
I am Creating a process chain in that I have to load from ODS to Cube,
If I include process types "Activate ODS" and "Update ODS" in process chain its Loading Delta from ODS to Cube, But my Requirement is to load FULL LOAD from ODS to Cube, If i select Full load infopackage from 8ZODS and place it in the chain after Activate ODS its giving errors as
Errors:
InfoPackage is generated; NOT able to be used as loading variant
A type "Activate ODS Object Data" process cannot precede process "Execute InfoPackage" var. ZPAK_42622G5QGKNFH2LSX5PN6DAG6 in the chain
Please Guide me what to do? and Brief me the sequence to create a Process Chain(loading full and delta from ODS to Cube).
Thanks in Advance,
Saihi Sai ram...
<b>Create a FULL Infopack by Copying the Full IP which was generated at the 8ZODS.</b>
Sequence for full is.
1) start Process
2) LOAD IP
3)ACTIVE ODS
4)EXECUTE IP(Full IP which was copied)
For Delta
1) start Process
2) LOAD IP
3)ACTIVE ODS
4)Further Update Process type..(give the ODS name here from where u want to load to Cube.)
put the Indexes where ever nececssary ...
hope it helps
regards
AK
Thanks=points
Message was edited by:
A K -
Error while creating process chain for flat file loading
Hi All,
I had Created a process Chain to load Transactiion data(Full load) form flat file which is in my computer.
start>Load>DTP>DeleteIndex>DTP loading CUBE--> Create Index
but the system is throwing an error as "An upload from the client workstation in the background is not possible."
I dont know why this error is coming?
Can some one help me
Regards
MamtaHi Mamta,
Basically if you want to load the DS through FF using process chain, the FF has to be placed in Application server. We cant load the FF when it is located in the client local workstation(FF On your PC).
So better you remove the Infopackage step from the PC. Load the IP manually. Once it is completed you can start the process chain with the following steps:
start>DTP>DeleteIndex>DTP loading CUBE> Create Index
Hope it is clear & helpful!
Regards,
Pavan -
Error in transporting process chain
Hi
i added two DTP's in the process chain and transported. The transport ended with errors.
The following is the error msg:
Results of check for process AND EVEN_4CEJM320EVCIY0L5L62W61JVB in chain PC_BI_TD_POSDM_CAST:
Process variant AND EVEN_4CEJM320EVCIY0L5L62W61JVB does not exist in version A
Results of check for process AND EVEN_4CEJM320EVCIY0L5L62W61JVB in chain PC_BI_TD_POSDM_CAST:
Process variant AND EVEN_4CEJM320EVCIY0L5L62W61JVB does not exist in version A
I saved and activated the process chain but still transport to QA ending with errors.
When i saved the process chain in DEV, i am getting the msg:
Version 'M' of chain PC_BI_TD_POSDM_CAST was saved without checking
What does that mean?
REgards
AnnieHi
If I got your question properly, Your AND Event is not Collected at the time of Transport.
Try to Re Export the Process chain with all necessary grouped objects.
Version 'M' of chain PC_BI_TD_POSDM_CAST was saved without checking
What does that mean?
Try to Check-- Save and then Activate and Then Transport .
Please follow the Sequence for the transport, You may recheck the flow again
Transport Sequence
Info Objects,
DSO
INFO CUBE
TRANSFORMATIONS
MP
INFOSETS
PROCESS CHAINS
QUERIES
Objects need to be transported with respect to their
dependencies
InfoProviders will bring in all relevant InfoObjects
Importing of Global variables is dependant on their reference
InfoObject being already active
Queries, workbooks and roles are dependant on InfoProviders
and InfoObjects being active
Use the Transport Connection Tool to analyze your objects
Transport all customer-defined packages (dev classes) before
transporting objects
Transport InfoProvider(s) using the "In Data Flow Before" or
"Only Necessary Objects" grouping option
Transport all Global Variables with primary package
assignment
i.e. ZBW
Transport BEx objects with appropriate individual package
assignment
Transport roles and workbooks together.
Hope it helps -
Error in executing Process chain
Hello friends
I am getting an error in production while starting the process chain
ERROR 572 *** CAN'T GET MSG FROM CATALOG: Cannot start Process Chain
Please let me know if u know the cause of this error.It would be a gr8 help.
Regards
RohitHi,
Are there any enhancements to the data source done lately? Did any transports happen in BW or R3 side related to this chain?
With Regards -
Error in scheduling Process Chain.
Hi Experts,
I am creating process chains, but at the time of scheduling it is giving folloeing massage.
Job BI_PROCESS_LOADING could not be scheduled. Termination with returncode 8
Message no. RSPC065
Diagnosis
Program RSPROCESS is to be scheduled as job BI_PROCESS_LOADING under user ALEREMOTE.
System response
Scheduling terminated with return code 8. The meanings of the return codes are as follows:
SY-SUBRC = 4:
Scheduling terminated by user
SY-SUBRC = 8:
Error when scheduling job (JOB_SUBMIT)
SY-SUBRC = 12:
Error in internal number assignment
But I have Authorisation for scheduling Back ground jobs.
Please Help me,
Thanks in advance,
Raghav.Hi........
This problem is already discussed in SDN........Search in Forum......
Check SAP Note : 947690 for error RSPC065
and SAP Note : 511475
Also check the solution of Roberto Negro .......
/message/685875#685875 [original link is broken]
Hope this helps......
Regards,
Debjani....... -
Error while activating process chains from Business Content
Hi All,
I am trying to activate the SAP Business Content Process Chains, which load data to 0PM_DSO2 in Plant Maintenance Area -
1.Delta Upload : MTTR / MTBR (0PM_DELTA_P02)
2.Initialisation : MTTR / MTBR (0PM_INIT_P01 )
And they are failing with the error
"Object 0PAK_BZJNGI4SYTTJM5DXY8IPMHB0C could not be found in version
Message no. RS_EXCEPTION280"
"Message Text
Object 0PAK_EYQGZ09K9SFFUMOFRQ0730LJ0 could not be found in version
Technical Data
Message type__________ E (Error)
Message class_________ RS_EXCEPTION (Exception Messages)
Message number________ 280
Message variable 1____
Message variable 2____ 0PAK_EYQGZ09K9SFFUMOFRQ0730LJ0
Message variable 3____
Message variable 4____ "
In the collected objects, these two infopacks are not present also.
Can you please let me know how to proceed?
Many Thanks in Advance,
VineethHi
Make sure these 2LIS_17_I0NOTIF and 2LIS_18_I0NOTIF datasources are being installed.
Check these links.
http://help.sap.com/saphelp_nw70/helpdata/EN/e7/082888ca2f994794986448568aec2d/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/e7/082888ca2f994794986448568aec2d/frameset.htm
Chandu.
Edited by: Chandu on Jan 22, 2009 2:24 PM -
Error in Transporting Process Chain in BI 7.0
Hi Gurus,
i m getting following error "Object 'DM' (APCO) of type 'Application' is not available in version 'A' " in BI 7.0 while transporting a process chain.
I thought it my have issues with version of process chain, but the proces chain is in A version still is gives above error.[Hello Sonal,|http://chandranonline.blogspot.com]
APCO denotes the OLTP Application Component. So check all the Application Components used in the PC are available.
Also see
SAP Note 382471 BW-OLTP-APCO: How do I transport it?
[BI Content Delivery in OLTP Systems by SAP (SAP Library - Customer Content in OLTP Systems)|http://help.sap.com/saphelp_nw04s/helpdata/en/ca/85f911c4bda4479af0a062bd9dfa94/frameset.htm]
[Thanks|http://chandranonline.blogspot.com]
[Chandran|http://chandranonline.blogspot.com] -
Error in Transporting Process Chains
Hi All,
I have a requirement of changing the object name of the Process Chain.
This I have achieved by copying the existing process chain and meeting the naming conventions of the process chain as per client requirement.
Now As both the process chain have the same start variant shows the error. Again I have solved the same by removing the start process of the original process chain and created a new start process for the original process chains. This now shows no error.
The problem is when I try to transport the copied process chains I am getting the error pop up message
"Edit objects separately since they belong to different original systems"
Kindly help how to transport the sameHi DPN,
Check oout this thread. This might solve yuor problem.
Errors in Transportation
Thanks and Regards
Subray Hegde -
Error log in Process chains...
hai friends,
am getting this error log messages while running the process chains...
There is a discrepancy between the confirmation and deletion of qRFC-LUWs
Message no. RSQU016
Diagnosis
When data was confirmed and deleted in the qRFC queue, the system found a discrepancy between the number of newly confirmed LUWs ( 2282) and the number of LUWs to be deleted ( 3424).
Where more LUWs are to be deleted than were previously confirmed, a previous delete attempt was terminated.
The LUWs were confirmed but not completely deleted from the qRFC and tRFC tables. The confirmation already ensures that the data is not transferred into the BW again with a subsequent request.
Delta extraction was continued.
Procedure
You do not need to do anything urgently.
If the message also arises during all subsequent delta requests, contact SAP Support with the message number at hand. In this case, there is a danger that the qRFC and tRFC tables run at full capacity, which may also affect other applications.
please help me friendds...Refer to the OSS note: 583086
Also you can refer to the smililar kind of discussion in this link:
Discrepancy between the confirmation and deletion of qRFC-LUWs
Hope this helps..
Maybe you are looking for
-
VERY URGENT!! How to Pass a "% " symbol from form to Report
Hi I am using oracle 10g and passing a symbol "%" as a parameter to the report from a form. But it shows error as follows: REP-52006: Failed to decode the specified URL PARAMETER1=%. But it is working when it runs in the Report directly. Then Why we
-
How to insert blank spaces at end of a record
Hi All, i need to write 10 records each of 80 char size. of these 10 records, each record might have different data and the last field will be a filler field which only has space. for example: DATA : BEGIN OF gs_mrecord , id(1)
-
Getting A com.bea.control.ServiceControlException When Calling External WS
Here is a little background. Running WLI 8.1.5 Created a jcx/control from an external WSDL Using the control to call the external WS. However, in WLI my JPD just freezes/hangs for a few mins and returns the following exception. Exception : java.lang.
-
I control a D121 stepping motor driver of Suruga Saiki. The driver except my commands immediately, but when I send a sequence of queries, each time the response refers to the previous query. How can I receive each time the correct response?
-
PS(CS3)→AE(CS3) 調整レイヤの読み込み
PS(CS3)から搭載された明るさコントラストの新バージョン. AE(CS3)だと従来方式で読み込まれるのですがまだ未対応なのでしょうか??