ABAP Program for set local process chain failed
I would like to execute ABAP Program in local process chain. If the condition is in the pre-defined bussiness rule, local process chain is set to fail.
Currently I use ABAP and Raise Message Error = Message Type E for cancel program. After program is cancelled, local process chain don't know its status, wait for job SAP_CCMS_MONI_BATCH_DP to determine status of process chain and then further execute subsequent process.
I 'm not sure that our solution is right or not about set process chain to fail via ABAP. Please suggest us if there are other solution to set process chain as failed.
Hi.
Plz see my answer to similar question in [this thread|Re: Manage a message at the end of process chain on Web planning Application].
Regards.
Similar Messages
-
ABAP PROGRAM to run a process chain
Hello all,
What is the ABAP program to run a process chain after a step that has failed but is manually corrected?
In short a std ABAP program to run a pc.
Regards,
NIKEKABHi.
Plz see my answer to similar question in [this thread|Re: Manage a message at the end of process chain on Web planning Application].
Regards. -
Abap program variant error in process chain
Hi experts,
I need your help one more time...
In our process chain, we run the program RSIMPCUST to bring currency and units from the source system to BW. We have created a variant to run this program and call it in the process chain. One of the variant's parameter is the logical system, which was configured as our DEV system.
When we transport this process chain to QA and run it, the variant continues to refer the DEV logical system, and not the QA logical system as it should.
any ideas?
Thanks!
Thiago BragaValues in variants are not converted. You can use the same variant in your ABAP program, but you need to change the value in the parameter for logical system in each system you transport the change to. The only alternative is to create a logical system name in SM59 that is the same in all your BW systems but it refers to the local R/3 system.
In other words, you will have two logical systems in your BWD system pointing to your R/3 Dev. Let's call them R3DCLNT100 and R3SYSTEM, where R3DCLNT100 is also the source system (in RSA1). You can use R3SYSTEM in your variant for your ABAP program. In your BWQ (test system), you will have two logical systems also, R3QCLNT100 and R3SYSTEM, where R3QCLNT100 is also your source system.
Does this help. -
Hi Friends !
We have one "Main Process Chain' within the main process chain there is a "Local Process Chain". Main PC is scheduled at 2 PM.
Ques : For the Local Process Chain, will the start variant be "Immediate"? Please advise.
With Regards
RekhaRekha,
There shouldn't be any problem even the local chain is set to "Immediate". it all matters with the Meta chain, the subsequent local chains are taken care during the Meta chain run.
In the scheduling option of the Local chain start variant ,you can select either of the options Direct or Start using metachain.
We have Direct shceduling for our local chains(with in the Meta chain) and there has been no problem. this will be an advantage to maintain with the option "Direct shceduling", so that whenever you want to run the local chain seperately, there will not be any need to change any setting. else if you use "Start Using Meta chain or API", each time you have a need to run the local chain the setting has to be changed to "Direct shceduling" before executing it.
Regards,
Sudheer
Edited by: Sudheer Kumar Kurra on Oct 17, 2011 9:30 AM -
Enable ABAP trace for programs running in BI process chains
Hi
Can anyone please indicate how can we enable a ABAP trace for a long running program, that runs through Process chains of SAP BI.well i´m not a 100% sure, but this task has not so much workload that you cant give it a shot
-
Process Chain fails - ABAP dump
Hi Everyone,
Some of the process chains in our system keep failing at random intervals and end with an ABAP dump (MESSAGE_TYPE_X). The short text error message in the log says: 'The current application triggered a termination with a short dump'.
Long Text:
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Code Extract:
14 select single * from rsmdatastate bypassing buffer
15 into l_s_datastate
16 where infocube = i_infocube.
17 if sy-subrc ne 0.
18 message x051(rsar) with 'infocube_not_found' i_infoc
19 raise infocube_not_found.
20 endif.
21
22 * nur weitere Tests, falls Request kleiner als qualok
23 if i_rnsid <= l_s_datastate-qualok.
>>>> message x051(rsar) with 'sid_too_low' i_rnsid
25 l_s_datastate-qualok.
26 else.
27
28 if i_rnsid <= l_s_datastate-compr
29 or i_rnsid <= l_s_datastate-rollup_rsvd_dual
30 or i_rnsid <= l_s_datastate-dmall.
31
32 message x051(rsar) with i_rnsid
33 l_s_datastate-compr
34 l_s_datastate-rollup_rsvd_
35 l_s_datastate-dmall.
36 raise write_not_allowed.
37
38 elseif l_s_datastate-rollup_rsvd_dual = 0.
39 * es sind noch keine Aggregate vorhanden
40 * check, ob ein Aggregat gefüllt wird
We have been getting this error in different PCs with no specific pattern. When I re-generate the program and repeat the process chain, it executes successfully.
What could be the cause of this repeated failure?
Thanks,
RamTo recognize this error early on, the attached corrections check whether the references are correct. If they are not, the following termination occurs:
"System error in program SAPLRRSI and form INITIALIZE-1- (see long text)".
The content version of the characteristic 0REQUEST is usually correct. You can see this in transaction RSD5 (dropdown content). If this is the case, you can transfer the InfoObject from the content again:
Transaction RSOR -> BI Content -> Object Types -> under InfoObjects select 0REQUEST and transfer it to the right (note the following settings: "Only Necessary Objects"; collection mode: "Collect Automatically"). -
Local Process chain getting failed
Hi All,
My local process chain is getting failed due to the following error.
"Job started
Step 001 started (program RSPROCESS, variant &0000000068733, user ID ALEREMOTE)
Start process CHAIN EC_EW_M_COMPLAIN_ZMTCOCR1 in run 1HN75DVW2PG2WFU98WGFIXOGV of chain EC_EW_M_TRAN_L1
Communication buffer deleted from previous run F0CDWKC96L0O0D8NQBGVHYK9R (status X)
Chain Is OK
No job found
Job cancelled after system exception ERROR_MESSAGE"
How to resolve this issue?
Thanks,
SathyaHi
Communication buffer deleted from previous run F0CDWKC96L0O0D8NQBGVHYK9R (status X)
This means, the previous step is completed and system should get the status as G(green), but in above system got this as X(Deleted). That's why system unable to start the next process(your local chain).
I don't think, this is an issue with background processes.
try to repeat the step once again and monitor the display messages, if you get same error again check process type before this local chain.
Regards,
Venkatesh -
ABAP Routine for Deleting and creating index for ODS in Process chains
Any pointers for the ABAP Routine code for deleting and creating index for ODS in Process chains.
Hi Sachin,
find the following ABAP code to delete ODS ondex.
data : v_ods type RSDODSOBJECT.
move 'ODSname' to v_ods .
CALL FUNCTION 'RSSM_PROCESS_ODS_DROP_INDEXES'
EXPORTING
I_ODS = v_ods.
To create index:
data : v_ods type RSDODSOBJECT.
move 'ODSname' to v_ods .
CALL FUNCTION 'RSSM_PROCESS_ODS_CREA_INDEXES'
EXPORTING
I_ODS = v_ods.
hope it helps....
regards,
Raju -
Local process chain is failing and i want to run its successor chain
Hello All,
I have a query regarding process chain, which is :
I have a metachain, in which some local chains are existing.
If suppose local process chain 2 is failing and i don't want to run that i want to run local process 3 directly
(which is successor of chain 2 ).
What should i do?
Regards,
DollyHi,
You can trigger the process chain as below:
Go to TC SE37 -
> use function module RSPC_CHAIN_START -
> execute -
> put your process chain's technical name in variant I_CHAIN -
> Execute -
> specify job priority
Cheers
Chanda -
How can we set a process chain to trigger the nodes w/o manual intervention
SDNers,
We have a Master PC which has the loading & activation of some Hierarchies.Wats happening is some of the hier activations are failing (we got track of the root cause as well) and the nodes below are not getting triggered automatically, eventhough they have been designed to get triggered irrespective of success or failure of this hierarchy activation. The chain prompts for the u2018Status change & trigger the following eventsu2019 opo-up and only when it was said u2018yesu2019, the subsequent node gets triggered in the chain. If this manual intervention was not there, the Chain gets struck at the activation node, whic is running in yellow status for long, though a short dump - error has already been thrown.
My query is how can we set a process chain not to anticipate the manual intervention of chnaging the status & trigger events pop-upHi ravi,
i'm not sure abt the query but what i got thru ur qustion is u have to automtaically go to the next load/step even the proceess chain fails in the step......
for that we have the same master meta chains with link of so many local chains...for this even if there are some interventions/fails in between the process chains it never gets stopped....
it goes to the next step and we'll work, analyse and finish the failed load manually....the next day it'll be
fine...
b4 to this make sure that there is no dependency for the previous loads....
And now the solution i found for this is in the process chain design itself.......
while giving the links itself we'll be getting the options as status RED,GREEN and RED(or)GREEN.....now if u got for the third option the event goes to the next step even it is unsuceesful....
rgds,
nkr. -
Process Chain failed at Delete PSA event level
HI Every one,
I am monitoring process chains, which are running on daily basis.
I have one <b>Delete PSA</b> process chain, this chain contains only two events
1. Start Event 2. Delete from PSA.
Process chain failed at<i> Deleted from PSA</i> event level.
Below is the error message I got from the process chain screen.
"Data inconsistency in /bic/b0000231000 table,partition was not deleted"
"Delete request REQU_4353ACARKJNY70Z5F11 from PSA 8ZMMOM...."
Please help me by giving possible reasons for this error message and solution for this problem.
Thanks in advance.
Regards,
Narayana K.hi,
Are you deleting the PSA requests using abap program?
Regards,
Vijay -
How to trigger a local process chain to run manually
Dear Experts,
In my company, I have a Daily process chain.
In this Daily process chain, it contains many other local process chains which are grouped by modules.
For example, I have created the following 3 process chains:
- Accounts Receivables Process Chain which contains all the required process for loading FIAR data.
- Accounts Payables Process Chain which contains all the required process for loading FIAP data.
- Inventory Process Chain which contains all the required process for loading Stocks data.
These 3 process chains are scheduled one after the other in the main process chain which is called Daily Process Chain.
FIAR needs to be successful before FIAP can run and Inventory chain will run only after FIAP is successful.
Normally it runs without any problems.
But recently, when the previous chain is successful, the next process chain does not get triggered to run.
In the end, I have to manually execute the remaining process chains to start running.
With this, all data are loaded, but the Daily Process Chain status for the day is yellow because it is not complete.
Is there a program or method which I can execute or use to trigger the process chain to continue to run in the Daily Process Chain? If there is, please let me know so that I can avoid having to run the process chains manually one by one.
Thanks in advance for your help.
Regards,
Shunhui.Check thid thread with the similar issue:
Process Chain - Node untriggered.
/people/siegfried.szameitat/blog/2006/02/26/restarting-processchains -
How to change local process chains job priority to A?
hi experts,
there are process chains are running in BW production system.
for independent process chain when i forcefully change JOB PRIORITY from C to A last night it was executed successfully with PRIORITY A, but whereas i have meta chain in that there are some local process chains, though i forcefully change the JOP PRIORITY in PRODUCTION TO A, still those local chains were executed with JOB PRIORITY C only.
Can you tell me the reason and solution to change the local process chain as well with JOB PRIORITY A.
The metachain with JOB PRIORITY shows my userid, and the local chains shows BW_USER id.
Regards
venuscm
Edited by: venu WAD on Nov 18, 2011 6:37 AMCheck what's job priority for particular cube in TA RSRT->double click on your chain->menu Process chain->Attributes->Job Priority. Via this you can set priority as you need.
-
Local Process Chain becomes inactive
Hi BWers,
We are having problems with our process chain wherein one of the local process chain becomes inactive. Here's the job log of the BI_PROCESS_CHAIN job. Will give points even for those who can give hints, better if solved.
1. Job started
2. Step 001 started (program RSPROCESS, variant &0000000753000, user ID BATCH_AP1)
3. Version 'M' of chain YWAR_MPC_INTERRUPTS_MD_TD was saved without checking
4. Chain Is OK
5. Version 'A' of chain YWAR_MPC_INTERRUPTS_MD_TD was saved without checking
6. Object with runtime number 0' not defined
7. Job cancelled after system exception ERROR_MESSAGE
Thank You in advance!Hi
you have pasted the process chain log, as the process was terminated, i required the dump information from the st22 and system messages from the sm21 concerned messages.
Please provide the above infomation to resolve your problem.
Regards
Anwer Waseem
SAP BASIS -
Local process chain is removed from global chain
Hi firends,
when i try to schdule my global process chain whats
happening is
saying that:
1.version 'm' of chain zprocess_stor was saved without
checking
2.version 'A' of chain zprocess_stor was saved without
checking
3.chain is removed from scduling(means local chain)
i saved the local process chains and activated also
but agian it is giving the same error,
can anyone plz give me solution urgent for me
Regards,
gunasekharHi Gunasekhar,
Check in system log for the job to see why the background process is being removed. If the issue is unique job count, check sap Note 784969 - The RSBTCDEL2 program and sap Note - 942804
this should help solve this issue.
Chandra M
Maybe you are looking for
-
How do I take off some of the ipods on my account that are no longer in use?
I've had an iTunes account for a while and ipods have come and gone - Some of those that are gone are still registered so I can't add new ones to our account. Does anyone know how to help? Now, my husband has an iPhone and we can't get it to sync t
-
Bug in Firmware v5.0616.2.0.3 of N70
I don't know, if the firmware-engineerings of Nokia also reading this forum . . . Since v5 of the firmware of the N70, i discovered 2 problems: 1. When sending a portrait-picture via mms, de picture is crippled to landscape ! :-( 2. The "Series60Skin
-
Hi all, Hope you can help me for this case. In company X, they have a common sales process like this: step 1 - Company X send Sales Order to Customer T with total amount $50000 for 5000m3 boards step 2 - Customer T pay 1st Down Payment $20000 step 3
-
Bridge Exe. preventing loading of Premiere_Elements_10 Programme
I am trying to load Adobe Premiere Elements 10, Disc No:2 on my PC operating on "Windows 7 - 64 bit system" and keep getting this message: "The set up has detected that Adobe bridge CS5 5.1 (Bridge exe) is currently in use. Please close all running
-
I need help with installation. Error Message: "Adobe bootstrapper for single installation has encountered a problem."