To Make Process Chain Green From Red
Hi Guys,
can any one help in this..
i have a one Process chain at one step i.e DTP got failed and the below steps got success. i manually executed that DTP because the below steps are already successed.
Now in the Process chain it shows that DTP step is failed and other steps are success and Process chain is showing as RED, now i want to make that Process chain as Green. what i need to do?
i did the following steps even it is showing red in the RSPCM screen.
i_logid
i_type
i_variant
i_instance
i_state as 'G'
in the se37 using function module RSPC_PROCESS_FINISH
Thanks,
Naresh
hi,
you cannot change the status of the process chain as one of the step in it is red and the status of that red step was not changed. Why do you want to change the status of the chain? do you want to trigger some other chain, if yes then the Se38 program would have already triggered it. If you only want to change it to green to see it in RSPCM it is not possible.
regards,
Arvind.
Similar Messages
-
Hi,
While trying to call a process chain remotely from SCM APO system to SAP BW system - we are getting below short dump -
Short text
Screen output without connection to user.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSDH4" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Checked the RFC connection between APO and BW system through SM59 and it is working fine - Can anyone pease suggest what configuration could be missing which might be causing this short dump.
Thanks in advance.Additinal Data from Log -
User and Transaction
Client.............. 200
User................ "AQ1ALE200"
Language Key........ "E"
Transaction......... " "
Transactions ID..... "53F896E0992E0A50E10080000AF04150"
Program............. "SAPLSDH4"
Screen.............. "SAPMSSY1 3004"
Screen Line......... 2
Information on caller of Remote Function Call (RFC):
System.............. "AQ1"
Database Release.... 701
Kernel Release...... 720
Connection Type..... 3 (2=R/2, 3=ABAP System, E=Ext., R=Reg. Ext.)
Call Type........... "synchronous and non-transactional (emode 0, imode 0)"
Inbound TID.........." "
Inbound Queue Name..." "
Outbound TID........." "
Outbound Queue Name.." "
Client.............. 200
User................ "KANDIS"
Transaction......... "RSPC"
Call Program........."SAPLRSPC_PROCESSES"
Function Module..... "RSPC_DESTINATION_F4"
Call Destination.... "BQ2CLNT200_DIALOG"
Error analysis
During background processing, the system attempted to sen
screen to a user.
Current screen: "SAPMSSY0 " 0120.
How to correct the error
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DYNPRO_SEND_IN_BACKGROUND" " "
"SAPLSDH4" or "LSDH4F09"
"DISPLAY_LIST"
Information on where terminated
Termination occurred in the ABAP program "SAPLSDH4" - in "DISPLAY_LIST".
The main program was "SAPMSSY1 ".
In the source code you have the termination point in line 2205
of the (Include) program "LSDH4F09". -
Process chain overall status red - single processes green
Hi,
I'm monitoring a process chain in RSPCM. Some of the steps within the chain went red during the run but went green after repeating those steps. But now my overall status of the chain is still red. How can I set the overall status of a process chain without rerunning it? I don't want to set the status of a single process step but the overall status of the process chain as all steps of the chain are green now.
Cheers,
AlexIf you process chain is designed like
Ex: ZABC
Start-->Local Process chain
And assuming if any process failed inside teh local process chain , the entire Local process chain will be in Red, If you want forcefully change this ZABC chain, then
Goto Log view and Docuble click on the Local Process chain>Goto Chain tab>Copy the Variant and Instance
Goto Se11--> RSPCPROCESSLOG >Pass the copied Variant and Instance here and then execute>Copy the Log id from generated table entry
Now got Se37--> rspc_process_finish -->Enter the copied Variant , Instance , Log id , I_Type , I_State ('G' For Sucessfuly completed) and execute. Now the Local process chian will turn to Green and then the entire PC will in turn green(since this chain has only start process and Local process types, where as start process type is already in Green colour)
Or if you chain is designed like
Start>IP>Delete index>DTPCreate index...
Then Copy the variant and instance of the Last process type in the process chain and the same procedure as mentioned above
Edited by: YJV on Aug 19, 2010 12:11 PM -
Hi Experts,
Is there any program which makes the Process chain to green without re-running the whole chain again.
Thanks for the suggestions ...Hi
If i am correct your delta IP is runnings second time..If yes, is the job in SM37 is in active state..?
If it is in active state..just cancel the active job in SM37, your PC will get stop there..just leave the PC there.
If you want to stop the PC, just cancel the job of active process type(which is in yellow) in SM37.
to cancel the job, follow the below steps
1)in SM37, you can find your IP request starting with BIREQ******
2)double click on job, then click on job details
3)here note down the server name and WPID (Work process ID)
4)now goto SM50--Select the required server
5)here search the job with WPID
6)select the job, in menu bar select "process" -- click on cancel with out core
Now come back to SM37, refresh you can see the request in cancel state and your PC will get stop
Regards,
Venkatesh -
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.. -
BI Process chain monitoring from SOLMAN
Hi,
We have configured CEN in our landscape and successfuly managed to get data from satellite systems and getting alerts according to our requirement.
But for BI Process chain Monitor we are getting alerts of yellow MTE with text "Entire chain now has status 'A'", which is flooding our mailbox. We cant find any way to stop this and to receive mails only for failed process chains i.e. for red MTE.
Can you please help us in this?
Thank you,
LenaHello Marco,
the problem is that the Process Chain monitor is not yet available with ST-A/PI 01L*. Unfortunately the empty hull that you see during the setup was shipped without the proper content. The Process Chain monitor will be properly shipped with the next ST-PI and ST-A/PI combination in Q2/2010.
Sorry for any inconvenience caused.
If you want to have this monitor earlier on it could be implemented via Customer Exit in case that you have some MaxAttention or Safeguarding engagement.
Best Regards
Volker -
Process Chain: upload from PSA after activation of another ODS
Hi gurus,
i have a follow problem: for upload of ITM ODS i must before upload the HDR ODS. For the performance optimization of related process chain, the process:
1) upload of HDR ODS from 2LIS_02_HDR
2) upload of ITM ODS from 2LIS_02_ITM (ONLY PSA)
are PARALLEL process.
After activation of HDR ODS and upload of ITM PSA, with AND process, i upload data from ITM PSA to datatarget, but there is an process chain error:
"No ods activation process can be in front of process PSA read and update data target in the chain" !!
Could you help me?
Thanks in advance!
Bye!
FerdinandoHi,
Have you tried this format.
1. Upload HDR (PSA Only)
1. Upload ITM (PSA Only)
2. AND
3. Update HDR (PSA to DT)
4. Activate HDR
5. Update ITM (PSA to DT)
6. Activate ITM
With Regards -
Plzz correct me reagrding process chains.
hi friends,
iam working on BW in process chains.
i want to know the possible ways of correcting the process chains and plz help me if iam wrong and by providing ur suggestions.
1) whenever process chain fails , we will check process monitor in logview and find out that type of load . if it full load, we delete the request and we will restart the entire process chain.
restarting means we will again schedule and activate it right?
I refer a weblog on restarting of PC , it said that
Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.
You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.
My question is why will make the request green from red? and also if we the reuqest from rd to green , will the process chain works normally though it contains errors ?
2) how to correct if teh load is delta load.
Iam very much confused in handling the errors of process chains .
can any one explain me clearly plzz. any good documentation for error handlin plzz.
regards,
SiddarthaNo duplicate posts please. Moderators will not entertain the duplicate posts.
-
Process Chain Status Red, DTP status yellow, DTP is green from inside
Hello All,
I have a problem where the Process Chain status is red, but the process(DTP) status is yellow.
When I right click on the yellow process there is no error message and the DTP is green in Process Monitor.
But the chain did not complete and the rest of the process steps are grey.
After 20 minutes the Process Chain ran again(automatically after new data arrived) and this time without errors and it went green.
My question is, how to proceed with the red Process chain and complete the further process and make it green.
Regards
Alexhi,
There are scenarios where you need to change status of a process chain or a particular step in process chain.
You might need to change the status in the cases where we need mark these steps successful so that dependent steps get processed. There are other scenarios where one needs to change the status of a single step in the process chain or status of whole process chain.
Step by step instructions on change process chain status
1. Right click on the failed step in the process chain monitor and go to displaying messages
2. Go to u2018Chainu2019 tab and note down variant, instance and start date
3. Go to SE16 and the table RSPCPROCESSLOG and enter variant, instance and start dates from step 2 and note down log_id, type, variant, instance.
4. Go to SE37 transaction and execute the function module RSPC_PROCESS_FINISH and enter the values from step 3 and enter the new status u2018Gu2019 in status field and execute the FM
5. This sets the status of the process chain (PC)
After you set the status using the FM, go to the monitor screen of the process chain, you will notice the changed status. Now dependent steps in the process chain will start running
Thanks -
Process chains in red(errors occurred), monitoring in green
Hi friends,I have same problems with the monitoring / process chains.
For exemples in the Monitor for OMAT_SALES in the tab Status I have green for Total and Technical with the message:
Data successfully updated
Diagnosis
The request has been updated successfully.
InfoSource : 0MAT_SALES
Data type : Texts
Source system: PRD-600
In the tab Details I have:
-the Overall status in red, error occures or missing messages
-the requests, extractions,transfers,processing-everything is Ok-green
-the Process Chains-errors occurred-red
In the transaction RSPC the infopackage for load data OMAT_SALES is red,the next infopackage in the chain is green.
What can I do to fix this problem for Process Chain in RSPC and also in Monitoring (tab Details)?
I will apreciate any answer,
Thanks,
ClaudiaThe next connected infopackage must be connected with Always link that's why its processed even after the failure node. Go and cross check what errors you got for the failed process, and reload it manually.
-
Process Chain Red 'X', Exec Infopckg Yellow, Infopckg monitor/data correct
Dear and respectable colleagues of the forum,
I am experiencing a problem in a process chain when executing infopackages. The process chain has 6 "Execute infopackage" processes. Sometimes (1 of 4 attempts average) my process chain ended with red color with 'X' status in the Process Chain Display Log View.
Reviewing within the chain Log, there is one of the "Execute infopackage" processes that appears in yellow color (it loads from direct update ODS to an infocube). However, revising the Logs for its corresponding Infopackage execution I found that it says that "Data successfully updated". Moreover, If I review the data loaded it seems to have been loaded correctly.
Then, Why does the "Execute infopackage" process in PC finishes with yellow color if the Infopackage execution itself finishes correclty?
To complete the whole scenario: I execute this process chain every night from an Abap program; the program has a Loop that traverses a table, and executes the process chain as many times as the quantity of rows in that table (table has 10 rows meaning offices). As you can understand, the chain is executed 10 times, and the error occurs in any of the 6 "Execute infopackage" processes indistinctly.
I review ST22 and SM37 for all users for the datetime when the error occured butnothing bizarre was reported. It is left to review SM21.
The following is the detail of messages.
Logs for Execute Infopackage
Data successfully updated
Monitor of Infopackage
Details Tab
Requests (messages): Everything OK
Extraction (messages): Everything OK
Transfer (IDocs and TRFC): Everything OK
Processing (data packet): Everything OK
Data Package 1 ( 45 Records ) : Everything OK
Transfer Rules ( 45 -> 45 Records ) : No errors
Update rules ( 45 -> 45 Records ) : No errors
Update ( 45 new / 0 changed ) : No errors
Processing end : No errors
Process Chains : Errors occurred
Llena cubos de carteras vtas sec por distrib - automDear s v desh,
I am on SAP BW 3.5, I already checked the cube and it is green - all right.
The message in the infopackage excution node in the process chain says (non-error):
"Data successfully updated"
The error message in process chain monitor (log) says:
......"Overall status: Error occurred: or: Missing messages
............Process Chains : Errors occurred"
I just realized that there is no messages at all in the infopackage monitor (log).
I have received a clue, someone asked me to review note 1396417, and I will.
Regards
Juan Alonso Teevin -
How to Trigger an Alert from a Process Chain
Hi BW-Experts,
i have implementated a custom process type. Then i choose my alert and activate the process chain. After this i make a double click on my process type, there is always a standard alert deposited (RNIF_ALERTS), but not my alert. What is my error? Thanks!Hi,
See if the discussion in the following threads help :
Raising an alert at the end of process chain execution
Emails from Process Chains :
Email from process chain
Cheers,
Kedar -
Process chains failing - There is no path from LOADING (ipak) to PSAPROCESS
Hello
In the load process type of my process chain I am loading till PSA.
I am using the process type - update from PSA for 3 ODSs and loading all of them to the cube. one of these three process types is finishing successfully. For rest of the two I get following errors:
1. There is no path from [IPAK name] to PSAPROCESS [variant name]
2. Variant doesnot contain a valid combination request/data target
For the two process types which are failing, the request is not being picked up from PSA. Can you please suggest what can be the reason and how to fix it?
Thanks & Regards
ShreyasHi Shreyas,
How is it going on today , is there any change or same thing happened?.
I hope you have followed the below steps for re activation and schedule.
1. Go to process chain maintain view and in the menu option
Process Chain --> "Remove from schedule".
2.Process Chain --> "Activate" .
3.Process Chain --> "Activate and schedule" ( Note: Don't do this step If it is immediate start )
If the above steps does not work may be you can do one more thing , that is copy the whole process chain in to new one and create a new start event .
I had seen this type of errors and after activate and schedule it went fine.
Hope this will help.
Cheers
Manju -
How to load delta to 2 target ODS 's from a single ODS using process chains
Hi BW Gurus
I am having a current ODS based on 2LIS_02_SCL, deltas also are working fine for it.
our requirement was based to have 2 target ODS on this existing ODS by using export generate datasource.
I have to build a process chain that should enable us to load delta in our target ODS.
Earlier manually for DEV purposes ,i was using the Update data into data targets from the source ODS, this was enabling us to load deltas. But to automate this process we will require a process chain.
Finally , is there any process type in process chain for " Export generate Datasource".
please suggest a good methodology for this scenario.
Thanks in advance.Hi Ashfaq,
Loading from ODS to CUBE is same as loading from datasource to ODS only.
1. Create export datasource.
2. Create update rules from ODS(export datasouce) to CUBE.
3. Create infopackages(if you dont want to use generated once).
4. include infopackage in process chain to load fromODS to CUBE.
Intialize first manually and change settings in process chain infopackage to "Delta".
5. You can append/enhance existing process chain(loading from datasource to ODS).
Hope it Helps
Srini -
How to reschedule process chain?
hello experts,
i just want to know about when we run process chain,if there is an error with some infopackage to load the data into data targets,at that particular time how should i resolve the problem to start the process chain at that situation.
dilip kumar reddy.THi Dilip,
Once an Infopackage in a Process chain fails, you hvae to identify the error message and correct the load.
After this when you goto the process chain Log you will either See "Repeat" option when you rightclick on the Errored IP or at the Next step. You have to click on the Repeat option to let the process chain complete.
There are few things that you need to concentrate here.
Before you press REpeat, please ensure that the error has been corrected and the Load has been successfully loaded into the datatarget.
If you dont find the Repeat option, and that you have ensured that the Error has been corrected, you can use the following function module to Restart from where the process has failed
RSPC_PROCESS_FINISH
For this function module you ahve to supply the
Process chain name
Process Variant
Instance id
You can get all the above values from the Process chain log, when you rightclick and "Display Messages" and goto the "Chain" tab
You have to supply Field
I_STATE = G or F to make the Status of RED to GREEN(completed) so that the process chain continues from the next step in the chain.
REgards,
Praveen.
Maybe you are looking for
-
CPU only clocks up to 1.2GHz on full load
I use Boot Camp on my Late 2007 17" 2.4GHz Macbook Pro, with fresh installs of Snow Leopard and Windows 7. I've used Windows 7 to diagnose my problem. I'm using Core Temp to retrieve my CPU performance info and Prime95 to stress-test the hardware. De
-
Logitech wireless mouse doesn't work with Linux 3.10
When I rebooted after updating to the 3.10 kernel my mouse stopped working. The cursor is displayed but it doesn't move. I downgraded back to 3.9.9-1 and it works fine again. As far as I could see it was detecting it in the dmesg output, so I'm not s
-
ClassCastException - App Client
Hi, I'm running an application client to test a program, but I keep getting a java.lang.ClassCastException. Error message: java.lang.ClassCastException at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemotObject.java:293) a
-
I used the safe boot feature to fix a glitch but i want to go back to my normal start up. how do i do that?
-
Hi Guys I have an order on the Web Tools end that shows order status 'Pending' does anyone know what causes this status and how to resolve it. I have checked the synchmanager and the order does not appear in there. The account is not on hold The user