How to modify Process Chain to run under BWREMOTE
Greetings,
below is the setup
- a process chain made up of an abap program
+ the program uses 'open dataset' to read the data on a file on the server and eventually to rewrite to a different directory
- when run the process chain get the following message:
"PC could not be scheduled- termination return code 8"
-when I run the abap in the background --> get the following message:
"OPEN_DATASET_no_authority"
- I have ful authorization to run any abap program and have full access to the server file.
- Notes: 947690 & 511475 --> has solution for changing the user id for BW up to and including 4.6C. Our system is 7.0
How can I change the user id in Process Chain so it can run under BWREMOTE and not under my user id.
Any suggestions are greatly appreciated. Thank you in advance,
B.A.
Thank you everyone for your responses.
After the responses, I changed the user to BWREMOTE
- went thru the following steps:
RSPC - chose my PC - change mode - Menu - PC - Attributes - Execution user - selected option 'BW background user' --> saved the PC, checked it, activated it and scheduled it.
However, in sm37, I do not see the job under BWREMOTE, it is still under my userid.
Any suggestions please. Greatly appreciate it.
B.A.
Similar Messages
-
How to setup process chains to run during office times every 30 minutes
I want to set up a process chain to run only during 8 am to 6 pm MST every 30 minutes. How do I do such a setting in the process chain?
Regards
RamHello,
You can do this by creating a daemon chain which runs once every 30 mins and triggers a event.
You can use the event triggered by the daemon chain in the start variant of the PC which you require to run every 30 mins.
But before doing that, make sure that one run of your process chain completes definetly in 30 mins.
Let me know if you are looking for additional information.
Cheers,
MS. -
How to schedule process chains to be run on certain dates contained in DSO
Here is what I am trying to do.
We have a set of objects that need to be loaded with data, however they have to be loaded only on certain dates.
We are using process chains. What I would like to do, is to automate this load.
Essentially, I am thinking that I need to create some kind of event/service on the BW side that will sit and listen by comparing the system date to a set of dates defined in one of the DSOs containing data on Academic Calendar.
For example, the process chain should only start when the system date is = to the beginning of academic subsession date defined in one of the DSOs called Academic Period. Once the execution happens, then the event/service would sit and listen until the next time system date is = one of the dates in that DSO.
I am looking into the detailed steps in how this automation could be accomplished.
Thank youdid this once a long time ago...other kind of requirement but the principle is the same.
create a program_1 that updates table TVARV.
you need a selection screen with a paramter 'run_pc_2' and an input field for 'X' or ' '.
when you need to run chain2, you run this program and put X in the input field and run the program to update TVARV.
after the run of the process chain you run the program again and put ' ' in the input field.
create a second program_2 that reads this entry in table TVARV. If 'run_pc_2' = 'X' then you trigger event1. else you trigger event2.
create two process chains.
1/ PC1PC2PC4
2/ PC1PC3PC4
the first process chain is to be scheduled by event triggering after event1.
the second one is to be scheduled by event triggering after event2.
schedule program_2 to run daily.
the program will now check the entry in table TVARV and will trigger the corresponding process chain.
i hope it's clear what i mean to say.
M. -
Why the process chain always run twice when triggered from R3?
I run a program from R3 by calling the remote function 'RSSM_EVENT_RAISE' on BW to trigger an event and in turn the event on BW bring up the running of a process chain. But whenever I run the program on R3 to bring up the running of the process chain, I find the process chain always run twice at the same time. Does anybody knows the answer?
And also I would like to know the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain. In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used? If we click the Start variant of a process chain, then click "Change Selections" button which bring up the window "Start Time" where the buttons "Immediate", "Date/Time", "After job", and "After event" are listed at the top. If we modify at any of the above buttons, then after save this modification, we will have to click "Activate and Schedule" button to make it work, right?
Thanks a lot and everyone's idea is greatly appreciated!Kevin, make sure there is only one job scehduled for the Start Process of your Process Chain. If you bring up the Process Chain (not the log view), right click on the Start Process and select "Displaying Scheduled Job(s)...". There should only be one scheduled job with name BI_PROCESS_TRIGGER. If there is more than one, then when triggered, it would execute more than once at the same time. If there is only one job, then maybe your R/3 program is triggering the event more than once?
As far as the Start conditions for the Start Process, it works off the same principals as a scheduled job. These start conditions determine when or how the Process Chain is to be executed. You also have control over frequency. These start conditions determine the scheduling of the Start Process of your Process Chain.
When you schedule a Process Chain, a separate scheduled job is created for "each" process in the Chain. BW controls the triggering of these jobs based upon how the processes in the Chain are linked. All the jobs associated with Process Chains have strict naming conventions and all begin with BI_PROCESS_... If you use SM37 to view all jobs that begin with BI_PROCESS_ you will find alot of scheduled jobs associated with your process chains. Each job represents one of the processes within your process chains.
Does this help?
Another tip might be to trigger the event manually in BW (use tx SM64). If the process chain executes twice again, then maybe there is a separate scheduled job in BW that triggers the process chain that is triggered by the same event as the start process of the process chain.
Message was edited by: George Shannon -
How to stop process chain, if it is taking too much time than expected.
Some times if a process chain takes to much time to finish than expected, how I can stop the process chain and execute it again.
Thanks in Advance.
Harmanhow I can stop the process chain ??
If the job is running for a long time ,
1)GOTO RSMO and SM37 and check the long running job over there.
2)There you can see the status of the job.
3)If the job is still running you can kill that job
4)delete the failed request from data target.
for more details go to this below link
how to stop process chain if it yellow for long time
how I can execute it again ?
GOto Function module RSPC_API_CHAIN_START
and give u r process chain name there.and execute. -
R3 job completion trigger a process chain to run on BW
Hello,
I was wondering how I can trigger a process chain to run on BW 3.5 after a SM37 job completes on R3?
I have been searching the forums and the web, but I haven't found what I am looking for.
Thanks,
NickHello Pramod,
I would need a more detailed suggestion to implement, but thanks for starting the discussion.
I thought it would be as easy as this
1. Create an event in BW
2. Have a process chain that starts when that event is raised.
Having implemented and successfully tested steps 1 and 2, the rest should be simple (I was able to raise the event on BW locally and the chain did run as expected)
3. On R3, create a small ABAP program that calls the BP_EVENT_RAISED Function Module on R3.
4. Pass that Function Module the following parameters
A. My BW system name, and
B. The event name that I created on my BW system
5. Add that ABAP program to the end of the job on R3.
It doesn't work though! The event i created on BW, doesn't seem to exist from R3's perspective. I was hoping it was as easy as that. Hopefully I am missing something simple, but so far R3 does not want to cause the event on BW to be raised.
Thanks,
Nick
Edited by: Nick Bertz on Oct 13, 2008 12:19 PM
Edited by: Nick Bertz on Oct 13, 2008 12:23 PM -
How to create process chains,and how to use process like and or xor
Hi,
How to create process chains,and how to use process like and or xor.
can any one please give me a example in each.
Thanks,
cheta.Hi Cheta,
Here is step by step procedure to create process chains
Process chain is nothing but executing a process ..(or) loading the data any process we can do in background.. that means.. automatically we can execute our process based on Time or any event..
Creating Process Chains
Prerequisites
If you want to include a load process in the process chain, you need to have already created an InfoPackage.
You cannot load flat file data from a client workstation in the background. For this reason, you have stored your data on an application server.
Creating Process Chains
You have the option of creating a process chain in the process chain maintenance screen directly or by using a maintenance dialog for a process:
Creating a Process Chain Directly in the Process Chain Maintenance Screen
You are in the BW Administrator Workbench.
1. Click on the Process Chain Maintenance icon in the AWB toolbar.
The Process Chain Selection dialog window appears.
2. Choose Create.
3. Enter the technical name and a description of the chain, and confirm your entry.
The Add Start Process dialog window appears.
4. Create a variant for a start process.
1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
The Maintain Start Process screen appears again.
3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
You are taken to the Plan View of the process chain maintenance screen.
In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
5. Use the drag-and-drop function to add the relevant processes into your process chain.
You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
Hope this helps
Regards
Karthik -
How to Trigger process chains??
hi all
How to Trigger process chains??
Can anybody step by steps??
thanks
SenthilThe background control options are available to directly schedule the start process. You can start the start process immediately , that is when activating the process chain, for a specified time, or after a particular event. When you activate the process chain, the start process is scheduled in the background as defined in your selections.
You can also trigger the start of a process chain via a meta chain. A meta chain is when a process chain, to which you set this start condition, is fixed to another process chain. The process chain is started directly by this meta chain.
When you start the start process via a meta chain, it is not scheduled after you activated the related process chain. The process is only started when the meta chain, to which it is linked, is running.
The remaining chain processes, that is the application processes and the collection processes, are scheduled to wait for an event.
The start process has the following special features:
Only the start process can be scheduled without a predecessor process.
The start process can not be a successor to another process.
Only one start process is allowed for each process chain.
One start process can only be used in an individual process chain -
Process chain to run every other Thursday (with exception of 53rd week)
Hello Friends,
I am trying to find a way to set up my Process chain to run every other Thursday (with exception of 53rd week).
I am hoping that I can perform this via Decision variant.
Any advice would be very much helpful.
Regards,
Vinoth VHello Shankar,
Thank You for the valuable comment. So you mean I would need to create a decision variant as shown below?
DATE_WEEKDAY1( Current Date ) = 4 for running this every Thursday and DATE_TO_WEEK formula to meet the requirement of restricting the chain not to run on 53rd week?
How can I make the chain to run on alternate Thursdays?
Kindly advice.
Regards,
Vinoth V -
How to perform process chain monitoring
Hi All,
can u send me the steps how to perform process chain monitoring and what to do if we get any error in any process in the process chain. if possible if any one have the screen shots how to do kindly send me that link.
Thanks & Regards,
NaveenTransactions used to monitor the Process chains
RSPCM
SE38 >/SSA/BWT or ST13>BW-TOOLS
--> clic on execute --> select the process chains radio button --> execute
--> click on process chains -->if you want to monitor the specific process chain enter the process chain id or if you want to monitor the process chains that are running in a particular date and time interval simply enter the values and click on execute...
it will display the process chains status and time of the runs etc... -
Process Chain excessive run time
Hi all
Would like to know if any of you have experienced what we are experiencing.
We have a process chain that runs every night. It is running the same master data which usually only takes seconds.
However, on occassions, the same amount of data is taking over 18 hours to load.
When we look on monitor in the detail tab, it shows that it has only taken seconds but the header tab is showing 18 hours. This then delays any other subsequent process chains from being kicked off.
We are investigating as to why this is happening but any comments would be appreciated.
thanks in advance
SandraHi Sandra,
I can suggest you few things which may help u...
1) Increase the parallel processing during extraction
2) Selective loading.
3) Every job will be having a priority (A, B, C A being the highest and C being the lowest), choose this based on your scenario.
4) Check with basis for the sizing of your server.
5) You can increase the number of background processes during data loads. This can be done by making dialog processes as Background processes.
For this you need basis inputs. (This is done in some profile settings by making the system behave differently during loads. (something like day mode/night mode))
6) There are some maintenance jobs that should run regularly in any SAP box to ensure proper functioning.
7) Use of start routines is preferred instead of update routines.
Assign points if these help u...
Regards,
KK. -
How to find process chain using background job in sm37
How to find process chain using background job in sm37
Better is to select the job.
Select (Define) Step (s) or F6.
Select the line and Menu Goto>Variant.
The variant contains the name of the CHAIN and its VARIANT.
Success
We faced an old job and via job monitoring we were informed about a cancelled job every 'interval'.
We noticed that the related chain was deleted but still the job was scheduled each interval again and was cancelled because an event was missing
We could not find the scheduled job via SM37.
Via view V_OP, view over tbtco abd tbtcp, we find the related entry.
We delete these entries via function BP_JOB_DELETE....
Edited by: Jack Otten on Jul 9, 2010 2:50 PM -
How to schedule Process chains in Bi Admin Cockpit
Hello friens,
I am working on installing Bi cockpit.
After installing the info providers, i have to schedule the process chains for Bi admin Cockpit.
I know the transaction is RSPC.
But I dont know how to schedule process chains for Bi admin cockpit.
How to schedule Init and Delta
If you can send me step by step documents.
Or any good sap note number.
Or any good links i will really apreciate it.
I want to schedule process chains
Content Master Data
Data Load Statistics # Delta
Data Load Statistics # Init
Query Runtime Statistics # Delta
Query Runtime Statistics # Init
System Master Data
Please adviseHi,
Please check out this document:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/36693695-0501-0010-698a-a015c6aac9e1
Hope it helps.
Thanks
Mona -
How to change process chain in SAP APO, in RSCP tcode.
HI SAP APO Experts
I am from SAP ABAP background, I need to change a 'AND' operator in process chain in RSCP tranaaction in SAP APO.
I dont have any idea how to change process chain.
Could you please help me how to change process chain in SAP APO in RSCP tcode.
Appreciate your help or comments.
Sandeep..Hi Sandeep,
The t-code RSCP does not exist in SAP APO. The correct t-code is RSPC.
Step 1:- In RSPC t-code, select the process chain which you need to change.
Step 2:- Double click on it.
Step 3:- It will display the various programmes attached to the process chain. Go to change mode by clicking on the change indicator (Control + F9)
Step 4:- Select the programme area where you need to do the correction or change. Double click on it.
Step 5:- It will take you to the programme and its selection contents. Make the relevant changes. You can directly carry out the change in se38 also if there is variant kind of changes for that particular programme.
Step 6:- Once the changes are done, save the changes and press F3 button which will take you to the home page of the process chain
Step 7:- Save again so that the change in the programme alongwith the process chain will get saved.
Regards
R. Senthil Mareeswaran. -
How to create Process chain in BI 7.0
hi,
I dont know how to create process chain in BI 7. If any one have document step by step process to create process chain. help me. thank u.check these links..
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00a1f389-ec7c-2c10-04bc-9d81b3084171
http://wiki.sdn.sap.com/wiki/display/BI/Processchainscreationandmonitoring
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/900be605-7b59-2b10-c6a8-c4f7b2d98bae
http://wiki.sdn.sap.com/wiki/display/BI/FiveWaystoEnhanceBIFunctionalityUsingABAP--PartV--ABAPinProcess+Chain
Maybe you are looking for
-
BOTH MY MACBOOK WHICH WAS PURCHASED IN MIDDLE EAST AND MY IPAD 3 WHICH WAS PURCHASED IN GLASGOW UK WILL NOT LET ME INTO APPS STORE..KEEPS COMING UP SINGAPORE STORE ONLY!!! IS THIS TO DO WITH MY FIRST REGISTERING MY 2 YEAR OLD MAC IN MIDDLE EAST? AND
-
The newsletter is for nurses. I save "blurbs" from articles w' the link all month long. I then pull up the form for the newsletter and (while on AOL) I used to diminish the form copy the "blurb" and enlarge the form and paste the article. Although th
-
Purchasing apps through Apple's web store without going through iTunes?
Is there any way to purchase iPad app without billing through iTunes account? The reason is that I want to purchase the app through corporate's billing service, such as using a PO (purchase order) rather than through credit card. Is there an alternat
-
Exicise Duty Issue In MRP Indicator
Hi Expert, My client is calcualting VAT on PO bas value. My PO bas value is 540960. But he change the base value in MIGO as below and entered the Manually BED, ECS, SCESS. while tick mark in MRP Indicator. Base value in MIGO:--440160 BED:--44016 ECS:
-
Initializing values in an internal table
hi how to initialize values in a internal table according to my requirement i need to initialize (both character and currency) values present in the internal table based on certain conditions vamsi