Process chains trigger process
Hi,
I am using process chains to load the data and the respective processes after load. I scheduled the process chains to trigger every day. But our systems will be down for back up on a weekly basis.So is there any way I can stop this scheduled jobs all at once instead of going to each procee chian and removing the schedule every time we shut down the systems.
Appriciate if any one can help me on this.
I suggest to use the sapevt.exe.
With it you can trigger an event in the SAP system with the execution of a simple command file (.bat for ex.)
So the event will start the chain as you require.
You can find more info for sapevt in:
http://help.sap.com/saphelp_nw04/helpdata/en/fa/096e6b543b11d1898e0000e8322d00/frameset.htm
Regards,
Sregio
Did you try that?
Message was edited by: Sergio Locatelli
Similar Messages
-
Where to use in process chains in process type in os option
hi
where to use in process chains in process type in os option
regards
vijender reddyHi reddy,
check this links,
http://help.sap.com/saphelp_bw33/helpdata/en/35/6d6b3cfa58dd7de10000000a114084/frameset.htm
How to Use Process Type OS Command
Hope this helps,
Sudhakar. -
Process Chains:Parallel processing
Hi,
If we have some 5 processes,how to load these processes parallelly using process chains?
Here do we have to use "and" operation?
thanks in advance
Regards
DheepaHi Deepa:
Just for the understanding sake, please read the below:
The following processes within process chains allows multiple predecessors to feed into a subsequent process. They are:
AND: All of the processes that are direct predecessors must send an event in order for subsequent processes to be executed
OR: A least one predecessor process must send an event
The first predecessor process that sends an event triggers the subsequent process
Any additional predecessor processes that send an event will again trigger subsequent process (Only if the chain is planned as periodic)
EXOR: Exclusive OR
Similar to regular OR, but there is only ONE execution of the successor processes, even if several predecessor processes raise an event.
as mentioned by srini and others, in your case you need not use a AND process.
assign points if helpful
kalyan -
Hi,
I have a process chain that has two parallel processes of loading DSO and Infocube data. There are two infopackages on one side and two on the other side. The two processes are connected with and AND process at the end and after that there is a datastore activation process.
When I executed the process chain, the infopackages on both sides started loading data. The two infopackages on the left side finished first while the second infopackage on the right side had not finished yet when the AND process errored. I get the following message:
This AND process is not waiting for event RSPROCESS , parameter
47VKUORHMXQKR2AN73AVAR0C9
After the AND process I have a Datastore generation process and I want it to continue only when all infopackages have been loaded.
Why does the process stop at AND even though all infopackages have not finished yet?
thanks
MichalisThere was no error message in ST22 or SM37. There was very little info to go on. I just deleted the requests and run the process chain again and there's no error. However the process chain does fail at a later step.
Update Datastore Object Data (Further update)
I don't know what that further update is for. It was automatically selected in my Process chain when I selected the infopackage for the DSO.
There's a MESSAGE_TYPE_X error.
Information on where terminated
Termination occurred in the ABAP program "SAPLRSM2" - in "RSSM_MON_WRITE_3".
The main program was "RSBATCH1 ".
In the source code you have the termination point in line 2659
of the (Include) program "LRSM2U16".
The program "SAPLRSM2" was started as a background job.
Job Name....... "BI_PROCESS_ODSPROCESS"
Job Initiator.. "CSPAPADM"
Job Number..... 14103000
Source Code Extract
Line SourceCde
2629 CALL FUNCTION 'RSSM_GET_TIME'
2630 EXPORTING
2631 i_datum_utc = rsreqdone-tdatum
2632 i_uzeit_utc = rsreqdone-tuzeit
2633 IMPORTING
2634 e_timestamps = l_s_status-t_timestamp.
2635 IF rsreqdone-tstatus(3) = icon_green_light(3) OR
2636 rsreqdone-tstatus(3) = icon_red_light(3).
2637 CALL FUNCTION 'RSSM_GET_TIME'
2638 IMPORTING
2639 e_timestamps = l_s_status-ts_proc_ended.
2640 l_not_yellow = 'X'.
2641 ENDIF.
2642 IF l_not_yellow = 'X'.
2643 CALL FUNCTION 'RSSTATMAN_SET_STATUS'
2644 EXPORTING
2645 i_s_status = l_s_status
2646 i_with_commit = 'X'.
2647 IF l_s_status-t_status(3) = icon_green_light(3) AND
2648 l_s_status-dta_type = 'ODSO' AND
2649 t_data-aufrufer <= '70'.
2650 CALL FUNCTION 'RSS2_CALLBACK_ODSADM_ODS_SUCC'
2651 EXPORTING
2652 i_ods = l_s_status-dta(30)
2653 i_rnr = l_s_status-rnr.
2654 ENDIF.
2655 ENDIF.
2656 ENDLOOP.
2657 IF sy-subrc <> 0.
2658 IF t_data-aufrufer <> '09'.
2660 ENDIF.
2661 ELSE.
2662 IF l_not_yellow = 'X'.
2663 CALL FUNCTION 'RSB1_OSNAME_TO_ICNAME'
2664 EXPORTING
2665 i_osource = g_s_minfo-oltpsource
2666 * I_OSTYPE = RSAOT_C_OSTYPE-TRAN
2667 IMPORTING
2668 e_icname = l_icname
2669 EXCEPTIONS
2670 name_error = 1
2671 OTHERS = 2.
2672 IF sy-subrc = 0.
2673 CALL FUNCTION 'RSAWB_MAINTAIN_DTA'
2674 EXPORTING
2675 i_method = rsatr_c_dta_get
2676 * I_TYPE =
2677 i_objvers = rs_c_objvers-active
2678 i_dta = l_icname
Any idea what that means? Also do I need that further update step in my process chain? -
Process Chain Load Processing Time Issue
Hi All,
One my process Chain is running daily , but after 2 hours of load it is showing Red in the Monitor screen, but after 5 hours load is successful.
Why Monitor screen is showing Red?
Is it possible to Extend the load processing time in the Infopackage level?
for e.g- if they set as 60 seconds -- go to Red
I want to change to 120 seconds -- go to Red.
If yes...where we can do it ...please let me know the steps...
Regards,
Nithi.hey hi,
double click on the infopackage -> go to "scheduler" on the top left corner of the menu -> click "Timeout time" and you have the different option to change it.
hope this helps. -
How to delete Init flag in a process chain, before processing the init
Hi,
At the end of the week i need to re-execute the init request from ODS1 to ODS2.
Therefore, i have to delete the init flag first and the requests in the CUBE1, everything automatically in the process chain.
The schedule must be as follow :
1. Delete init flag on ODS1
2. Delete all request from ODS1 in the CUBE1
3. Load an regular INIT request from ODS1 to CUBE1.
Notes :
I cannont clear all the CUBE1 content, as i have other datasource than ODS1.
CUBE1 is the only one data-target of ODS1.
Any suggestion, as there is no process in the process chain to "Delete Init Flag".
Best regards,
LudovicHi
Ad.1
start code----
DATA: v_count TYPE i,
p_dsourc LIKE roosprmsc-oltpsource,
p_rlogsy LIKE roosprmsc-rlogsys.
p_dsourc = 'your source'. *"8E2_ODS1"
p_rlogsy = 'your system'. *"BP100"
SELECT COUNT(*) FROM rssdlinit INTO v_count
WHERE oltpsource = p_dsourc
AND logsys = p_rlogsy.
IF sy-subrc NE 0. "MesgTyp E end the program abnormally
MESSAGE e508(db6) WITH 'x' 'x' 'in DSource and/or LogSys'.
EXIT.
ENDIF.
Call delete function
CALL FUNCTION 'RSS1_QUEUE_DELETED_IN_OLTP'
EXPORTING
i_oltpsource = p_dsourc "OLTP-Source
i_logsys = p_rlogsy "LogSys (Myself or Remote)
EXCEPTIONS
failed = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e508(db6) WITH 'x' 'x' '===> No sucess <==='.
ENDIF.
---end code
Ad.2
See RSA1-> Infosources -> select your Infopackage -> Change ->
Data targets -> Automatic Loading of Similar.. -> Delete existing Request
Ad. 3
Create Infopackage with init
Regards
PWnuk -
Process chain-parallel process
How do we do parallel processing in Process chain? Please answer.
This may mean 2 things.
1. If you load data to same target from same source, you can do this in parallel; that means you can split the data in multiple info packages and load.
2.Second is when you load multiple targets from multple sources.
To what extent you can run jobs in parallel depends on factors such as available memory, no of jobs, frequency of loads, and top it all, the business needs.
Ravi Thothadri -
Process chains-dependent process run
hi friends
my process chain which having 9 process types in a single column get failed at process type no 4, due to this the dependent processes are also kept in waiting for the process no 4 . finally i rectified the error in process type no 4 ,
now the problem is how can i start the remaining processes next to this process type to complete the process chain fullcycle.
thanks in advance
venkathai Venkat,
i think this may help you,if you got an error at any step or at any process in meta chain ,go to the t-code area and write ( =copy) in the tcode area and then it will ask u fr other name ...give some name and start executing the process chian ..
OR
go to SE37 to run the process chain manually
run the process chain using the RSPC_API_CHAIN_START program
hope this can help
i f u find these solutions are helpful allot me some points ok ...it the way of saying thanks..
Suri -
Process Chain - Further Processing
Hi all,
Im facing with the following doubt in Process Chain:
I have an ODS that then update the information in other ODS:
1.Load Data (this IP load the data in the First ODS)
2.Activate Data (activate Data in the first ODS)
3.Further Processing
Here is my doubt, as far as i know the "Further Processing" update the data in the data Target, buy my question is :
Do i have to configure something in order to update the data in the other ODS ? or this steps is automatic ?
Because if i click in "Mantain Variant" (in further processing) appears a screen that shows:
Object type: ODS Object
OBject Name: OR_DSF01 (this is the first ODS, not the target ODS)
Do i have to configure something here?
Thanks in advanced , i really appreciate your helpI think that's better to add an other step in chain loading the 2nd ODS....
... but if you need absolutely to automate:
on th 1st ODS ->modify->settings->chek "Update data targets from ODS object automatically" .
I don't know if the chain inhibits this setting and you're obliged to add a step to the chain for further load.
try and good luck!
Ciao
C@f -
Process chains Decision process user defined functions
Hi Experts,
In process chains process type decision we can define user defined functions. How to define these functions. Any help greatly appreciated. Thanks.
Best Regards,
Suresh.I can only find out "decision between multiple alternatives'//are you looking for this?
This is used to decide b/w different options as given in its menu....
--SA -
Process Chain Interrupt Process
Hi All,
I have an interrupt process in one of my process chain. It will wait till one particular event is triggered. It was working fine until one day I manuallly triggered that event from SM64 for some other testing. I dont know how many times that event was triggered.
Now, whenever the actual process chain is running, the job is not waiting at the interrupt process. It immediately passes control to the next process. How can we see the events which were triggered and which one is causing the interrupt to stop waiting?
Thanks in advance,
Regards,
BijeshIt will not stop at the Interrupt process If the respective Events are already activated then PC will continue further immediately
You will have to check all the Events , from which PC they are triggering on what time ... etc accordingly you can analyze
You can check the process chain which is triggering this Event or check RSEVENTCHAIN and TBTCO both tables and using job name you can find in SM37 .. you will have to explore little bit to identify -
Process Chains AND process error
Hello all,
I have process chain for weekly master data loading. In one step after loading master data we have AND process and there after Attribute Change Run process.
When I ran process chain the Master Data load process is successful ( upto that it is green in log view ) . After this process AND process is showing RED.
The display message is as follows:
This AND process is not waiting for event RSPROCESS , parameter
423HLT8HZUIQTNDHWZJFNPBRC
Please let me know if any one has SOLUTION to this. Thanks in advance.
Yours
SRMHI SRM,
That means, The proess after AND is watining for one process, the same
process which ur process waiting is already using by some other process.
That means for one process two process chains are calling at a time.
So this process chain failed due to the process is running by other process
chain.
Now, after 10 or 30 min run again your process chain. if it runs successfully
then maintain the time gap between the two process chain which are using
the same process.
Hope the answers is suitable for u.
Thanks
Rajesh -
Process Chains and Process Types for ODS Change logs
We have created and used process chains to manage a large amount of our batch processing. I am looking to convert our batch process of deleting data from ODS change logs into a process chain. I have been unable to find a process type that will allow us to do this.
Any thoughts?Hi Lisa,
You can use Process "Deleting Requests from the PSA" for deleting PSA and change log data.
Since the change log is also stored as a PSA table, you can also use this function to delete change log
records. You can find additional information under Deleting from the Change Log.
More info:
Deleting Requests from the PSA
http://help.sap.com/saphelp_nw04/helpdata/en/b0/078f3b0e8d4762e10000000a11402f/content.htm
Deleting from the Change Log
http://help.sap.com/saphelp_nw04/helpdata/en/6d/1fd53be617d524e10000000a11402f/content.htm
Hope it Helps
Srini -
Process chain Problem "Process Activate DSO,ZDSO_01 has status with error"
hi,
i have found the problem of activation of ODS .
problem is something like
" Request REQU_49K5C78KK17M6JTUD3Y773YXC(3,860) has not or not correctly been updated; Please edit"
"Activation of M records from DataStore object ZDSO_01 terminated"
"Process Activate DataStore Object Data, variant Aktiviere Daten ZDSO_01 has status Ended with errors (instance ODSA_49K5E1DRU05C
Please reply me as soon as possible.Hi Viral,
Delete ur requests and try to laod them again.
Try to find the detailed error message which u can find the process monitor --> Status page --> step by step analysis.
So that you can get more information regarding ur error.
Regards,
Rajkandula -
Re: Trigger an ABAP program in R/3 by a process chain in BW
This is regarding a previous thread of mine. The basic idea is to trigger an ABAP program in R/3 by a process chain in BW.
1. I created an ABAP program ( lets say P1) in BW ( using SE38 ), and included the code:
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'Y21608_CCNA3PVAR_START'.
There is no variant for the ABAP program.
2. Now, I dragged the process type ABAP code in my process chain, created a variant and gave this program P1 there.
3. I have already created an event in R/3 with the name 'Y21608_CCNA3PVAR_START' ( using SM62 ) and created a job with schedule 'after event', which starts the ABAP programin R/3.
Question: In the process chain, the process is going to the ABAP program but nothing is happening. What more do i include in the ABAP program? And how does this program trigger an event in R/3? Can i use BP_EVENT_RAISE or RSSM_EVENT_RAISE??
Please advise.Edwin, are we calling a FM which exists in BW or are we calling an FM which exists in R/3 ?
I thought, that the FM used should be in BW but it will trigger an event which has been created in R/3. Is this right? And where in the ABAP prgram can i specify the destination? How do i write this?
Sorry if iam asking u to do the entire job for me:-)
Maybe you are looking for
-
Time Taking while firing a select Query
i am unable to access the table "X" in ABC schema its taking toooooooooo much time while firing just a select query how to resolve it "SELECT digital_signing_cert FROM X"
-
Some Site Collection not showing up (even the system pages) after upgrade
Hi All - Following http://technet.microsoft.com/en-us/library/cc263299.aspx I just did database upgrade from 2010 to 2013. Some of the site collections are not showing up. These are basic site collection with almost no custom code. Just bunch of list
-
I'm a new MacBookPro owner, and I also recently purchased a SANSUNG HD501LJ Media SATA II 500 External Hard Drive. I've had problems with my computer locking up either when I first install the hard drive into the expresscard slot or when it's been co
-
Execute ABAP Code Inspector from Outside of SAP
Hi all... For reporting purpose, I would like to use ABAP Code Inspector (transaction SCI) for generating output as a file, it should call from outside of SAP through RFC function module and generate the list (output) as flat file (or XML), does anyo
-
Hi, can anyone help me. I am trying to put my son's soccer team list onto the beginning of his finals video. I would like the names to have a blue ish background with maybe 60% opacity for the blue. How do I then export so the text looks large and ha