Infopackage returns 0 when triggered from process chain
I have an Infopackage triggered by process chain (say PC A) which is further triggered by other meta-chains.
So PC A, is triggered by PC B, and PC B is triggered by PC C.
Daily it returns 0 records.
However, if I run the process chain manually, that is PC A, the infopackage returns correct number of records.
What may be the cause?
Rusyinni
Hi ,
When you are executing through PC then it is running with the user id ALEREMOTE because of not having proper authorization it picking 0 records but when you run the same with your ID manually then you are getting the data for the same .
You need to get in touch with the Basis team to check for the authorization for these 2 ID's .
From my point you can use SU01 to get the information for all the profiles associated with the ID and then with RSECADMIN you can check for the Tcodes and related authorization activity associated with the ID.
Please check and updated accordingly later .
Thanks
Kamal
Similar Messages
-
InfoPackage Hangs when called from Process Chain
We recently implemented the 2LIS_04_P_ARBPL DataSource and have scheduled the execution of a Delta InfoPackage in our nightly Process Chains.
After working correctly for 2 weeks the InfoPackage has hung the last 3 nights. It is being called and when I view the process chain log it is in the yellow (in process) status. When I look in SM37 in R/3 the extractor has not been called.
All of our master data and transactional data from other areas runs prior to this extractor and works perfectly via the process chain and if I force the InfoPackage to red and re-execute manually for 2LIS_04_P_ARBPL I have no problems.
How/where should I troubleshoot this?Hi Jonathan,
Goto your process chain-> Select the delta infopackage -> right click and select wait time and enter the time in seconds. You could set it to 600 secs(10 minutes).
This would be a permanent solution to your problem as you need not go to BD87 each time for your data load.
Bye
Dinesh -
Problems with DBConnect datasources when triggered from pchain (DB2 databas
Hello,
We are using BI 7 and DB Connect functionality to remotely connect to our DB2/DB6 database to extract some data.
We created source system and data sources based on dbconnect and included infopackages, etc. into our process chains to load.
When we schedule process chain to run at certain times, InfoPackages fail at random or continue to run indefinitely. There is no clear error message, other than: Database system cannot be reached or The request is still running in the source system.
We made sure database was up during the times we are trying to schedule process chain. So, this is not the issue. The interesting thing is that whenever we try to run InfoPackages manually (not through pchain), we do not get any errors ever.
It appears that this issue occurs only when the load is triggered from the process chain (BWREMOTE user). And it happens at random. One day it could work fine, another day the same infopckage would fail.
Any ideas of what might be happening?
Thanks
Edited by: AG on Mar 16, 2010 1:30 PMHello,
I am not sure with this just trying to help you..
When you run the infopackage manually it uses the User name and password hard coded in the Source System Connection Settings, and when you run it from process chain does it still use the same username and password as this happens in backgroud please check that.
Also clear any other yellow loads/pending jobs in SM37 of this job(triggered from process chain) type in the past.
waiting for your feedback.
Regards
Nitin Bhatia -
Why the process chain always run twice when triggered from R3?
I run a program from R3 by calling the remote function 'RSSM_EVENT_RAISE' on BW to trigger an event and in turn the event on BW bring up the running of a process chain. But whenever I run the program on R3 to bring up the running of the process chain, I find the process chain always run twice at the same time. Does anybody knows the answer?
And also I would like to know 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!Kevin, make sure there is only one job scehduled for the Start Process of your Process Chain. If you bring up the Process Chain (not the log view), right click on the Start Process and select "Displaying Scheduled Job(s)...". There should only be one scheduled job with name BI_PROCESS_TRIGGER. If there is more than one, then when triggered, it would execute more than once at the same time. If there is only one job, then maybe your R/3 program is triggering the event more than once?
As far as the Start conditions for the Start Process, it works off the same principals as a scheduled job. These start conditions determine when or how the Process Chain is to be executed. You also have control over frequency. These start conditions determine the scheduling of the Start Process of your Process Chain.
When you schedule a Process Chain, a separate scheduled job is created for "each" process in the Chain. BW controls the triggering of these jobs based upon how the processes in the Chain are linked. All the jobs associated with Process Chains have strict naming conventions and all begin with BI_PROCESS_... If you use SM37 to view all jobs that begin with BI_PROCESS_ you will find alot of scheduled jobs associated with your process chains. Each job represents one of the processes within your process chains.
Does this help?
Another tip might be to trigger the event manually in BW (use tx SM64). If the process chain executes twice again, then maybe there is a separate scheduled job in BW that triggers the process chain that is triggered by the same event as the start process of the process chain.
Message was edited by: George Shannon -
DSO activation step has been failing if i activate from process chain
Hello Frnds,
one of the DSO activation step is failing from process chain.
Problem : if i do the activation from PC then only it is failing
If i do the DSO activation manually then it is fine .
Kindly provide your suggestions on this issue.
Thanks & regards
RaviHello Lavanya,
below are the logs for ur reference & process monitor is not genereated
log from Process Tab:
Cannot activate request 0000015877(REQU_4E3YPXSZ5F73H6ZNFZJYWMVJH) of DataStore object ZXXXX
Activation of M records from DataStore object ZOGSDRCA terminated
Job log:
Job started
Step 001 started (program RSPROCESS, variant &0000000015318, user ID ALEREMOTE)
Cannot activate request 0000015877(REQU_4E3YPXSZ5F73H6ZNFZJYWMVJH) of DataStore object ZOGSDRCA
Activation of M records from DataStore object ZOGSDRCA terminated
Cannot activate request 0000015877(REQU_4E3YPXSZ5F73H6ZNFZJYWMVJH) of DataStore object ZOGSDRCA
Activation of M records from DataStore object ZOGSDRCA terminated
Entire chain now has status 'A'
Process Activate DataStore Object Data, variant Activate Data ZOGSDREC has status Undefined (instance )
Process Generate Index, variant Generated from DROPINDEX ZDELETEREC_CAUSE_INDEX has status Undefined (instance )
Process Generate Index, variant Generated from DROPINDEX DELETE_INDEX_ZCGSDREC has status Undefined (instance )
Process Data Transfer Process, variant ZOGSDREC -> ZCGSDREC has status Undefined (instance )
Process Data Transfer Process, variant ZOGSDRCA -> ZCGSDRCA has status Undefined (instance )
Process Delete Index, variant Delete Reclamation causes' index has status Undefined (instance )
Process Delete Index, variant Delete index of ZCGSDREC Reclamations has status Undefined (instance )
Process Start Process, variant Start Reclamation delta load has status Completed (instance 4EQ978RV7JE1BU3MT2YB20A3X)
Process Execute InfoPackage, variant 2LIS_05_Q0NOTIF Delta has status Successfully completed (instance REQU_4EQTTCCMY2XEEPL99XGE9EECT)
Process Execute InfoPackage, variant 2LIS_05_Q0CAUSE Delta has status Successfully completed (instance REQU_4EQG4DHZ6JD3K5UZCR5WP16P9)
Process Data Transfer Process, variant 2LIS_05_Q0NOTIF / EQ2CLNT210 -> ZOGSDREC has status Undefined (instance DTPR_4EQ97CM4OU8SN3TPQ44G2ZMZX)
Process Generate Index, variant Generated from LOADING ZPAK_4BFDG83ZVZM4MDUC6L71H1 has status Successfully completed (instance INDX_4EQ97IDIWSIXM0EU3NVNMGOBX)
Process Activate DataStore Object Data, variant Generated from LOADING ZPAK_4BFDG83ZVZM4MDUC6L71H1 has status Ended with errors (instance ODSA_4EQG4KJGK99HMTOSPBB5WU0BX)
Job finished
Here i am giving process types sequence :
Infopackage -> Create index-> DSO activation.
does this create index is generating any issues ?
Regards
Ravi
Edited by: BIuser on Aug 10, 2009 1:13 PM
Edited by: BIuser on Aug 10, 2009 1:13 PM -
Triggering of process chains based on events
Hello experts,
I have a requirement to trigger the process chain whenever there is a file placed into the application server.
The file comes comes into the application server randomly i.e not periodically and the file name comes with created date and time.
My process chain has to run immediately once file has been placed in the application server.
Can you help me on this?
Regards,
Babu
Please search the forum before posting a thread
Edited by: Pravender on Aug 22, 2011 2:49 PMHi
This means your Event need to run every day to check if the file exist or not? if the file exist in the application server then PC need to be triggered.
Take the help of ABAP person, so that he can implement the logic you are looking for.
Check the below link which can give u idea how to proceed.(its also similar to ur requirement)
Triggering the Process Chains at Particular Date using Events
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f0a41bc6-a7f6-2b10-b3bf-804e1c45ae6c -
Can we call Function Module from Process Chain?
Hello experts,
I have a small question.
Can we call Function Module(SE37) from Process Chain?
If yes can you please provide some example link?
I m new to BI world.
regardsHi,
Create one ABAP program and call the function module from that program. Check the link to know how to call a function module from an ABAP program.
http://help.sap.com/saphelp_wp/helpdata/en/d1/801edb454211d189710000e8322d00/content.htm
http://help.sap.com/saphelp_wp/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm
Then use process type "ABAP Program" in your process chain and add the program you have created. So then this program will be executed via process chain and this program will call the function module.
Indrashis -
Alerts from Process chain to mobile
Hi Experts,
Can any one explain the pre-requisites for getting alerts to mobile from a process chain? We are working in a production environment BW3.5 where we are getting mails for failure or success from Process chain. Now we want to implement the SMS to mobile from Process chain.
Please give the pre-requisites. Surely points will be awarded.
Advance Thanks.
Regards
SiddhardhHi
Sending the SMS alerts are not supported with 3.5 as far my knowledge goes. But can try with WAS
Read 51 page.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b3b9b990-0201-0010-6d8f-e55f09e63bf7
Try this PDF also
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b6d59590-0201-0010-5f9d-adb9f6b14d80
Hope it helps
Edited by: Aduri on Jan 15, 2009 10:56 AM -
Calling r/3 program from process chain
Hi
I did the following steps to call r3 program from process chain :
Steps in R/3 system
1. Created a program which needs to be called from bw and at the end of the program i have calling 'RSPC_ABAP_FINISH' function module & passing the rfc id of bw system and bw process variant.
2. created a even in r/3 (please note that this is not there in bw)
3. Created a job and under start condiion selected 'after event' and mentioned the event created earlier. And under step1 enter the abap program to be executed
Steps in BW system :
1. Created a process chain
2. inserted a process type 'abap program' and selected the call mode 'Asynchronous' and under destination entered the RFC destination of R/3 system. Under scheduled program enterd the event name created in R/3
after executing above process chain, the abap program node is becoming green but the abap program is not getting executed in r/3 system. And also the process after the program node in process chain is not getting executed. The job which was created in r/3 still showing the released status
Kindly advice where i am wrong.
Thanks
RKSany input
-
Triggering of Process Chain in BW from R/3 system
Hi,
We have a special requirement where in the R/3 system (Project systems), the business user creates and saves a project.
Currently we have a process chain for this master data which loads every 10 min on a daily basis, but many times it happens that the new chain starts before the first one gets finished, thereby creating a lock with the loads.
To counter this we are trying to use a functional module at R/3 which gets triggered whenever the business user creates and saves the project in R/3. Though this program worked for us, but a new issue came. If the user creates 2 projects and saves it two times in a span of just 2 or 3 min, then once again the collision of chain occurs.
Our purpose is that, once the old chain finishes, then only the new chain should get triggered. To achieve that we tried to find some options and found a table called RSPCPROCESSLOG which is present both in BW system and R/3 system. This table consists of the start and end time of a chain. So based on these fields of the table we can achieve the above. But this table is not configured to capture the logs in R/3 system.
Please do let me know how to configure the RSPCPROCESSLOG table in R/3 system to capture the chains timing of BW. Otherwise suggest a way to achieve this task.
Regards
Vishwanathin rough :
create table in r/3 (eg z_chain_status) : via se11. insert two fields : - Process_chain char 60
- Active : char 1
R/3 create FM : via se37 (eg Z_update_chain_status)
import parameter = status
process chain can be hardcoded or also defined as varaible, as you wish...
select status from z_chain_status.
status = import parameter
modify z_chain status
BW : create program : via se38 z_update_status_in_r3
parameter = status
call function z_update_chain_status destination R/3 system status
create two variants of program :
varaint z_active : with parameter status = 'X'
varaint z_inactive : with parameter status = ' '
process chain
step 1 = start
step 2 = abap process type
progam : z_update_status_in_r3
variant z_active
step 3 - n : your loads
step n + 1 : abap process type
progam : z_update_status_in_r3
variant z_inactive
R/3 user-exit or business addin : slect from table z_chain_status;
if active = 'X'. exit. else trigger BW pc (I suppose as it works do today)
M. -
Hierarchy Activation dumps when itu0092s executed from Process Chain. u0096 BI 7.0
Issue:
CostElement Hierarchy sign reversal is updated manually using ABAP Program to update sign reversal, which updates H and J tables and activates the Hierarchy using func module RSHIER_HIER_CHECK_AND_ACTIVATE. It works fine when ABAP is executed manually as well as when Process Chain is executed in BW 3.5.
However, the same Process Chain in BI 7.0 it abends during Hierarchy Activation.
From the Dump, find below call sequence of programs for more details:
No. Ty. Program Include Line
Name
6) METHOD CL_RSSH_SHOW_LOG==============CP CL_RSSH_SHOW_LOG==============CM008 53
CL_RSSH_SHOW_LOG=>CREATE_CONTAINER
5) METHOD CL_RSSH_SHOW_LOG==============CP
CL_RSSH_SHOW_LOG==============CM007 52
CL_RSSH_SHOW_LOG=>SHOW_MESSAGES_WRITE_LOG
4) FUNCTION SAPLRSHIER LRSHIERU03 121
RSHIER_HIER_CHECK_AND_ACTIVATE
3) FORM ZBWUXXX1 ZBXXXXX1 382
005-ACTIVATE-HIER 2) FORM ZBWUXXX1 ZBWUXXX1 278
It abends during Container creation to send out a message.
Any help to resolve this issue would be highly appreciated.
Thanks, VijayVijay,
Due to the age of this post I am assuming did you find a fix to the problem?
I actually would like more information about your abap program as we are trying to create a similar program. -
Error when sending message(e-mail) from Process Chain ?
Hello SDN s,
How ya all ?
I scheduled a Process Chain with Message option to send it to (U - INternet Address) email ID but it says some error in sending message. What could be the reason ?
The following is the Job Log Entries....
30.06.2006 18:05:53 Job started 00 516 S
30.06.2006 18:05:53 Step 001 started (program RSPROCESS, variant &0000000000261, user ID ALEREMOTE) 00 550 S
30.06.2006 18:05:54 Hierarchy/attribute change successfully carried out RSM 794 I
30.06.2006 18:06:00 Document <PV FOR GETTING MESSAGE THROUGH E-MAIL - SUCCE> could not be sent SO 654 S
30.06.2006 18:06:00 Error when sending message RSRA2 11 S
30.06.2006 18:06:01 Job finished 00 517 S
Thanks !!!
Best Regards....
Sankar Kumar
+91 98403 47141Hey yes, in that T.Code all the values are 0. What to do to activate that ????????????
Duration Duration
Completed Error In transit Waiting In transit Waiting
hh:mm hh:mm
B08(100) 0 0 0 0
FAX Telefax 0 0 0 0 0:00 0:00
5 INT Internet 0 0 0 0 0:00 0:00
SMTP 0 0 0 0:00 0:00
X40 X.400 0 0 0 0 0:00 0:00
RML R/Mail or 0 0 0 0 0:00 0:00
PAG 0 0 0 0 0:00 0:00
PRT 0 0 0 0 0:00 0:00
So, how to solve this issue ? how to send e-mails ? what configuration or settings to be done ?
could u give the steps to do that ? as i am the only one BW guy here !?
Thanks !!!
Best Regards....
Sankar -
Infopackage loads 0 record in process chain as BG job not running correctly
Hi Experts,
I have scheduled a daily process chain for Purchasing.
The infopackage in the process chain loads 0 records from R/3 and shows green status but data is available in R/3. Its a FULL update.
But when I load the data manually the infopackage fetchs the record form R/3.
When I checked the background job in R/3 that loaded 0 records, the job gets finished abruptly without fetchig any data.
Please find the job log below:
Job started
Step 001 started (program SBIE0001, variant &0000000210024, user ID RFCUSR)
DATASOURCE = ZPUR_S600
Current Values for Selected Profile Parameters *
abap/heap_area_nondia......... 0 *
abap/heap_area_total.......... 0 *
abap/heaplimit................ 40894464 *
zcsa/installed_languages...... ED *
zcsa/system_language.......... E *
ztta/max_memreq_MB............ 2047 *
ztta/roll_area................ 3000320 *
ztta/roll_extension........... 2000683008 *
Job finished
But the background job for the request when I run the infopackage manually calls a function BW_BTE_CALL_BW204010_E (BTE) and fetches the record from R/3.
Please find the job log that fetches the record when run manually.
Job started
Step 001 started (program SBIE0001, variant &0000000210036, user ID RFCUSR)
DATASOURCE = ZPUR_S600
Current Values for Selected Profile Parameters *
abap/heap_area_nondia......... 0 *
abap/heap_area_total.......... 41230008320 *
abap/heaplimit................ 40000000 *
zcsa/installed_languages...... DE *
zcsa/system_language.......... E *
ztta/max_memreq_MB............ 2047 *
ztta/roll_area................ 3000000 *
ztta/roll_extension........... 2000000000 *
Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 26,596 records
Result of customer enhancement: 26,596 records
Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 26,596 records
Result of customer enhancement: 26,596 records
Asynchronous send of data package 000001 in task 0002 (1 parallel tasks)
Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 26,596 records
Result of customer enhancement: 26,596 records
Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 26,596 records
Result of customer enhancement: 26,596 records
Asynchronous send of data package 000002 in task 0004 (1 parallel tasks)
Call customer enhancement BW_BTE_CALL_BW204010_E (BTE) with 1,062 records
Result of customer enhancement: 1,062 records
Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 1,062 records
Result of customer enhancement: 1,062 records
Asynchronous send of data package 000003 in task 0006 (1 parallel tasks)
tRFC: Data Package = 000001, TID = , Duration = 000001, ARFCSTATE =
tRFC: Start = 20110217 054648, End = 20110217 054649
tRFC: Data Package = 000003, TID = , Duration = 000000, ARFCSTATE =
tRFC: Start = 20110217 054652, End = 20110217 054652
tRFC: Data Package = 000002, TID = , Duration = 000001, ARFCSTATE =
tRFC: Start = 20110217 054651, End = 20110217 054652
Job finished
Kindly help me on this issue as why the job run through process chain is not fetchibg any records.
Regards,
IndhujaHi Prasanth,
If the background jobs are not availbale when IP is triggered then the BG job will ot be executed and the IDOCs will get struck.
Once we push the IDOc only the BG job will be executed until then the PC will wait with yellow status.
Hence this is not the issue with the non availability of BG WP.
Also for last one week this issue was happening but today the job executed successfully through the Process chain itself.
Then it shows this is not the issue with PC also.
The job is executed using RFCUSR.
Please suggest what would be the possible cause for this issue.
Regards,
Indhuja
Edited by: Induja Rajkamal on Feb 23, 2011 11:48 AM -
Download file from process chain
Hello experts,
i have just created a data model and report from flat file(CSV) in BW 7.0.
I understand that if I want to include the extraction from the DataSource into the InfoPackage in the process chain, the CSV file needs to be on the Application Server.
The external database is being updated with new data daily. There is a URL - www.example.com/export.php - that when accessed, deliveres the updated flatfile from the database.
My question is: can i integrate this download in a process chain to be automatically triggered, so that every morning I have the updated data in the report?
Thanks.Hi Andrei,
Am not sure how to execute the url using the process chain. But still we can check whether the file is available in the application server or not.
We have a process variant called OS Command, using this variant type we can check whether the file is available or not for some tim intervals. In case file is availabe then the next process will trigger else it will keep on searching for the file until it finds.
Regards
Chaithanya -
Trigger abap program from process chain
hello...i have an external source system which is a SAP client, I have a table with the fields i wanted, when the field of the table change to "ctmd end", the abap program in this source client will trigger the process chain in SAP BW and the selection of the infopackage which is a business date will be triggered as well to load the data based on the business key date in the source systems. I am new in abap program and wanna know can this be done so? If can, how can this be done? Thanks!
generate an event through ABAP program and use that event to trigger that start process type of that process chain
-- Amit
Maybe you are looking for
-
Installed windows 7 on iMac. Mouse won't work, can't swap between windows
Any help in explaining how to run these 2 operating systems is most welcome
-
Unable to install MS-Office 2011 Update 14.1.4 on 10.6.8
Hello, I've got some trouble installing the actual available Update 14.1.4 for my Office 2011-Home and Student Editon. When I try to install I receive the Error-Message "Office 2011 14.1.4 cannot be installed on this volume. For this Software, Mac-OS
-
the devices is not popping up in our itunes. is anyone else having this problem. can you help me if you have the same problem
-
Transforming non-theme data in Mapviewer
Hi, We have generated a request to display a linestring over the top of a map base. At each end of the linestring are a marker to denote the start and end of the string. The challenge arises when we transform the map base to a desired projection (SRI
-
Dear, We are doing Month End Costing Activity for month june-09 and when we run ck40n with variant LEGJUNE9, job is cancelled and system shows error - "Sytem message 007 from work area SU does not exist". Regards, Kaushal