Process chain and Abap
I have an ABAP Report which does following:
1. Create Selection via parameters - in table lt_sel.
2. Delete CUBE
3. Own implemantation using lt_sel and fill cube.
4. Compress Cube.
Now point 2. and 4. should work in a process chain.
How can i deliver the Abap parameters from 1 to 3 (own implementation class)???
You question is not clear enough for me. I need more detail. For example, what are your selecting? Data that goes into a cube, or a selection of cube names? What do you mean by "own implementation"?
How to deliver what parameters to what? What are the process types in your process chain? Are you asking how to develop your own process chain type?
etc, etc,
matt
Similar Messages
-
Trigger process chain in ABAP program
Hi Experts,
We have a requirement to trigger the process chain from an ABAP program. I used the function module RSPC_API_CHAIN_START to trigger the process by passing the process chain name in 'I_CHAIN' and it worked. However, the client wants to trigger this using batch user name as few planners do not have authorization when they executed the custom transaction.
Based on the return code of the function module I am capturing the status for tracking.
Please suggest if there is any alternate solution to pass the user name while triggering a process chain in an abap program.
Thanks and Regards,
Pavithrahi Chintai,
in bw side, you create a abap program to trigger an event in r/3,
and include this abap program in your process chain, the abap program like
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
eventid = 'ZRUNJOB_DEL'
and in r/3 schedule the program to delete previous data with 'after event',
the event name is same as raise by bw process chain, in this sample ZRUNJOB_DEL.
hope this helps. -
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 -
Transportation of process chains with ABAP variants
Hi,
Could you please help me in finding out how to transport process chains with ABAP variants.
I can transport them, however when transporting them, I overwrite the already existing variants, which is very unfortunate...
Could you please advice.
Thank you in advance!
/BrianHi Ramesh,
Option 1:
You can directly create the process chain in Production. Most of the times ppl do have access to create a process chain in Prod. Kindly check whether you have the authorization to do so.
Option 2:-
I did not suggest to delete the old info-packages in QA and Prod. Let them continue to exist but you may not use them once the process chain is in place. You create the process chain, test it and move it up to Prod. I dont' think the new infopackages will hamper your delta load. The delta is not dependent on the infopackage.
If I were you, I would try the second option and if it does not work during testing then go for the first option.
Bye
Dinesh. -
Ending a process chain with abap program
Hello friends.
Can anyone help me please?
I have a problem with a process chain in BW.
The process chain is triggered by the MF BP_EVENT_RAISE in an custom MF. While the process chain works, the custom MF is monitoring the chain´s log.
This process chain have 2 steps: one is the initial process and the other is a ABAP program. In the abap program there are validations and if exists some error, the program abort and this job (BI_PROCESS_ABAP) is cancelled. The problem is that i have to go to the Tx. RSPC and view the logs fro this chain and in these moment ends th custom MF. In other wors, the MF ciustom ends until i go to the tx RSPC for view the logs.
I need that the program ends the process chain naturally.
Thanks for your help.
Regards.Hi,
You can end a process chain by seeing the variant name and instance name of teh process chain from and finding its corresponding log id,type of process from the table RSPCPROCESSLOG and then executing the standard FM RSPC_PROCESS_FINISH. Here you will have to give the log id,type of process ,vairant name and instance name alongwith the status of the process chain as R to end the process chains.
If you want to aurtomate it you can do that by creating a Z program which will read LOG ID and teh TYPE of process from table RSPCPROCESSLOG on the basis of variant name and the instance name of the process chain and the execute the function module RSPC_PROCESS_FINISH from inside the program.
Navesh -
Trigger Process chain using ABAP code
Hi All,
As per my knowledge there are 2 ways to trigger a process chain using ABAP code :
1) Using FM RSPC_API_CHAIN_START and passing process chain name as the parameter
2)Using FM 'BP_EVENT_RAISE' and passing process event as the parameter, which you can create using SM62 transaction.
I would like to know which one is better to use, in terms of advantage and disadvantage.
Thanks,
PraveenaHi praveena,
check these links ..u .may get some help
Process Chain
Process Chain
How to run a Process Chain
Process chain-parallel process
Regards
BILL -
URGENT:Process Chains And events Related
Hi All,
I have created a new process chain which is a normal ODS Process Chain.For that I started with the start Process and then created event in sm62 to trigger the start of process chain.Similarly,I have at the end of the process chain ,I have added 2 ABAP Programs ,one to mark the successful completion of process chain and another to mark the Error or Unsuccessful completion.For these programs,I maintaines Processvariants and here, we have utility Programs.So used the relevant utility program and created a program variant and Events ,One for successful completion of process chain and another to mark the Error or Unsuccessful completion.
But ,Now ,I find that when I trigger the eventin sm64,I find that the process chain is not being run.Is that any problem with the events I created.This is the first i am involved with creation of events in SM62.Can anyone help me in this regard.
Can anyone,tell me thatdo we need to do anything else apart from Creating events .Imean like assigning jobs and then Programs in the Step of that Job.
Please Kindly help me in this regard.It is very very urgent for me.Thank you.Points will be assigned.
Regards,
SamirHi,
I have tried in the same way you have said .I have maintained as after event and activated and scheduled.after that i triggered the event insm64.But still,I am not able to see the Load in RSMO.
I have just checked out in sm37.And found that some jobs have failed.I think this might be the reason for the Process chain to not run.
I am just pasting the error msg and solution.
Job BI_PROCESS_ABAP, waiting for event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F, has no predecessor
Message no. RSPC003
Diagnosis
Although job BI_PROCESS_ABAP has been started by event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F and is recognized in the process chain, the current run for this process has no job preceding it.
This is why the system was unable to determine a log ID, and the chain is broken.
System response
The job has been terminated.
Procedure
With the exception of the start process, each process must have a process that precedes it.
Then Another error for the another cancelled job is
Job BI_PROCESS_OR, waiting for event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF, has no predecessor
Message no. RSPC003
Diagnosis
Although job BI_PROCESS_OR has been started by event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF and is recognized in the process chain, the current run for this process has no job preceding it.
This is why the system was unable to determine a log ID, and the chain is broken.
System response
The job has been terminated.
Procedure
With the exception of the start process, each process must have a process that precedes it.
Please kindly help me if you understand the problem.
Thanks,
Samir -
Hello all,
We are currently having a problem with submitting process chains. When the chain runs it does not display any of steps in the process chain and where they are running from the job we submit (RSI_START_BW_CHAIN) So what we see is that the PC has been submited and completes in say 17seconds...however everything is still running on the system...for example our CIF PC runs for 3hrs but alls we are able to see is that the job executed from CPS with no problem. I've been digging around trying to find clear documenation about PC and CPS with little luck. Am I approaching the job submission incorrectly? We are on 7.0.3.Hello,
You should be using the RSI_RUN_BW_CHAIN job to start process chains. Maybe you can try that first. For the rest things should be straight forward. Depending on the BW backend systems you might encounter some issues, with BW 7 the synchronization has changed and you would be better of using one of the latest 7.0.4 versions (SP6 has just been released).
Regards Gerben -
Process Chain and Info Package Transportation?
Hello All
Case 1
How to transport a Process chain and a Info Package Individually?(<b>first time from DEV to QA</b>)
Case 2
I have 9(<b>IP1 to IP9</b>)infopackages and 3(<b>P1 to P3</b>) Process chains and in each Process chain I have 3 Info packages like IP1,IP2,IP3 in P1 and so on.,
Now is it necessary to transport Infopackages and Process chains individually or is it enough to transport Process chains only(If v transport Process chains will the Infopackages will also transport)then how to assign a request to each one?
What I mean is,all <b>Infopackages are in $TMP(Package</b>),and Process chain is also <b>$TMP</b>,Now is it necessary to change the package for Infopackages as well as Process chain and Tranport only PC,Iam confused here,can anyone help me out?
Many thanks
balajiHi Balaji,
If you have created new infopackages then you have to transport them. It is not necssary to transport the info-packages if you have them in the process chain but have not changed them.
Also you cannot transport any BW object with $ tmp package. Assign a package and then transport the objects.
The best way to transport the process chain is from the RSPC screen. Click the transport button there and collect all the objects and transport them.
Bye
Dinesh -
Hi Experts,
I am facing problem in process chain execution in the AND node. The error is
This AND process is not waiting for event RSPROCESS, parameter 4941U4Q6QKIR8RFKMAZWYP5JB
I checked the log in ST22 but there is nothing , also no error msg in display msg or maintain variant.
is there any solution?Hi Soniya.....
The problem is due to the successor process is not activated, again try to
activate the process chain and schedule it.........
As a work around.........if instance and variant is already generated........then continue the process chain using the program : RSPC_PROCESS_FINISH.......
otherwise copy the rest of the chain and execute............To do this open the chain using RSPC1>> in the top where we write tcode.........there write COPY.........Give a name to the new chain.....remove all the processes till AND process...........then create a new Start process..........make the start condition as immediate..........and schedule the chain...
Hope this helps......
Regards,
Debjani....... -
How to process process chain in ABAP program
Hi,buddy:
If I want to start Process Chain in ABAP program,then which code or function can be used?
Best Regards.
Martin XieHi Martin,
How-to trigger a process chain using ABAP?
Hope it suffice,
Cheers
SRS -
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 find deleted process chain and query
Hi All
Some body has deleted one process chain and one query from development system
how can i know who has deleted these?
is there any table where deleted process chain and queries will maintain????
Thanks & Regards,
Krishna
Edited by: krishnamurthy g on Sep 1, 2008 5:33 PMHi,
Usually its totally in tractable to find a deleted chain :
But you can try out with the following options:
1> T-code SLG2 .
2> T-code SLG1 - find out who was logged on to the system on that particular client at that time.
3> Try out the following tables in se16 :
RSPCLOGS --- Application Logs for the Process Chains
RSPCLOGCHAIN --- Cross-Table Log ID / Chain ID
RSPCCOMMANDLOG --- System Command Execution Logs (Process Chains) .
Hope it will be expedite.
Thax & Regards.
Vaibhave Sharma -
Authorization objects for Process chain and Data source in BW 3.x
Hi,
Can any one tell me the authorization objects regaring process chain and Data source in BW 3.x versions. I guess we have auth objects for both of them in BW 3.5 that is S_RS_PC AND S_RS_DS .
Can any one help me solving this issue
Thanks
BharatHi bharat
I dont thin these objects are part of 3.0
check from SU03 weather these objects are present in 3.o box
In 7.0 they exist:
http://help.sap.com/saphelp_bw33/helpdata/en/8b/134c3b5710486be10000000a11402f/frameset.htm
TO see weather these objects exist:
Go to Tools -> Administration ->User maintenance ->Information System -> Authorization objects -> Authorization objects by Complex Selection Criteria -> By Object Class. For the object class, enter either RS (for Business Information Warehouse objects)
OR
S_BCE_68001413 (Tcode for this rep)
Thanks,
Raj -
Authorization objects for Process chain and Data sources in BW 3.x version
Hi,
Can any one tell me the authorization objects regaring process chain and Data source in BW 3.x versions. I guess we have auth objects for both of them in BW 3.5 that is S_RS_PC AND S_RS_DS .
Can any one help me solving this issue
Thanks
Bharatits the same thread again
/community [original link is broken]
Thanks,
Raj
Maybe you are looking for
-
Can anyone help? Itunes installation problem with my ipod shuffle.
Hello I've just bought an ipod shuffle and to get it up and running I need to install itunes 10 (I have a mac with itunes 9) . My computer won't allow me to do this, everytime I click on the itunes icon it says 'Couldn't open "Install iTunes.pkg". Th
-
How to restore time machine backup without disturbing already installed app
Hi! My school recently reconfigured/reformatted my macbook and install the school image. Now it is filled with applications that the school help us installed. Now how do i restore the backup that my time machine backups last time? Migration assistant
-
Loading to Parent -Child Tables simultaneously
I have a requirement to populate parent-child tables in a single interface simultaneoulsy. I couldnt find anyway to add multiple targets and am wondering why this key feature is absent in ODI. The same thing is easily achievable in BPEL. Could some o
-
Printing a WA document in Workspace
I have a WA document that consists of a dashboard of 4 objects (spreadsheets and charts) in a 2x2 matrix. All objects are on a single panel, and I have manually aligned them. When I open the document in Workspace, all objects are properly aligned on
-
Facebook integration - group messaging
I'm considering the purchase of a BlackBerry Z10, and would like to know if it's possible to conduct group Facebook chats with (or without) the use of a separate Facebook app. I'm comparing to Windows Phone 8, in which it's not possible without a sep