How to trigger process chain when datasource is loaded with new data? PUSH
Hi all,
Till now we use the pull method to load data in BW which is done manually......but we would like to work with the PUSH method where whenever new data is loaded in the datasource an event is triggered which inturn triggers the process chain...
how is this possible? can we do this on a timestamp on the datasource to trigger the event?
rgds,
wills
hi Geo,
Thanks for ur response. I appreciate it.
The case is slightly different. I am working on Bank analyzer data which is residing in a source system defined to load the results from the Results DataBase, a part of the Bank analyzer.
If it was R3 we have the standard calling procedures...but now the data in not in R3 but in Bank analyzer.
I am keen to look at some procedure to push the data automatically whenever an end user execution is done at the BA level into the BW.
ur help would be highly appreciated....
thks,
rgds.
wills
Similar Messages
-
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 alteration in BI 7 with new DTPs and Infopackages
Dear All,
For my BI system, the source system got replaced from 4.7 to ECC 6.0 system. All the datasources that were earlier part of old system were recreated in the new one too.
Now, I have a process chain in my production system which handles all the master data and transactional data loading. It makes use of the Infopackages(with respect to the old system) to load these data. Since I have new datasources, so I will be having new Infopackages too(with respect to the new system). I need to replace all the old infopackages with the newly created ones in the process chain. Is there any direct step or method for this or shall I have to create a new process chain from scratch ?
Regards,
Srinivashii
As soon as u click on the info pkg & right click on it it shows the number of options like to display the variant , exchange the variant, connect with, etc.
So go in the edit mode of process chain, right click on info pkg variant & select exchange variant, it opens a box having aal info pkgs, select the desired info pkg & save & activate the process chain
thanks
neha -
Trigger Process Chain through the Web
Hi,
I am trying to allow the users to control when they trigger a process chain through the web.
The users have a number of integrated planning sheets, which they access and input, once they are happy with the inputs, then they want to trigger the process chain to carry out additional loads.
I am using function module RSPC_CHAIN_ACTIVATE_REMOTE to trigger the process chain, when I test this with the chain set to direct scheduling it works fine.
I have set a planning function to call RSPC_CHAIN_ACTIVATE_REMOTE, with the process chain in question. Now when I run it with the chain set to direct scheduling it repeatedly calls the process chain over and over again, like it is in an endless loop.
When I try setting the chain to Meta Chain or API nothing happens.
Does anyone have any ideas why I can't get this to work through the web?
Thanks
DCALL FUNCTION 'RSPC_API_CHAIN_START'
EXPORTING
i_chain = 'YOUR PROCESS CHAIN NAME'
EXCEPTIONS
error_message = 1.
IF sy-subrc <> 0.
CALL FUNCTION 'BALW_BAPIRETURN_GET1'
EXPORTING
type = sy-msgty
cl = sy-msgid
number = sy-msgno
par1 = sy-msgv1
par2 = sy-msgv2
par3 = sy-msgv3
par4 = sy-msgv4
IMPORTING
bapireturn = p_return.
RAISE STREAM_FAIL.
ELSE.
RAISE STREAM_SUCCES.
RETURN.
ENDIF. -
Trigger a process chain when user clicks on save button in web interface
Hi All,
This is a issue I'm facing with the BW BPS web interface.
BPS web interface generates a BSP application so thought posting this question in BSP forum might get some responses.
The issue is I have to trigger a process chain when the user clicks on the save button on the web interface.
I have no clue how BSP works. So if anybody has any ideas or suggestions I would greatly appreciate it.
Thanks,
HariniHi Dhanya,
This is the code i have in the ABAP program in the process chain. I just included the API_SEMBPS_POST part, but still it doesn't work. Please give me your email address so that i can send some screenshots.
REPORT ZHTEST.
DATA: l_subrc TYPE sy-subrc.
DATA: ls_return TYPE bapiret2.
CALL FUNCTION 'API_SEMBPS_POST'
IMPORTING
E_SUBRC = l_subrc
ES_RETURN = ls_return.
CALL FUNCTION 'RSAPO_CLOSE_TRANS_REQUEST'
EXPORTING
I_INFOCUBE = 'ZMAP_TAB'
EXCEPTIONS
ILLEGAL_INPUT = 1
REQUEST_NOT_CLOSED = 2
INHERITED_ERROR = 3
OTHERS = 4
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How do we raise an event to trigger process chain in BI
Hi Guru's,
I am having Oracle tables as one of my source systems, I developed the code using DBConnect.
Now i need to run my Process chain when ever table get data from downstream systems.
how do we raise an event to trigger the process chain in BI WHEN EVER ORACLE TABLE GET DATA?
Thanks in Advance,
Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:21 PM
Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PM
Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PMHi Naveen,
i think we use ABAP program under general services to generate an event.
searching form gave me following threads which might be helpfull
1) explains Evenet generation [Event raising procedure]
other helpfull threads
[Standard tools for Event raising]
[Event in Process Chain]
i could get the process for triggering it weekly,,,it may giv u some help in resolving
change the Start Process (1st process) in your Process Chain to trigger it to start after the event. To do this, maintain the Start Process of your Process Chain. Select "Direct Scheduling" and click the "Change Selections" icon. This will bring up a Start Time window. Click the "After Event" icon and enter your event name. Also, click the "Periodic Job" (this will insure that all the jobs created for each process in the Process Chain will reschedule themselves after executing the first time). Now save the Start Process, and reactivate and schedule the Process Chain.
To execute the Process Chain, use transaction SM64 to trigger the event.
If you want to trigger the event in batch, you will need to create an ABAP program that calls function module BP_EVENT_RAISE (sample ABAP code is available in this forum if you search for "BP_EVENT_RAISE").
We create batch jobs where we call an external program called SAPEVT, located on the server, and I believe is available on all SAP clients, with the following parameter:
EVTID('WEEKLY_PROCESS') SID(PU3) NUMBER(00) EVTPARM()
This will trigger the event WEEKLY_PROCESS.
See if this helps.
regards,
NR -
How to stop a process chain when its running?
Dear Experts,
How to stop a process chain when its running? is it that a chain can be stoppend when we open an info package of that chain ?
Thank you,
RajHi,
Goto the main menu process chain --> choose the remove from the Schudule...
Regards
sathis
I hope it helps to u... please assign the points -
How to run change run in process chain when it fails
HI All,
How to run attribute change run in process chain when it fails. Give me the procedure with clear description. Is there is any difference with 3.x versions in running this.
Thanks,
Pratap ReddyHi Pratap.
If BI Accelerator is not being implemented by ur company, in that case if change run fails u'll proceed by 'Repeat' process option as usual we do in 3.x.
If BIA is exists, in this scenario u can not repeat as we do in 3.x. U have to drop the indexes on cubes effecting that change run and run the change runs. Once it is finished recreate BIA Indexes on cubes.
Warm Regards,
Ramki -
Trigger process chains from UNIX
Hi,
I just wanted to know how can we trigger Process chains from UNIX Server.
Any pointers will be appreciated.
ThanksI 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 -
How to Delete Process Chain?
How to Delete Process Chain?
When in the change mode of a process chain, choose the menu entry 'Process Chain --> Delete' (Only available on change mode).
Cheers
SAP NetWeaver 2004s Ramp-Up BI Back Office Team -
Stopping one process chain when another is running
Hi All,
We have two process chains which are inter dependent.
One process chain has to be scheduled hourly & another daily.
I would like to know the way to stop the hourly running process chain when the daily process chain is running.
& the daily process chain run time will be varying like 1-2 hours.
Please help me to solve this problem
REDDYHi,
You can do it.
1.Create one Table with Flag (Values 0 or 1), and give Table maintaince also in SM30.
2.Craeate one program to check the Table Flag = 0 or 1. If it is 0 then trigger Event then that event will trigger Hourly Process Chain. You need to schedule this Program Hourly. (Your Hourly PC wil work based on Events)
3. Craete Daily Process Chain, once it will start it will update teh Flag =1 then once it will reach the last node it will turn the flag = 0.
Start
|
Update Flag = 1 in table (Program)
|
Load data
|
Update Flag = 0 in table (Program)
4. So every hour your program will run (in Step 2), it will check table Entry and trigger Event.
The code is like below
Report1.
IF Flag = 0 Then
*Raise Event
DATA: EVENTID LIKE TBTCJOB-EVENTID.
DATA: EVENTPARM LIKE TBTCJOB-EVENTPARM.
EVENTID = 'ZEVENT1'.
EVENTPARM = 'ZEVENTPARAM'.
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 SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE
Exit
endif
Note: It will Work try it. Don't forget to give SE30 access to table, because some time if you want to maintain Flag value manually, you required it.
Thanks
Reddy
Edited by: Surendra Reddy on Mar 9, 2009 11:09 AM -
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 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. -
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.
Maybe you are looking for
-
How can I publish an App to a selceted group of people without using the Adobe Contetn Viewer?
How can I publish an App to a selected group of people ( not via App Store) without using the Adobe Content Viewer? The App was developed with InDesign 6.0
-
Calling UDF (MS Access) from Excel VBA
Hi, I need to run a query on an MS Access database that has to perform a weekday calculation between two date columns, and this query has two date parameters that it receives dynamically. I am using Excel VBA as the front end. Select AgeRange, count(
-
Can I add a column in Inventory Revaluation document?
hi experts, I'm trying to add a column in Inventory revaluation, but I can't find any related document in the tool of User-Defined fields. are there any way to add a field to Inventory Revaluation? thanks...
-
Errors while downloading purchases 'stopped (err = -3253)'.
I am hoping someone here can offer some help to this problem I am having. I have had my Mac for over three years and through out this time I have purchased and downloaded a lot of films and music with absolutly no problem. For over a month now I hav
-
Problem in double-click on a perform statement in abap editor
Hello, I was asked to modify a program but as I tried to read it in se38, I could not double click in performs. Their forms are placed in INCLUDES which are stated in the program. So every time i want to see what a perform does, I go into every inclu