How to check via report if a graphic exist in SE78.

How? Thanks for answers.

Sample code....
report zrich_0001 .
data: xstxbitmaps type stxbitmaps.
parameters: p_tdname type stxbitmaps-tdname.
select single * from stxbitmaps into xstxbitmaps
            where tdobject = 'GRAPHICS'
              and tdname   = p_tdname
              and tdid     = 'BMAP'.
if sy-subrc  = 0.
  write:/ 'Yes, it exists'.
else.
  write:/ 'No, it doesnt exists'.
endif.
Regards,
Rich Heilman

Similar Messages

  • How to Check the report is Finished while calling a report from Forms 6i

    Dear All,
    I am Calling a report from oracle forms 6i, after runing report in " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"
    I need to copy the pdf to store it in another place once the report is generated.
    My Problem is : that i want ot Check first the report has generated after " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);" is executed ? How to check the report is generated ot not?
    As i tried to use the below procedure after "Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"" but his does not work... nothing happens
    {code}
    PROCEDURE FPC_COPY_REPORT (p_report_name varchar2) IS
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status varchar2(20);
         lv_id varchar2(1000);
    BEGIN
    repid := find_report_object('AMTP_995.RDF');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
         if rep_status = 'FINISHED' then
         message('Report Completed'); message('Report Completed');
         else
              message('Error when running report.');           message('Error when running report.');
         end if;
    END;
    {code}
    Any Help

    actually My code is this:
    declare
         ln_alert          number;
         pl_id               ParamList;
         lv_report_name varchar2(10000);
         lv_path  varchar2 (100) := 'C:\';
         lv_shared_path  varchar2(1000);
         lv_copy_file varchar2(10000);
      cursor cr_dir_path IS
      select v_dir_path
      from md_directory
      where v_dir_code ='SHR';
      lv_file_name varchar2(1000);
    BEGIN
      open cr_dir_path;
      fetch cr_dir_path into lv_shared_path;
      close cr_dir_path;
    lv_report_name :=  lv_path||:fn_cntl.nb_ref_no||'_M08600000_'||to_char(sysdate,'YYYYMMDD-HHmmss')||'.pdf';
      if ffn_check_fields  THEN
         pl_id := Get_Parameter_List('LAI');
             IF NOT Id_Null(pl_id) THEN
                 Destroy_Parameter_List( pl_id );
              END IF;             
              pl_id := Create_Parameter_List('LAI');
           if :fn_cntl.nb_report_name ='MMAT_REPORT'
                then
                     if :fn_cntl.nb_report_desc ='EXPORT'
                          then
                         Add_Parameter(pl_id, 'PARAMFORM',TEXT_PARAMETER, 'NO');
             Add_Parameter(pl_id, 'DESTYPE',  TEXT_PARAMETER,'File');
            Add_Parameter(pl_id, 'DESNAME',  TEXT_PARAMETER, lv_report_name);
            Add_Parameter(pl_id, 'DESFORMAT',TEXT_PARAMETER,'PDF');
            Add_Parameter(pl_id, 'p_mat_no',TEXT_PARAMETER, :fn_cntl.nb_mat_no);   
            Add_Parameter(pl_id, 'p_ref_no',     TEXT_PARAMETER, :fn_cntl.nb_ref_no);
            Add_Parameter(pl_id, 'p_verified_by',TEXT_PARAMETER, user);
                     Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);
          DECLARE     
               repid REPORT_OBJECT;     v_rep VARCHAR2(100);     rep_status varchar2(20);BEGIN
                         /* REP_OBJ= REPORT OBJECT CREATED UNDER REPORT NODE AT FORM */
             repid := find_report_object('MMAT_REPORT');      v_rep := RUN_REPORT_OBJECT(repid);
                        rep_status := REPORT_OBJECT_STATUS(v_rep);          
          if rep_status = 'FINISHED' then
              message('Report Completed');          message('Report Completed');
             --copy_report_object_output(v_rep,'c:\local.pdf');
             -- host('netscape c:\tlocal.pdf');     
         else          message('Error when running report.');
                                          message('Error when running report.');     
         end if;
                 END;
         end if;
      end if;
           if :fn_cntl.nb_report_desc ='EXPORT'
                then
                  error_handler('This report will be Storde in ' ||lv_report_name||' and '||lv_shared_path|| ' Location',3);
                     lv_copy_file :='copy '||' "'||lv_report_name||'" "'||lv_shared_path||'"';
                     host(lv_copy_file,no_screen);
                  error_handler('Report Has been Generated Sucessfully.',3);
           end if;
        end if;
    END;I will try first the another solution you have replied perviously... and will let you no the results... thanks a lot...

  • How to check SQL Tuning Advisor task is exist or not

    How to check SQL Tuning Advisor task is exist or not using DBMS_SQLTUNE,
    I want to remove SQL Tuning Advisor task only if it is exist using DBMS_SQLTUNE.DROP_TUNING_TASK function

    Two approaches.
    1. Look up in DBA/USER_ADVISOR_TASKS, if it exists, drop it.
    2. Drop it, ignore the exception
    3. Drop it, catch the exception (specific exception if you want to rightly avoid such constructs as when others then null) obviously within an inner block is you want to catch and then move on to do other work.
    SQL> declare
      2   e_no_such_task exception;
      3   pragma exception_init(e_no_such_task,-13605);
      4   procedure forgetaboutit
      5   as
      6   begin
      7      null;
      8   end;
      9  begin
    10     begin
    11       dbms_sqltune.drop_tuning_task('NON_EXISTENT_TASK');
    12     exception
    13          when e_no_such_task then
    14               forgetaboutit;
    15     end;
    16     -- do something else
    17     null;
    18  end;
    19  /
    PL/SQL procedure successfully completed.
    SQL> P.S. Ignore procedure forgetaboutit - just amusing myself...

  • How to check the report builder version from the rdf file

    Hi,
    I have a rdf file but I don't the developer using which version of report builder to develop the rdf file. So, does anyone knows how to check the rdf file is developed by which version of report builder?
    When I try to use the notepad to open the rdf file, it shows the string "ROS.60050". So, does it means that the rdf file is developed by Oracle report 6i?
    Besides, do anyone knows if Oracle report 6i are still offer from Oralce (as I know, the latest verison of oracle report is 11g). So, in case Oralce not offer oracle 6i and I need to buy oracle report 11g, do u know it is compatiable or I need to do the migration from 6i to 11g?
    Thanks!

    Hi,
    The ROS version you are seeing in the RDF file does not mean the version where that RDF was developed. I am not aware of a way to check this but something that may help is that when you try to open a RDF developed in a higher version
    of Reports with a lower version of Reports builder the following warning will be displayed
    Warning. Opening a report saved with a newer version of Reports Builder.
    Functionality may be lost. Continue?
    "You tried to open a report with a version of Reports Builder older than the version used to
    create the report. If the report uses functionality unavailable in the older version, that
    functionality will be eliminated from the report.
    Regarding Oracle Developer 6i. This version is not supported any more. Regarding how to upgrade Reports 6i to 11g and what to have in mind during the upgrade please review the following documentation.
    References
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24478/toc.htm
    How To Migrate Forms and Reports From 6i and/or 9i To 11g? (Doc ID 1275515.1)
    Hope it helps.
    Regards, RZ

  • How to check via wlst that application was deployed on specific server?

    There is several managed servers(not in claster) on environment.
    My application is deployed on a few of them.
    1. How to check if application was already deployed on some specific managed server?
    2. Is it possible to redeploy application only on one managed server?
    3. How to redeploy application on all managed servers?
    Edited by: vbez on Sep 13, 2010 6:26 AM

    How to check if application was already deployed on some specific managed server?
    applicationRuntime = cmo.getAppRuntimeStateRuntime();
    state = applicationRuntime.getCurrentState("deploymentname", "deploymenttarget");Is it possible to redeploy application only on one managed server?
    If you redeploy an application it is deployed to all the targets it has been assigned to.
    How to redeploy application on all managed servers?
    See above. If your application has been targetted to the managed servers
    it gets redeployed to these targetted servers.

  • Check Standard reports

    Dear All,
    Can any one explain me how to check Standard reports in SAP? Are there any T-Codes for this or what is the flow I need to follow?
    regards,
    buddhika

    Hi
    See Note 491519 - Standard analyses - Transaction codes and reports
    I hope this helps you
    Regards
    Eduardo

  • How to check current input/output rate on router subintenterface via SNMP?

    How to check current input/output rate on router (2821, etc..) subintenterface via SNMP, like cacti monitoring system.
    I cant find OID to make this with snmpwalk.
    Or there is no way to check current load by this way? Only polling?
    P.S. Ethernet subinterface, of course.
    With great respect, S.A.

    Hi,
    Try to use:
    1.3.6.1.4.1.9.2.2.1.1.6 - InBitRate
    1.3.6.1.4.1.9.2.2.1.1.8 - OutBitRate
    1.3.6.1.4.1.9.2.2.1.1.28 - ifDescription

  • How to do Role and Authorization check in report program

    Hi Friends,
    Please provide me your guidance on how to add or give coding to check role authorisation of a particular field, input from selection screen.
    My requirement is,
    If the Fund center filed in my select option parameter has been filled, then I have to check the role authoriszation(which was created already) in the At selection-screen event to check and give access to the user to run the process further.
    Say my Fund center is "SH'
    and my Role authorisation to be settled to all users 'ZMM_BXI'.
    How to implement in report program, Please advise.
    Thanks & Regards
    Babu.

    Sorry SDN,
    Posted in a wrong Forum page.
    Please excuse.

  • Project Calendar Meta Data - How to identify the calendar and calendar properties via report builder 3.0

    Hi
    I am trying to write a report (SQL Server 2012 Report Builder 3.0) that will project a list of Projects and the Project Calendar they are using. I thought this field would be visible in the default EpmProject_UserView - I've been through other views and
    cannot see where this field is found.
    Related to this query - I need to identify the defulat calendar working hours per project but again there is no obvious meta data field where this can be identified.
    Currently the only option I do have is to manually check via MS Project App (2013)....

    Hi Brendan,
    Project server reporting database doesn't contain the calendar info. The only supported way to use the PSI to read the calendar info from Published database.
    See this
    reply from Amit.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to check does my notebook use integrated or AMD graphic card?

    How to check does my notebook use integrated or AMD graphic card? Some games show me that they use integrated card: http://img849.imageshack.us/img849/4125/98ab1c28dc9f4b51b537435.png ?
    This question was solved.
    View Solution.

    Hello,
    First click in Start Menu, Control Painel in the up right side click in Category and left in Small Icons.
    Search Device Manager.
    Display Adapters.
    Which is your Operation System ?
    Windows 7?
    If yes.
    Click with the right clickpad in the desktop and select Display.
    Screen Resolution you can see how graphic your used or change if you want to.
    Att Cristian
    If this answer help you click in Kudos to tanks.
    Tanks
    If this answer help you click in Kudos to tanks.
    If you don't have more question click in Accept as Solution to close this case.
    Best Regards Cristian Derick.
    Senior Support Analyst.

  • How to check whether the report is being called or not

    Iam using srw.run_report.for calling another report. I have registered both the report in oracle apps11.0.3. When i run the master report in oracle apps I want to see whether the second report is called or not. How to check this.
    Thanks.

    try to check it in C:\Reports6i\Bin
    C:\Reports6i\Bin <-- this may varry depending on the location of your reports.
    btw, are you generating a pdf file?

  • How to check report server name and how to start report server in 10g ?

    Hello Experts,
    I do have 10g Dev suite installed on my machine
    I want to run my report on web using OC4J
    How can i check the report server name as well how can i start the report server if is not running ?
    As well,
    Want to know in real time how it works in case there is application server installed 
    Thanks in advance,
    SShubhangi

    Hi Tony
    Sorry for the confusion as I m new to reports
    I do have 10g Dev suite installed/Report builder on my local machine
    I want to run my report on web using OC4J on the same local machine instead of the Run paper layout and Run web layout option
    Means i want to run the report by passing URL like below
    http://hostname:port/reports/rwservlet?report=report_name server=server_name+userid=db_connect_string+destype=file
    +desformat=spreadsheet+desname=C:\temp\myexcel_output.htm
    How can i check the report server name as well how can i start the report server if is not running ?
    Hope this is clear now
    Thanks...

  • I'm trying to view a site that sends a message that I don't have the most recent graphic card drivers to view with.  It suggests I have the ability to view, but that my drivers might be disable.  I don't know how to check to see what graphic drivers my ma

    I'm trying to view a site that sends a message that I don't have the most recent graphic card drivers to view with.  It suggests I have the ability to view, but that my drivers might be disabled.  I don't know how to check to see what graphic drivers my macbook (end of 2008 model) have enable.  Can someone help?

    You don't need to care about graphic driver on Mac OSX. It includes in OSX and run the driver your MacBook need.

  • How to check RMAN backup report or log

    Hi Guys,
    I have RMAN schduled to backup my database daily.
    Please what are the steps to check the report of the backup to see what was actually backed up and if it backup up ok
    Thanks

    Use "LIST BACKUP" to display information about backup sets, proxy copies, and image copies. With LIST command you can list the following:
    - Backups and copies that do not have the status AVAILABLE in the RMAN repository
    - Backups and copies of datafiles that are available and can possibly be used in a restore operation
    - Specified archived logs, backup sets, backup pieces, control file copies, datafile copies, and proxy copies
    - Backups and copies restricted by tag, completion time, recoverability, or device
    - Incarnations of a specified database or of all databases known to the repository
    - Stored scripts in the recovery catalog
    Examples on how to use LIST command are listed below:
    RMAN> LIST BACKUP;
    RMAN> LIST EXPIRED BACKUP;
    RMAN> LIST BACKUP OF DATABASE;
    RMAN> LIST BACKUP SUMMARY;
    RMAN> LIST BACKUP BY FILE;
    RMAN> LIST ARCHIVELOG ALL;
    RMAN> LIST COPY OF DATABASE ARCHIVELOG ALL;
    RMAN> LIST COPY OF DATAFILE 1, 2, 3;
    RMAN> LIST BACKUP OF ARCHIVELOG FROM SEQUENCE 1437;
    RMAN> LIST BACKUPSET OF DATAFILE 1;You can use the VALIDATE keyword of the BACKUP command to do the following:
    - Check datafiles for physical and logical corruption
    - Confirm that all database files exist and are in the correct locations
    For example, you can validate that all database files and archived redo logs can be backed up by running a command as follows:
    RMAN> BACKUP VALIDATE DATABASE ARCHIVELOG ALL;I suggest you read Oracle® Database Backup and Recovery Manuals:
    http://www.oracle.com/pls/db102/portal.portal_db?selected=3

  • How to Check Report Server Service

    Hi Friends,
    I have installed Report 6i on NT - Report server and Report Developer on my PC and am running Forms on web successfully , but when I call a report from the web form (thru Run_Product) I am facing problem to see the report output in the browser (report made recently in Report 6i). The report runs well as a standalone in the previewer.
    Can anybody tell me how to check whether the Report Server process running or not I mean whats its name and also whether the Report Server is installed as a service or not how to check ?
    Thanks in advance.
    null

    Hi SQL_By_Chance,
    Based on my experience, you can use ReportingService2010.FindItems Method or ReportingService2010.ListChildren Method to return items from a report server database or SharePoint library that match the search criteria or get a list of children of a specified
    folder. And then judge whether the item exists. For the details, please refer to the link:
    Report Server Namespace Management Methods.
    For the second question, you can read the RDL as XML using .NET in local machine. For the more information, please see the thread:
    http://social.msdn.microsoft.com/Forums/en-US/f64b3071-ffb5-40b6-8529-49b5d9fe159a/what-apis-are-available-for-reading-rdl-files.
    When you read the data source item, you can set the data sources for an item in a report server database or SharePoint library using ReportingService2010.SetItemDataSources Method. Please follow the link:
    ReportingService2010.SetItemDataSources Method
    Hope this helps.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

