Get Report Name

Dear Friends,
I have a problem.....in form builder I can pickup the current
form name with the help of GET_APPLICATION_PROPERTY
(CURRENT_FORM_NAME) built in, but how do I get the current
report name in a similar way???I want to capture report name and
diplay in a text field.
Thanks in advance.
Sanjeev

in zxrsru01, one input i need is the report technical name as the variable logic is only specific to a particular report. the variable however is also used elsewhere, that is why i would like to ensure the logic will only be executed if the executing report is a particular one.

Similar Messages

  • Get Report Name for Report Painter

    Hi Gurus,
    I need in an ABAP program to find dynamically the name of a report generated via Report Painter and associated to a TCODE.
    I got the tcode.
    How i can find it? I find the cluster number in GRRT but i don't know how to convert it in my report name (or even if i'm on the right way)

    Hello Clemens,
    as soon as the report is associated to a transaction code, it should be in TSTC
    Not necessary
    You create a parameter transaction when attaching a tcode to a report painter report which gets stored in TSTCP.
    Cheers,
    Suhas

  • Getting Report Name

    Is there a way to call a Windows API that will return the name of the report that is currently running?? Seems Reports doesn't offer any method to retrieve the filename of the executable .rep file during report execution so one can place the name in the headings. Has anyone had any luck doing this without passing the report name in as a parm?, etc.?
    Thanks
    null

    Hello Tariq,
    You can use the SRW.GET_REPORT_NAME builtin to get the current report's name programmatically at runtime. Please refer the Reports Online Help for further information and examples for using this builtin.
    Thanks,
    The Oracle Reports Team.

  • How to get the query name from  portal report name

    Hi Experts ,
    I am given a portal report Name and asked to do changes to the queries of that ,so how do i get the query name ,
    Thanks in Advance
    Nitya

    Hi Nithya,
    You can get the technical name by selecting the role in the portal where the report is enclosed you will generally find the report in description then identify the report you are looking then double click on that you will get a window pop-up in that you will have details tab there click on the details the your Query technical name will be displayed.
    EX : zqry_w001 Then replace W with Q and seach in analyser or Designer.
    Regards
    Amar.

  • Get report file name

    i am using 9ids
    i use
    web.show_document() to run report.
    now report gets generated into cache and then it is viewed. now i want two things.
    1) i want to get the genrated report file name.
    2) copy that file to user-end.
    through webutil.
    pls help me how or give me function/procedure to do this.
    thanks.
    now report has run.
    please guide me further how to get file name from report/cache.
    and download into user-end.

    Rajendra,
    webutil can download files based on a URL. Just provide the URL that you usually put into web.show_document() to webutil.
    From the comments in webutil.pll:
    * DownLoadFromURL - pulls a file from the specified URL on * the server and sends it via http to the specified destination
    * on the client
    * If you specify file size we can so a comparison after
    * download to ensure that the sizes match
    * Additionally of you specify withProgress and size you
    * will get a progress bar
    * Note that the Title, subtitle and message strings cannot
    * contain the '|' character
    FUNCTION DownLoadFromURL(sourceURL in VARCHAR2,
    clientDestination in VARCHAR2,
    fileSize in PLS_INTEGER default 0) return BOOLEAN;
    FUNCTION DownLoadFromURLWithProgress(sourceURL in VARCHAR2,
    clientDestination in VARCHAR2,
    fileSize in PLS_INTEGER,
    progressTitle in VARCHAR2,
    progressSubTitle in VARCHAR2,
    progressMessage in VARCHAR2) return BOOLEAN;
    Frank

  • How to get Variable name in output (Report Writer/Painter)

    Hello Experts,
    We have maintained one Repot by using Report Writer, this is the report for Cost center (periodic report), input fields are Fiscal year, Period and Cost Center. In out put system will display the selected cost center balances for individual cost element.
    Output: Excel format: in first sheet it will display balance of the total cost centers selected and from second sheet it will display individual cost center balances.
    My requirement is in the output system is displaying sheet name as CC1,CC2,CC3.......CC50, but my user want to display this as Cost Center 1, Cost Center 2, Cost Center 3...... like this. we have maintained variable name as Cost center 1, cost center 2....., but why system is displaying as CC1,CC2,.... .
    Please help me how to get the full description as sheet name in excel.
    Thanks ......Sudheer

    Hello Everybody,
    Please help me how to get variable name in Report Painter outout ( Excel format ).
    Thanks

  • Get period name on query to use it in report

    i want get period name on query to use it in report
    the query
    get period name on query to use it in report
    SELECT itm.item_number item_no,
    itm.description item_desc1,
    mtl.organization_code,
    cpt.cost_cmpntcls_code,
    cpt.cost_cmpntcls_desc,
    adj.cost_analysis_code,
    adj.adjust_qty,
    adj.adjust_qty_uom,
    adj.adjust_cost,
    adj.reason_code,
    rsn.reason_desc,
    adj.organization_id,
    adj.period_id,
    adj.cost_type_id
    FROM cm_adjs_dtl adj,
    mtl_item_flexfields itm,
    cm_cmpt_mst cpt,
    cm_reas_cds rsn,
    mtl_parameters mtl
    WHERE adj.inventory_item_id = itm.inventory_item_id
    AND adj.organization_id = itm.organization_id
    AND adj.cost_cmpntcls_id = cpt.cost_cmpntcls_id
    AND adj.reason_code = rsn.reason_code
    AND adj.organization_id = mtl.organization_id
    /* AND adj.period_id = :period_id
    AND adj.cost_type_id = :p_cost_type_id */
    AND adj.delete_mark = 0
    AND adj.reason_code = 'ADJ'
    and adj.cost_analysis_code = 'EXP'

    See Link between mtl_material_transactions,org_acct_periods, gl_period_statues
    Hope this answers your question,
    Sandeep Gandhi

  • Get the report name in reports 6i??

    Hi!!
    I need to get the report name from reports 6i, in forms i can get the form name whit :SYSTEM.CURRENT_FORM, but in reports this is not possible.
    How Can I get the name of the report??
    Thanks!
    Regards!!
    Edited by: JuaNiNNaio on 30-jun-2009 9:55

    Try srw.get_report_name!

  • How can I get the name at webdb login to pass to reports?

    Where can I get the name of the user who has connected to webdb
    site to pass to some reports?
    the sql code:
    select * from table
    where name=user;
    isn't working !
    that returns WEBDB_SITE_PUBLIC
    It is something with DAD? I must change something?
    Thanks very much!

    Ok. Bravo
    Please mark this as 'Answered' - it will help others on the forum -

  • How to get the report name under tcode f.61

    Hello ABAPers,
    I would like to know how to trace or get the report name under tcode of f.61... because i will modify it...i dont know if it is sapscript or smartforms...how can i check it in spro?
    please give me ideas..
    Thanks in advance..
    will reward points
    aVaDuDz

    Hi,
    To find out pgm>SE93->F.61It shows it is calling tran SA39 by skipping the first screen. At the bottom of the screen it shows the pgm name viz.SAPF140 which is being run via SA39. IF you want to find out the form which is being used by the pgm->Se38->RSTXDBUG->F8. Now run F.61 the pgm will stop at the debugger applied at SAP SCRIPT FORM. Once it waits at the breakpoint Form name will be in fron of you.
    I hope this helps,
    Regards
    Raju Chitale

  • GET FILE NAME C:\temp\ADIBO.txt

    Hi,
    How to get file name?
    I used Get_File_NAME, but I'am getting an error.
    lv_lfilename is not the type LOGICAL_FILENAME
    C:\temp\ADIBO.txt
    I need to get  ADIBO ??
    tnh, Adibo..:)
    I am using this code to download file and after that I need to get FILE_NAME:
    DATA:  lv_lfilename TYPE string.
    PARAMETERS:
      pa_lfile TYPE zlocalfile
               DEFAULT 'C:temp'.
        CONCATENATE pa_lfile ''INTO lv_lfilename.
        CALL FUNCTION 'GUI_DOWNLOAD'
             EXPORTING
                  filename = lv_lfilename
                  filetype = 'ASC'
             TABLES
                  data_tab = it_billit_down.
        IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

    Hii..
    You have to Maintain the Logical filenames and their Physical Paths in Tcode FILE.
    Then create a program like this..
    REPORT  ZSEL_FILES1.
    DATA : V_LOGFILE TYPE STRING.
    DATA :V_PHYFILE TYPE STRING.
    DATA : ITAB TYPE TABLE OF SCARR.
    START-OF-SELECTION.
    SELECT * FROM SCARR INTO TABLE ITAB.
    **To get the Physical file based on the Logical file names - Maintained in Tcode FILE
    CALL FUNCTION 'FILE_GET_NAME'
      EXPORTING
       CLIENT                        = SY-MANDT
        LOGICAL_FILENAME              = VlOGFILE
      OPERATING_SYSTEM              = SY-OPSYS
      PARAMETER_1                   = ' '
      PARAMETER_2                   = ' '
      PARAMETER_3                   = ' '
      USE_PRESENTATION_SERVER       = ' '
      WITH_FILE_EXTENSION           = ' '
      USE_BUFFER                    = ' '
      ELEMINATE_BLANKS              = 'X'
    IMPORTING
      EMERGENCY_FLAG                =
      FILE_FORMAT                   =
       FILE_NAME                     = V_PHYFILE
    EXCEPTIONS
      FILE_NOT_FOUND                = 1
      OTHERS                        = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    **To download the file to PC.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
      BIN_FILESIZE                    =
        FILENAME                        = V_PHYFILE
       FILETYPE                        = 'ASC'
      APPEND                          = ' '
       WRITE_FIELD_SEPARATOR           = 'X'
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
    IMPORTING
      FILELENGTH                      =
      TABLES
        DATA_TAB                        = ITAB
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    <b>reward if helpful</b>

  • Would Like to Get Report of Daily Emails In and Out from Members to a DL Exchange version : 2007 I am the supervisor for the group and want to quantify this information. I do not need to see the content, just quantity is it possible ?

    Would Like to Get Report of Daily Emails In and Out from Members to a DL
    Exchange version : 2007
    I am the supervisor for the group and want to quantify this information. I do not need to see the content, just quantity
    is it possible ?

    Well, distribution groups don't really have a concept of "in" or "out". They only serve to distribute messages sent to them -- unless you're asking to know who was a member of the distribution group at the time a message was sent to the DL.
    Message tracking logs hold the information you want, though. You'd have to look for EXPAND events that reference the distribution group and take the sender's e-mail address from that event. If the DL is a simple one that's not a member of any other groups
    you could also look for RECEIVE events sent to the e-mail address of the group and get the sender's name from that event.
    You can use Powershell extract the rows of data from the logs, but you'll have to write the code to get the data out of those rows and into a format you want. Perhaps LogParser could be useful in place of Powershell?
    --- Rich Matheisen MCSE&I, Exchange MVP

  • HOw to find out a report name when you know only the name of background job

    Hi experts ,
    my question is i need to find out teh report name for which i knew only the background job name of the report .
    thanx
    Venky.

    Go to tcode SM37->Give job name and execute->choose tool bar button STEPS (Disply Steps list) ->Then you will get program or command

  • Logic to select Report name based on User's input.

    Hi Guru's
    Good Morning!
    I have a requirement to create a XMLPUBLISHER Report Whihc is Called as ITEM COUNT SUMMARY + ITEM COUNT DETAIL REPORT Following below
    are my ParameterS
    0.REPORT NAME
    1.ORG
    2.ORG COUNTRY
    3.ITEM SELECTION
    4.ORDER TYPE
    5.STATUS
    6.RECEIPT DATE FROM
    7.RECEIPT DATE TO
    8.TRANSIT DAYS
    REPORT NAME: PARAMETER WILL LET THE USER to select the requrired Reports to be run.
    ORG: is the Names of the SHIP FROM ORG
    ORG COUNTRY: is a Dependent Parameter based on the ORG (i.e When a SHIP FROM ORG is Selected the ORG CHOICE Should have the CHoices for the selected ORG and when Nothing Selected from that ORG it should run for every ORG COUNTRY in that SHIP FROM ORG Currently we have two ORG COUNTRY PER SHIP FROM ORG say(USA, CANADA)
    ITEM SELECTION: We need to Run this Report based on Item Selection ( The Logic should handle a total item selection whihc are comma seperated for upto 29
    items)
    ORDER TYPE : Types of Order Again this can be a List of Comma Seperated Values for order Types
    STATUS: STatus should be Comma Seperated (ENTERED,WAVED,NOTWAVED,SHIPPED)
    TRANSIT DAYS: Transit Days
    RECEIPT DATE FROM: This is the Starting DATe range for the REport to be run
    RECEIPT DATE TO: This is the END DATe range for the REport to be run.
    The ITEM COUNT SUMMARY Report should allow the users to run the report 3 ways
    1.ITEM COUNT RUN BY ORDER TYPE ( for all the STATUS)
    2.ITME COUNT RUN BY STATUS ( FOR all the ORDER TYPES)
    3.ITEM COUNT RUN BY TRANSIT DAYS
    And My approach is I have three Queries Created for the above and in the DATA DEFINITION File
    I have them Listed my DATA DEFININTION ( Sorry as my Query's GO More than 70+ LINES for Each Query I thought I will just paste the Order How i have arranged my queries in the Tempalte)
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <dataTemplate name="TPC_ITEM_COUNT_SUMMARY" description = "TPC_ITEM_COUNT_SUMMARY" version="1.0">
    <properties>
         <property name="xml_tag_case" value="upper"/>
    </properties>
    <!-- parameters for the Report -->
         <parameters>
         <parameter name="report_name" dataType="varchar2"/>
         <parameter name="item_selection"          dataType="varchar2"/>
         <parameter name="order_type"               dataType="varchar2"/>
         <parameter name="pstatus"               dataType="varchar2"/>
         <parameter name="org_name"               dataType="varchar2"/>
         <parameter name="org_choice"               dataType="number"/>
         <parameter name="first_receipt_date"     dataType="date"/>
         <parameter name="last_receipt_date"     dataType="date"/>
         <parameter name="from_date"               dataType="date"/>
         <parameter name="to_date"                    dataType="date"/>
         <parameter name="transit_days"          dataType="number"/>
         </parameters>
    <dataQuery>
    <sqlStatement name= "HDR">
    <![CDATA[
    SELECT UPPER('The ABC Corporation, Ltd.')     AS "COMPANY"
                   ,'Item Count Summary - '||INITCAP(:report_selection)||' for Company '||:org_name AS "REPORT"
                   ,'Order Types - '||UPPER(:order_type) AS "ORDER_TYPE"
                   , SYSDATE AS "RUN_DATE"
         ,'Receipt Date'||' '||TO_CHAR(NVL(TO_DATE(:first_receipt_date,'DD-MON-YYYY'),SYSDATE),'YYYYMMDD')                     ||' '||'thru'||' '||TO_CHAR(NVL(TO_DATE(:last_receipt_date,'DD-MON-YYYY'),SYSDATE),'YYYYMMDD') AS "RANGE"
    FROM DUAL;
    ]]>               
    </sqlStatement>
    <sqlStatement name= "BY_STATUS">
         <![CDATA[
    Query for ITEM COUNT SUMMARY by STATUS
    ]]>
    </sqlStatement>
    <sqlStatement name= "BY_ORDERTYPE">
         <![CDATA[
    Query for ITEM COUNT SUMMARY by ORDERTYPE
    ]]>
    </sqlStatement>
    <sqlStatement name= "BY_TRANSITDAYS">
         <![CDATA[
    Query for ITEM COUNT SUMMARY by TRANSITDAYS
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_HDR" source="HDR">
              <element name="COMPANY" value="COMPANY" />
              <element name="REPORT" value="REPORT" />
              <element name="ORDER_TYPE" value="ORDER_TYPE" />
              <element name="RANGE" value="RANGE" />
    </group>
    <group name="G_BY_STATUS" source="BY_STATUS">                
              <element name="RCPT_DT" value="RCPT_DT"/>
    <element name="ITEM"     value="ITEM" />
              <element name="ITEM_DESCRIPTION" value="ITEM_DESCRIPTION" />
              <element name="ENTERED"     value="ENTERED" />
    <element name="WAVED"     value="WAVED" />
    <element name="NOTWAVED"     value="NOTWAVED" />
    <element name="SHIPPED"     value="SHIPPED"/>
    </group>
              <group name="G_BY_ORDERTYPE" source="BY_ORDERTYPE">                                         
    <element name="ITEM"          value="ITEM" />
              <element name="ITEM_DESCRIPTION" value="ITEM_DESCRIPTION" />
              <element name="RCPT_DT"     value="RCPT_DT"/>
              <element name="ORDER_TYPE"     value="ORDER_TYPE" />
    <element name="QUANTITY" value="QUANTITY" />
              </group>
    </dataStructure>
    </dataTemplate>
    Now My Problem is How Do i Get a Logic to Let the Report Name Selection To be REferenced in the Data Definition file..
    I would like to request you to Please help me out in arriving at a Solution for Implementing the Logic
    When the USer selects ITEM COUNT SUMMARY BY ORDER TYPE I want "BY_ORDERTYPE" to be Executed and so on..
    Is there a Way That I can Write in my Data definition file as
    DECODE(:REPORT_NAME ,'ITEM COUNT SUMMARY BY ORDERTYPE', Run query for BY_ORDERTYPE,
    ,'ITEM COUNT SUMMARY BY STATUS', Run query for BY_STATUS,
    ,'ITEM COUNT SUMMARY BY TRANSIT DAYS', Run query for BY_TRANSITDAYS,run query for DETAIL REPORT);
    Also My Item Description Contains Special Characters like Registered Symbol, Copyright Symbol How would I force my XML Parser to Still consider them as TEXT's
    May I Directly Specify <?xdofx:DECODE :REPORT_NAME = 'ITEM COUNT SUMMARY BY ORDERTYPE' THEN BY_ORDERTYPE ?> in the DATA DEFINITION file , I think this is only allowed in RTF please Help,
    Thanks
    vasanthanand

    Thanks for the Reply sir,
    When you say Write the Code, you are referring to the Package is that correct,unfortunately I am not implementing this via PL/SQL Package.
    you mentioned that I can Implement the Logic in the Data definition file( which is a XML file), how and Where I have print use that IF construct (or) Can you Please Print the Code snippet in the Model XML template that i have pasted in my Post.
    May i know what is this
    ln_req_id := fnd_request.submit_request -- for XML1 For...
    Sorry about my ignorance...

  • Serial Number in report name aswell as report body ?

    Hello
    I am fairly new to TS, I am using the Single Pass Execution entry point with a sequence I have written. I have written my own LabVIEW based Barcode Scanning Module for getting the DUT Serial Number from the user (As the Single Pass doesn't include this) I then write the output of this module to RunState.Root.Locals.UUT.SerialNumber and voila the Serial Number entered appears in the header of my report however the report name still says {No UUT Serial Number} {Time} {Date}
    How can I get the S/N into the filename ?
    Thanks
    Chris

    Chris,
    You can use the ReportOptions BaseName variable to contain the serial number that you want to appear in the report’s filename.  If you’re using the SinglePass execution, try copying the ReportOptions callback from the process model and placing it into your sequence. The default ReportOptions is blank so you can add your own method of obtaining the serial number from the DUT. Once you have the DUT S/N, copy it into the Parameters.ReportOptions.BaseName string so that it will appear in the filename. Copy the S/N into the variable, RunState.Root.Locals.UUT.SerialNumber to have it appear into the Report header.
    Hope this helps, Please see the attached example TS3.1 sequence file.
    Todd
    Attachments:
    SN_in_report_filename.seq ‏38 KB

Maybe you are looking for