SUBMIT a report that uses screen programming

I have a report which uses screens created in screen painter and not selection screens.
currently the submit command supports only selection screens.Can you tell me how to achieve this for screens created by screen painter?

SUBMIT is for type 1 programs only - i.e. reports with selection screens. If you've any dialog in there, SUBMIT simply won't work. CALL TRANSACTION is one route, as others have suggested, via BDC. But if the program your trying to run is a Z program, why not rewrite it so that the business functionality and screen handling are seperated - then you can call the business functionality direct from your calling program. (See MVC pattern for more detail or the whole programming concept of layered design).
If the program you're wanting to run isn't your own, then look for BAPIs, FMs etc. some kind of API, and call them.
matt

Similar Messages

  • Crystal Report Intigration using screen programming

    I am having 2 problems regarding crystal report.
    1) I have developed crystal report using crystal report wizard for table 'MARA'
    now i want to call this crystal report using screen programming. How i can do this.
    2) and how i can call parameterised crystal report using abap programming.
    can any one help me ?
    Thanks.

    hi,
    this is code for open the crystal report press the button.
    First import the crystal report  using Report  and  layout manager
    goto administration->setup->general--->Report  and  layout manager
    create one button in add-on form.when we press the button the following event triggered.
    get the docnumber for that particular form and pass it.
    Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
                            If pVal.ItemUID = "btnPrint" Then
                                Dim strAcNcmr As Integer
                                strAcNcmr = objForm.Items.Item("txtDocNo").Specific.Value
                                Dim oRS As SAPbobsCOM.Recordset
                                oRS = objSBOAPI.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                oRS.DoQuery("SELECT MenuUID FROM OCMN WHERE Name = ' Purchase Indend' AND Type = 'C'")
                                objSBOAPI.SBO_Appln.ActivateMenuItem(oRS.Fields.Item(0).Value.ToString())
                                Dim oForm1 As SAPbouiCOM.Form
                                oForm1 = objSBOAPI.SBO_Appln.Forms.ActiveForm
                                oForm1.Items.Item("1000003").Specific.String = strAcNcmr
                                oForm1.Items.Item("1").Click()
                                oForm1.Items.Item("1").Visible = False
                                oForm1.Items.Item("2").Click()
                            End If
    this is easy solution for open the crystal report for add-on form
    Thanks & regards
    B.lakshmi narayanan

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • Error while subscription on SSRS report that uses custom assembly

    I am new to SSRS. i have created a report that uses custom assembly that runs an oracle procedure and bring back result to report. this works fine on sharepoint mode interactive report. while i subscribe the same report, i am getting below error
    Request for the permission of type 'System.Data.OracleClient.OraclePermission,System.Data.OracleClient,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b77a5c561934e089'failed. < ==> 
    at System.Security.CodeAccessSecurityEngine.Check(Objectdemand,StackCrawlMark&stackMark, BooleanisPermSet)
    at System.Security.PermissionSet.Demand()
    at System.Data.Common.DbConnectionOptions.DemandPermission()
    at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnectionouterConnection,DbConnectionFactoryconnectionFactory)
    at System.Data.OracleClient.OracleConnection.Open()
    i am breaking my head to find the root cause and fix for this. 
    i tried adding below permission on server machine.config file,
    <SecurityClass Name="OraclePermission" Description="System.Data.OracleClient.OraclePermission, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    <PermissionSet class="NamedPermissionSet" version="1" Unrestricted="true" Name="FullTrust" Description="Allows full access to all resources for custom assembly">
      <IPermission class="OraclePermission" version="1" Unrestricted="true" Level="High" Flags="FullTrust"/>
    </PermissionSet>
    it doesnot work and i am getting the same error on subscription. 
    can anyone help me to solve this issue. this is very urgent. thanks 

    Can you see data for Custom object @ BEx level??
    YES, then just try to re-create the same variable and Save the BW query.
    Now do View - refresh Strusture @ Universe. And you can see Filter for the same, just Parse it, just whether it is OK or not.
    OK -- then Export the Universe and create WebI reports, this will come as Prompt.
    Hope it will helps you.
    Thank You!!
    Sent from iPhone

  • Report that uses web services as data source, prompts for database logon

    I have a crystal report that uses web services as a data source. When I deploy the report to Infoview it prompts me for a database username and password. Since I am not using a database it should not prompt me for these. I tried various options in the CMC->database settings for this report but it still prompts me for the database logon info or tells me that the database logon information is incorrect.
    The report work fine in the Crystal Reports Designer.
    Does anyone know how I can prevent this report from prompting me for the database logon info ?
    Thanks,

    What options have you tried in the CMC?
    Have you tried running the report in Crystal Reports installed directly on the Enterprise machine?

  • How to convert Crystal 8.5 Reports that use queries to Crystal XI reports

    We were using the following:
    Crystal Reports version 8.5
    Crystal SQL Designer 8.0.0.0
    CRW32 8.0.0.8
    We have now migrated to Crystal XI.
    Most of our reports use queries created in the Crystal SQL Designer. 
    This is the message we receive when I open a report in Crystal XI that uses a query:
    Reports based on Crystal Dictionary or Crystal Query are no longer supported.  Please change these reports to use Business Views.
    How do I convert a Crystal report that uses a query to use a Business View?
    Thanks,
    Mac Bradley

    Hi Mac,
    There is a Database Migration Wizard that was available but the link is broken now. I'm tracking down where we can get it from. Check your CD, it may be on the disk.
    Currently it's only shipped with our Enterprise Product because it converts Queries to Business Views and Views to Command Objects.
    If you have Enterprise Available you should have a link off the Start Menu.
    Back up your reports first....
    Thank you
    Don

  • How can I identify reports that use specific tables

    Hi, is there a way that I can identify the reports that select from specific tables?  We have 3,000 reports in business object enterprise XI R2 SP5. and we're trying to identify all the reports that use a specific table.

    Or if you have a developer in Java or .NET available you can write one. Fairly simple to get the info.
    In .NET you would open each report, write the name of the report to a log file with the output of the SQL Statement:
    Using RAS as the report engine.
                GroupPath gp = new GroupPath();
                string tmp = String.Empty;
                rptClientDoc.RowsetController.GetSQLStatement(gp, out tmp);
                MessageBox.Show(tmp, "Data Source Set and SQL Statement", MessageBoxButtons.OK, MessageBoxIcon.Information);
    If you want more details is is available with a few more lines of code. The above would only show you what is used in the report.
    I don't believe there is a BOE tool that can do this but they may have one.
    Here's a link to the BOE Admin forum: BI Platform
    Thank you
    Don

  • Running web report that uses jdbc

    I have been trying to run a web report from oc4j. The report was created in reprots 9i. The url:
    http://localhost:8888/reports/test/myReport.jsp?userid=username/password@dbname
    works great for a report that was created using a sql connection. It doesn't work for a report created using a jdbc connection. When I try to use it for a jdbc report I get the following error:
    REP-4100: Failed to execute data source. REP-0069: Internal error JDBCPDS-62000:Invalid sign-on parameter P_JDBCPDS
    What url should I use to run a report that uses jdbc? Thanks.

    Hi Roger
    To clarify, for reports which have PDS based queries, you need to give a sign on parameter in the url. This sign on parameter is nothing but the connection details. In case of reports designed with sql query, you provide userid in the url. The default sign on parameter name for JDBC PDS based report is p_jdbcpds. When you design a report, you have option of changing this sign on name. In case your report has sign on parameter name different to default sign on name, you need to specify that sing on parameter name in the URL.
    For JDBC query with Oracle thin driver, the sign on parameter would look like:
    scott/tiger@(DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = xxx-xxx)
    (Port = 1521)
    (ADDRESS =
    (COMMUNITY = tcp.world)
    (PROTOCOL = TCP)
    (Host = xxx)
    (Port = 1526)
    (CONNECT_DATA = (SID = xxxx)
    After @, you basically gives DB connection info as defined in tnsname.ora file for that DB.
    Thanks
    Rohit

  • Report that uses two different queries

    I need to make a Report that uses two different queries. It would do one query, then the second, putting the results one after the other on the page.
    Using the wizard, I put in the first query, and it will generate output from this first query.
    I am able to put the second query in the Report, but when I try to use something from the second query, it gives a message about accessing a field below its frequency.
    In the Reports forum, there is a reference to
    tons of samples available in
    builing reports doc 1. http://download.oracle.com/otn/other/general/B10310_01.pdf
    But the link is broken.
    What can you tell me?
    Thanks, Wayne

    What you're trying to accomplish is possible. Now that you've got the second query, add a new repeating frame in the layout editor below the first area. Open the property palette for the new repeating frame and set the source to the second query. Then add fields from the second query.
    Also, remove the fields you have for the second query from the first frame that was created by the wizard; that's what's causing the error about accessing a field below its frequency.

  • Oh no! "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."

    Tried to submit an app to the Mac App store and I received this now:
    "Deprecated API Usage - Apple no longer accepts submissions of apps that use QuickTime APIs."
    Looks like a fix is in for Adobe Air (https://bugbase.adobe.com/index.cfm?event=bug&id=3680732), but I'm not sure if the same is being performed on Director.
    I'm not using any Xtras or anything, I think this is just embed within the Director builds.
    Looks like submitting anything to any Apple App store is going to be on hold for everyone until this gets fixed.

    Hi,
    Looks like this issue has been fixed in April 8th, 2014 release of AIR SDK. So the latest release 13.0.0.111 on May 13th, 2014 will have this issue fixed.
    Download Adobe AIR SDK
    Release Notes | Flash Player® 13 AIR® 13
    Thanks!
    Mohan

  • Uploading reports that use dynamic parameter values

    Post Author: singhal
    CA Forum: Deployment
    Hi,
    I am having difficulty using Crystal Reports Server XI to deploy reports that were made in Crystal Reports XI.
    When I create a report that uses a dynamic parameter listing, I get the follow error when I try to install it onto the server:
    Failed to read data from report file C:\WINDOWS\Temp\myreport.rpt. Reason: Failed to read parameter object
    But if I were to use a static parameter listing, the server will load up the report just fine.  Can you please tell me what I am doing wrong and I need to do to fix the problem.  As many details as possible would be helpful.
    Thanks,
    Back

    Post Author: TAZ
    CA Forum: Deployment
    Does the issue happen with the built in administrator account? I believe this is a permissions issue and the permissions need to be set in business views.
    Regards,
    Tim

  • How/can I use boe search 4 all reports that use specific tables

    How/can I use boe search 4 all reports that use specific tables
    can this be done with query builder
    or
    is there a way to search all sql of all reports for specific strings and report names so that I can find all report sql that uses table1  for example?

    Hi Bart!
    You can use VBScript to extract the dataprovider within the reports (Search for SDK Desktop Intelligence).
    If you can wait a few days longer, I can provide my script.
    ciao Hakan

  • Report that displays 'z'program,t-codes,user-ids,list of clients

    Hi everyone
    i have a requirement.
    i need a report that displays all t-codes,all zee programs,all the user-ids,all the clients logins available and status of hotpack application i.e. ABAP,SD,FI/CO,MM and others.
    i know that all t-codes are in table TSTC  and user-ids in USH02, USH04, USR01, USR02, USR03.
    for the rest do suggest me the tables.
    if anyone know the answer pls do reply.
    Regards
    Venkat
    will reward with points and thanks in advance.

    hi,
    the table that store all zprograms with their user id's is TRDIR.
    in the selection screen if u specify the zprogram name and  user id.
    if u specify user id u will get the list of programs that were done by the particular user.
    please reward me if helpful.
    thanks,
    gupta.

  • Crystal Report That Uses Stored Procedure Errors when connecting to the DB

    We had developed reports a few years ago, including one that calls a Stored Procedure on an iSeries AS400 DB2 database.  We upgraded our environments to Crystal Reports 2008 and BO XI 3.1.  Now, the existing report that previously ran in the old environment is not running (note that the other SQL-based reports work without a problem, only this one which uses a store procedure is not working).  I downloaded the report into my local Crystal Reports designer and tried to run it from there and I got the following error message:
    ======
    Failed to retieve data from the database.
    Details: ADO Error Code: 0x
    Source Microsoft OLE DB Provider for ODBC Drivers
    Description: [IBM][iSeries Access ODBC Driver] Statement violates access rule:  Connection is set to read only.
    SQL State: 37000
    Native Error: [Database Vendor Code: 30186 ]
    ======
    {CALL "<database>"."<library>"."RELEASEDNOTINVOICE"({d '2010-03-01'})}
    This call will still work from on a SQL client running on a JDBC connection.  Is there some problem with the new verion of BO and Crystal Reports with using the iSeries ODBC driver?

    ...my issue was resolved by setting the ODBC.INI registry entry for AllowProcCalls from 0 to 1.

  • A report that uses tablix returns error when trying to deploy to Report Server 2005

    We have some reports that have been built using tablixes, and tested in a 2008 Report Server. When trying to deploy to Report Server 2005 (don't ask why) we get an error saying
    The report definition is not valid. Details: The element 'ReportItems' in namespace 'XXXXXX' has invalid child element 'Tablix'
    So.. what is the issue? I guess 2005 does not support tablixes.. And we cannot upgrade the server version. So the real question is.. is there a workaround for this to avoid having to remake those reports for 2005??
    Thanks!
    Juan Pablo Realini .Net Developer in developement, musician, Star Wars fan, married, father of 2 1/2

    Hi Shei Pi,
    Unfortunately Microsoft provide upgrade option only, not downgrade  .
    SSRS 2005 report can be seen in 2008.. but 2008 report cant seen in 2005.
    One guy created the utility which is paid, to convert the report from 2008 version to 2005.
    You can see similar thread in MSDN here, you can find the paid utility  link also for this issue.
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/bc5fbe11-531a-4a9d-861f-24625a9f4599/converting-rdl-file-of-ssrs-2008-to-ssrs-2005
    Thanks
    Prasad

Maybe you are looking for

  • Can't open Palm program

    My Palm software was corrupted? when I was trying to fix another problem.  First, my calendar was blank except for repeat dates and the contacts were missing info.  I preformed restore a couple of times.  Now I can't open Palm at all.  I did find fil

  • Customer wise Materials Quantity target

    Hi all, The requirement is as below, For customers we would like to set sales quantity targets, like for 1 custoimer specifically combined for 10 materials we will set 5 Tons target,when we have done dispacthes of 5 ton of those specific materials(ca

  • Container-rendering-done event?

    Hi all, I'm initializing a custom container (extends SkinnableContainer)  and add it as an element to the main container. At this point, the container is empty and without any style properties. Neither is a skin defined. Only it's width and height ar

  • How to reset the data scroller to fist page, on load of the page.

    Hello, My requirements is to reset the datascroller to first in popup. In popup page contains datatable and Save and Cancel button. Data SCroller functionality is implemeted for data table. Setting data scroller to first page is done for both Save an

  • Safari obeys autocomplete="off". How ignore?

    There's some non-standard html attribute code (I think it's created by Microsoft?) that can be used in e.g. input tags in forms. It's called "autocomplete" and the designer can chose "on" or "off". When he's adding autocomplete="off" to an input fiel