Maybe you are looking for

  • Reporting Services 2012 in SharePoint 2010 - do I need to install SSRS on each server?

    Have spent some time today setting up SSRS2012 with SP1 Business Intelligence Edition on our test SharePoint 2010 farm.  The SharePoint farm is four servers (plus a database) - one of the application servers will host the SQL Server 2012 instance and

  • SEGV Oracle 8.1.6 installer on RH 6.1

    Hi, When I try to install Oracle 8.1.6 on a stock RedHat 6.1 system, the java installer dies on me with the message: SIGSEGV received at bffff1e0 in /opt/orastage/Oracle8iR2/stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/lib/linux/n

  • I need to get the tagName of a node of the first child of the Root

    Hi All, I need to get the TagName of the Node immediete after the Root. I won't know what is the TagName, and based on the Tagname only I can process the records. For example I might receive a SALES object or a MARKETING object wrapped under the root

  • Table(cast())

    Hi All, I am using Oracle 9i and I have an Oracle Type which has been created as follows create or replace TYPE "Dummy" AS VARRAY (500) OF VARCHAR2(50) It is assigned a set of values as follows: oracle.sql.ArrayDescriptor desc = oracle.sql.ArrayDescr

  • [BUG & Question] DC Version 2015.007.20033 - Event ID 16 & AMAZON

    1) Every time the program closes it is entering Event ID 16 into the windows event log with the following message: "The description for Event ID 16 from source Adobe Reader cannot be found. Either the component that raises this event is not installed