Including APD and ACR in process chains
Hello,
I have a process chain where I want to execute an APD. In this APD, I will update an attribute of masterdata.
After the APD is finished I want to start (from the process chain) an ACR on this masterdata. In the previous version I solved this with building in the process chain a waiting time for the ACR. Now, on version 7, this waiting time option is gone?
Does anybody have a clean solution on how to solve this?
regards A.V.J
Hi,
Create a Event Based Process Chain for the ACR and then check whether you can include the ABAP Routine which can trigger the event for the Process Chain using the program 'YGT_RFC_EVENT_RAISE' in your APD .
Hope it helps!!!
Cheers,
Neelesh Jain.
Edited by: Neelesh Jain on May 5, 2008 12:41 PM
Edited by: Neelesh Jain on May 5, 2008 12:44 PM
Similar Messages
-
How to include an ABAP program in process Chain
Hello Gurus,
I have a situation where I have to go to SE38 and run an ABAP program which fills the active table of ODS2 by taking data from another ODS1.The data from ODS2 is again fed to another ODS3. So my question now is how do I create a process chain which takes care of this scenario.Especially include ABAP program in the process chain.Looking forward to your replies.
Regards,
Kalyanhi,
take a look 'how to' ABAP in process chain
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3507aa90-0201-0010-6891-d7df8c4722f7 -
Selective Deletion From Cube and ODS using Process chain
Hi all,
is there any way that i can include selective deletion in a process chain, there is no stand process types for selective deletion, I need to delete the closed items from cube and ods and i need to schedule this??? any ideas?
Thanks,
Shetty.Shetty,
You can delete Data from this using One custom Program. You need to use either RSDRD_SEL_DELETION(function module ) or RSDRD_BUILD_REPORT_FOR_BATCH(Function Module). there is a parameter in above functioen modules I_THX_SEL which needs to be populated using selections.
or
You need to schedule the Background job from Manage screen on Monthly Basis(Provided that selection should be fixed in every month).
I will update the thread with psudo code.
all the best.
Regards,
Nagesh Ganisetti.
Message was edited by:
Nagesh Ganisetti -
AND (LAST) in process chain
Hello,
Does AND (LAST) in process chain means that all previos processes were succesfully done and the next process can be performed?
AYes - AND is used when you want to trigger a process after a number of events . Using "AND" will trigger an outcome when the last of the events it has waited for is triggered. AND is very useful when you want dependencies to be strictly adhered to in process chains.
-
Two buttons "Activate" and "Activate and Schedul" in Process Chain
What are the functionalities of the two picture buttons "Activate" and "Activate and Schedule" in process chain. In which case the "Activate" button should be used and in which case, the "Activate and Schedule" button should be used? If we click the Start variant of a process chain, then click "Change Selections" button which bring up the window "Start Time" where the buttons "Immediate", "Date/Time", "After job", and "After event" are listed at the top. If we modify at any of the above buttons, then after save this modification, we will have to click "Activate and Schedule" button to make it work, right?
Thanks a lot and everyone's idea is greatly appreciated!Hi Kevin,
Simply activating ur PC wont trigger ur PC. U have to use the other option Activate and Schedule then only the process chain trigger as per the scheduled option.
U can give the Date/Time option and if it is a periodic job then u can specify the periodicity, later save all the things and when u come back to RSPC screen then click the 'Activate and Schedule' Button which looks like a clock.
When u do this then ur process chain will be in released status.
When ever if u activate ur chain will be with the Green color it means that its in Active status. But if u choose the second button then only ur chain will gets trigger..
Regards-
MM
Assign points if it helps
Message was edited by: vishnuC -
Why can't we change and activate a process chain while it is running?
why can't we change and activate a process chain while it is running?
Hi.........
Yes u can activate the changed PC...............but don't schedule it...........
If u schedule the Chain............when the current chain is running..............it will get stucked in the process..............which was executing ........at the time when it was scheduled.............
I thnk u hav made some chainges in the PC in Planning mode.............right...............Activate it............after the completion of the current run of the chain............schedule the chain........
Regards,
Debjani......... -
AND OPERATION AT PROCESS CHAIN
Hi bw experts,
I am facing a problem frequently. Daily a process chain failed frequently at the AND operation. What is the exactly the situation is before the AND operation there are three local chains are there and after the AND operation there are one more local chain and program is there. Even it not taking repeat at the AND operation.The message showing that previous chains are not completed. Anyhow we running it manually . What are the possible reasons for failure of the AND operation.
But what may be the permanent solution to this problem.
Thanks& Regards
Vinod krHi Vinod,
Before AND operation there are three Local process chains if these three local chains are successful completion only then AND operation is success.
Suppose if you correct the three local chains errors manually ,you have to start the AND process by REPEAT option.Because the the three local chains are not success through the chain.
If it is useful please assign some points
Regards,
Madhu Ponnada -
Failind AND step of process chain
Hi all
I am facing problem with AND step in one process chain.
AND step is failing as soon as chain is triggered.
All the proceses before AND are executing properly with GREEN Status.
"This AND process is not waiting for event RSPROCESS, parameter 4BYB726KFX6RHP8SWWPP1CIR9" is the message displayed... parameter mentioned is a DTP.
Please Help
Thanks
SUDEEPDid you transport the process chain again?
Go to edit mode of the process chain, right click on AND, maintain and press Ok ! try to activate the process chain again and see if that shows any error.
- Danny -
Delete request in ODS and Cube from process chain
Hi Experts,
I have the next situation: I have a process that each month need to extract data with a selection criteria of fiscalperiod and fiscalyear, only I can maintain a data request with this selection. For this, I need a delete the old request when I am extracting new data with the same selection criteria, in ODS and Cube.
Is it possible?
Thank you very much for your collaboration.
Regards,
JeysiHi Jeysi,
DSO works on 'Overwrite' principle.
You need to check your data source.(The images your data source sends).
Even if your updating the key figures using addition method, the data source will send you the correct images and correct delta to keep your DSO as a reflection of the latest image of your source system.
Hence you would not require to delete a request with the same selection in the DSO.
Moreover, if you have a cube at the downstream of the DSO, loading deltas from the DSO to cube would alone be sufficient and you would not need to use delete overlapping request.
However, if you are loading full request to the cube from the data source with the selections of fiscal year and fiscal period , then yes you do require delete overlapping selections.
In 3.x data flow, this was configured in infopackage in data target tab there is one column for automatic deletions, here you could set the conditions on which the overlapping request in the data target(cube) in this case should be deleted.
In process chain, you can use , delete overlapping request from the process chain.under application node, load process and post processing.(This can be configured for both infopackages and DTP's)
Hope this helps,
Regards,
Sunmit. -
How can we change the description and name of Process Chain in Production
Guys,
Can anyone please help me to understand how can we change the name and description of the process chains in Production in SAP BI?
Regardsopen the process chain and go to edit mode and then press Ctrl+F6 for a rename... you can only rename the description and not the technical name.
If you want to edit PC in production - esp one which has been transported - go to transport connection and change the object changeability for the same to everything changeable ( right click on the same to get this option ) -
Delta and Full load Process Chain
Hi Guru`s,
I have a one standard target (infocube) which is fetching data from the 3 datasources. Out of 3 datasources 2 are standard datasources and 1 is Generic datasource (Custom datasource).
These 2 standard datasources have Delta load and Generic datasource have full load.
I have to design the process chain by using Full load and Delta load.
Can any body tell me how could I achieve this requirement.
Thanks in Advance,
VenkatHi,
Please check the follwing steps,
Delta chain:
Step- 1 Start varitant
Step- 2 Delete PSA request(Full- ur Genric DS)
Step- 3 delta infopackage1
Step- 4 delta infopackage2
Step- 5 full infopackage(Genric DS)
Step- 6 DTP1
Step- 7 DTP2
Step- 8 DTP3
Full chain:
Step- 1 Start varitant
Step- 2 Delete PSA request for PSA1
Step- 3 Delete PSA request for PSA2
Step- 4Delete PSA request for PSA3
Step- 5 FUll IP1
Step- 6 Full IP2
Step- 7 Full IP3
Step- 8 DTP1
Step- 9 DTP2
Step- 10 DTP3
I have given steps upto DSO only.
Thanks,Girish -
APD and MDX ..process
Hello friedns ..
Need some help .
could any one please let me know what is diff between APD and MDX technology ?
which one is better to use and how it is important in BW ..?
Thanks in advance.hi,
follow this presentation link.... details will be available in page 5 and 6
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/413ba6c1-0d01-0010-1980-ec450e30f23c -
Hi,
I have a process chain that has two parallel processes of loading DSO and Infocube data. There are two infopackages on one side and two on the other side. The two processes are connected with and AND process at the end and after that there is a datastore activation process.
When I executed the process chain, the infopackages on both sides started loading data. The two infopackages on the left side finished first while the second infopackage on the right side had not finished yet when the AND process errored. I get the following message:
This AND process is not waiting for event RSPROCESS , parameter
47VKUORHMXQKR2AN73AVAR0C9
After the AND process I have a Datastore generation process and I want it to continue only when all infopackages have been loaded.
Why does the process stop at AND even though all infopackages have not finished yet?
thanks
MichalisThere was no error message in ST22 or SM37. There was very little info to go on. I just deleted the requests and run the process chain again and there's no error. However the process chain does fail at a later step.
Update Datastore Object Data (Further update)
I don't know what that further update is for. It was automatically selected in my Process chain when I selected the infopackage for the DSO.
There's a MESSAGE_TYPE_X error.
Information on where terminated
Termination occurred in the ABAP program "SAPLRSM2" - in "RSSM_MON_WRITE_3".
The main program was "RSBATCH1 ".
In the source code you have the termination point in line 2659
of the (Include) program "LRSM2U16".
The program "SAPLRSM2" was started as a background job.
Job Name....... "BI_PROCESS_ODSPROCESS"
Job Initiator.. "CSPAPADM"
Job Number..... 14103000
Source Code Extract
Line SourceCde
2629 CALL FUNCTION 'RSSM_GET_TIME'
2630 EXPORTING
2631 i_datum_utc = rsreqdone-tdatum
2632 i_uzeit_utc = rsreqdone-tuzeit
2633 IMPORTING
2634 e_timestamps = l_s_status-t_timestamp.
2635 IF rsreqdone-tstatus(3) = icon_green_light(3) OR
2636 rsreqdone-tstatus(3) = icon_red_light(3).
2637 CALL FUNCTION 'RSSM_GET_TIME'
2638 IMPORTING
2639 e_timestamps = l_s_status-ts_proc_ended.
2640 l_not_yellow = 'X'.
2641 ENDIF.
2642 IF l_not_yellow = 'X'.
2643 CALL FUNCTION 'RSSTATMAN_SET_STATUS'
2644 EXPORTING
2645 i_s_status = l_s_status
2646 i_with_commit = 'X'.
2647 IF l_s_status-t_status(3) = icon_green_light(3) AND
2648 l_s_status-dta_type = 'ODSO' AND
2649 t_data-aufrufer <= '70'.
2650 CALL FUNCTION 'RSS2_CALLBACK_ODSADM_ODS_SUCC'
2651 EXPORTING
2652 i_ods = l_s_status-dta(30)
2653 i_rnr = l_s_status-rnr.
2654 ENDIF.
2655 ENDIF.
2656 ENDLOOP.
2657 IF sy-subrc <> 0.
2658 IF t_data-aufrufer <> '09'.
2660 ENDIF.
2661 ELSE.
2662 IF l_not_yellow = 'X'.
2663 CALL FUNCTION 'RSB1_OSNAME_TO_ICNAME'
2664 EXPORTING
2665 i_osource = g_s_minfo-oltpsource
2666 * I_OSTYPE = RSAOT_C_OSTYPE-TRAN
2667 IMPORTING
2668 e_icname = l_icname
2669 EXCEPTIONS
2670 name_error = 1
2671 OTHERS = 2.
2672 IF sy-subrc = 0.
2673 CALL FUNCTION 'RSAWB_MAINTAIN_DTA'
2674 EXPORTING
2675 i_method = rsatr_c_dta_get
2676 * I_TYPE =
2677 i_objvers = rs_c_objvers-active
2678 i_dta = l_icname
Any idea what that means? Also do I need that further update step in my process chain? -
How to include RSRT into process chain
Hi Gurus ,
I need to include the RSRT into my process chain,
Can anyone guide me
Thanks in advanvceHi,
first of all the report should be regerated only if you have changes in its definition.
More over, generating a query will empty its cache; OK, if you are loading one of its IProvider during this chain then the cache will be invalidated anyway.
I don't get the point of the variables at this stage; the generation of the report is like a "compilation of its code"; not an execution of it.
If you need to execute it once after the loading by the chain (or any other process within your chain) then you can use the reporting agent in order to precalculate it (search this forum for precalculation or help.sap.com).
If you really want to regenerate your query, you'll have to write an ABAP report and add it to your chain;
here you go:
TYPE-POOLS: RRO01.
data: l_s_rkb1d type rsr_s_rkb1d,
l_sx_report type rro01_sx_report,
i_s_repkey LIKE RSZCOMPKEY.
*BREAK-POINT.
SELECT SINGLE GENUNIID INTO i_s_repkey-GENUNIID
FROM RSRREPDIR
WHERE COMPID = 'ZRT_ZICRT_C07_003' "the techname of your query
AND OBJVERS = 'A'.
check sy-subrc = 0.
call function 'RRI_REPDIR_READ'
importing
e_s_rkb1d = l_s_rkb1d
changing
c_s_repkey = i_s_repkey
exceptions
others = 1.
check sy-subrc = 0.
call function 'RRI_REPORT_GENERATE'
exporting
i_pretty_print = ' '
changing
c_sx_report = l_sx_report
c_s_rkb1d = l_s_rkb1d
exceptions
others = 0.
hope this helps...
Olivier. -
How to put APD into process chain ??
Hi all,
I have created a analytical process in the transaction RSANWB. And I would like to incorporate it into process chain. Is it possible ??
Thank in advance
JJHi JJ,
did you get your process chain runing?
I've got the same problem: I want to trigger an analysis process through a process chain. Thanks to this posting and help.sap.com I've added the ABAP programm RSAN_PROCESS_EXECUTE to the process chain and created a program variant for the analysis process to be called. When I 'activate and schedule' the process chain I can only see the job 'BI_PROCESS_TRIGGER' in sm37. The APD won't start...
What am I missing in my process chain?
Thanks in advance,
Alex
Maybe you are looking for
-
Error while creating Web Dynpro DC
Hi, I created a track with the wizard and I chose "Web Dynpro NetWeaver 7.0" as template. Now, when I create a Web Dynpro DC, I get the following error: Development Component Creation completed with some problem. Reason: Some used DCs are not availab
-
I keep getting an apple id sign in screen when i push the home key-how do I get it to stop?
I just bought this iPhone 4s-every few minutes it pops u the Apple ID screen asking for a password-with my friends email addresses as the username-how do I get it to stop?
-
Send midlet jar to mobile file without dongle UI .
i want know its possible to send midlet jar files with UI that are provided bye the dongle manufacturers . somebody told is it possible with some java programs using command line. i dont know about that. so please any one clarify me.
-
Hi, We have our own jca adapter. We are passing String as a parameter to the jca api. We want to encrypt the String and send it to jca api. Does JCA provide anything like SSL or any such thing which can encrypt the payload for jca api's Regards Harsh
-
Is there a way to 'Mark In' & 'Mark Out' ONLY a PORTION of a Track?
Hello I'm doing voice-overs' - no multitrack music creations. I don't see an option much like in FC, where you can extract (for export), only a portion of a track that you've created in Garage Band. Is there? And of course GB automatically shares/exp