Scheduling custom BDC report as a job....
Hi,
I want to generate a background Job for a custom BDC ABAP report.
I am going to transaction SM36, entering name of Job -> Job class as 'C' -> enter.
But after I provide name of the program, it also has a field called variant. What do I enter there ?
Is it that I need to create some varaiant for my BDC report ? How do I do that ?
Also how do I schedule this job which I created ?
Regards.
Hi Rajesh,
I assume that you have a variant for your program.
Follow these steps.
1) Goto SM36
2)Enter Job Name and Job Class. Then Save it. (Goto Job-->Save(Ctrl + S) in Menu bar).
3) You will get a popup.
In program values enter ABAP program and Variant name.
Save it.
4) Now goto SM37.
Job status all selected.
Execute.
5)You will find your Job created. <b>Check it</b>.
6)Press CtrlShiftF10 (Release Job)
Immediate. Save again.
Done..
Regards,
<b>AS</b>.
Similar Messages
-
How to do the job scheduling in BDC Call transaction
Hi Experts,
I've a Query like how to do the job scheduling in BDC Call transaction
If anybody knows the answer please send me the reply.
Thanks.
Regards,
RekhaHi ,
any progarm can be scheduled, wether it may be BDC or report thru SM36 Tcode.
But do rememeber that if ur BDC is using GUI_UPLOAD function module, then it wont work , coz the function Gui_upload or GUI_DOWNLOAd wont work in back ground.
If u r going to use OPEN_DATASET , READ dataset ....then it can be scheduled. i.e BDC can work if ur program retrievesz the data from Application server.
Rvert back if any issues,
Reward with poinst if helpful.
Regards,
Naveen -
Executing a BDC Session using a Function Module from a Custom Z-Report
Hello,
I have a requirement where I need to Create a BDC Session for the given Transaction Code. But instead of executing the Session from SM35 manually, I need to Execute the Session Immediately from my Custom Z-Report itself.
Is there any Function Module for this Activity? Please let me know.
Thanks and Regards,
Venkata Phani Prasad K1) fm job_open
2) submit report
3) fm job_close
4) finally select table TBTCO
example:
DATA: jobcount_test LIKE tbtcjob-jobcount,
job_released LIKE btch0000-char1,
rcode(2),
strtimmed LIKE btch0000-char1 VALUE 'X'.
DATA jobname LIKE tbtcjob-jobname.
CONCATENATE 'TEST_' sy-repid '_' sy-datum INTO jobname.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = jobname
IMPORTING
jobcount = jobcount_test
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc NE 0.
MESSAGE x000(yp) WITH 'JOB-START ' jobname ' failed !!!'.
ELSE.
*--Step insert
SUBMIT rsbdcsub
USER sy-uname VIA JOB jobname NUMBER jobcount_test
WITH mappe = map
WITH von = pdatum
WITH z_verarb = 'X'
AND RETURN .
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = jobcount_test
jobname = jobname
strtimmed = strtimmed
targetsystem = sy-host
IMPORTING
job_was_released = job_released
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc > 1.
MESSAGE x000(yp) WITH 'JOB-CLOSE ' jobname ' failed!!!'.
ENDIF.
ENDIF. -
Back ground job scheduling in BDC
Hi ,
Can anybody explain about back groung job scheduling in BDC program.Hi,
In your BDC program first create sessions, Submit the program RSBDCSUB with parameters like session name, startdate etc .
Then session will be processed in background.
Or You can write the BDC program to create sessions.
select the sessions from SM35. Then click on Process, a popup will be displayed, then choose third option(Backgound processing).
Then your session will be processed immediately..
Rewards points if helpful.
Regards,
Ashok -
Hi Gurus
We have created a custom oracle report and concurrent program and when we ran the concurrent program it is error out with below error
Enter Password:
REP-0004: Warning: Unable to open user preference file.
REP-0300: ORACLE error occurred.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-300: ORACLE error occurred.
Can any one help us
Thanks in advance.
KumarPlease see
REP-0004 Warning - Unable to Open User Preference File. (Doc ID 26014.1)
ApPsMaStI
sharing is Caring -
How to create F.29 - batch jobs to execcute the customer evaluation report
Hi,
I am executing the S_ALR_87012167 report for customer evaluation reports.I have defined all evaluation views,but while executing F.29 bacht jobs,it is saying no jobs exist.
How to execute F.29.Kindly advice me.I am not able to execute the report.
Thanks
SupriyaUse Job wizered...........
enter job and server name............... continue -
enter program name RFDRRGEN
enter variant name SAP&VARI............... press continue four times and complete.............
In the job selection check the status of your job and check the spool .............. now your evaluation reports should work.......... but before generating batch job you should have completed the previous steps like OBAN and OBAJ.
Regards, -
Scheduled a webi report and set it send to EMAIL.
Our customer found when they scheduled a webi report and set it send to EMAIL, it will cost much more time than usual after they have their SIA restarts.
The first time it takes 4-5 times longer to receive a report in mailbox than next time onwards.
Please help.
Thanks Much,
AbhishekHi Abishek,
If the schedule is taking 4-5 times longer to schedule following the SIA restart I suppose it is possible that the Webi Job Server and Webi Processing Servers are not fully registered with the CMS - can you check that.
Also can you test by ensuring that if there are any Webi Job Servers\Webi Processing Servers in the environment which are stopped\disabled, can you retest after deleting those servers. There is a bug with XI3.1:
ADAPT01371367
Description:
Scheduled jobs often have a delay when the system is upgraded to BusinessObjects Enterprise XI 3.1 SP2 FP 2.2 or FP 2.3.This problem also happens when some of the servers required for scheduling are stopped and disabled. In this case, the Adaptive Job Server (AJS) tries to confirm if all available Webi Report Servers are running, and this causes the delay in running the scheduled jobs.
New Behavior:
This problem has been resolved.
Do you have a test system where you could install FP3.1 and check the fix?
The only "workaround" I could suggest would be to ensure that all services needed for the schedule are running\enabled (Adaptive Job Servers and Webi Processing Servers). This will stop the Adaptive Job Server from its continual querying for those servers. The adverse effect of this is that the more unnecessary services which are running will necessitate increased network communication.
To check if this is the actual issue you are hitting, you would need to trace the schedule and check for messages like this in the logs:
[2010-08-27 12:02:08,769] [TID:24] [ERROR] [webi.PublishingHelper.<init>():89]: unable to retrieve all mandatories servers to proceed this job
Alternatively, log a message with SAP Support for further investigation.
<<Text removed>>
Kind regards,
John
Edited by: Matt on Oct 10, 2011 10:14 AM -
Error while running custom BI report in R12.1.1
Hi All,
We are encountering below error while running custom BI report in R12.1.1...
Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Enter Password:
MSG-00001: started report
REP-1401: '': Fatal PL/SQL error occurred.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1401: '': Fatal PL/SQL error occurred.
Report Builder: Release 10.1.2.3.0 - Production on Fri Jun 24 16:47:30 2011
Please let us know how to fix this error.
Thanks
PraveenHi Praveen,
Seems the issue is with the rdf. Check whether all the parameters are passed correctly.
REP-1401: '': Fatal PL/SQL error occurred. -
I am using Project Server 2010 with SQL Server 2008 R2.
I have a PWA Instance which was running fine. I have a big number of projects and I do not keep site for all the projects as we do not need project site in our business.
Everything was running fine but during last few days, some of the jobs like Reporting (Project Publish) and Reporting (Project Delete) job is failing with the same error details for all the projects. I am not able to trace where the data is wrong/corrupt
and how to resolve it.
The error detail and ULS Log is given below anod I would appreciate if someone can guide me where the problem is and suggest me any solution.
QUEUE ERROR DETAIL:
General Reporting message processor failed:
ReportingProjectChangeMessageFailed (24006) - The given key was not present in the dictionary.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='4f36afe0-43dc-4143-befc-0452da416e69' QueueMessageBody='Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish'' Error='The given key was not present in the dictionary.'.
ReportingProjectChangeMessageFailed (24006) - The given key was not present in the dictionary.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='071aeb7b-540e-45fa-b40b-a94a5d2e8e04' QueueMessageBody='Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish'' Error='The given key was not present in the dictionary.'.
ReportingProjectChangeMessageFailed (24006) - The given key was not present in the dictionary.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='55445e77-51e3-40d8-a62f-e6db0b897444' QueueMessageBody='Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish'' Error='The given key was not present in the dictionary.'.
ReportingProjectChangeMessageFailed (24006) - The given key was not present in the dictionary.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='3ab5a1ba-0915-45bb-a078-4b4b7c38af51' QueueMessageBody='Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish'' Error='The given key was not present in the dictionary.'.
ReportingProjectChangeMessageFailed (24006) - The given key was not present in the dictionary.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='b27acd8f-6cde-47d4-bd53-5930e84dc940' QueueMessageBody='Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish'' Error='The given key was not present in the dictionary.'.
ReportingProjectChangeMessageFailed (24006) - The given key was not present in the dictionary.. Details: id='24006' name='ReportingProjectChangeMessageFailed' uid='b7250544-2a11-4887-8dcd-378b34b33ae1' QueueMessageBody='Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish'' Error='The given key was not present in the dictionary.'.
Queue:
GeneralQueueJobFailed (26000) - ReportingProjectPublish.ReportProjectPublishMessageEx. Details: id='26000' name='GeneralQueueJobFailed' uid='0706d212-f737-43ea-b694-c420488d57bb' JobUID='ca238fcf-d91b-46d6-a9c2-15f2cc35230d' ComputerName='WebSrv1' GroupType='ReportingProjectPublish'
MessageType='ReportProjectPublishMessageEx' MessageId='1' Stage=''. For more details, check the ULS logs on machine WebSrv1 for entries with JobUID ca238fcf-d91b-46d6-a9c2-15f2cc35230d.
ULS LOG:
Timestamp Process
TID Area Category
EventID Level Message Correlation
01/19/2015 19:05:07.44 Microsoft.Office.Project.Server (0x1D30) 0x23FC SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=117.485513497555 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:07.66 Microsoft.Office.Project.Server (0x1D30) 0x2C94 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=192.534598230475 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:08.16 Microsoft.Office.Project.Server (0x1D30) 0x1CFC SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=448.362263674397 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:08.36 Microsoft.Office.Project.Server (0x1D30) 0x17E0 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=162.22152253546 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:09.00 Microsoft.Office.Project.Server (0x1D30) 0x0898 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=557.699412860413 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:09.36 Microsoft.Office.Project.Server (0x1D30) 0x1F20 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=253.695754010613 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:09.67 Microsoft.Office.Project.Server (0x1D30) 0x0D68 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=239.76302803952 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:10.64 Microsoft.Office.Project.Server (0x1D30) 0x3324 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=973.469925841736 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:11.92 Microsoft.Office.Project.Server (0x1D30) 0x2DB8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=1275.5063556303 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:12.96 Microsoft.Office.Project.Server (0x1D30) 0x0A1C SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=1041.55499409959 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:13.15 Microsoft.Office.Project.Server (0x1D30) 0x0518 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=133.891034879385 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:13.35 Microsoft.Office.Project.Server (0x1D30) 0x14EC SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_FULL_PUBLISH_DELETE). Execution Time=207.250205426327 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:14.69 Microsoft.Office.Project.Server (0x1D30) 0x10B4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_PUBLISH_PROJECT). Execution Time=267.137845971639 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:14.93 Microsoft.Office.Project.Server (0x1D30) 0x14E0 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureScalar -- MSP_PUBLISH_PROJECT). Execution Time=209.552772167485 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:16.10 Microsoft.Office.Project.Server (0x1D30) 0x2AB4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureNoResultWithOutputParameters -- MSP_SRA_ValidateServerLevelSRA).
Execution Time=717.808222684698 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:16.67 Microsoft.Office.Project.Server (0x1D30) 0x2AB4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (FillTypedDataSet -- MSP_SRA_GetData). Execution Time=307.24482978413 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:17.58 Microsoft.Office.Project.Server (0x1D30) 0x2AB4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureNoResultWithOutputParameters -- MSP_SRA_ValidateServerLevelSRA).
Execution Time=123.306566048297 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:19.12 Microsoft.Office.Project.Server (0x1D30) 0x25F4 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureNoResult -- MSP_WEB_SP_QRY_CreateSavedTasksForProject). Execution
Time=111.699445284922 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:19.61 Microsoft.Office.Project.Server (0x1D30) 0x2AC8 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (ExecuteStoredProcedureNoResult -- MSP_WEB_SP_QRY_Statusing_BuildTaskHierarchy). Execution
Time=449.279962592357 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:19.79 Microsoft.Office.Project.Server (0x1D30) 0x26D0 Project Server Server-side Project Operations 8tci Monitorableser1 PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1,
PSI: [QUEUE] System.IO.FileNotFoundException: The site
http://epm.company.com/sites/Workspaces2/PROJECT_1 could not be found in the Web application SPWebApplication Name=SharePoint - 80. at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken
userToken) at Microsoft.SharePoint.SPSite..ctor(String requestUrl) at Microsoft.Office.Project.Server.BusinessLayer.Project.OpenProjectWeb(Guid projectUid) at Microsoft.Office.Project.Server.BusinessLayer.Project.SetPwsProperties(Guid
projectUid) at Microsoft.Office.Project.Server.BusinessLayer.Queue.ProcessPublishMessage.ProcessMiscellaneousPublishMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:19.79 Microsoft.Office.Project.Server (0x1D30) 0x26D0 Project Server Server-side Project Operations 8tcj Monitorable PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1,
PSI: [QUEUE] MiscellaneousPublishMessage failed on project b95c52ba-bc00-4301-aab5-890d0b057c29 ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:27.42 Microsoft.Office.Project.Server (0x1D30) 0x3088 Project Server Reporting atwj Monitorable Error is: ReportingProjectChangeMessageFailed. Details: Attributes: Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish' The given key was not present in the dictionary. . Standard Information: PSI Entry Point: Project User: Domain1\User1 Correlation Id: ae078058-f794-47ca-b1ad-0834f7a07f4d PWA Site URL:
http://epm.company.com/PWA SSP Name: SharedServices1_PsiServiceApplication PSError: ReportingProjectChangeMessageFailed (24006) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:27.42 Microsoft.Office.Project.Server (0x1D30) 0x3088 Project Server Reporting atwr High PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1, PSI: [RDS] ULS
Event: ReportingProjectChangeMessageFailed was associated with exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.InitializeSprocParameterTypeData(Dictionary`2& routineParameterInfos) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal..ctor(DAL
dal, DataStoreEnum store) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.get_Reporting() at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.GetRefreshOperationStatus(MessageAreaType
messageArea) at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.CheckIfAllowedToProceed(ReportingBaseMessage msg, MessageContext msgContext, Group messageGroup, JobTicket jobTicket)
at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.ProjectPublishMessageProcessor.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:28.47 Microsoft.Office.Project.Server (0x1D30) 0x31F8 Project Server Reporting atwj Monitorable Error is: ReportingProjectChangeMessageFailed. Details: Attributes: Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish' The given key was not present in the dictionary. . Standard Information: PSI Entry Point: Project User: Domain1\User1 Correlation Id: ae078058-f794-47ca-b1ad-0834f7a07f4d PWA Site URL:
http://epm.company.com/PWA SSP Name: SharedServices1_PsiServiceApplication PSError: ReportingProjectChangeMessageFailed (24006) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:28.47 Microsoft.Office.Project.Server (0x1D30) 0x31F8 Project Server Reporting atwr High PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1, PSI: [RDS] ULS
Event: ReportingProjectChangeMessageFailed was associated with exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.InitializeSprocParameterTypeData(Dictionary`2& routineParameterInfos) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal..ctor(DAL
dal, DataStoreEnum store) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.get_Reporting() at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.GetRefreshOperationStatus(MessageAreaType
messageArea) at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.CheckIfAllowedToProceed(ReportingBaseMessage msg, MessageContext msgContext, Group messageGroup, JobTicket jobTicket)
at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.ProjectPublishMessageProcessor.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:29.51 Microsoft.Office.Project.Server (0x1D30) 0x2B00 Project Server Reporting atwj Monitorable Error is: ReportingProjectChangeMessageFailed. Details: Attributes: Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish' The given key was not present in the dictionary. . Standard Information: PSI Entry Point: Project User: Domain1\User1 Correlation Id: ae078058-f794-47ca-b1ad-0834f7a07f4d PWA Site URL:
http://epm.company.com/PWA SSP Name: SharedServices1_PsiServiceApplication PSError: ReportingProjectChangeMessageFailed (24006) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:29.51 Microsoft.Office.Project.Server (0x1D30) 0x2B00 Project Server Reporting atwr High PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1, PSI: [RDS] ULS
Event: ReportingProjectChangeMessageFailed was associated with exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.InitializeSprocParameterTypeData(Dictionary`2& routineParameterInfos) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal..ctor(DAL
dal, DataStoreEnum store) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.get_Reporting() at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.GetRefreshOperationStatus(MessageAreaType
messageArea) at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.CheckIfAllowedToProceed(ReportingBaseMessage msg, MessageContext msgContext, Group messageGroup, JobTicket jobTicket)
at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.ProjectPublishMessageProcessor.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:30.56 Microsoft.Office.Project.Server (0x1D30) 0x1D20 Project Server Reporting atwj Monitorable Error is: ReportingProjectChangeMessageFailed. Details: Attributes: Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish' The given key was not present in the dictionary. . Standard Information: PSI Entry Point: Project User: Domain1\User1 Correlation Id: ae078058-f794-47ca-b1ad-0834f7a07f4d PWA Site URL:
http://epm.company.com/PWA SSP Name: SharedServices1_PsiServiceApplication PSError: ReportingProjectChangeMessageFailed (24006) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:30.56 Microsoft.Office.Project.Server (0x1D30) 0x1D20 Project Server Reporting atwr High PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1, PSI: [RDS] ULS
Event: ReportingProjectChangeMessageFailed was associated with exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.InitializeSprocParameterTypeData(Dictionary`2& routineParameterInfos) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal..ctor(DAL
dal, DataStoreEnum store) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.get_Reporting() at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.GetRefreshOperationStatus(MessageAreaType
messageArea) at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.CheckIfAllowedToProceed(ReportingBaseMessage msg, MessageContext msgContext, Group messageGroup, JobTicket jobTicket)
at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.ProjectPublishMessageProcessor.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:31.60 Microsoft.Office.Project.Server (0x1D30) 0x2170 Project Server Reporting atwj Monitorable Error is: ReportingProjectChangeMessageFailed. Details: Attributes: Project UID='b95c52ba-bc00-4301-aab5-890d0b057c29'.
PublishType='ProjectPublish' The given key was not present in the dictionary. . Standard Information: PSI Entry Point: Project User: Domain1\User1 Correlation Id: ae078058-f794-47ca-b1ad-0834f7a07f4d PWA Site URL:
http://epm.company.com/PWA SSP Name: SharedServices1_PsiServiceApplication PSError: ReportingProjectChangeMessageFailed (24006) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:31.60 Microsoft.Office.Project.Server (0x1D30) 0x2170 Project Server Reporting atwr High PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1, PSI: [RDS] ULS
Event: ReportingProjectChangeMessageFailed was associated with exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.InitializeSprocParameterTypeData(Dictionary`2& routineParameterInfos) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal..ctor(DAL
dal, DataStoreEnum store) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.get_Reporting() at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.GetRefreshOperationStatus(MessageAreaType
messageArea) at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.CheckIfAllowedToProceed(ReportingBaseMessage msg, MessageContext msgContext, Group messageGroup, JobTicket jobTicket)
at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.ProjectPublishMessageProcessor.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:32.66 Microsoft.Office.Project.Server (0x1D30) 0x24DC Project Server Reporting atwj Critical Standard Information:PSI Entry Point: Project User: Domain1\User1 Correlation Id: ae078058-f794-47ca-b1ad-0834f7a07f4d
PWA Site URL: http://epm.company.com/PWA SSP Name: SharedServices1_PsiServiceApplication PSError: ReportingProjectChangeMessageFailed (24006) RDS: The request to synchronize change(s) to project Project
UID='b95c52ba-bc00-4301-aab5-890d0b057c29'. PublishType='ProjectPublish' failed. Message: 'ReportingProjectChangeMessageFailed'. Message Body: The given key was not present in the dictionary. Error:(null) ae078058-f794-47ca-b1ad-0834f7a07f4d
01/19/2015 19:05:32.66 Microsoft.Office.Project.Server (0x1D30) 0x24DC Project Server Reporting atwr High PWA:http://epm.company.com/PWA, ServiceApp:SharedServices1_PsiServiceApplication, User:Domain1\User1, PSI: [RDS] ULS
Event: ReportingProjectChangeMessageFailed was associated with exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal.InitializeSprocParameterTypeData(Dictionary`2& routineParameterInfos) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.SubDal..ctor(DAL
dal, DataStoreEnum store) at Microsoft.Office.Project.Server.DataAccessLayer.DAL.get_Reporting() at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.GetRefreshOperationStatus(MessageAreaType
messageArea) at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.RDSBaseMessageProcessor.CheckIfAllowedToProceed(ReportingBaseMessage msg, MessageContext msgContext, Group messageGroup, JobTicket jobTicket)
at Microsoft.Office.Project.Server.BusinessLayer.ReportingLayer.ProjectPublishMessageProcessor.HandleMessage(Message msg, Group messageGroup, JobTicket jobTicket, MessageContext mContext) ae078058-f794-47ca-b1ad-0834f7a07f4dWithout seeing the history, one possibility might be some corruption in the reporting database. Assuming that you are following best practices for SQL DB management, and this is not a DB neglect problem, then I would try to force a refresh to see if that
helps. You can do this by executing a custom field backup and then restore. Note: Do not do this during production hours. Let us know if that provides any therapy.
Gary Chefetz, MCITP, MCP, MVP msProjectExperts
Project and Project ServerFAQs
Project Server Help BLOG -
Custom Oracle Report displaying records one at a time
I have a custom oracle report that i've created and what i'm trying to achieve is to get all the records for the specific job code to print on one page. Instead, it is putting one record on one page. For example, job 90822 might have 6 records associated with it. Instead of it putting all 6 on one page it is putting one on 6 separate pages. I'm attaching my statement below. Any help is appreciated!
select proj, cmocn_code, cmocn_comp_code, cmocn_job_code, cmocn_notes, cmocn_post_date, cmocn_issued_date,
cmocn_executed_date, cmocn_impact_days, budg_amt,
sum(budg_amt) over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt,
sum(cmocn_impact_days) over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_days,
cc_pmownercon, cc_cmownmod, bp_name
from
select pmp_proj_code || ' - ' || pmp_proj_name || ' - ' || pmp_add_line3 || ', ' || pmp_region_code proj
, cmocn_code, cmocn_comp_code, cmocn_job_code, nvl(cmmv_name, cmocn_title) Notes
, cmocn_post_date, cmocn_issued_date, cmocn_executed_date, cmocn_impact_days
, nvl(cmmv_bill_amt, 0) budg_amt
--, sum(decode(cmocn_code, '0000', pmp_curr_cont_amt/*pmp_orig_cont_override_amt*/, nvl(cmmv_bill_amt, 0)))
--over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt
, cmocn_notes, cc_pmownercon, cc_cmownmod, bp_name
from da.cmownchgnum
, (select cmmv_comp_code, cmmv_job_code, cmmv_owner_chg_code, sum(cmmv_bill_amt) cmmv_bill_amt
, max(cmmv_name) cmmv_name
from da.pmmast_v
where cmmv_owner_chg_code <> '0000'
group by cmmv_comp_code, cmmv_job_code, cmmv_owner_chg_code--,cmmv_name
, da.pmproject_table
, da.cc_user_fields_vw
, da.bpartners
where cmocn_code <> '0000'
and cc_table_name (+) = 'CMOWNCO'
and cmocn_oraseq = cc_oraseq_in_table (+)
and cmocn_comp_code = cmmv_comp_code (+)
and cmocn_job_code = cmmv_job_code (+)
and cmocn_code = cmmv_owner_chg_code (+)
and cmocn_comp_code = pmp_comp_code
and cmocn_job_code = pmp_job_code
and pmp_cust_code = bp_code
union all
select pmp_proj_code || ' - ' || pmp_proj_name || ' - ' || pmp_add_line3 || ', ' || pmp_region_code proj
, '0000', pmp_comp_code, pmp_job_code, null /*nvl(cmmv_name, cmocn_title) Notes*/
/*, cmocn_post_date, cmocn_issued_date, cmocn_executed_date, cmocn_impact_days*/
, null, null, null, null
, pmp_curr_cont_amt budg_amt
--, sum(decode(cmocn_code, '0000', pmp_orig_cont_override_amt, nvl(cmmv_bill_amt, 0)))
--over (partition by cmocn_job_code order by cmocn_job_code,cmocn_code) cumilative_budg_amt
, null/*--cmocn_notes*/, cc_pmownercon, cc_cmownmod, bp_name
from da.pmproject_table
, da.cc_user_fields_vw
, da.bpartners
where cc_table_name (+) = 'PMPROJ'
and pmp_proj_oraseq = cc_oraseq_in_table (+)
and pmp_cust_code = bp_code
and pmp_cust_code = bp_code
order by cmocn_job_code, cmocn_codeHello,
What is the "Vertical Elasticity" of the enclosing frames / repeating frames ?
This problem may occur when a frame or repeating frame has a property "Vertical Elasticity" set to Fixed or contract.
In this case, change the property "Vertical Elasticity" to Expand or Variable.
Regards -
These are Webi, user created reports.
Is it possible to schedule a Webi report based on another input, i.e. expose a time in which a process was finished (this can be obtained via a SQL call, service call, etc).
The issue is that if a user schedules a report for 9PM but a process to move data, etc has not completed then that forces the user to keep re-freshing the report hoping that the process has been complete.
Ideally, in the selection UI add to the dropdown for 'when' the option 'Use Process X completion Time' (since it is a daily report).
Then starting around 9PM check to see if that 'time" value is populated then refresh (run) the report. Or it could just be a flag that the process has finished.
User's in the webi environment are asking for this, and moving their reprots to BO is not an option. That's why they have the custom webi enviroment.
Thank you.There is no very good way to create a working event based on a file as the file will need to be deleted as soon as the event is triggered. However there are work around which can be done for this. Here is a link which is discussing about the process.. http://scn.sap.com/thread/1677109
Once you have created a file based even in CMC > Events> System Events and made a work around program to delete the file once the event is trigged all you would need to do in webi is in launchpad just schedule > Events > select the file based event from all available system events. Here is a screenshot how to make a report run based on a event.. -
How Can I Schedule a Deski Report in Infoview that has a VBA Macro
Hi experts,
i've made a report that has a vba Macro. I published it in infoview. If I launch it manually (clicking on the refresh button) the macro works normaly. If I schedule it the macro doesn't work.
What can I do?
Is it possible to make a program that simulate the opening and click on the refresh button?
Or i there is another solution?
Here is my Macro:
Private Sub Document_AfterRefresh()
Dim filtervar As Variant
Dim filterText, Filter As Long
Dim DocName, NewName As String
Dim Pathing, TodaysDate As String
Dim folderName As String
TodaysDate = Format(Date, "DDMMYYYY")
Pathing = "
Ktsdwh0\c$\OutputBO\"
DocName = ThisDocument.Name
filterText = "Dpre Cod Produttore"
filtervar = ThisDocument.Evaluate("=<" & filterText & ">", boUniqueValues)
For Each sepval In filtervar
Filter = sepval
For n = 1 To ThisDocument.Reports.Count
Call ThisDocument.Reports(n).AddComplexFilter(filterText, "=<" & filterText & "> = " & Filter)
ThisDocument.Reports(n).ForceCompute
Next n
MkDir (Pathing & Filter & "\")
NewName = Pathing & Filter & "\" & Filter & "-" & TodaysDate & "-" & DocName 'for Prova_Prod.rep
' NewName = Pathing & Filter & "-" & TodaysDate & "-" & DocName 'for Prova_Prod.rep
ThisDocument.ExportAsPDF (NewName) 'to Save as PDF
Next
For n = 1 To ThisDocument.Reports.Count
Call ActiveReport.AddComplexFilter(filterText, "=<" & filterText & "> = <" & filterText & ">")
' To delete a Complex Filter, you set it equal to itself...
ActiveReport.ForceCompute
Next n
End Sub
Please Help!
Best regards
CamilloHi Philippe,
If you are using Windows 2003 with SP2 then it might be the issue as already logged for BOXIR2.
You can test the issue by using only Windows 2003 without SP2.
In case your operating system is only windows 2003 then following information and code might be helpful for you to resolve the issue.
There are a number of things to check when setting up a macro to work through Infoview or scheduled. The first thing is that the macro needs to be triggered to run. This is done by putting a call to the macro in the Document_BeforeRefresh or the Document_AfterRefresh event handler.
The report server and job server are designed to process one report at a time. Through a macro it is possible to open more than one report, and do various processing with those additional reports. Since the report and job servers are not designed to process more than one report, your macro should not open an additional report.
The fact that only one report is processed at a time also affects the syntax you should use when referring to a document or report object. In the DeskI client you can use the ThisDocument object to refer to the report which is running the macro. You can also use the ActiveDocument object to refer to the report that is currently displayed. Most of the time these two objects will point to the same report. When the report server or job server process a report there would never be the possibility for a different report to be active, so the ActiveDocument object does not exist. This also applies to the ActiveReport object. Instead of using ActiveDocument your macro code should use the ThisDocument object. Instead of using the ActiveReport object you should use ThisDocument.Reports.Item(1) to refer to this first report tab in a report.
These items are the most common issues that will cause a macro not to run through Infoview or when scheduled. The best way to debug a macro which is not working in either of those places is to include code which will log the macro's progress to a file. This makes it easy to determine exactly which line of code is causing issues so that it can potentially be corrected.
#Region u201CWeb Form Designer Generated Code "
'This call is required by the Web Form Designer.
<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
End Sub
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()
End Sub
#End Region
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim myInfoStore As InfoStore
Dim myEnterpriseSession As EnterpriseSession
myInfoStore = CType(Session("InfoStore"), InfoStore)
myEnterpriseSession = CType(Session("EnterpriseSession"), EnterpriseSession)
Dim DOCUMENT_NAME As String = "document_name"
Dim query As String = "Select SI_ID, SI_NAME, SI_SUBJECT, " _
& "SI_COMMENTS, SI_OWNER From CI_INFOOBJECTS Where SI_KIND = 'FullClient' " _
& "AND SI_INSTANCE=0 AND SI_NAME='" + DOCUMENT_NAME + "'"
Dim myInfoObjects As InfoObjects = myInfoStore.Query(query)
Dim myInfoObject As InfoObject = myInfoObjects(1)
Dim myDeskiDoc As FullClient = CType(myInfoObject, FullClient)
Dim mySchedulingInfo As SchedulingInfo = myDeskiDoc.SchedulingInfo
mySchedulingInfo.Type = CeScheduleType.ceScheduleTypeOnce
mySchedulingInfo.RightNow = True
Dim myFullClientFormatOptions As FullClientFormatOptions = myDeskiDoc.FullClientFormatOptions
myFullClientFormatOptions.Format = BusinessObjects.Enterprise.Desktop.CeFullClientFormat.ceFullClientFormatFullClient
myInfoStore.Schedule(myInfoObjects)
End Sub
End Class
I hope this will help you.
Regards,
Sarbhjeet Kaur -
Customize Scheduled Payment Selection Report in R12
Hi,
How can I customizing the Scheduled Payment Selection Report in R12?
I need to declare new concurrent for this report that submit from a payment process.
RivkaHi Rivka,
See note 564350.1.
Basically don't create a new concurrent program. Instead:
1. Create a new RDF and change the executable on APINVSEL to your new executable
2. Create a new BI Publisher RTF Template and duplicate APINVSEL rtf, making sure the Data Template is same as source one.
3. In System Administration (note not System Administrator) go to Concurrent, Program, query APINVSEL, click OnSite settings and change to your custom template.
Regards,
Gareth -
Hi,
Problem: Schedule a mass report for crystal report XI R2 in BO Enterprise XI R2
Example: If i would like to export the customer's report separately for 1000++ customers, how can I design the crystal report so that i can export the data individually for each customer to either PDF, or HTML or Email with the report name = customer name
all comments or suggestion appreciated
Thanks
Yii IngHi,
You can use the features of schedule - email from BOSDK, which will solve your requirement.
thanks,
Amzad Basha. -
Hi Gurus,
Kindly help me out in Customer Service Reports. As i am new to CS.
1.All 90 day Customer Service returns for a specific period.
2.All 90 day Customer Service Returns for a tech during a specific period.
3.All 90 day Customer Service Returns for each tech during a specific period, separated by tech.
4.All 90 Day Customer service returns by product group, model during a specific period.
5.repair Units received in a specific period
6.Backlog of each product or model
7.Number of units invoiced in a specific period
8.Number of units completed (PIOu2019d) in a specific period with a selection of
a) warranty
b) non-warranty
c) service contracts
d) JOB TYPES
e) Cal only
9.Daily Revenue Month to date by
a) LABOR
b) PARTS
c) FLAT RATE
d) SERVICE CONTRACTS
e) SPARES
Entire inventory of units in Service ( REPSTAT)
Need to run reports for units coming out of warranty u2013 90 days in advance.
Repair report
Calibration due report
Invoice and IR info by model / SN
View unit tracking/units due for calibration in next 60 days
View invoiced amount per product per month
thanks
Edited by: rkravi928 on Aug 23, 2009 6:18 AMRavi,
It seems that you have posted your client's all report requirements in one post and expecting Functional spec for each report.
All these reports requires lot of discussion with Core teams / Technical consultant.
Eg.
>
> 8.Number of units completed (PIOu2019d) in a specific period with a selection of
> a) warranty
> b) non-warranty
> c) service contracts
> d) JOB TYPES
> e) Cal only
>
Where you maintain warranty information?
Iis there any master warranty / Measurement document involved? .. is there any extended warranties applicable for your product?
What is your reference object - Equip / Func loc etc..?
What do you mean by JOB type and where you are capturing?
... lot of queries can be raised on your requirement.
The functional consultant and the core team members of this module can only be able to answer those queries.
Better you close this thread, and start separate queries for each report with necessary information so that peers can able to suggest.
Babu
Maybe you are looking for
-
I've tried restarting phone but that didn't work either.
-
I live in Australia and I am trying to buy an album by SNSD, a Kpop group. It is not available on the Australian iTunes. All of their other albums are. Why is this and is there a way I can buy it off the American store? (The album is called The Boys)
-
SCVMM Unable to assign the subnet because it overlaps an existing one
Hello, We are using SCVMM to manage an Hyper-V cluster (2012 R2). When we tried to create a new VLAN we got the following error: Error (13638) Unable to assign the subnet 172.22.172.128/25 because it overlaps with an existing subnet. Recommended Acti
-
Tables where vendor invoice paid details are stored
Hello all, I have a technofunctional question. Once vendor invoices are paid through F110 transaction, what is the table that stores information regarding vendor invoice document number, its payment method and bank check number ? Regards, Rajesh.
-
Issue with FKK_FIKEY_CHECK
Hi, I am facing an issue with FKK_FIKEY_CHECK function module. The FI Key value that is passed to the function module is not getting generated if it doesnt exist in the system. I am not facing any issue in the development. But in the quality system