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,
Bobby
Hi 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.
Similar Messages
-
Execute Process chain after infopackage run for a PC file
Hello all.
The scenario I need to solve is the following.
I have several files to be load to ODS from P users PC. I will do this with an info package. But after this load there are some more process that have to be run whoch are created in a process chain.
I would like to automate the execution of the precess chain right after the load from PC file is done.
Any sugestions?
Thanks and regards,Hello Javier Alvarado,
If you use process chains, the automatically integrated processes are ignored and have to
be implemented using the process chain. If you schedule a specific process in a chain,
you support the automatic insertion of additional, relevant standard processes with the
consideration of such automatic actions.
For example, if you have selected the processing types Only PSA and Subsequently in
Data Targets in the InfoPackage from the tabstrip Processing, and you are using this
InfoPackage in a process chain, then the further processing into the data target does not
automatically happen. Instead, it only happens if the process Update PSA is scheduled in
the respective process chain after the loading process. Thus, the process chain
maintenance supports the automation in this case. In this way, you generate a process
variant for updating from the PSA in the chain when inserting the loading process with the
process types Only PSA and Subsequently in Data Targets automatically into a chain.
Well i am talking about 30B Version
Regards,
Mohan. -
Trigger a program immediately after the Payment Run F110
Hi All,
How to trigger a program immediately after the Payment Run F110.
Thanks.Hi,
In general payment media programs are executed immediately after the payment run.
You can execute payment media programs using transaction code SA38 or you can enter appropriate variants for payment media programs in printout/date medium tab while executing payment run in F110 so that they are run automatically along with payment run.
Thanks!
Raju
Edited by: M V Narayana Raju on Sep 18, 2010 2:40 AM -
How to get Application name of a current running process in LiveCycle??
Hi,
I want to get the Application name of current running process in LiveCycle as a output value.
I have 3 applictions, the 3 applications are calling same SubProcess, so I want get the name of the application from which the sub process has been called.
I want to retrieve the Application name and asssign this value to a output variable.
I have searched for the solution I found a method getApplicationName() but inorder to get the current running process's Application Name this might not be useful..
So suggest the way to resolve this..
Thanks in Advance.....
Regards,
Kalyan UrimiUse an input/output string variable in the subprocess and set its value in each calling process as respective Application name.
May be if this could help.
Thanks,
Wasil -
Generate file in same directory as current running process
Hi all:
I basically have a batch file in a particular directory that runs a Java program. Within the program, I am doing this:
//generate contact server file
String contactServer = "Testing...";
BufferedWriter bw = new BufferedWriter(new FileWriter("contactServer.txt"));
bw.write(contactServer, 0, contactServer.length());
bw.close();Now, what I would expect is that it would be generated in the same directory as the process that is running. However, when I do a search, it ends up in C:\Documents and Settings\Leonard\My Recent Documents.
How can I specify to generate it in the same directory as the current running process?Now, what I would expect is that it would begenerated in the same directory as the process that is
running. However, when I do a search, it ends up inC:\Documents and Settings\Leonard\My Recent
Documents.let say your batch file is in
C:\Documents and Settings\Leonard\
and you run from
C:\Documents and Settings\Leonard\
and your application is in
C:\Documents and Settings\Leonard\My Recent Documents.
so..when you run the bat file, is output file created
in
C:\Documents and Settings\Leonard\
or
C:\Documents and Settings\Leonard\My Recent Documents.
it should be created in C:\Documents and
Settings\Leonard\
unless you create a shortcut to the batch file (which
is located in "C:\Documents and Settings\Leonard\My
Recent Documents." and move the shortcaut batch file
to "C:\Documents and Settings\Leonard\"...than the
output file will be created in C:\Documents and
Settings\Leonard\My Recent Documents.
make sure the batch file is not a shortcut to the
original batch file. the file will be created
wherever the batch (original) file is reside in"
Jesus man, thank you so much. Just like you suggested, when I actually used the batch file itself instead of the shortcut, everything worked out fine.
So, any suggestions on how to get it to generate in the same directory as the target of the shortcut, not the shortcut itself? -
How to execute a process chain from the Manage option of a Cube
Hi,
I have created a planning Cube in BI 7.0 to which I am pushing the data through a workbook. However, the request does not turn into green by itself. For this I am using a FM .I have included this program in a Process Chain. I want this process chain to get trigger itself, the moment the data comes into the cube. This can be done either from the Cube or from the Workbook. Can anyone help me out with this.
Best Regards,
Debashree.Its not a problem thats how real time cube works,
For a real time cube rquest wont be turned green untill the record volume is >10,000.
If the request is not closed(not GREEN status) and you still need to see the data use the specific 0REQUID technical characteristic.
OR
You can close these request using the functional module RSAPO_CLOSE_TRANS_REQUEST
Tips- 3 Variables do exist for these charecteristic as listed below
0S_RQMRC:
You should use this variable if you want a query to also return data that was yet not rolled up into the aggregates. However, only requests up to the first request with an incorrect status are displayed, transactional InfoCubes are therefore read in full.
0S_RQTRA:
Unlike the 0S_RQMRC variable, this only affects transactional InfoCubes. As during normal reading, only the data that is also in the aggregates is read from the other InfoCubes. You can use the variable in queries on a MulitProvider that consists of a transactional InfoCube for planned data and a second InfoCube for the actual data. In this case, the planned dates entered are immediately visible, but the actual data only becomes visible after the usual release procedure.
0S_RQALL:
This variable affects all InfoCubes. If a query contains this variable, all of the data in this InfoCube is read, regardless of whether or not it belongs to a request with an incorrect status. -
How can I realize a period process chain start: the 1st to 3rd day every?
Hi,All
I want to set a start in a process chain as the following:
a period value: the 1st to 3rd day every month
How can I realize it ? Thanks.
Best Regards
Jiande DingHi Jiande Ding
create original chain as a Meta chain.
create the another process chain with immedaite in start varaint..
and put abap step in that PC after process chain..
put this below code in that abap program.
DATA: wwdate like sy-datum,
WWDAY(2).
wwday = sy-datum+6(2).
IF WWDAY EQ '01' OR WWDAY EQ '03'.
CALL FUNCTION 'RSPC_API_CHAIN_START'
EXPORTING
I_CHAIN = <ur meta chain tech.name>
ENDIF.
Edited by: shanthi bhaskar on May 5, 2009 4:44 PM -
How to delete old schedule time of process chain after changing
I am try to change the schedule time of process chain on production but after changed the old schedule is still working (i.e. every day on 7 am I want change it to 6 am only) ,one process scheduled two time.
I want only last changed. How to remove the older one?
Thankshmm wierd...one more thing check if this process chain get trigger by anyother process chain by some abap program or any.
Check the table rspcchain to know if it has any meta chain or not. IF not follow the below steps :
make your process chain trigger based upon the event. Follow the below step.
1.SM64 ---> Create event -
> come to your process chain -> maintain the start variant -> event base---> give that event name here.Now we will be require to create the job which will trigger this event for this.
2.Let us take the below PC as example;
ZL_TD_HCM_004 -- This PC is running after event u2018START_ZL_TD_HCM_004u2019
3.Go to T Code: SM36 Here we define the Background job which will be available in SM37 after saving it.
4.It will ask for ABAP Program to be entered. Give it as Z_START_BI_EVENT and Select Variant from the list. (Based on Process chain, you can select it)
5.Then select Start Conditions and give the start time of process chain. and select periodicity.
6.Save the newly created job in SM36.It will be now available in SM37.
This should solve your problem now .. have fingure crossed
Thanks,
Deepak
Edited by: Deepak Machal on Dec 14, 2011 8:20 AM -
How to stop remittance advice to vendor after the app run
Dear All,
Our vendors don't want to receive remittance advice after the APP run.
Is there any option where i can block the remittance advice for certain vendors after the run.
Please let me know
Thanks & Regards
Balaji DhanavelHi Neeraj,
I appreciate your efforts. But just a small doubt.
Actually i dont want to send the remittance advice Only
If i take the email address out of vendor master record , would it make any impact in other communication.
Please tell me where i give the email address in the vendor master.
Your reply would be much appreciated.
Cheers
Balaji Dhanavel -
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 -
Triggering a report after the completion of processing the session
Hi Friends,
I want to know how to trigger an report after the completion of processing the session.
Thanks,
RajHi
SELECTION-SCREEN *
PARAMETERS: p_name LIKE apqi-groupid,
p_datum LIKE apqi-credate,
p_time LIKE apqi-cretime,
p_event LIKE tbtco-eventid.
DATA *
DATA: fl_job_ok TYPE c,
fl_event TYPE c,
cont_sysubrc_6 TYPE i.
DATA: start_time LIKE sy-uzeit,
start_date LIKE sy-datum,
time LIKE sy-uzeit,
delta_time TYPE i.
DATA: apqitab LIKE STANDARD TABLE OF apqi WITH HEADER LINE.
DATA:
btc_running LIKE tbtco-status VALUE 'R',
btc_ready LIKE tbtco-status VALUE 'Y',
btc_scheduled LIKE tbtco-status VALUE 'P',
btc_released LIKE tbtco-status VALUE 'S',
btc_aborted LIKE tbtco-status VALUE 'A',
btc_finished LIKE tbtco-status VALUE 'F',
btc_put_active LIKE tbtco-status VALUE 'Z',
btc_unknown_state LIKE tbtco-status VALUE 'X'.
START-OF-SELECTION *
START-OF-SELECTION.
DATA: a VALUE '1', b.
Controllo esistenza job:
start_time = sy-uzeit.
start_date = sy-datum.
DO.
apqitab-creator = sy-uname.
CALL FUNCTION 'BDC_OBJECT_SELECT'
EXPORTING
name = p_name
datatype = 'BDC'
CLIENT = SY-MANDT
date_from = p_datum
DATE_TO =
time_from = p_time
TIME_TO =
QSTATE = 'F'
session_creator = apqitab-creator
TABLES
apqitab = apqitab
EXCEPTIONS
invalid_datatype = 1
OTHERS = 2.
IF sy-subrc <> 0.
fl_job_ok = space.
ELSE.
LOOP AT apqitab.
CASE apqitab-qstate.
WHEN 'F'. fl_job_ok = 'X'. EXIT.
WHEN 'E'. fl_job_ok = 'E'. EXIT.
WHEN OTHERS. fl_job_ok = space.
ENDCASE.
ENDLOOP.
IF fl_job_ok = 'X' OR fl_job_ok = 'E'.
EXIT.
ENDIF.
ENDIF.
IF start_date <> sy-datum.
start_time = sy-uzeit.
ENDIF.
time = sy-uzeit.
delta_time = time - start_time.
IF delta_time > 1800.
EXIT.
ENDIF.
REFRESH apqitab.
ENDDO.
IF fl_job_ok = 'X'. " Trovato JOB
fl_event = 'X'.
IF fl_event = 'X'.
Attiva evento
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = p_event
EXCEPTIONS
bad_eventid = 1
eventid_does_not_exist = 2
eventid_missing = 3
raise_failed = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
ELSE.
MESSAGE i999(zfagm) WITH p_event 'is successfully actived'(002).
ENDIF.
ELSE.
MESSAGE e999(zfagm) WITH p_event 'is not actived'(002).
ENDIF.
ELSE.
IF fl_job_ok = space.
MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
ELSE.
MESSAGE e999(zfagm) WITH p_event 'is successfully actived'(002).
ENDIF.
ENDIF.
Max -
How to call a javascript method after the PPR event has finished ?
Hi!
How can we make a javascript method get called after the processing of ADF PPR event?
My specific use case is,
I want to call a javascript function after the data in the table is loaded...
In 10g, that is not a problem, as the data used to get loaded directly during onLoad, and so i would call my js function on load;
but in 11g , the table data is being loaded through PPR which is initiated onload, and so i needed to call my function after the PPR Response processing has been done; for which I need the name of the event triggered at that instance.
Is it possible to do this?
Regards,
SambaHey, I got it.
I handled the ADF Controller's PREPARE_RENDER_ID phase of the lifecycle, and then called the
script to get Executed.
The code :
public void afterPhase(PagePhaseEvent pagePhaseEvent) {
FacesPageLifecycleContext ctx = (FacesPageLifecycleContext)pagePhaseEvent.getLifecycleContext();
if (pagePhaseEvent.getPhaseId() == Lifecycle.PREPARE_RENDER_ID) {
if(AdfFacesContext.getCurrentInstance().isPostback() )
afterRender();
}is written in lifecycle listener , and my backing bean extended this listener ,
and in the afterRender() method I did this :
public void afterRender(){
System.out.println("AFTER RENDER CALLED");
FacesContext context = FacesContext.getCurrentInstance();
ExtendedRenderKitService service = (ExtendedRenderKitService)Service.getRenderKitService(context, ExtendedRenderKitService.class);
service.addScript(context, "translate();");
}That's it.
It did work, magnificently.
Thanks for the idea.
Regards,
Samba -
Is it possible to run process chain from the certain process/point?
Hello
Is it possible to run process chain from the certain process?
How?
ThanksHello,
yes it possible! use the following steps.
1. Goto the process which you want the chain to start from.Goto display messages>> Chain tab. In the generated instance note the variant and instance.
2. Goto table RSPROCESSLOG and give variant and instance and get logid details.
3. t codese37>> run FM RSPROCESSFINISH.
4. give the deatils u have got in RSPROCESSLOG table here and say execute.
This will solve ur problem.
Hope this helps!
Reg
Deepmala -
How to stop a while loop after certain time using Elapsed time vi
how to stop a while loop after certain time using Elapsed time vi.
Hi Frankie,
Just place the Elapsed Time VI inside the WHILE loop, and wire the 'Time Has Elapsed' output to the conditional terminal in the lower right corner (which should be set to 'stop if true' by default).
In the future, please post your LabVIEW questions to the LabVIEW Forum. You have a much better chance of getting your questions answered sooner, and those answers can then help others who are searching the LabVIEW forums. Thanks!
Justin M
National Instruments -
Transporting Process Chains-includes the ERROR DTPs in the Target System
Hello Gurus,
Iam facing an issue in version NW2004s while transporting the Process Chains from DEV to QA. The Process Chains in the Target system are including the ERROR Dtps as parallel loads along with the regular DTP.This happens when there exists an ERROR DTP in the Target system at the time of Transport.
This will cause a problem
1.these would run parallel to the regular DTPs.
2.no of back ground processes running at any point will be beyond our limit.
Let me know if you have faced the same issue and how you resolved it.
Thanks
JagadishHi DPN,
Check oout this thread. This might solve yuor problem.
Errors in Transportation
Thanks and Regards
Subray Hegde
Maybe you are looking for
-
Help please. My mac book pro did a java update and now will not boot oot.
As it says above. Since doing a java update automatically and then shutting down on me.. my mac book will not boot properly. I can get it to boot in safe mode eventually, usually after 5 to 10 mins of waiting, but will not boot into mormal mode. How
-
Hi Can someone tell me about sync send step in detail because in my scenario I am using a sync. send step and the other end is oracle database which uses a SP(stored procedure) for updation. problem is that I am able to see updation process successfu
-
Issue with sending message delay
Hi; Got an issue that has cropped up with Mail lately. Been on the phone all day with Apple Care. Every test on the planet hasn't found what's wrong. I would greatly appreciate knowing if anyone else has come across this issue. Mail version 4.3 (1081
-
everytime I open ffox I have to go into Advance option and un-select the "warn me when sites try to redirect or reload pages" and re-select "make ffox my browser". I also tried selecting 'allow third party cookies' with "from visited' or Always but i
-
Screen captures now replaced by "checkerboards"
Back in the days of 10.5, I used to be able to grab screen shots (still images) from movies and TV shows using shift-cmd-4 (e.g., in iTunes or Quicktime Player). Now, I just get a gray checkerboard pattern where the show used to be. Is this a "hardwa