How to trigger a process chain after R 3 job
Hi All,
We have a requirement to trigger a process chain immediately after the completion of R 3 job.
could you please give me your input in this regard.
rama
Try to Search first. This has been discussed a lot in this forum.
Try these:
Triggering a Process Chain From R/3 pgm
There is even an OSS Note on how to do this:
Trigger process chain using event
Similar Messages
-
How-to trigger a process chain using ABAP?
Does anybody know how to trigger a process chain using ABAP code?
Any help would be appreciated!
Thanks
IoanHi Ioan,
try this in your ABAP:
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'Your Event'
eventparm = 'START'
target_instance = ' '
EXCEPTIONS
OTHERS = 01.
and schedule your process chain, waiting for 'Your Event'.
regards
Siggi -
How to trigger the Process Chains in BI from ECC
HI Friends,
Can let me know How to trigger the Process Chains in BI from ECC. Please let me know.........Hi,
1) Define a Custom ABAP Program (eg : Z_EVENT_RAISE)..........call the FM : BP_EVENT_RAISE or RSSM_EVENT_RAISE..........and trigger an event towards BW .........specify BW as RFC destination...........
2) Create a R/3 Job in SM36>> use the Program Z_EVENT_RAISE ......
3) In BW schedule the PC..........and in the Start variant use this Event..........
http://sapbiwtutorials.blogspot.com/2009/03/how-to-trigger-process-chains-in-bw.html
It can be help full
Regards,
Edited by: subba2010 on Aug 19, 2010 6:51 AM -
How to Trigger a Process Chain through ABAP Program
Hi
I have a Requirement to trigger a process Chain on 1st, 2nd and 3rd day of the month for 2 times in a Day.
Can any one give me any idea, how i can do it by writing a ABAP program and triggering the Process chain.
If anyone can share the Logic for ABAP program means, that will be helpful for me, as i dont have much expertise on writing ABAP program.
Regards,
Muruganand.KHi,
you can achieve this in a following way.
DATA : v_date type sy-datum,
v_day(2) type c.
v_date = sy-datum.
v_day = v_date6(2).+
if v_day = '01' or
v_day = '02" or
v_day = '03".
CALL FUNCTION RSPC_API_CHAIN_START.
pass the name of the chain to this function module.
hope this wil help. -
How to trigger a process chain using external scheduler ?
Hi all,
we have a requirement wherein we need to trigger the process chains from an external scheduler used by client rather than directly scheduling it through BW scheduler.So any pointers on this will be heplful.Hi we have had a same scenario like this. You can schedule it using schedulers like autosys. Speak to your basis team and see if you have the autosys software installed or some thing similar to that. You have to write a program which calls the function RSPC_CHAIN_START. When you excute this program, it willl ask for a variant to execute. this variant will be the start variant of the process chain you want to trigger.
the flow will be like the basis team will schedule the autosys or the scheduler to run the program and this program will in turn trigger the process chain.
regards,
Satish. -
How to trigger a process chain through
Hi All,
Can any one send me the steps to trigger a process chain through a job in sm37.
Thanx
KishoreJust a trigger ?
Best way I can suggest is to call the function module 'RSPC_API_CHAIN_START'...
So, create an ABAP Program, call the function in the program. You can add parameters and a selection screen to make the program generic and add variants to it.
Once you are done with this, schedule a job with this program and whichever variant you're lookin for and you should be done.
- Aditya
Assign points if helpful -
How to Trigger the process chain using Excel Files?
Hi All,
We have 9 excel files(4 master data attributes and text files and 1 transaction file).
Everyday new records will be added into the excel sheets and we need to trigger all these files into the bw server through process chain automatically . As we have all these Excel files in the desktop.
Please suggest how to achieve this task?
Thanks
GowthamHi,
You cannot load flat files to BW automatically using process chains.
You have to upload them to Apllication server and point your Infopackage to the directory path of the flat file in application server. then process chains can load it.
How to guide for loading flat file to application server.
Program to load CSV file from local desktop to Application server(For flat file Data extraction)
-Sriram -
How to stop a process chain after the current running process
Hi experts,
I try to stop a running process chain, but only at the end of the current process load.
I try to unscheduled process chain : the job of the current process is killed and the process stop
I try to execute the programm rspc_process_finsh : same result.
Actually, I aim at waiting of the current process completion and stop the chain.
Thanks and regards,
BobbyHi all,
Thanks for answer.
If I resume the situation :
- Click on Unschedule process chain stop the current process. We have to change the status of the process in Yellow to Red.
- Go to sm37 to kill the job change the statut in red.
So there is no way to stop the running of a process chain only after the good or bad end of the last runnning process ?
Example :
My chain is running. The process which is running is a DTP loading process. There are 50 packages to load. I decide to click on Unschedule process chain when the package 18 is running.
If I do that, the loading of package 19 will not start right ?
So is there a way to wait that the 50 packages are loaded before that the system stop the chain ?
Thanks in advance,
Bobby. -
BSP to trigger a Process Chain in BW
Hi ,
I have a requirement to develop a BSP Application in the BW System where the BSP Application have to get some input parameter and in the back ground trigger a process chain.
Can any one tell me how to trigger the process chain in BW System from BSP. I have not worked on the BSP / BW combination ..
It would be helpfull if there are some documents which would help me ..from your bsp application simply call FM RSPC_API_CHAIN_START to trigger process chain.
Regards
Raja
reward points/close your previous threads
Re: BSP Pages- Icon not appearing
BSP for pop up -
Trigger a process chain(PC) after successfull completion of two other PCs
Hi All,
My requirement is to trigger a Process Chain only after successfull completion of two other process chain which are already scheduled to run at different times.
Please tell me how to achieve this into SAP-BW 3.5
Thanks
JharnaHi
It is very simple, I'm doing the same.
Insert Remote Process Chain at the end of the actual process chain and call the other process chain, here you need to give source , destination and process chain name in Remote process chain.
try it, it will work.
Thanks
Reddy -
Process Chain after EVENT - More than once
Hi all, I would like to run a process chain after an event; everything works fine with the following model...
PC1 >>
>> some processes
>> EVENT TRIGGER
PC2 >>
(after EVENT) runs ok after event ONLY if I SCHEDULE it
After succesfully run, I've tried to run again immediatly PC1 again and it runs ok, even triggers mentioned EVENT, but PC2 never runs again until I manually SCHEDULE it.
The answer is: how should I SCHEDULE the process chain PC2 so I'll "never" need again to SCHEDULE it when I want it to run after event triggered on PC1?
Hope you can help me.
Thanks a lot!
BernardoHello,
Both process chains are separated. At the model I described, at the end of PC1 event is succesfully triggered. After event is triggered at PC1, PC2 triggers correctly due it is scheduled as "after event".
Everything works fine, then, if I trigger PC1 again it runs correctly; event is triggered succesfully but PC2 (that is scheduled as "after event") doesn't runs; this is because I haven't SCHEDULED it again (after the first succesfully run).
What I want is not schedule PC2 after a succesfully run. Is there any way to reach that purpose?
Thanks again!
Bernardo -
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 debug completed Process chain
Hi Experts,
Can you please let me know how to debug completed Process chain.
In my Process Chain, we have one ABAP step to update Z-Table entries.
But it was updated wrong entry into Z-Table.
Now i want to debug ABAP step in Process chain which was completed successfully (This is Monthly load).
I have tried to debug the back ground job but it throws an error message in middle of the debugging.
Could you please tell me how to debug ABAP step in completed Process Chain.
Thanks
Shaikhttp://help.sap.com/saphelp_nw04s/helpdata/en/8f/c08b3baaa59649e10000000a11402f/frameset.htm
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0afcd90-0201-0010-b297-9184845346ca
http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
/people/vishvesh.bahirat/blog/2006/11/29/bw-process-chain-design
http://help.sap.com/saphelp_nw70/helpdata/en/21/15843b74f7be0fe10000000a114084/frameset.htm
1.Go to RSPC to view all the chains.
2.There click on any chain which you want to run/view.
3.Click on the log view(shift+F1) to view all the previous runs of the chain and whether they have failed or successful(here you can select 1 day,week ,month etc in the display range)
4.If you want to modify the chain /add a process type /change the variant then click (Ctrl+F9) and do the changes.
Even you can change the start variant in change mode for manual scheduling>right click on start process typeselect display variant--now select start Direct Scheduling/ API or Metachain
under direct scheuling option you can trigger it by setting start immediately /Date-time/After job/event whatever you want to do
Else you can make it part of a Metachain consisting of different such small local process chains.
Now Click on Schedule (F8) to run this chain manually.
5.For Monitoring use Tcodes SM37/RSPCM/SM50
Also you can use BWCCMS.
I usually prefer sm37 to view all the background jobs but SM50 is also useful.
6.debug loop can be used to debug a process chain.(you have to specify here the gap between one event been triggered and the next subsequent process starting)
to capture process in debugger go to SM37(job overview) or to SM50(process overview)
Hope this would help you. -
How to move the process chain from Unassigned node to a new node in 3.5?
Hi all,
I have created a new process chain in the development and it is falling under the Unassigned nodes. I want to move that process chain to an another node. but i am unable to do that
Can anyone let me know how to move the process chain from unassigned node. I have drag and dropped but still the same in BW 3.5 ?
Thanks
PooojaHello,
Try this....
Double click on your process chain. Via the menu select:
Process chain > Attributes > Display components
Select F4 (possible entries)
At the bottom of the window you will find a create icon
to make your own component.
After you created it, assign it to your process chain.
Don't forget to save the process chain.
Regards,
Sivaram -
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.
Maybe you are looking for
-
Export file from SAP can not open into seperate rows in excel
Dear all, When I export data from SAP to .XLS file (With Unicode) and open with MS Excel. The data in file show with single line and it is not seperate as rows in excel. How can I solve this issue? It is occure this error in some laptop. Regards, Pan
-
Forms Window (Very Urgent)
Hi, I dont want to show my Forms Window in my Browzer. Can any body tell me how can i arrange this. I will appreciate quick response. Thanks in advance Danish
-
Transaction Recovery Service failover
Can anyone explain what the suggested configuration is for the default persistence store? In particular, this is to ensure the proper failover / migration of the Transaction Recovery Service which is required to use the Default Persistence Store whic
-
Trouble syncing purchased itunes music
In December I bought some music from the itunes store, I've never done this before and havent done it since as i usually use CDs. I've recently had some trouble with my laptop which resulted in me losing all the music on it & so i had to import all m
-
Pre-Requisite for SAP BPC certification
Dear Gurus, Hope you all are good. I am an ABAPER. I want to do SAP BPC certification. Can somebody tell what kind of functional and technical knowledge is required for this certification or to work in BPC. Some told me you need a strong FI/CO knowle