Process Chain in "Undefined Status"
I have a custom Process Type (ABAP with a return code) that runs in a chain. The ABAP decides if a day is Monday, Tuesday, etc.
If it is not a particular day, it errors out, per the code below.
However, the chain variant is in an "Undefined" status, rather than a "Canceled" status. This means that the chain is still active. Every time I review the chain, I get a message saying "Status change of process zz_monday. Save status and trigger events if appropriate". Only upon clicking "yes" does the variant go to a canceled status.
How can I force the chain to a canceled status without user interaction?
IF g_subrc <> 0.
MESSAGE e162(00) WITH 'Status' 'Red'.
ELSE.
MESSAGE i162(00) WITH 'Status' 'Green'.
ENDIF.
Hi John,
See this Blog from Siggi.
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
Hope this will help you.
Thanks
Ck
Similar Messages
-
Process chain in Yellow status
Hi All,
We have a strange situation.
We are having a meta chain with 2 local chains.all the steps in the local chain completed successfully. But the local chain status is in yellow, thats the reason the below local chain has not started.This is happening from 2 days.
We are in BI7 and in Patch 18.
Please suggest on this.
Thanks in advanceHi JS,
once check the infopackages, DTPs and other process steps are activated or not. if not, activated all those steps.
this will resolve your problem.
help full link:
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417400)ID0205146750DB01963979007127950697End?blog=/pub/wlg/8284
Regards,
Suman -
Process Chain Status is Red even though all processes are successful.
I implement ABAP Code by using standard function module "RSPC_CHAIN_START" for execute process chain and return status of process chain after execute completely as following code:
Execute Process Chain
CALL FUNCTION 'RSPC_CHAIN_START'
EXPORTING
I_CHAIN = I_CHAIN
I_SYNCHRONOUS = I_SYNCHRONOUS
IMPORTING
E_LOGID = P_LOGID.
If sy-subrc = 0.
gt_status = 's'.
WHILE gt_status = 's'.
Get Status of Process Chain
CALL FUNCTION 'RSPC_API_CHAIN_GET_STATUS'
EXPORTING
i_chain = I_CHAIN
i_logid = P_LOGID
IMPORTING
E_STATUS = gt_status
E_MESSAGE = P_MESSAGE.
Status G or F - Report that the Chain is Successfully Completed.
Status A - The chain is Currently running
Status R or X - Report that the chain has ended with Errors.
CASE gt_status.
WHEN 'A'.
Process chain is running
gt_status = 's'.
P_MESSAGE = ''.
WHEN OTHERS.
Process chain is completed
exit.
ENDCASE.
IF gt_status = 's'.
WAIT UP TO 2 SECONDS.
ENDIF.
ENDWHILE.
Display Message
IF gt_status = 'G' or gt_status = 'F'.
MESSAGE i162(00) WITH P_MESSAGE.
Else.
MESSAGE e162(00) WITH P_MESSAGE.
ENDIF.
ENDIF.
From above code, when execute this function module, sometimes status of process chain is shown as canceled 'X', therefore, output of this function module is shown as "The process chain is canceled". When monitor process chain in RSPC log view, the process chain status is also shown as canceled 'X' and status of all process in process is green, however, after wait for a while, the status changed from canceled 'X' to successful 'G'.
Why did the status of process chain show as canceled 'X' even though finally process chain status is successful ? If I want to check status of process chain after execute completely, which status should to check in ABAP code?
Regards,
PuiUsing that FM.. u will be providing the Instance and Variant of the failed process.. and hence the reload will start from the failed process but not the entire chain...
In general the process status shud finish then or based on the link combination the change from one process to other will happen...
try to maintain a wait time between the process atleast 2 to 4 secs..
thanks
hope this helps.. -
Hi,
We have various process chains for daily loads. Among those some of the process chain shows the status as red, but the data loaded successfully in the targets. And subsequent chains are not getting triggered.
Can someone let me know the solution for this please?
Regards,
Sarath.Hi Sarath,
May be some of the process type got failed in the process chain, and it might got sucessfull only after manually resolving or may be after repeating from the Process chain, In these cases some times the process chain entire status turns to RED.
You can forcefully change the process chain to Green.
copy the variant and Instance of the process chain(or select the last process type in the process chain)
goto SE11-->Enter the table RSPCPROCESSLOG and execute --> now enter the copied variant and instance here and execute, It'll give you a new pop up with a LOG id, copy this log id as well.
Now gto se37>Functional module>RSPC_PROCESS_FINISH execute and the enter the copied vaiant, instance and logid, and also enter G (sucesfully completed) in I_State and now execute. -
Hi All,
In my project we maintain an load status excel sheet to document all the timings of process chain running in our window.
We were maintaining only the start time of process chain (we get from RSPCM), now the requirement has changed and customer wants us to mention the end time of each process chain.
Since we have good amount of process chain running it is becoming really hectic to take timings for each PC.
Procedure we are following to take the end time is that through RSPCM we go to every PC and take the timing of last process in the PC.This takes lot of time.
Please suggest from where we can exact log of start and end time of every PC.Are there any table from where we can see the start and end time???
I am waiting for the valuable inputs......
Regards,
Kshitijtry following ABAP...
*& Report ZBI_PROCESS_CHAIN_STATUS_EMAIL *
Program uses parameters and selection options to analyze and/or *
email the status of the BI process chains. *
Selection-screen help: *
1) Process Chain (ID) *
Enter the name of process chain to analyze. *
If you leave this field blank, all the process chains will *
be picked up. *
2) Process Chain Date Selection *
Enter the Process Chain Date. *
3) Status of Process Chain *
Enter the Status of Process Chain to analyze. *
If you leave this field blank, all the status will *
be picked up. *
4) Send email? *
Mark this checkbox, if you want to send email notification *
5) Email recipients *
The list of people to be notified is entered here. At least *
one email address is required. *
*Modification Information: *
Date Mod User ID CTS Number Description *
*05/01/08 Shalin Shah Original Coding Date *
REPORT ZBI_PROCESS_CHAIN_STATUS_EMAIL
NO STANDARD PAGE HEADING MESSAGE-ID 00
LINE-SIZE 255
LINE-COUNT 55.
Variable Declaration for selection screen *
DATA:
gs_RSPCLOGCHAIN TYPE rspclogchain, "PC ID
gs_RECEIVER TYPE SOMLRECI1-RECEIVER, "Email ID
gs_BATCHDATE TYPE RSPCPROCESSLOG-BATCHDATE, "Date
gs_RSPC_STATE TYPE RSPC_STATE. "PC state
Selection-Screen *
SELECTION-SCREEN BEGIN OF BLOCK om1 WITH FRAME.
SELECT-OPTIONS p_CHAIN for gs_RSPCLOGCHAIN-CHAIN_ID default 'ZBWC_MAIN' NO INTERVALS. "Process chind ID
SELECT-OPTIONS p_datum for gs_BATCHDATE default sy-datum. "Process chain date
SELECT-OPTIONS p_Status for gs_RSPC_STATE NO INTERVALS. "Process Chain status
SELECTION-SCREEN END OF BLOCK om1.
SELECTION-SCREEN BEGIN OF BLOCK om2 WITH FRAME.
PARAMETERS: p_Email AS CHECKBOX. "Send email?
SELECT-OPTIONS: s_mail FOR gs_RECEIVER lower case NO INTERVALS. "Email address
SELECTION-SCREEN END OF BLOCK om2.
AT SELECTION-SCREEN.
If Send email is checked, makes sure at least one email address is entered.
if p_Email = 'X'.
READ TABLE s_mail INDEX 1.
if sy-subrc <> 0.
MESSAGE e001 WITH 'Please enter at least one email address'.
ENDIF.
ENDIF.
loop at s_mail.
if not s_mail-high is initial.
MESSAGE e001 WITH s_mail-high 'is not valid. Please enter with no intervals'.
endif.
endloop.
START-OF-SELECTION.
END-OF-SELECTION.
Variable Declaration *
for composing email object
DATA: OBJCONT LIKE SOLI OCCURS 10 WITH HEADER LINE. "Email object
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE. "Email address
DATA: DOC_CHNG LIKE SODOCCHGI1. "Data of an object which can be changed for email
DATA: ENTRIES LIKE SY-TABIX. "Count
DATA: NAME(15). "Sapce for email name
DATA: temp_message(120) type c. "temp message space
DATA: psubject(72) type c. "Email subject
DATA: temp_time(27) type c. "temp space to PC start and end time
DATA: pc_end_time(8) type c. "PC end time
DATA: pc_start_time(8) type c. "PC start time
DATA: pc_run_date(10) type c. "PC run date
DATA: pc_duration(8) type c. "PC duration time
DATA: pc_temp_end_time type TIMS. "temp space for pc end time
DATA: pc_temp_end_date type DATS. "temp space for pc end date
DATA: pc_temp_duration type TIMS. "temp space for pc duration
DATA: pc_status(72) type c. "PC status
for report format
DATA: iColor TYPE i VALUE 0,
iCount TYPE i VALUE 1.
for saving log of the process chain.
DATA: I_RSPCLOGCHAIN LIKE RSPCLOGCHAIN OCCURS 0,
WA_RSPCLOGCHAIN LIKE LINE OF I_RSPCLOGCHAIN,
I_RSPCPROCESSLOG LIKE RSPCPROCESSLOG OCCURS 0,
WA_RSPCPROCESSLOG LIKE LINE OF I_RSPCPROCESSLOG.
Report Logic *
Create email subject for report header
CONCATENATE SY-SYSID ' - BI load status ->' SY-DATUM4(2) '/' SY-DATUM6(2) '/' SY-DATUM0(4) ' @ ' SY-UZEIT0(2) ':' SY-UZEIT2(2) ':' SY-UZEIT4(2) INTO psubject.
report header
FORMAT INTENSIFIED COLOR = 1.
write / .
write / '*****************************************************************************************************************************************'.
Write: / '* ', psubject, ' *' .
write / '*****************************************************************************************************************************************'.
write / .
*Fill the header
OBJCONT-LINE = '****************************************************************************************************************'.
APPEND OBJCONT.
OBJCONT-LINE = psubject.
APPEND OBJCONT.
OBJCONT-LINE = '****************************************************************************************************************'.
APPEND OBJCONT.
Get the log id of the process chain.
SELECT *
FROM RSPCLOGCHAIN
INTO TABLE I_RSPCLOGCHAIN
WHERE DATUM in p_datum
AND CHAIN_ID in p_CHAIN
AND ANALYZED_STATUS in p_Status.
Loop at all the selected process chains
LOOP AT I_RSPCLOGCHAIN into WA_RSPCLOGCHAIN. "Loop at all the process chaing log
CLEAR: temp_time, pc_start_time, pc_end_time.
Get the run date, start time and end time of process chain form RSPCPROCESSLOG table.
SELECT *
FROM RSPCPROCESSLOG
INTO TABLE I_RSPCPROCESSLOG
WHERE LOG_ID = WA_RSPCLOGCHAIN-LOG_ID.
Converts PC time to a given local timezone
CALL FUNCTION 'STU3_ALERTS_CONV_UTC_2_LOCAL'
CHANGING
TIME_T = WA_RSPCLOGCHAIN-ZEIT
DATE_D = WA_RSPCLOGCHAIN-DATUM.
Convart date and time to MM:DD:YYYY HH:MM:SS
CONCATENATE WA_RSPCLOGCHAIN-DATUM4(2) '/' WA_RSPCLOGCHAIN-DATUM6(2) '/' WA_RSPCLOGCHAIN-DATUM+0(4) INTO pc_run_date.
CONCATENATE WA_RSPCLOGCHAIN-ZEIT0(2) ':' WA_RSPCLOGCHAIN-ZEIT2(2) ':' WA_RSPCLOGCHAIN-ZEIT+4(2) INTO pc_start_time.
sort all the process chaing log. Because we just want to get the end time of the last log.
sort I_RSPCPROCESSLOG by ENDTIMESTAMP descending.
loop to get the end date and end time for the process chain
LOOP AT I_RSPCPROCESSLOG into WA_RSPCPROCESSLOG. "Loop 1 for pc_end_time
CLEAR temp_time.
temp_time = WA_RSPCPROCESSLOG-ENDTIMESTAMP.
pc_temp_end_date = temp_time+4(8).
pc_temp_end_time = temp_time+12(6).
Converts PC time to a given local timezone
CALL FUNCTION 'STU3_ALERTS_CONV_UTC_2_LOCAL'
CHANGING
TIME_T = pc_temp_end_time
DATE_D = pc_temp_end_date.
Convart date and time to MM:DD:YYYY HH:MM:SS
CONCATENATE pc_temp_end_time0(2) ':' pc_temp_end_time2(2) ':' pc_temp_end_time+4(2) INTO pc_end_time.
Get PC end-time and duration
IF pc_temp_end_time = 000000.
pc_end_time = '??:??:??'.
pc_duration = '??:??:??'.
ELSE.
pc_temp_duration = pc_temp_end_time - WA_RSPCLOGCHAIN-ZEIT.
CONCATENATE pc_temp_duration0(2) ':' pc_temp_duration2(2) ':' pc_temp_duration+4(2) INTO pc_duration.
ENDIF.
Exit form the loop once we get end-time and duration
EXIT.
endloop. "Loop 1 for pc_end_time
Based on process chain status assign color and create message
CASE WA_RSPCLOGCHAIN-ANALYZED_STATUS. "Case pc status
WHEN 'R'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Ended with errors on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
CONCATENATE ' Ended with errors - ' pc_duration INTO pc_status.
iColor = 6.
WHEN 'G'.
Check if duration = '00:00:00' mark as **Error**
IF pc_duration = '00:00:00'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Successfully completed on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
CONCATENATE ' Successfully completed - ' pc_duration INTO pc_status.
iColor = 3.
ELSE.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Successfully completed on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
CONCATENATE ' Successfully completed - ' pc_duration INTO pc_status.
iColor = 5.
ENDIF.
WHEN 'F'.
Check if duration = '00:00:00' mark as **Error**
IF pc_duration = '00:00:00'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Completed on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
CONCATENATE ' Completed - ' pc_duration INTO pc_status.
iColor = 3.
ELSE.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Completed on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
CONCATENATE ' Completed - ' pc_duration INTO pc_status.
iColor = 5.
ENDIF.
WHEN 'A'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Active on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
CONCATENATE ' Active - ' pc_duration INTO pc_status.
iColor = 3.
WHEN 'X'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Canceled on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ') **Error**' INTO temp_message.
CONCATENATE ' Canceled - ' pc_duration INTO pc_status.
iColor = 6.
WHEN 'P'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Planned on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
CONCATENATE ' Planned - ' pc_duration INTO pc_status.
iColor = 3.
WHEN 'S'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Skipped at restart on -' pc_run_date ' (Start->' pc_start_time ' End->' pc_end_time ' Duration->' pc_duration ')' INTO temp_message.
CONCATENATE ' Skipped at restart - ' pc_duration INTO pc_status.
iColor = 3.
WHEN 'Q'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Released on -' pc_run_date ' @ ' pc_end_time INTO temp_message.
CONCATENATE ' Released' ' ' INTO pc_status.
iColor = 3.
WHEN 'Y'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Ready on -' pc_run_date ' @ ' pc_end_time INTO temp_message.
CONCATENATE ' Ready' ' ' INTO pc_status.
iColor = 3.
WHEN 'J'.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Framework Error Upon Completion on -' pc_run_date ' @ ' pc_end_time ' **Error**' INTO temp_message.
CONCATENATE ' Framework Error' ' ' INTO pc_status.
iColor = 3.
WHEN OTHERS.
CONCATENATE WA_RSPCLOGCHAIN-CHAIN_ID ' : Undefined on -' pc_run_date ' @ ' pc_end_time INTO temp_message.
CONCATENATE ' Undefined' ' ' INTO pc_status.
iColor = 6.
ENDCASE. "Case pc status
Append pc log to email object
OBJCONT-LINE = temp_message.
APPEND OBJCONT.
change color and write log
FORMAT INTENSIFIED COLOR = iColor.
Write: / iCount, ' ', temp_message .
iCount = iCount + 1.
CLEAR temp_message.
ENDLOOP. "Loop at all the process chaing log
Create email subject
clear psubject.
CONCATENATE SY-SYSID ' load - ' pc_status INTO psubject.
Fill the subject
DOC_CHNG-OBJ_NAME = 'URGENT'.
DOC_CHNG-OBJ_DESCR = psubject.
DOC_CHNG-SENSITIVTY = 'P'.
Cheeck send email checkbox.
IF p_Email = 'X'. "Check if send email is checked
DESCRIBE TABLE OBJCONT LINES ENTRIES.
READ TABLE OBJCONT INDEX ENTRIES.
DOC_CHNG-DOC_SIZE = ( ENTRIES - 1 ) * 255 + STRLEN( OBJCONT ).
Get recipients
loop at s_mail.
RECLIST-RECEIVER = s_mail-low. "recipient
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'. "internet email
append RECLIST.
endloop.
Send email
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_TYPE = 'RAW'
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
OBJECT_CONTENT = OBJCONT
RECEIVERS = RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
Write email status.
WRITE: /.
CASE SY-SUBRC.
WHEN 0.
WRITE: / '*** Email sent to following recipient(s) ***'.
Loot to get email id's.
LOOP AT s_mail. "Loop s_mail to get email address
NAME = s_mail-low.
IF RECLIST-RETRN_CODE = 0.
WRITE: / NAME, ': succesfully sent'.
ELSE.
WRITE: / NAME, ': error occured'.
ENDIF.
ENDLOOP. "Loop s_mail to get email address
WHEN 1.
WRITE: / 'Too many receivers specified !'.
WHEN 2.
WRITE: / 'No receiver got the document !'.
WHEN 4.
WRITE: / 'Missing send authority !'.
WHEN OTHERS.
WRITE: / 'Unexpected error occurred !'.
ENDCASE.
ENDIF. "Check if send email is checked
Shalin Shah -
Configuration Guide for Transaction Banking Process Chain - 0TB_DM_INIT_P01
Hi All,
Just wondering whether there is any Configuration Guide available for various Transaction Banking Process Chains, like, [0TB_DM_INIT_P01|http://help.sap.com/saphelp_nw70/helpdata/en/7e/0d6a99cbdf4873998b533e088b6a1b/frameset.htm], etc.
These process chains in Activity Status Coversion (i.e. Dormancy management) are quite complex and I have been able to activate the chains - but while running some of the processes are giving errors...
So, was wondering whether any Building Block Configuration Guide like CRM Analytics (or, others) available or not?
If not, should I just open an OSS ticket to get official guide from SAP?
Thanks for help.
~SSH.Hi All,
Just wondering whether there is any Configuration Guide available for various Transaction Banking Process Chains, like, [0TB_DM_INIT_P01|http://help.sap.com/saphelp_nw70/helpdata/en/7e/0d6a99cbdf4873998b533e088b6a1b/frameset.htm], etc.
These process chains in Activity Status Coversion (i.e. Dormancy management) are quite complex and I have been able to activate the chains - but while running some of the processes are giving errors...
So, was wondering whether any Building Block Configuration Guide like CRM Analytics (or, others) available or not?
If not, should I just open an OSS ticket to get official guide from SAP?
Thanks for help.
~SSH. -
Process chain--failed infopackage--urgent....
Hi Experts,
can anyone tell me why the process chain when triggered has successfully started but the first infopackages after the start varient did not sucessfully run.
the infopackages show in the process chain in yellow status as if the data loadings are taking place but when u go to the monitor screen the data loadings will not be taking place. if you manually trigger the infopackage then only the data loadings are taking place.
what could be the reason and how to make the process chain run successfully after it gets triggered.
i have deleted all the released jobs for all the processes in the process chain and triggered manually that chain but it is of no use. still the same problem is persisting, is there anything on BW part that we could or is it Basis work that needs to be done for the solution of this type of problem.Hi Experts,
can anyone tell me why the process chain when triggered has successfully started but the first infopackages after the start varient did not sucessfully run.
the infopackages show in the process chain in yellow status as if the data loadings are taking place but when u go to the monitor screen the data loadings will not be taking place. if you manually trigger the infopackage then only the data loadings are taking place.
what could be the reason and how to make the process chain run successfully after it gets triggered.
i have deleted all the released jobs for all the processes in the process chain and triggered manually that chain but it is of no use. still the same problem is persisting, is there anything on BW part that we could or is it Basis work that needs to be done for the solution of this type of problem. -
Process chain Activation Variant failed
Dear Gurus
In BI7 executed a process chain,in this ods activation is in 4 th step,turned in to red,i repeated and got executed.
Questions:
1.I checked in DSO all data got activated,only in process chain showed red status....how it is possible.
2.Eventhough 4th step turned in to red,below all (5,6,7...th steps) went through,how it happened,if some variants failed means next variant should not get executed?
3.When i did repeat it thrown ABAP debugging screen,i executed and went through well,ods activation variant became green.
When i was trying to see display message,it is empty no error message.
Root cause analysis i should give...pls how and where to do the analysis.....
Thanks and regards
T.GadhatharanHi,
1.I checked in DSO all data got activated,only in process chain showed red status....how it is possible.
In the ODS Activation Process, is there any other ODSs existed for activation?
2.Eventhough 4th step turned in to red,below all (5,6,7...th steps) went through,how it happened,if some variants failed means next variant should not get executed?
After the 4th Step, the further processes executed means, they might have put the settings as Success or failure of the predecessor process it can through the further 5th, 6th and 7th processes.
3.When i did repeat it thrown ABAP debugging screen,i executed and went through well,ods activation variant became green.
Check for short dumps ST22.
Hope it helps.
Veerendra. -
Hi All,
We have a BI 3.5 System.We use the Maestro Background Job utility to fire background jobs in the SAP system including the process chain.
Of late, we have been experiencing problems wherein the process chain is not triggered automatically from the maestro application as scheduled.
It fails with the following error log in maestro :
JOB : NWPAGENT#NWPDLYMASTERCHN.NWPSTARTCHANGE
= USER : master
= JCLFILE : / -job DAILY_MASTER_CHAIN -i pchain_ -c C
= Job Number: 32179
= Thu 09/14/2006 04:00:17 AM PDT
===============================================================
+++ IBM Tivoli Workload Scheduler for Applications, method R3BATCH 8.2 (patchrev FP5 - 12:37:13 Mar 9 2005)
+++ is called with following parameters:
+++ -t LJ -c NWPAGENT,AIMPRD,AIMPRD -n null -p 31111 -r 495,495 -s NWPDLYMASTERCHN -d 20060914,1158192000 -l master -o /unison/master/maestro/stdlist/2006.09.14/O32179.0400 -j NWPSTARTCHANGE,32179 -- / -job DAILY_MASTER_CHAIN -i pchain_ -c C
+++ EEWO1031I TWS home dir was found: /unison/master/maestro
+++ EEWO1027I RFC connection established (1)
[XALOG] - INFO: semaphore key=0xbd60228 (198574632)
Thu Sep 14 04:00:17 2006
ERROR 552 *** EEWO0552E The R/3 job scheduling system has found an
error for user name RSPC_API_CHAIN_START and job name !2. Please
check R/3 syslog.
ERROR 572 *** EEWO0572E Cannot start Process Chain.
===============================================================
= Exit Status : 60
= System Time (Seconds) : 0 Elapsed Time (Minutes) : 0
= User Time (Seconds) : 0
= Thu 09/14/2006 04:00:20 AM PDT
===============================================================
It dosen't throw any dump.In fact the BI_PROCESS_TRIGGER background job shows completed successfully in SM37.
Any help.
Thanks & Regards,
<b>Navin</b>Navin,
this can have several issues. Please verify the r3user profile in your BI system, the r3user which is defined in the r3batch options file. The SAP user must have the profile S_BI-WHM_RFC assigned, additionally to the access right definition explained in the Tivoli Workload Scheduler for Applications users guide.
If this does not solve your problem, please contact IBM support and open a problem management report.
Kind regards
Ralf
IBM Tivoli Workload Scheduler for Applications Development -
Process chain hungs if run automatically
Hello
My process chain hungs (yellow status) if its run automatically by scheduler.
However, it completes succesfully if I run it manually.
Do you know any reason why?Hey,
Probably the PC start job gets released and never reaches the work processor. Please check the availability of work processors when the PC starts and try to see if the job gets into released state. Now, try to manually schedule this job immediately and see if the PC starts. If this is the case, you need to ask your basis guys to configure the system properly. Does this happen with som other jobs also?
Thanks and Regards
Subray Hegde -
Difference between Scheduled and released with respect to process chains
HI All,
I am Creating a cube in whcih I want to upload the current status of the process chain.
And the requirement is not to take those process chains whcih are scheduled and not released( only take those process chains whcih have status released)
for the same I dont know what is the difference between Scheduled and Released in respect of process Chains and also from whcih Database table I can get this information.
Please help.
Regards,
UjjwalHi,
Job Status Scheduled means a job has been created and is ready to run but has not yet been triggered.
A release status means the created job has been triggered and is waiting for the opportunity to run. A job can be in released status when it is a periodic Job ( Where once the job is completed it goes to release status), when it is slated for future execution, or when there is a delay due to database overload.
Regards,
Pramod -
Undefined status for process chains
Hello,
- when do you choose undefined status (grey) for process chains? (in what cases)
ThanksHi ,
when you are defining the Pc in planning view , then the color will be grey . In checking view - it will be green ( Successful ) , Yellow ( warnings) Or Red ( Failure) .
In the joboverview also , above discussed colors are stated for the Pc 's accordingly ..
Hope this helps out -
Process Chain - status Undefined
Hi Guys
Recently we updated the patch and after that the process chains are going into the undefined status(They are not failing). If we manually load it works fine. not sure where to start search from as I donu2019t have any error in hand and the warning states something like this
u201CProcess Activate DataStore Object Data, variant Activate Data ZXX_DS04 has status Undefined (instance)u201D
We are on SAP NetWeaver BI 7.0 - SP 15 Patch 17...
Any resolution on this problem. cos we are having this problem everyday and need to run the steps manually.
We have the same problem in DEV and QA too... is there anything to do with the patch (just a guess as things were working fine till the day before the patch)
regards
Shalin ShahMost of the time we don't get any error message and the process chain will just stop. And some times we get following error message:
Process Execute InfoPackage, variant 0ACCOUNT_ATTR has status Framework Error Upon Completion (e.g. follow-on jo (instance REQU_D3XE1WKYG8BLZOXF7TGF7R4TF)
Message no. RSPC009
Error message during processing in BI
Diagnosis
An error occurred in BI while processing the data. The error is documented in an error message.
System Response
A caller 01, 02 or equal to or greater than 20 contains an error meesage.
Further analysis:
The error message(s) was (were) sent by:
PSA Table
Procedure
Check the error message (pushbutton below the text).
Select the message in the message dialog box, and look at the long text for further information.
Follow the instructions in the message.
Error message:
Error when writing in PSA
Message no. RSM2851
Error 5 when adding to PSA
Message no. RSAR130
Thanks,
Shalin Shah -
Process Chain Master Data Failed.Showing Entire chain has status R
Hi,
Everyday SDMasterChain is running successfully.
Today one of the localChain or subchain has failed.
I have noticed that it has failed because last delta for one infoPackage has not yet completed and chain showing status "Entire chain now has status 'R'"
Can anybody resolve the issue?
Below is te log for the error.
Job started
Step 001 started (program RSPROCESS, variant &0000000113991, user ID ALEREMOTE)
Last delta upload not yet completed. Cancel
Data saved successfully
Start InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2
Last delta upload not yet completed. Cancel
Last delta upload not yet completed. Cancel
InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2 created request
Request REQU_449HFL0OFD22BSU2GX1X2MJJJ could not be generated with InfoPackage REQU_449HFL0OFD22BSU2GX1X2MJJJ without errors
Last delta upload not yet completed. Cancel
Error After Starting InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2 in Process Chain
Entire chain now has status 'R'
Process Attribute Change Run, variant Compounding Object has status Undefined (instance )
Process Save Hierarchy, variant Generated from LOADING ZPAK_3VBSFASA7NWCNP1JX9WXI5 has status Undefined (instance )
Process Execute InfoPackage, variant 0CUST_SALES_ATTR - Full has status Undefined (instance )
Process Execute InfoPackage, variant 0CUST_SALES_TEXT has status Undefined (instance )
Process Execute InfoPackage, variant 0CUST_SALES_TID_LKDH_HIER has status Undefined (instance )
Process Execute InfoPackage, variant ZMAT_SALET - TEXT has status Undefined (instance )
Process Start Process, variant Bekaert Master Data Loads - Start Variant has status Undefined (instance 449HEDPDI8N6AP5XKDUODJS6N)
Process Execute InfoPackage, variant Load from 0MAT_SALES_ATTR into ZMAT_SALE has status Undefined (instance REQU_449HB4K9K3W7GPJEF52YM83N3)
Process Execute InfoPackage, variant Load from 0MAT_SALES_TEXT into ZMAT_SALE has status Undefined (instance REQU_449HJOO6322QV09OL73P18ODR)
Process Execute InfoPackage, variant ZMAT_SALEM - ATTR - FULL has status Undefined (instance REQU_449HEJW4S44QAUTY9LQKH4QY7)
Process Execute InfoPackage, variant Delta load from 0MAT_PLANT_ATTR into 0MAT_PLANT has status Undefined (instance REQU_449HFL0OFD22BSU2GX1X2MJJJ)
Termination of chain has been reported to meta chain 449CKM1O64AHRLQJLNZ2GBWQ7
Message sent successfully
Job finished
Rgds,
CV.Hi,
There are times when Master Data load compel us to do Re-Init. I guess you need a Re-Init.
Check theses links:
1: Re: Update mode R is not supported by the extraction API
2: pl help me with repeat delta for text info object
Regards
Happy Tony -
Infopackage and process chain status
Hello expert,
I am new in BW technology and I need some help...
Well I have created a process chain in order to load data into infoprovider. This process chain is running everyday in production system, (it's a tipical PC: delete PSA request, run infopackage, run DTP....)
I have checked the last status of the process chain and it's yellow since two days ago... It was due a communication error between ERP and BW system, therefore (for some reason), the infopackages started but never ended (always yellow status).
So, my questions are:
1.- Is there any configuration for the infopackage to prevent yellow status (for more than X time)?
2.- Could we control it in a process chain?
Thank you and best regardsHi,
We can configure for infopackage incase of no records found however you can setup for time linmit.
You can set the status the request is to receive per InfoPackage in the Scheduler, via Scheduler Warning Handling. This setting overrides the system-wide setting.
Check the below link for more info :
http://help.sap.com/saphelp_nw04/helpdata/en/80/1a65cfe07211d2acb80000e829fbfe/frameset.htm
Regards,
Satya
Maybe you are looking for
-
Connect to TV/Get Screenshot of Program Playing?
I tried searching before posting (someone else must have this problem, yeah?) but after hours couldn't find a solution and am just running out of time trying to noodle this on my own... Any advice/assistance would be HUGELY appreciated! I have a clie
-
Hi All Can we create the any kind of Mapping Interface that allows for defining metadata that is then used to perform dynamic SQL calls. the SQL is created dynamically at execution time. Mapping involves a)Target Field Identification b)Source Identif
-
BIG PROBLEM with downloading music
Ok, I am a 3 day Blackberry Curve 8320 owner and I am having problems downloading music and videos into my phone.I purchased the phone through a friend and all they gave me was the phone. I activated the phone with my local cellphone company and all
-
Apple TV audio, mirroring movie from iPhone
Haven't bought the Apple TV yet. I'm not talking about airplay. When I mirror a movie playing on safari browser through the Apple TV to my tv, I was told I must keep the safari browser "open". True? In other words, the iPhone screen must stay on, whi
-
TS3694 I want my iphone warranty What to do? I'm live in Vietnam
I want to warranty my iphone . What to do? I'm in Vietnam I have one iphone 5 is normally used (ios 6.1) I plugged the computer and update to new version 6.1.4 but itune error 9. So what do I do to make the machine when I was in Vietnam