Process chain: manual data change as start process?
Hi,
i have two BWs in which i hold identical InfoObjects (master data). now i want to use a process chain to transfer any changes made to the data in BW X into that object in BW Y.
is it possible to use manual changes of this master data as a start process for the process chain? i only saw the possibility to use InfoPackages and so on. but my process chain should just be triggered by a manual change in the master data attributes.
how do i configure an event as a trigger for the process chain? i do not see the purpose of a start process because i do not see how i can link it with an event...
cheers,
stefan
Message was edited by: Stefan Voltz
Hi Ram,
i hope I understood everything right.
the table that you called "ztest1" I replaced with /BIC/PVCOM1_U02. That is the copy of the master data from the remote system.
The table in the local system, with which we compare the table /BIC/PVCOM1_U02, has the name /BIC/PVCOM1.
The name of the event I created is called "VCOM_DATA_CHANGE".
And here it goes...
****************BEGIN OF PROGRAM**********
*& Report Z_EVENT_DATA_CHANGE
REPORT Z_EVENT_DATA_CHANGE.
/BIC/PVCOM1_U02 is the table copied from the remote system
/BIC/PVCOM1 is the table containing the master data on the current system
tables: /BIC/PVCOM1_U02, /BIC/PVCOM1.
data: zrec_old(15), zrec_new(15) type c.
data: ztest_old type /BIC/PVCOM1_U02 occurs 10 with header line,
ztest_new type /BIC/PVCOM1 occurs 10 with header line.
select * from /BIC/PVCOM1_U02 into TABLE ztest_old.
zrec_old = sy-dbcnt.
select * from /BIC/PVCOM1 into TABLE ztest_new
where OBJVERS = 'A'.
zrec_new = sy-dbcnt.
if i understood correctly, we sort the tables by field names
so i replaced CURRENCY and ANSALARY by /BIC/PVCOM2_U02, which is the only field in my table beside /BIC/PVCOM1_U02
sort ztest_old by /BIC/ZTEST1 CURRENCY ANSALARY.
sort ztest_old by /BIC/PVCOM1_02 /BIC/PVCOM2_U02.
sort ztest_new by /BIC/PVCOM1 /BIS/PVCOM2.
if zrec_old <> zrec_new.
perform event_raise.
else.
loop at ztest_new.
read table ztest_old with key
/BIC/PVCOM1_U02 = ztest_new-/BIC/PVCOM1 "dot missing?
/BIC/PVCOM2_U02 = ztest_new-/BIC/PVCOM2.
if sy-subrc <> 0.
perform event_raise.
endif.
endloop.
endif.
*& Form event_raise
text
--> p1 text
<-- p2 text
FORM event_raise .
CALL FUNCTION 'BP_EVENT_RAISE'
EXPORTING
EVENTID = 'VCOM_DATA_CHANGE'
EVENTPARM = ' '
TARGET_INSTANCE = ' '
EXCEPTIONS
BAD_EVENTID = 1
EVENTID_DOES_NOT_EXIST = 2
EVENTID_MISSING = 3
RAISE_FAILED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at ztest_new.
move-corresponding ztest_new to /BIC/PVCOM1_U02.
modify /BIC/PVCOM1_U02.
commit work.
endloop.
LEAVE PROGRAM.
ENDFORM. " event_raise
****************END OF PROGRAM**********
Thanks for helping me again.
I will now find out, how two implement and schedule this program. And how to run the process chain based on that event.
Stefan
Similar Messages
-
Data Change event triggering Process hangs in Process chain
HI Folks,
In a daily running Process chain we have a Data Change event triggering Process , to trigger broadcasting settings
This process is running for a long time , with no progress
in SM50 , there are 2 process
Process 1 : RSRD_BROADCAST_STARTER Status : OnHold Reason : SLEEP
Process 2 : SAPLRSRD_X_RUNTIME Status : OnHold Reason : RFC
I tried to change the Parallel Processing setting as Number of Processes = 1
But still the process is hanging.
Any inputs will be a great help.
Thanks
Sonal......
P.S : SAP_BW 700 0022 SAPKW70022 SAP NetWeaver BI 7.0 and EP 6.0
Edited by: Sonal Patel on Feb 2, 2010 1:47 PMHi sonal,
I would suggest you to uninstall all the components and start all new again, n please make sure you have the following order :-
1) install GUI 710 along with BEx 7.0 and 3.x complete.
2) install BW AddOn (bw350gui710_8-10004473.exe latest one from Service market Place).
3) Install BI AddOn (bi710sp11_1100-10004472.exe latest one from Service market Place).
4) Install SAP precalc server (xPreCalServer10_1-10004472.exe, latest one from Service market Place).
In service market place you can get the components from Downloads ->Support Packages and Patches -> Entry by Application Group -> "SAP Frontend Components"
Also, plz make sure that you restart your Server OS after each and every installation.
This would solve your problem.
Rgds,
Sreekul Nair -
Including an Event Data Change in a Process Chain
There is a step called "_Execution with Data Change in InfoProvider_" in the process of including event data change in a process chain.
How do we carryout this? should this be done in Bex or in process chain itself?Dear Eshwari,
1) To get the 'Execution on data change' option, you need to have aprocess chain with the 'Event data
change' process type which contains 'the infoprovider' (The infoprovider, over which the query is created
which you are trying to broadcast) in the process variant of it.
2) Further more, additional authorization is also needed in order for the user to see such scheduling options in broadcaster.
Please assign this authorization object to the affected users.
BEx Broadcasting Authorization to Schedule S_RS_BCS
Activity *
Event ID in Broadcasting Frame *
Event Type in Broadcasting Fra <== Here you should select*
ID of a BI Reporting Object in *
Type of BI Reporting Object in *
3) Please also ensure the user has not only the Busines Explorer role but also Business Intelligence role in Portal,
Regards,
Arvind -
Hi i have 50 infoobjects as part of my aggregates and in that 10 infoobjects have received changes in masterdata.so in my process chain the Attribute change run in running for a long time.can i kill the job and repeat the same.
Hi,
I believe this would be your Prod system, so don't just cancel it but look at the job log. If it is still processing then don't kill it and wait for the change run to complete but if you can see that nothing is happening and it is stuck for a long time then you can go ahead and cancel it.
But please be sure, as these kind of jobs can create problems if you cancel them in the middle of a job.
Regards,
Arminder Singh -
Trigger Process Chain Manually
Hello Experts,
Is there any way we can let a business user trigger a process chain manually without having to log in back-end?
Ideal would be via an HTTP-link just posted on the customer's Intranet... do you have any suggestions?
Thanks!
Best Regards,
RikardHi Arun,
Thank you for your answer. This seems to fit my need, although I'm new to BSP pages. I did however find this very useful guide:
<<http://wiki.sdn.sap.com/wiki/display/BSP/BSP%2Citstabsandnavigation.>>
What is needed to use such pages? Any special installation other than the front-end? Could any business user with just the sapGUI installed reach the page on the intranet and trigger the load via a button (event)?
Regards,
Rikard
Edited by: Rikard Edvardsson on Sep 16, 2009 11:29 PM
Edited by: Rikard Edvardsson on Sep 16, 2009 11:31 PM -
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 -
Hello,
Dos somebody know how to find possibility of manual data change in the planning layout of SEM-BPS?
Thanks for answers.Hello Svetlana,
When you meant "to add new (or change existing) data in a planning layout, you have to make use of the function module
<b>API_SEMBPS_SETDATA.</b>
The parameters what you have to pass are:
1) Planning area
2) Planning level (where your layout is defined)
3) Planning package
4) Planning Laoyut
5) Characteristic values of each row
Check the documentation of the Funtion Module (CTRL+F4).
<b><i>1) Be sure to convert the key figure values in string format, otherwise you would get a runtime error.
2) Make sure that no two rows have same keys (characteristic value tuples)
3) Make sure that all the characteristic values are contained in the planning level (Check the filters)</i></b>
A simple working example (ABAP Code) you have it from me when things dosen't go forwards.
Thanks and Good Luck! -
Fee calculation if fee calculation data change after start of academic year
Hi,
If I change "Fee calculation data" on student file (piqstm) after start of academic year, fee calculation doesn't use new data even I enter a fee calculation date later than new fee calculation data valid date. If I adjust validity date of "fee calculation data" at the beginning of start date of academic year It works. But I couldn't manage changes on fee calculation data after "start date of academic year".
Is it possible to calculate fees with new "fee calculation data" if the data changes after start of academic year?
ThanksHi Joachim
We have not yet implemented the BAdI, we are using the standard to do the fee calculation. I guess we are gonna have to post a OSS message, cause as soon as I calculate the fee for a student and I run again the fee calculation for the same student without any changes at all, the system creates 2 new documents. I had this effect in the past but only as if you stated I changed something, like a condition or something but now is without any changes that this happens.
About the BAdI, the problem is that in our college they have more than 70 SC per campus (and the school has more than 12 campuses). The Campus Management team decided that they were going to use only 70 central SC instead of (12 x 70). By doing that we have to use a new derivation system cause the SC is attached a central school. But the reports have to be per campus. So we have plan to derivate the company code and the business area using some registration data (instead of getting it from the SC links). The same will be happening to the cost centers and profit centers.
Thank you Joachim
Sergio Artinano -
Process Chain Master Data Failed.Showing Entire chain has status R
Hi,
Everyday SDMasterChain is running successfully.
Today one of the localChain or subchain has failed.
I have noticed that it has failed because last delta for one infoPackage has not yet completed and chain showing status "Entire chain now has status 'R'"
Can anybody resolve the issue?
Below is te log for the error.
Job started
Step 001 started (program RSPROCESS, variant &0000000113991, user ID ALEREMOTE)
Last delta upload not yet completed. Cancel
Data saved successfully
Start InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2
Last delta upload not yet completed. Cancel
Last delta upload not yet completed. Cancel
InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2 created request
Request REQU_449HFL0OFD22BSU2GX1X2MJJJ could not be generated with InfoPackage REQU_449HFL0OFD22BSU2GX1X2MJJJ without errors
Last delta upload not yet completed. Cancel
Error After Starting InfoPackage ZPAK_3VB5JI5I0N6QJ7RFSFU7Z3PF2 in Process Chain
Entire chain now has status 'R'
Process Attribute Change Run, variant Compounding Object has status Undefined (instance )
Process Save Hierarchy, variant Generated from LOADING ZPAK_3VBSFASA7NWCNP1JX9WXI5 has status Undefined (instance )
Process Execute InfoPackage, variant 0CUST_SALES_ATTR - Full has status Undefined (instance )
Process Execute InfoPackage, variant 0CUST_SALES_TEXT has status Undefined (instance )
Process Execute InfoPackage, variant 0CUST_SALES_TID_LKDH_HIER has status Undefined (instance )
Process Execute InfoPackage, variant ZMAT_SALET - TEXT has status Undefined (instance )
Process Start Process, variant Bekaert Master Data Loads - Start Variant has status Undefined (instance 449HEDPDI8N6AP5XKDUODJS6N)
Process Execute InfoPackage, variant Load from 0MAT_SALES_ATTR into ZMAT_SALE has status Undefined (instance REQU_449HB4K9K3W7GPJEF52YM83N3)
Process Execute InfoPackage, variant Load from 0MAT_SALES_TEXT into ZMAT_SALE has status Undefined (instance REQU_449HJOO6322QV09OL73P18ODR)
Process Execute InfoPackage, variant ZMAT_SALEM - ATTR - FULL has status Undefined (instance REQU_449HEJW4S44QAUTY9LQKH4QY7)
Process Execute InfoPackage, variant Delta load from 0MAT_PLANT_ATTR into 0MAT_PLANT has status Undefined (instance REQU_449HFL0OFD22BSU2GX1X2MJJJ)
Termination of chain has been reported to meta chain 449CKM1O64AHRLQJLNZ2GBWQ7
Message sent successfully
Job finished
Rgds,
CV.Hi,
There are times when Master Data load compel us to do Re-Init. I guess you need a Re-Init.
Check theses links:
1: Re: Update mode R is not supported by the extraction API
2: pl help me with repeat delta for text info object
Regards
Happy Tony -
Hi Experts
I have about 10 ODS's for which data is being extracted from R/3. The user may or may not make changes to the data in R/3.
Client does not want to click on 10 different start button of infopackages.
Client doesnt want a full upload daily so i cant schedule the process chain at a particular time.
What I want is on a single click or something like that all the ODS should take data from their respective tables from R/3.
What options do i have to implement it?
Please help
Regards
Akshay ChonkarHi Akshay,
Your message can be considered in two ways.
1.) If you are running delta extractions into DSO's then, you can run the extraction job by embedding the Infopackages into Process Chains and scheduling them to run on a particular time daily.
2.) If you are running full updates, you can still include all the infopackages into Process Chains. As you said, client doesn't want to run the Process Chain daily, it means client would be knowing when the extraction job needs to be run. So, you can execute the Process Chain "Immediately" instead of periodic scheduling.
Hope this could have cleared your query to some extent.
Regards,
Ravi Kishore -
Error in process chain (psa data)
We have got an error in our PROCESS chain for master data.
Info object Name : 0customer
In that it was showing there was error in our request. When I wanted to correct data in the request there it was showing no error records. All the records are good and also it is showing as error in request. I have deleted the request from infoobject and also from the PSA. And the last updated good request is also showing error as No data packets available for the request .
0Customer is delta update ; Process chain is daily based.
My doubt is whether the records in the deleted requests will be reloaded again from sap R/3 into PSA, as requests during Process chain or not.
While monitoring the request details in Monitor u2013 Administrator Work bench, it shows the following:
1. Requests (messages) Everything Ok
2. Extraction (messages) Missing messages
3. Transfer (IDocs and TRFC) Missing messages
4. Processing (data Packet) No data
5. Process chains : Everything Ok.
Even after deleting the requests my process chain is not getting updated.
Kindly help me in solving the above problem
Regards
PadmaHi,
Once deleted the request, try to manually trigger the load and see whether it completes. if it completes and pulls reocrd then you can push the chain process ahead with the program RSPC_PROCESS_FINISH
Regds,
Shashank -
Process Chain - Master data Reorganizing and Realignment
Hello Experts,
1) Could you provide me the best practice on using the Re-organizing the master data for Time independant and time dependant attributes/texts.
2) In addition to attribute change run for Master data attr/hier/texts, how significantly it would help by adding Re-organizing the master data process step to the master data load process chains ? Is it mandatory to have this step at all ?
3) Is it sufficient to run the realignment for attributes alone or you have to run it again after loading the hierarchies ?
4) Advice whether to add Re-organize master data step for every single attribute and texts since it cant be grouped like other process types such as attribute realignment run!
Look forward for your updates!
Thank you, VijayHallo
Please have allok at the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
Probably it is not mandatory but if your masterdata is a mess than it would be better on performance
Mike -
Process chains- different data loads at different points of time
hi friends
i want to load master data at 4am
and then i want to load transaction data at 4:25 am
how can i achieve this by using process chains
to load other datas also at different times and where we have to specify this different timings?
thanks in advanceHi Venkat,
Create Processchain for your data & follow the belo steps -
In Processchain Double click on start button -
1) Select direct scheduling option
2) clcik maintain selections
3) give the date & time when you want to run the job.
4) according the time that you given in selections the job is going to start.
Regards,
Lakshman kumar Ghattamaneni -
Hi
I have created a process chain and i have set it to run every day night.
The selection in the infopackage must be the present date like today 2007.09.16 and tomorrow it should be 2007.09.17.
Is there any way where it can change the date automatically instead of me changing the date in info package daily and activating the process chain daily.
Thanks
sandeepHi
check these links...might be helpful for you.
Re: scheduling process chain 3 specific times a day
Re: How to schedule process chain to run only during specific time.
Process chain schedule daily twice
regards
biplab
<i>***Reward with points if it helps u!!</i>
Maybe you are looking for
-
Upload a Fixed Length file in terms of Bytes..
Hi, Here is my query. I have a fixed length file that I need to upload into my program from my presentation server. The file is in a Shift-JIS Format. The file is a fixed length format. But it is fixed interms of the number of bytes that each column
-
EDI to FILE scenario Problem.
H, I am working on EDI to FIle scenario. in PI 7.1 I am getting output as XML Format . Present output. <BEG01>00<BEG01> <BEG02>02<BEG02> <BEG03>01<BEG03> But I need output as 000102.(No segment data) How woulds i change this xml format into normal
-
Dear forum, I have a compaq laptop. With a HP DVDRAM GT50N ATA Device as DVD burner. But all the time i get an error. The error code is 0xc0aa0301 . I have followed this tutorial but i doesn't work . Can anybody help? Greetings.
-
Layer 3 peering over VPC+
Hi, we are doing a customer deployment in which 2 x n7ks are fabricpath enabled and are doing vpc+ all the devices that are dual attached to them. We need to connect the ASAs to them and the customer wants to do dynamic layer 3 peering. (Not static
-
Export Link Annotation in XFDF
Hello I am developing a plugin for Adobe Professional which needs to export all annotations in an xfdf format. All annotations are getting exported correctly, except the link annotation. When i create a link annotation and other annotations in a pdf