Problem in Process Chain Scheduling
Hi BW Experts,
We are running daily Process Chains in the Night Time.
Due to Memory Problem in BW Production Server we stopped all Process Chains on 20/09/2007.
Yesterday our memory problem solved. So I scheduled Process Chains Yesterday.
We have Timings like:
22:30 PM
23:00 PM
23:30 PM
23:50 PM
01:30 AM
06:00 AM
Yesterday we scheduled all Process Chains as per above timings.
But when iam going to schedule the 01:30 AM Timing Process Chain on 11-10-2007 , but it is taking 12-10-2007.
It is taking one extra day.
Generally it has to run today 11-10-2007. But why it is happening.
For 06:30 AM timing Process Chains also same problem.
So we noticed that after 12:00AM, it is taking one extra day.
Please give me the reply.
Thanks & Regards,
Anjali
Hi Venkat,
I scheduled it tomorrow at 01:30 AM , it is taking 13-10-2007.
If I schedule any process chian after 12:00 AM, it is taking one day extra.
This is happening since 5 months.
ECC 6 has been upgraded successfully in May month.
After ECC 6 Upgradation we are facing time delay problem.
Before ECC 6 Upgradation we never faced this problem.
Regards,
Anjali
Similar Messages
-
New system, problems in process chain
Hi,
Recently we made a copy from Prod system to new one. The copy was successfully and the connection with the R/3 system too. But when I try to execute a process chain, I receive the following message: Job BI_PROCESS_CHAIN could not be scheduled. Termination with returncode 8
and the system log shows:
BP_STEPLIST_EDITOR: Invalid step values (step 1 ) found. Reason
> User RFCUSER cannot be scheduled due to its type
BP_JOB_EDITOR: Job BI_PROCESS_CHAIN is invalid. Reason:
> Step 1 contains illegal values
As I see, the problem is with RFCUSER (communications user) but I don't know what can be?
I will appreciate your help
regards,
victoriaCheck <a href="https://service.sap.com/sap/support/notes/947690">SAP Note 947690</a>
<b>Reason and Prerequisites</b>
1. The user type of background user is incorrect.
2. Invalid host name setting.
3. Server name spelt wrong or wrong case-sensitivity for server name in sm51.
4. Process chain scheduled to run on a server which does not exist.
5. No instance is defined but the operation mode is set in sm63..
<b>Solution</b>
1. Set the background user profile according to note 511475.
2. Check the host name setting in sm65 and correct if necessary (refer note 23538).
3. Check the server settings in sm51 i.e., check for the spelling and correct case.
4. Schedule the chain with a valid server.
5. Maintain an instance of operation mode in rz04
Assign points if helpful
Regards, Uday Pothireddy -
Problem in Process chains - Need help
Dear Experts
I have a problem in Process chains
I have ODS1 from which Iu2019m updateing the ODS2 and ODS3 with same Delta infopackage.
The difference between ODS2 and ODS3 is in ODS2 Iu2019m loading with Local Currency
And in ODS3 is getting loaded with Group Currency
When Iu2019m running with Process chain its executing twice as below
First time : It is showing only ODS2 as the Datatarget and loading all the delta records to ODS2
Secondtime: Its showing both ODS2 and ODS3 in Datatarget and loading with 0 Records.
In this way No record is getting updated in ODS3.
Could you please share your thoughts on why it is triggering twice ? And how we can avoid this.
Thanks
LakshminarayanaThanks Shambu for quick reply
The variant is being used to load the ODS2 & ODS3 and Automatic further processing tick also removed.
Thanks
Nerusu -
Stopping Process Chain schedule for just one day...
Hi,
Our source systems and BI are getting a patch upgrade during this weekend and I need to stop all the Process Chains schedule for Friday night/ Saturday morning. Is there a simple way I can stop all the Process Chains from executing just for tomorrow instead of manually removing each PC from schedule and again putting them back on schedule on Saturday?
Thanks,
Sri.Hi
You can reschedule them instead of de-schedule and schedule back.
1)open your process chain in rspc1
2) goto planning mode
3) right click on start --> display schedule job
4) select the job --> in menu bar --> click on first one from left --> change
here change the dates as per your requirement and save the job.
If you have any event based chains which are going to start after time based chains gets complete, no need to de-schedule as we are not going get trigger from time based chains.
I don't think so we have any program to de-schedule all the chains at a time.
Regards,
Venkatesh -
Hi
I have created a process chain and i have set it to run every day night.
The selection in the infopackage must be the present date like today 2007.09.16 and tomorrow it should be 2007.09.17.
Is there any way where it can change the date automatically instead of me changing the date in info package daily and activating the process chain daily.
Thanks
sandeepHi
check these links...might be helpful for you.
Re: scheduling process chain 3 specific times a day
Re: How to schedule process chain to run only during specific time.
Process chain schedule daily twice
regards
biplab
<i>***Reward with points if it helps u!!</i> -
Hi All,
We have a requirement where we want to have data load on the last day of the month for each month.
Can anyone please explain how to accomplish this step by step through process chains scheduling??
Thanks in advance.
Points will be rewarded generously.Hi Jayesh,
Here are the steps you can use.
1. Create an event in your BW system (SM62).
2. In your R/3 system, write a RFC enabled FM. Inside this FM, call 'BP_EVENT_RAISE'.
3. Create a program in SE38 and call the RFC FM using the destination as your BW system. In this program, you can use 'LAST_DAY_OF_MONTHS' FM to get the last day of month by passing SY-DATUM. I am writing some pseud code for you here.
RFC FM:
Import Parameters: EVENTID like TBTCO-EVENTID (check 'Pass Value').
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = EVENTID.
SE38 Program:
data: date type dats.
CALL FUNCTION 'LAST_DAY_OF_MONTHS'
EXPORTING
day_in = sy-datum
IMPORTING
LAST_DAY_OF_MONTH = date.
If sy-datum = date.
CALL FUNCTION 'ZBP_EVENT_RAISE'
DESTINATION '<your BW system>'
EXPORTING
eventid = EVENTID .
This should do the needful.
Hope this helps.
Thanks and Regards
Subray Hegde -
Need FM or Tables to see Process Chain scheduled(future) date and time
Hello Gurus!
Can anybody tell me where/How i can get the Process Chain scheduled(future) date and time..?
I mean, I want to see at what date and time is the PC scheduled for tomarrow/next month etc... Like TBTCO-SDLSTRTDT / TBTCO-SDLSTRTTM along with its Process chain name or PC's Start varient?
I will give the points for all the answers
Bye.. Happy New YearHi Anil,
You can check in SM37 by giving the job name.then you can see when that particular chain is scheduled.
Goto SM37,
Give Job name = *
User name = *
and select job status - ready,scheduled. then F8 (Execute).
Then you can see which job is schduled at what time and date.
Regards,
Lakshman.G -
Problem in process chain running for 3 days
Hi Experts,
Please help me
We have process chain like below
1. delete index
2. full loads going 3 cubes (16 infopacs)
3. loading to ods and then update to cube
4. delete overlapping requests (16 infopac)
5. create index
6. aggregate filling
7. delete PSA
Now the issue is, from last Saturday onwards
Process chains was still in Yellow status till date, so now, 1,2,3,4, are still running
In process chains, out if 16 infopacs, 12 are green, remaining 4 are stopped
And in ODS activation of ods data variant shows yellow, but when checked the data is activated, but not pushed to cube. When checked log it show u201Csystem exception error_messageu201D, so process terminated.
When we checked for shortdump,
It says u201Clocal time on the application server is incorrectu201D
Experts please let me know how to solve this and correct the load.Hi Experts,
Thank u for your help,
I have done the steps manually yestarday, checked todays, still it is in yellow status.
let me explain the scenario,
The data is going to 3 cubes,
the process chain is designed like this,
1. initially delete index
2. full load to cube using 16 infopac and loading from (2)ODS to cube.
3. delete overlapping requests
4. create index (3 cubes)
5. fill aggregates (only one cube)
6. Delete PSA request
so now , chain is having problem at
1. data is loaded to ods
2. data activation (showing yellow, but when checked data is activated)
3. further update to cube (2 cubes) in process chain this is not started atall ( so y'day I've done manually)
4. out 16 infocpack, only 12 infopacs are green and remaining 4 are not started.
so yestarday I've manually schedule remaining 4 infopacs.
and deleted previour requests in infocube as they are full load, but I did'nt done create index and fill aggregate steps.
now the problem is , out of 3 cube report available request is present for 2 cubes, but for 3 cube this report request is not available, but QM status is green
please let me know how to proceed.
one small silly question, do i need to fill aggregate step to get this report available request.....please suggest.
Thanks & Regards,
Raghu -
Hi All,
I have a Process chain. Ot was not running from 2 days then i saw in RSPC it was green in color. Then i scheduled it and it turns green.
Steps are: start->load data 1, load data2 , loaddata3->and->so on
Today i saw it ran till load data 2 then at load data 3 it failed
when i saw display variant of load data 1 in that schedule tab last changed by is aleremote but in load data 3 last changed by is username.
request came for ods in data load1 and 2 but not for load 3 and further loads. thats why i ran it manually today.
Can u tell me what is the problem ?Hi Shweta,
Confirm and try this:
when an error in loading process, first delete that particular request from data target manually. correct the error in data package in psa. then load it manually.
after load is succesfull then trigger next process.
Or can u please tell me that log error.. let me try to resolve
Hope it might help you.
Regards
Ashwin
Edited by: ashwin kumar on Mar 17, 2008 12:20 PM -
Problem in Process chain data loading
Hi Experts,
We have a Process chain in which the lists of jobs are as follows.
1) BI_TRIGGER_PROCESS
2) BI_PROCESS_LOADING
3) BI_PROCESS_ODSACTIVAT
4) BI_PROCESS_DROPINDEX
5) BI_PROCESS_LOADING
6) BI_PROCESS_INDEX
7) BI_PROCESS_ABAP
These jobs trigger the PC and load the data to ODS, activate and delete the index for cube and load data to cube and create the index and then delete the file from the FTP.
The problem is that the Initial job (BI_TRIGGER_PROCESS) is being repeating multiple times because of which the loading is taking place for the same file repeatedly to ODS. one day it was happend repeatedly for 130 times. This is being happening on a randomly basis. We are unable to figure it out the where the problem is. Can anybody help in this regard?
Thanks.Hi Rama,
Following is my understanding of problem.
You have Following steps in process chain
1) BI_TRIGGER_PROCESS
2) BI_PROCESS_LOADING
3) BI_PROCESS_ODSACTIVAT
4) BI_PROCESS_DROPINDEX
5) BI_PROCESS_LOADING
6) BI_PROCESS_INDEX
7) BI_PROCESS_ABAP
Some times only first two steps repeat multiple times i.e
1) BI_TRIGGER_PROCESS
2) BI_PROCESS_LOADING
In such case you should see the log from process chain log view.
I believe you should take your process chain out of schedule and reschedule it.
Also check whether somebody has scheduled the inopackage.
Regards,
Ajinkya -
Process Chain schedule time difference
Hi Gurus,
I schedule an process chain, Timing which I set is 23:55:00, But it is start running daily at 23:00:48.
Before 1 hour, Why it is happening, could someone suggest.
Thanks in advance
Regards
DeveshDear Devesh,
Sorry for the delay .... I want to know that have u checked all the scheduled jobs with "Start Process --> Right click ---->Display " .
U can do one more thing ... delete the all scheduled job related to that particulate PC & ensure that no next job is available with click on the next start button (tcode -rspc) & then again reschedule it as immediate if it starts immediately then I believe there is no DST problem ...do it for all the 3 process chains & see the results.
Also please tell me there is any others jobs which are starting on the right time.
Regards,
Pooja -
Process chain scheduling error( Job BI_PROCESS_DROPINDEX could not schedule
Hi,
I am scheduling the process chain but it was throwing an error.
Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
Message no. RSPC065
Diagnosis
Program RSPROCESS is to be scheduled as job BI_PROCESS_DROPINDEX 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
Procedure
Check the system log for more detailed information.
Execute Function
for this i have already checked
in RSPC menu tab
Process Chain >> Attributes >> Execution User
Choose "BW Background User" which should be ALEREMOTE.
above settings i have done.
even though when i am scheduling the process chain i am getting the same error
thanks
sumanSuman,
You are not able to schedule it b'coz it is getting scheduled from user RFCUSER whereas the background user should be ALEREMOTE.
There is an option somewhere in the Menu bar in RSPC to change the Execution user. Please change that to ALEREMOTE,
Please check whether your BW user has enough authorization to run this job. The above post tell you how to do it. -
Problem in process chains in bw 3.5
Hi
I am using 3.5 version
I created process chain and process variant.
After that I am specifying the info package which is used to load data to info cube
After dragging and dropping the info package into right side panel
when i m trying to join 'start' step with 'indexes' i couldn't establish the join.
If without establishing the join , i am clicking on 'activate and schedule' button i am getting a message: process has no predecessor
Can anyone guide me on this
Edited by: deepthi chowdary on Mar 23, 2010 5:56 PMHello,
First of all, It's not necessary to have a "Delete Indexes" compulsory to have the "Create Index" varient in the chain.
Can you please go to View->'Detail View ON' and then press the 'Check' button and see what are the errors it is showing up. Try to fix them and then try joining the variants in sequence.
All the bests
Anil Raparthi -
Hi,
While checking the regular status of Process Chains, for one of the process chain i am getting message "Status Change of Process CHAIN CS_MDT_F. Save status and trigger events if required".
This message is showing as same without displaying next screen. I mean to say is that this screen is still as executing even after 3-4 hours. Because of this i am having problem to trugger regular Process Chains in this.
Please advice.
Thanks!
VenkatHi,
check this table..RSPCPROCESSLOG
and see the log of your chain.
Or do one thing..
first check satus bar of BWD..there will be a session id like this BWD(1) or BWD(2)
Go to System in context menu->create session.
Now from the new session BWD(2) or BWD(3).
write a tranaction \i(your BWD session old one).
And no close all the session.
and login again. and go to rspc.
regards,
San! -
Process chain - schedule for certain days
Hello all,
How can I schedule a process chain that :
-should run 3 times per day
-between the 8th and the 12 workingday of a month
Any sugesstions?
Thank you.Maybe I cna help others with my solution.
So...
I made the chain to run 3 times per day as Debjani advidced me in this thread.
I put 3 jobs, at the hours I wanted, the period daily, without weekends and holidays.
I made a reports that tests the 18-th working day (for example) and some others:
REPORT Z_DAYS.
TABLES : TFACS.
DATA: GI_CURSOR TYPE CURSOR,
GI_TABIX TYPE SY-TABIX,
GT_TFACS TYPE TABLE OF TFACS.
DATA: TEXT(50) TYPE C,
LEN TYPE I,
IND TYPE I,
POS TYPE I,
CNT_ONE TYPE I,
CNT_ZERO TYPE I,
DAY_VAR TYPE I,
IND_VAR(3) TYPE C.
DATA: EVENTID LIKE TBTCJOB-EVENTID.
DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
FIELD-SYMBOLS: <GT_TFACS> TYPE TFACS.
DAY_VAR = SY-DATUM+6(2).
OPEN CURSOR GI_CURSOR FOR
*select data for factory calender Germany (01) and year 2009
SELECT * FROM TFACS
WHERE IDENT EQ '01' AND JAHR EQ SY-DATUM+0(4).
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
MOVE 100 TO GI_TABIX.
DO.
FETCH NEXT CURSOR GI_CURSOR
INTO TABLE GT_TFACS
PACKAGE SIZE GI_TABIX.
IF SY-SUBRC NE 0.
EXIT.
ENDIF.
*loop on internal table
LOOP AT GT_TFACS ASSIGNING <GT_TFACS>.
TEXT = <GT_TFACS>-MON01.
LEN = STRLEN( TEXT ).
WRITE : 'len' , LEN.
DO LEN TIMES.
IND = SY-INDEX.
POS = SY-TABIX.
IND = IND - 1.
IND_VAR = IND + 1.
WRITE: / 'ind', IND_VAR.
WRITE : 'pos'.
WRITE POS.
IF TEXT+IND(POS) = '1'.
*number of working days increases with 1
CNT_ONE = CNT_ONE + 1.
IF CNT_ONE EQ 8 AND ( DAY_VAR = IND_VAR ).
WRITE : / '8th working day'.
EXIT.
ELSEIF CNT_ONE EQ 9 AND ( DAY_VAR = IND_VAR ).
WRITE : / '9th working day'.
EXIT.
ELSEIF CNT_ONE EQ 10 AND ( DAY_VAR = IND_VAR ).
WRITE : / '10th working day'.
EXIT.
ELSEIF CNT_ONE EQ 11 AND ( DAY_VAR = IND_VAR ).
WRITE : / '11th working day'.
EXIT.
ELSEIF CNT_ONE EQ 17 AND ( DAY_VAR = IND_VAR ).
WRITE : / '17th working day' COLOR 5.
EVENTID = 'ZE_PROD'.
EVENTPARM = 'ZEP_PROD'.
CALL FUNCTION 'RSSM_EVENT_RAISE'
EXPORTING
I_EVENTID = EVENTID
I_EVENTPARM = EVENTPARM
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5.
IF NOT SY-SUBRC IS INITIAL.
WRITE:/ 'EVENT DID NOT START'.
ENDIF.
EXIT.
ELSEIF CNT_ONE EQ 18 AND ( DAY_VAR = IND_VAR ).
WRITE : / '18th working day' COLOR 5.
EVENTID = 'ZE_PROD'.
EVENTPARM = 'ZEP_PROD'.
CALL FUNCTION 'RSSM_EVENT_RAISE'
EXPORTING
I_EVENTID = EVENTID
I_EVENTPARM = EVENTPARM
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5.
IF NOT SY-SUBRC IS INITIAL.
WRITE:/ 'EVENT DID NOT START'.
ENDIF.
EXIT.
ENDIF.
ELSEIF TEXT+IND(POS) = '0'.
*number of holidays days increases with 1
CNT_ZERO = CNT_ZERO + 1.
ENDIF.
ENDDO.
WRITE : /.
WRITE: 'January :' COLOR 1, <GT_TFACS>-MON01.
ENDLOOP.
REFRESH GT_TFACS.
ENDDO.
WRITE / .
WRITE ' The number of working days is :'.
WRITE CNT_ONE COLOR 5.
WRITE / .
WRITE ' The number of holiday days is :'.
WRITE CNT_ZERO COLOR 7.
WRITE : / DAY_VAR.
CLOSE CURSOR GI_CURSOR.
When I am in the 18-th day, I raise an event. I test the year,the calender of the system and the month (January).
This report is called in the chain, as ABAP process.
Then, in my chain , I put a local chain , that starts after it receives the event 'ZE_PROD' and the parameter for it 'ZE_PROD'.
This event with parameter has to be created in SM62.
I hope this helps and thank you all for the advices.
PS: - the factory calender method seems not to be to good, because need special rights to create it and I don' t think it's possible to customize it (because the holiday calender has to be changed and I did not see how).
Edited by: EMI on Jan 27, 2009 4:21 PM
Maybe you are looking for
-
Master-Detail Form, Conditional Display of a Column Link
Hey Guys, I've got a little question for you: I use a Master Report with a Column Link that i would like to hide when my Column in the Report named "NUMBER" is 0. I can't get it to work though. Using the "Conditional Display" stuff doesn't seem to wo
-
All Active Application Requests is empty
I have setup the Application Approval Workflow. I use 3 different servers one for SCOR one for SCSM and one for SM Datawarehouse. Everything appears to be set up correctly according to the AAW documentation. Under All Applications in Configuration
-
Framemaker 9 PDF exports with red boxes around text areas
I have a doc, made in FM 7, using version 9 When I make a PDF i get boxes around some of the text. It wasn't there during FM design. example (see red) Please help
-
Locked folder unable to unlock
hello, so i burned a dvd with .mov and .dv files from imovie, and the burn folder stays in my desktop locked. when trying to unlock it gives me a error message... the option is not active and although i have the permissions when trying to change them
-
Widget-Browser: Error #2032
Hallo an alle, ich habe den Widget-Browser installiert. Bislang bekomme ich bei fast allen Widgets die Fehlermeldung "Fehler beim Herunterladen des Widget: Error #2032". Der Downloadprozess dauert etwas länger. Für einen Sekundenbruchteil wird ein Do