AWE in Application Engine Error

I'm attempting to submit transactions to the AWE in an App Engine program and it's generating an error which does not get thrown if the same code is executed online.
Message not found - 236, 5703, URL not set (236,5703) PTAF_UTILITIES.Portal.portalURL.OnExecute Name:getServletURL_ PCPC:5180 Statement:72
Called from:PTAF_UTILITIES.Portal.portalURL.OnExecute Name:GenerateComponentPortalURL Statement:42
Is there any work around for this? Submitting the transaction is supposed to generate a Worklist Item and an Email. All this works online but not in App Engine. It seems that this has to do with how the notifications get created. Obviously this succeeds online because it's executing in the portal.
Any help is greatly appreciated.
Thanks!

OK. I just wanted to make sure you were using the PT 8.48 AWE, and not the FSCM pre-tools AWE. The GenerateComponentPortalURL function is only available online, not from AE. To work around this, the AWE team has its own url generation function (it uses Generatexxx for online code, and uses EMP_SERVLET URL definition for AE/web services 'offline'). It is possible that a later patch resolved the issue you are experiencing. You will find out from your support case.

Similar Messages

  • Help needed creating export file from a file layout with Application Engine

    The following is what I would like to do:
    - Read a record from a PS view
    - Manipulate the data as needed
    - Write the fields out to a file as defined by a File Layout
    - Repeat until no more records are found
    I have created the PeopleSoft Application Engine action listed below. It receives an error "BCUNIT is not a property of class File".
    Local Record &rec1;
    Local File &myFile;
    Local SQL &sQL1;
    /* Create instance of Record */
    &rec1 = CreateRecord(Record.W9M_MBSCRSE_VW);
    /* Instantiate the Output File */
    &myFile = GetFile("c:\temp\help_me.txt";, "A", %FilePath_Absolute);
    If &myFile.IsOpen Then
    If &myFile.SetFileLayout(FileLayout.TACOURIN) Then
    /* Create SQL object to populate rowset */
    &sQL1 = CreateSQL("%Selectall(:1) Where INSTITUTION = :2", &rec1, W9M_MBSCRSE_AET.INSTITUTION);
    /* Cycle through the records */
    While &sQL1.Fetch(&rec1)
    /* I know this section is not coded correctly but I'm not sure how to fix it */
    &myFile.BCUNIT = "1";
    &myFile.BCTCD = &rec.W9M_MBS_TERM_CODE;
    &myFile.BCTYR = &rec.W9M_MBS_TERM_YEAR;
    &myFile.BCDPTN = &rec.ACAD_GROUP;
    &myFile.BCCOUR = substring(&rec.CATALOG_NBR,2,5);
    &myFile.BCSEC = &rec.CLASS_SECTION;
    &myFile.WriteRecord();
    End-While;
    Else
    /* Process FileLayout Error here */
    End-If;
    Else
    /* Process File Open Error here */
    End-If;
    &myFile.Close();
    There are probably a lot of things wrong with this approach and if you could provide some guidance and/or  corrections to the above logic I would greatly appreciate it.
    Another approach?
    After doing a bunch of reading on Application Engine maybe my approach is incorrect. Perhaps I should be doing something like the following:
    - Read a record from a PS view
    - Populate a temporary table manipulating data as it is inserted (Temp table is named according to the file layout fields?)
    - Fetch the records from the temp table and write the record to the file layout.
    - Repeat until no more records are found
    Is this approach better and designed correctly? If not, could you recommend how it should be done? Would the population and reading of the Temp table be done in separate actions or within the same action? Do you know of an Application Engine program that can be used as an example with "like" processing?
    As you can probably tell I haven't used Application Engine before and my goal is to start out on the right path. Thank you for any direction and input that you can provide.
    Steve

    I did and my initial logic was based upon them. I don't see where it shows how to manipulate the data before writing it to the file layout fields. Maybe you can send me a link to that section?
    I was hoping that I would be able to reference the file layout fields directly to allow for manipulating the field values. Re-reading the file layout section and the application engine PeopleBooks I believe I need to create a temporary record which matches the file layout fields; i.e., the second alternative that I listed. Then, make my updates to the temp record fields as I load them. Then, load them to the file layout as a row.
    I'm not sure how this would break down in Application Engine; would the insert into the temp table and the writerecord be different steps/actions, etc.

  • When deploying the webdynpro java application , showing error message

    Hi Masters,
    when deploying the webdynpro java application , showing error message. Please reply why this problem showing and what is the solution
    But Iogin to sdm tool ( remote gui .sh) with same password, which password  i am using for deploy the webdynpro java application.here in sdm tool i am able to login. and i restart the sdm , and again trying to deploy the same problem it showing.
    URL to deploy : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
    Result
    => deployment aborted : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
    Aborted: development component 'sales'/'rupa.com'/'LOKAL'/'0.2010.02.13.14.32.39':Caught exception during application deployment from SAP J2EE Engine's deploy API:com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [devsap] with user name: [J2EE_ADMIN]                     Check your login information.                     Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: No login module succeeded.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
    Deployment exception : The deployment of at least one item aborted
    Edited by: sujana mullapudi on Feb 13, 2010 2:52 PM

    Hi Sujana,
    For deploying Web Dynpro for Java application, J2EE_admin correct password must be stored in the scured area of config tool.
    Your error show that J2EE_admin information is not correct.
    So, Please ask your basis team to update new J2EE_ADMIN password or you can do it in scured area of config tool.
    Hope this will helps you.
    Thanks
    Arun Jaiswal

  • Query Engine Error in Crystal Report

    I have a asp application with crystal report as reporting tool. Every thing works fine with Oracle 9i, but when i migrate to Oracle Database 10g Release2 some of the reports in crystal report shows following error report.
    Query Engine Error:'HY00:[oracle][ODBC][ora]ora-01456:may not perform insert/delete/update operation inside a Read Only transaction.
    ORA-06521:at "<dbusername>.<procedure name>,line 58
    ORA-06512:at line1
    I checked the database is in READ WRITE mode.
    any help wolud be appreciated.
    Thanks in Advance
    Debashis

    Hi,
    This is posted in the wrong forum. This forum is for Oracle Berkeley DB. Please find the correct forum and post your question there.
    Regards,
    Alex Gorrod,
    Oracle Berkeley DB

  • Query Engine Error:

    Post Author: swordfish8
    CA Forum: General
    Hi, Many thank for taking the time to read this thread, the web application work on development box but fails when deployed.
    Please help, the problem is detailed below, cheers, Praveen
    Developed Environment
    Web Application Developed in VS .NET 2002
    Crystal Reports 9.0
    Set Up Package :
    Project Output: Primary Output and Content Files selected
    Merge Modules:        Database_Access.msm
                                           Database_Access_enu.msm
                                 Managed.msm
                                 Regwiz.msm
                                 VC_CRT.msm
                                 VC_STL.msm
    Code:
    mycommand.CommandText = "ASR_STATISTICS"
    mycommand.CommandType = CommandType.StoredProcedure
    With mycommand.Parameters
    .Add(New SqlParameter("@WeekStartDate", SqlDbType.DateTime)).Value =    _CDate(Me.txtDate.Text.Trim)
    .Add(New SqlParameter("@WeekEndDate", SqlDbType.DateTime)).Value = _
      CDate(Me.txtEndDate.Text.Trim)
    .Add(New SqlParameter("@Customer", SqlDbType.VarChar)).Value = _
               (Me.lstCustomer.SelectedItem.Value.Trim)
    End With
    Dim myDA As New SqlClient.SqlDataAdapter()
    myDA.SelectCommand = mycommand
    Dim myds As New Dataset1()
    myDA.Fill(myds, "ASR_STATISTICS")
    Dim oRpt As New crptStatistics()
    oRpt.SetDataSource(myds)
    Me.CrystalReportViewer.ReportSource = oRpt
    Installed the web application on the server
    Operating System: Windows Server 2003
    ERROR
    Server Error in '/ASDReports' Application.
    Query Engine Error: 'C:\WINDOWS\TEMP\temp_dff30854-29f4-4c4e-8fe0-66dbea4cd19b.rpt'
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: CrystalDecisions.CrystalReports.Engine.DataSourceException: Query Engine Error: 'C:\WINDOWS\TEMP\temp_dff30854-29f4-4c4e-8fe0-66dbea4cd19b.rpt'Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace:
    &#91;DataSourceException: Query Engine Error: 'C:\WINDOWS\TEMP\temp_dff30854-29f4-4c4e-8fe0-66dbea4cd19b.rpt'&#93;
        . K(String 
    , EngineExceptionErrorID   ) +514
        . F(Int16   , Int32   ) +493
       CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext) +462
       CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext) +201
       CrystalDecisions.Web.ReportAgent.v(Boolean  `) +137
       CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +99
       System.Web.UI.Control.PreRenderRecursiveInternal() +77
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

    Post Author: Bandit07
    CA Forum: Upgrading and Licensing
    I would go through and add in each criteria 1 at a time to see which one is causing the error. 

  • Query Engine Error in Visual Studio 2005

    Post Author: Chris K
    CA Forum: Crystal Reports
    I created a report in Crystal 11 and have included it in a project created in Visual Studio 2005.  When I try to run the report in VS I get the message: "Query Engine Error: 'Error Code: 0x' Failed to open a rowset.  Error in File"  I can run the report in Crystal without any errors.  The report has subreports and parametes.  I am using a stored procedure in SQL 2005.  I have included may other reports in this project and not had any problems.  Any suggestions?

    Post Author: gandasi
    CA Forum: Crystal Reports
    I had an issue that sounds very similar - report worked beautifully in Crystal, but "failed to return rowset" when run from my application (which is not VS2005, but in my case that didn't matter).
    Turns out that I had not given execute rights to the stored procedure to the public group in SQL server. I guess when running the report in Crystal it was using my Windows Authentication to logon or something which was why that was running OK.
    I explicitly set the permissions on the stored proc to grant public execute, and the report would run from my app.
    Hope this helps
    Cheers

  • LV2011 run time engine error

    Somebody knows why I hit a run time engine error when I select runtime adapter in teststand? If I choose dev environment, there is no error and the vi executes.
    Attachments:
    RunTimeError.png ‏194 KB

    Hello JoVMo,
    I think the reason and solution for the issue can be found in this KB:
    http://digital.ni.com/public.nsf/allkb/24A8C9552C01D7368625735600768095?OpenDocument
    Please let me know if it resolves the issue.
    Kind Regards,
    Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
    CLD, CTA
    If someone helped you, let them know. Mark as solved and/or give a kudo.

  • Query Engine Error after upgrade from CR for VS2003 to CR for VS2008

    Three CR reports were built in CR 8.5, loaded into VS2003 (C#), and converted. Each report worked fine for the past three years. Each report users the same odbc connection direct to the Sybase 12.5.3 database and each is based on a stored procedure. Each report has input parameters. Recently we did an upgrade to VS2008. We installed the CRRedist2008_x86.msi on the development machine running Windows XP and on the server running Windows 2003. No changes were made to the design of the reports, the parameters, or to the database stored procedures.
    Several other reports run just fine since the update to VS2008, however, two reports are now raising an error message "Query Engine Error: 'An internal error has occurred. Please contact Business Objects technical support.' Failed to open a  rowset." This error message occurs just after ReportViewer.ShowDialog() method is called (login has already been successfully achieved) I verified that with the parameters being passed to the reports are correct and that these should indeed be returning data.
    One additional report is also now raising the error "Query Engine Error at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext) ". It can be described as above, odbc connection to Sybase 12.5.3, achieves a successful login, based on a stored procedure that is unchanged. The rpt itself is unchanged.
    I would appreciate your assistance with getting these reports working again. Any suggestions welcome!

    I forgot to mention that I had already done a 'Verify Database' on each of these reports, with no success. However, I have now repeated the 'Verify Database' on each report and they all work. Not sure why it had to be done a second time, but I am very happy that it works. Thank you for your response.
    In answer to your question - why does the Crystal Reports runtime have to be installed on the development machine? This is because our process includes an installation of the application on the development machine, independent of the debug environment, and a test of that application instance before deploying to the application server.

  • SUPPORT APPLICATION ENGINEERING POSITION based in Atlanta

    Averna at a glance:
    Averna delivers industry-leading test solutions and services for communications and electronics device makers worldwide, accelerating product development, quality and innovation.
    Be global@work: Serve international customers and collaborate with colleagues in Canada, the U.S., Mexico, Japan and Hungary.
    Drive innovation@work: Participate in the development of market-leading high-tech products in the telecom, transportation, electronics and multimedia sectors.
    Develop your talent@work: Contribute to thrilling projects that will stretch your skills and talent to the maximum.
    Enjoy success@work: Be part of a fast-growing company with award-winning products and team.
    Share your passion@work: Meet passionate people, enjoy our modern environment and dynamic atmosphere.
    The challenge of the Support Application Engineering position:
    The Support Application Engineering position is responsible for customer technical support and some development activities. The chosen candidate will:
    Develop a deep and broad understanding of Averna tools and products;
    Use the in-house tools to track customer requests;
    Take ownership of problems and see them through to successful resolution;
    Be called to travel about 30% to 50 % of the time.
    Duties and responsibilities:
    Provide primarily first and second tier remote customer support, troubleshooting and solutions for existing customers;
    Diagnose, De-Bug and fix less complicated bugs using but not limited to LabVIEW, TestStand, C, C++,  and/or VHDL;
    Work with senior developers to identify and resolve complicated technical software problems, and some hardware problems;
    Become an Expert User for the Jupiter and Mercury Platform;
    Involved in developing new features and tools;
    Document frequent issues into scripted processes; create FAQ;
    Document required bug fixes, end-user feature improvements, and operations feature improvements;
    Troubleshoot problems and solve the incidents through a methodical and process based approach;
    Reproduce errors reported by clients and escalate to R&D by providing a narrowed down list of possible causes;
    Analyze recurring problems and suggest improvements to Peers in the R&D and Services teams
    Provide thorough root cause analysis to Customers;
    Document troubleshooting flowcharts based on real life scenarios;
    Commit and contribute to a high level customer satisfaction by providing best in class Support and Service;
    Occasional week night or weekend work is required to support customer from different time zones and with urgent requests (approx. 15% of the time).
    Qualifications:
    Bachelor degree in computer science, electrical engineering or computer engineering;
    2-5 years experience solving deployment and support issues is an asset;
    Experience with RF is required; DOCSIS experience is a strong asset;
    Good general computer knowledge (e.g. Windows, TCP/IP networking, FTP) with a strong aptitude for problem solving;
    Experience in software engineering for test platforms or real-time software engineering;
    Able to read engineering design documentation (mechanical, electrical or software);
    Knowledge of broadband and telecommunication industries is an asset;
    Practical experience with LabVIEW, TestStand, TCL programming is an asset;
    Practical experience with MS SQL and MySQL is an asset.
    Comportments/ Behavior
    Ability to quickly learn systems and trouble shoot with the customer live and remotely;
    Pro-activity, autonomy, self motivated individual;
    Likes to interact directly with customers to achieve customer satisfaction with a "can do" attitude, ability to easily establish good relationships with customers;
    Diplomacy, open-mindedness, and patience, great listening;
    Good verbal skills for telephonic work and ability to develop well written documentation;
    Excellent oral and written English communication skills. Chinese Mandarin skills are an asset.
    Please send your resume to [email protected] and mention the title of the position: Support Application Engineering position
    We thank you for your interest towards Averna. Please note that only those candidates being considered for the position will be contacted.

    update : this position is based only in Atlanta

  • NI Variable Engine:Error:

    I have a systemthat has been running fine for over a year. Upon failure the customer returned the processor to us and I took it to a known working unit to see what was going on with it.
    First thing, in MAX you cannot see anything under Devices and Interfaces, only thing that shows up is Software.
    I connected a monitor and keyboard to the PXI directly and the following errors are displayed (no way of doing a screen shot so I caught as much as I could):
    tStatus2 Contents:
                  Error code = -2147220721
                  Component Name = nidevldp
                  File Name = p:\Measurements\Infrastructure\devld\trunk\1.8source\mxsCon
    figWrapper.cpp
                 Line # = 103
                 Address of StatusDesc = 0x0
                 Stack Trace = 0x1F6EB46
                                       0x2167730
                                       0x216BFC3
                                       [and a bunch more]
    NI Variable Engine: Error: Unable to load the MXS conf plugin: Failed to get MAX Configuration Interface: 0x80004005
    NI Variable Engine: C:\ni-rt\system\ni_tagger_plugin_mxs.dll: Failure to load plugin: Unexpected error: Unable to get the interface from plug-in
    Nothing has changed on the system in over a year so I know it is not software. One day it just would not start running the machine.
    The processor is a (now obsolete) PXI-8184.
    Any clues or do I have to replace it, which will be fun because the newer PXI-8183 is a different size.
    Thanks for any input.

    This is a fairly common problem, in my experience. We use PXI RT controllers for several test stands, and I have found that the MAX Configuration database is quite easily corrupted if the controller is powered down without closing and cleaning up all the DAQmx tasks. I have no idea why an embedded system would be so easily corrupted, but here are the steps I have taken to deal with the (inevitable) corruptions:
    I created a "Shutdown RT System" button accessible via a remote front panel from my Host PC that will trigger an interrupt to stop all DAQ tasks and loops on the RT system. I make sure that any time the system needs to be powered down/rebooted, that the operator first presses this button to put the controller into a safe-to-shutdown state.
    I used the RTSystemReplication toolset to create a backup image of the RT controller HDD on my host PC. I created a separate compiled executable that I configured in Windows scheduler to create weekly backups of the RT controller. I have another application that redeploys the backup in the event of a database corruption. Note that the RT controller must first be completely formatted before the backup image can be applied.
    It is very frustrating that such a procedure is necessary (and it is necessary--even with uninterruptible power supplies, we still have the occasional power outage that outlasts the backup battery, not to mention oops situations where the system is restarted without stopping all DAQmx tasks). But by taking the steps listed above, I have managed to reduce the downtime associated with these gross system failures to roughly one hour per incident, as opposed to the 4+ hours it used to take to fully reinstall all the software components and recalibrate channels as necessary.
    If anyone else has any other ideas as to how to avoid/deal with MAX configuration corruptions on PXI RT controllers, please respond with descriptions.

  • Crystal Reports 10 Error "Unknown Query Engine Error"

    Hi guys,
    after creating reports with crystal reports 2008 fails,because there's no 64-bit runtime version i try to develope my reports now with Crystal Reports 10 (ships with Visual Studio 2008).
    I've minimized the complexity to a minimum - a simple console application without SharePoint or something like that. Now i'm getting the error:
    "Unknown Query Engine Error"
    when i try to set the DataSource for my report. Of course i created a new report file with CR10 to avoid compatibility issues. Every Users has full permissions on the file system...
    I'm using the follwing Code Snippets, which are working fine for Crystal 2008 and don't threw an error while compiling in CR10.
    Schema.xsd:
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="XMLSchema1"
        targetNamespace="http://tempuri.org/XMLSchema1.xsd"
        elementFormDefault="qualified"
        xmlns="http://tempuri.org/XMLSchema1.xsd"
        xmlns:mstns="http://tempuri.org/XMLSchema1.xsd"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
    >
      <xs:element name="News">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Title" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    ConsoleApplication.cs:
                MyReport report = new MyReport();
                DataSet ds = new DataSet();
                DataTable t = new DataTable("News");
                DataColumn title = new DataColumn("Title");
                title.DataType = Type.GetType("System.String");
                t.Columns.Add(title);
                ds.Tables.Add(t);
                DataRow drDataRow;
                drDataRow = t.NewRow();
                drDataRow["Title"] = "My Title";
                t.Rows.Add(drDataRow);
                * //Error is thrown here*
                report.SetDataSource(ds);
                string filename = "C:\\report.pdf";
                report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,
                     new System.IO.FileInfo(filename).ToString());
    Does anyone have an advice: Do i miss a patch or hotfix? These problem frustrates me already, because i thought setting a datasource couldn't be such a problem...
    Thanks in Advance,
    Christian

    Resolution:
    This Version of Crystal Reports (Visual Studio 2008 .Net) doesn't want the crdb_adoplus.dll in the GAC. After i uninstall the *.dll the Console Application run without problems. For SharePoint you have to create a custom CAS which should look like this:
    <CodeGroup
                                  class="UnionCodeGroup"
                                  version="1"
                                  PermissionSetName="FullTrust"
                                  Name="Crystal_Strong_Name"
                                  Description="This code group grants code signed with the Crystal Reports strong name full trust. ">
                                <IMembershipCondition class="StrongNameMembershipCondition"
                                                      version="1"
                                                      PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100f1191170c753924fe8b624c15216d8d4869e4f37d0e7941b77c05c67ba0662a7ad9099e1041739a3b1f33255c4f8c878649a558b7aaef8e08c7ce3edc2275cbda2608381813fc038db8e5792a729658c59e73121691f22197aa92c7e715d7dfdbb2730b037ccdfcd2708fbfc8c9a1a60be50c635975afce4e4b1e3e12613cfc2"
                                                      />
    Well - CR drives me crazy
    Edited by: C.Kaiser on Oct 14, 2010 4:36 PM

  • Application Engine hangs

    Hi
    I find that for some reason only programs of type Application Engine are going into queued status.
    All the other programs are running fine.
    The Process scheduler processes application engine programs only after cancelling all application engine programs in queued status
    Can you please let me know what possible causes could be attributed to this behaviour

    Cyril
    As Nick told, find for earlier AE's that are in error/delete and clean them up from Prcs monitor. then,
    *Option1
    Reconfigure the prcs scheduler, clear cache and restart back. Check the last one that is in Queued. If it picks UP then let the backlog clears until u trigger a new one.
    *Option2
    Reconfigure the Prcs Scheduler by selecting 'n' to disable the PSAESRV's, then clear cache and start back.
    IN either case you can try increase the logfence in psprcs.cfg so that it gives detailed info in the logs. btw Wat is the Max concurrency set on AE's? is the issue on both NT/UNX?? (or) Just one of them?
    vKing.

  • Unknown Query Engine Error

    Post Author: Scott Miers
    CA Forum: Data Connectivity and SQL
    Hello,
    I have an application written in vb6 that opens a crystal 11 report.
    The report retrieves data from Microsoft SQL Server 2005.
    Occasionally, I get this error when opening large reports:
    "Unknown Query Engine Error"
    The error also occurred on Microsoft SQL Server 2000 and Crystal 8.5
    I only receive this error message on windows XP. This error does not occur on Windows 2000 workstation or server.
    I can easily reproduce the problem.
    Any Suggestions?
    Regards,
    Scott

    Post Author: sharonmtowler
    CA Forum: Data Connectivity and SQL
    im not sure if you are asking a question, do you place the parameters in the sub report as well as the main?

  • AWE (Approval Workflow Engine) Question

    I'm trying to implement AWE (Approval Workflow Engine) and am having a bit of a problem.
    I've been following the instructions on the Red Paper document concerning implementing AWE. I have the following code. When this code fires the cross reference table is populated. However the PSWORKFLOW table does not get populated. The orinator does have a supervisor selected in the Workflow tab of his user profile. But nothing gets routed to the user for approval. Like I said the PSWORKLIST record does not get populated when this code fires. I'm trying to follow the code from EProcurment but am wondering if it's a coding or configuration issue. Any help is greatly appreciated. Thanks!!
    &reqRecord = CreateRecord(Record.CUS_VCHR_AW_VW);
    GetLevel0()(1).GetRecord(Record.VOUCHER).CopyFieldsTo(&reqRecord);
    &launchMgr = create PTAF_CORE:LaunchManager("VOUCHER", &reqRecord, "");
    &launchMgr.requester = "TEST";
    /* &launchMgr.appDef.trace_flag = True; */
    &launchMgr.SetHeader(&reqRecord);
    &launchMgr.DoSubmit();

    I am also trying to code for Voucher approval workflow. The worklist is not getting populated and I am getting an error on the following code:
    If &sac_aw_ref_launch_mgr.hasAppDef = True Then.
    I have the process definition setup.
    My code is as follows:
    SavePostChange (Component)
    Function KickoffAW()
    If &sac_aw_ref_launch_mgr.hasAppDef = True Then
    /* Update the requester, if necessary */
    If &sac_aw_ref_launch_mgr.requester <> VOUCHER.OPRID Then
    &sac_aw_ref_launch_mgr.requester = VOUCHER.OPRID
    End-If;
    &sac_aw_ref_launch_mgr.appInst.Save();
    &vchRecord = CreateRecord(Record.BC_VCHR_AW_VW);
    GetLevel0()(1).GetRecord(Record.VOUCHER).CopyFieldsTo(&vchRecord);
    &sac_aw_ref_launch_mgr.SetHeader(&vchRecord);
    If (&sac_aw_ref_launch_mgr.submitEnabled) Then
    &sac_aw_ref_launch_mgr.DoSubmit();
    End-If;
    End-If;
    End-Function;
    SavePostBuild (Component)
    /* Workflow Approval - Start */
    If %Mode = "A" Then
    &REC1 = CreateRecord(Record.BC_VCHR_AW_VW);
    GetLevel0()(1).GetRecord(Record.VOUCHER).CopyFieldsTo(&REC1);
    rem &REC1 = GetLevel0().GetRow(CurrentRowNumber()).GetRecord(Record.VOUCHER);
    &awprcs_id = "BC_VOUCHER"; /* The transcation definition setup */
    /* Initialize the approval manager */
    &sac_aw_ref_launch_mgr = create PTAF_CORE:LaunchManager(&awprcs_id, &REC1, VOUCHER.OPRID);
    &submitEnabled = &sac_aw_ref_launch_mgr.submitEnabled;
    &previewEnabled = &sac_aw_ref_launch_mgr.previewEnabled;
    &resubmitEnabled = &sac_aw_ref_launch_mgr.resubmitEnabled;
    End-If;
    /* Workflow Approval - End */
    Thanks,
    Edited by: user11900060 on Oct 5, 2009 1:25 PM

  • Query engine error after upgrading from vs2003 to 2008

    Hi,
    I had crystal reports installed and working with visual studio 2003 using .Net. After upgrading to visual C# 2008 Express, When I attempt to create a report at runtime, I get the error "Query Engine Error. <filelocation>\report1.rpt"
    If I attempt to edit a report at design time, I get the following error: "There is no editor available for <fileLocation>\report1.rpt. Make sure the application for the file type (.rpt) is installed.
    Can anyone point me in the right direction??
    Thanks,
    Dittimon

    Crystal Reports is not supported with the Express editions of Visual Studio.
    If you are going to use VS.NET 2008 you will need to use the Professional Version or higher.
    This is noted in the following help file: [CR 2008|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm ]
    Under Supported Versions of Visual Studio
    Jason

Maybe you are looking for