Change the report title to more meaningful title? How to achieve it?

Hi Guys,
We have some BI reports which the users runs from BEx analyser. Currently the report title shows the names of the reports. For example a Sales by products reports has the title SALES BY PRODUCT REPORTING.
What we want to do is these reports have selection screen and based on what the user selects on the selection screen we want the report title to be more meaningful. For example if the report is run for the period 1 and company code ABC selected on the selection screen then the report title must show SALES BY PRODUCT FOR PERIOD 1 AND COMPANY CODE ABC.
My questions is how to show the variable in the report title? I am new to BI and need help on the same. We are on 7.1 version of BI.
Cheers
VJ

Hi,
We have done the same but in my case the input Month will display.
Eg: We have MM reports which will run Period wise, so user wil give 001.2009, in the report title it will display...
Stocks report for 001.2009.
Using Text Variable we can do it.
Steps;
1. Create a Text Variable with Customer Exit option.
2. Take the user input value and pass into Custome exit Variable.
For Sample Code, you can see one blog and some Articles.
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
See the blog "Using Text Variables with Customer Exits in Report Headings" and see Customet Exit articles..
WHEN 'ZT_C'.   " ZT_C = Text variable with customer Exit
    IF i_step = 2.
      LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZMONTH'.  " ZMONTH = User input variable on 0CALMONTH
        IF sy-subrc = 0.
          CLEAR: l_s_range.
          zsmy = loc_var_range-low.
          zemy = loc_var_range-high.
          zsmnth = zsmy+4(2).
          zemnth = zemy+4(2).
          zfyear1 = zsmy+0(4).
          zfyear2 = zemy+0(4).
          CONCATENATE zsmnth '.' zfyear1 INTO zsmnyr.
          CONCATENATE zemnth '.' zfyear2 INTO zemnyr.
          l_s_range-low+0(7) = zsmnyr.
          l_s_range-low+9(2) = 'To'.
          l_s_range-low+13(7) = zemnyr.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'BT'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
      ENDLOOP.
    ENDIF.
Thanks
Reddy

Similar Messages

  • Change the Report Title for XML Publisher, depending on the field value.

    I want to change the Report Title as below.
    if the field_A='B' then the report title as it is defined in report defination
    else the report title is 'XXX"
    Please let me know whether it is possible, if yes please guide me. how can we do it.
    Thanks
    Venkat

    Tim covered the inline if statement, though not specifically regarding a title, in his blog recently:
    http://blogs.oracle.com/xmlpublisher/2007/12/18#a723
    The syntax is:
    xdoxslt:ifelse(.//WM_FLAG='C’,'Canceled','Approved')

  • I'm trying to change my secret question because I forgot to answer. Followed all the instructions, but not yet I receive a message to let me change the answer, I tried more than once, but without an answer

    I'm trying to change my secret question because I forgot to answer.
    Followed all the instructions, but not yet I receive a message to let me change the answer, I tried more than once, but without an answer

    See this thread:
    https://discussions.apple.com/message/23280567#23280567

  • Question on changing the report template to display the images

    I am trying to change the report template so that each table cell will display an image and a checkbox for the image. The column templatet for the new report template is like this:
    <td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t17data">
    <table>
    <tr height="90%"><td>
    <img src= "&F101_GET_THUMB.#COLUMN_VALUE#" onmouseover="return onmouseover_img('#COLUMN_VALUE#');">
    </td></tr>
    <tr height="10%"><td align="center" valign="bottom">
    <input type="checkbox" name="f01" value="#COLUMN_VALUE#"/>
    </td></tr>
    </table>
    </td>
    My questions are:
    1. If the #COLUMN_VALUE# is null, the table cell will display a broken image icon and a checkbox. How could I avoid this? I could add condition to this template, such as when #COLUMN_VALUE# is not null, but how to refer to the value of #COLUMN_VALUE# in pl/sql?
    2. I want to always put the checkbox at the center bottom, but no matter what I set "align='center' valign='bottom', it is always close to the image. Since the image sizes are different, the appearance of the checkbox are just up and down. How to fix this?
    Thanks,
    Fengting

    hello,
    at designtime the elements from the template are physically
    imported into the report. the only way of re-applying a template
    is to use the wizard, which will re-default the layout.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How change the report graph color in teststand

    how change the report graph color in teststand?

    Michael,
    You might also be able to customize the style sheet associated with the report. The TestStand Help provides some information about how to customize ATML or XML style sheets to change report colors based on the status of test steps.
    Please take a look at the following topics; are these helpful?
    ATML Report Style Sheets
    Modifying Cell Background Color Based on Step Status in ATML Test Results 5.0 Reports
    XML Report Style Sheets
    Modifying Cell Background Color Based on Step Status in XML Reports
    Tom
    TestStand Documentation

  • HT204161 I bought an IMac 27 on craigslist and I need to change the Apple registration to my name. How can I do it?

    I bought an IMac 27 on craigslist and I need to change the Apple registration to my name. How can I do it?

    Before buying a second-hand computer, you should have run Apple Diagnostics or the Apple Hardware Test, whichever is applicable.
    The first thing to do after buying the computer is to erase the internal drive and install a clean copy of OS X. You—not the original owner—must do that. Changes made by Apple over the years have made this seemingly straightforward task very complex.
    How you go about it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    It's unsafe, and may be unlawful, to use a computer with software installed by a previous owner.
    1. If you don't own another Mac
    a. If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller—not from eBay or anything of the kind. If the machine is very old and has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    b. If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for a MacBook Air. You should have received the media from the original owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To start up from an optical disc or a flash drive, insert it, then restart the computer and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    c. If the machine shipped with OS X 10.7 or later, you don't need media. It should start up in Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    d. Some 2010-2011 models shipped with OS X 10.6 and received a firmware update after 10.7 was released, enabling them to use Internet Recovery. If you have one of those models, you can't reinstall 10.6 even from the original media, and Internet Recovery will not work either without the original owner's Apple ID. In that case, contact Apple Support, or take the machine to an Apple Store or another authorized service provider to have the OS installed.
    2. If you do own another Mac
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to prepare a USB device, then start up the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can start from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    3. Partition and install OS X
    a. If you see a lock screen when trying to start up from installation media or in Recovery mode, then a firmware password was set by the previous owner, or the machine was remotely locked via iCloud. You'll either have to contact the owner or take the machine to an Apple Store or another service provider to be unlocked. You may be asked for proof of ownership.
    b. Launch Disk Utility and select the icon of the internal drive—not any of the volume icons nested beneath it. In the  Partition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    c. An unusual problem may arise if all the following conditions apply:
              OS X 10.7 or later was installed by the previous owner
              The startup volume was encrypted with FileVault
              You're booted in Recovery mode (that is, not from a 10.6 installation disc)
    In that case, you won't be able to unlock the volume or partition the drive without the FileVault password. Ask for guidance or see this discussion.
    d. After partitioning, quit Disk Utility and run the OS X Installer. If you're installing a version of OS X acquired from the App Store, you will need the Apple ID and password that you used. When the installation is done, the system will automatically restart into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    e. Run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the original owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed—you have to repurchase them.
    4. Other issues
    a. If the original owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're irrevocably linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Mac App Store Customer Service has sometimes issued redemption codes for these apps to second owners who asked.
    b. If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.
    c. When trying to create a new iCloud account, you might get a failure message: "Account limit reached." Apple imposes a lifetime limit of three iCloud account setups per device. Erasing the device does not reset the limit. You can still use an iCloud account that was created on another device, but you won't be able to create a new one. Contact iCloud Support for more information. The setup limit doesn't apply to Apple ID accounts used for other services, such as the iTunes and Mac App Stores, or iMessage. You can create as many of those accounts as you like.

  • I changed the password to one of my gmail accounts. My MacBook Air accepts the new password and shows me email, my iPhone 5s tells me it's not a valid password. In settings, I change the password and pw is accepted. How can I get 5s to accept new pw?

    I changed the password to one of my gmail accounts. My MacBook Air accepts the new password and shows me email, my iPhone 5s tells me it's not a valid password and does not show me email. In settings, I change the password and pw is accepted. How can I get 5s to accept new pw?

    CORRECTION! GMAIL accepts new pw and shows me email. Mail on MacBook Air and iPhone 5s do not accept new gmail pw. What can I do to get my apple products to accept my new gmail pw?

  • On the login screen on my mac says a property name, the laptop changed hands and I'd like to change the property line name to my own, how do I do that?

    On the login screen on my mac says a property name, the laptop changed hands and I'd like to change the property line name to my own, how do I do that?

    Open Accounts preferences. Create a new user account with the name and username of your choosing as well as your own password. Be sure to give the new account Admin status. Log out of the old account and log into your new account. Now, delete the old account.

  • HT1918 I changed the card and i want to know how make to change the data from itunes. I tried and doesn't work.

    I changed the card and i want to know how make to change the data from itunes. I tried and doesn't work. Please, Help Me!

    No. That's not what I said. You can get an out of warranty replacement, which will be exactly the same model, color, and will be locked in exactly the same way the original is. If you want an iPhone 5, get the 4S replaced, sell it, and use the money to put toward a new phone.

  • TS1398 I changed the password on my access point.  How do I make the change on my ipod

    I changed the password on my home accesspoint.  How do I get that change into my ipod touch.  It works fine if I change back to the old password. How do I get it to respond to the new password?

    Go to Settings>General>Reset>Reset Network Settings. You will have to reenter the passwords for all networks.

  • After the new project by importing PPT release, how to achieve the release of the demo mode SWF, but not now only Click to continue?

    After the new project by importing PPT release, how to achieve the release of the demo mode SWF, but not now only Click to continue?
    Note:Captivate 5.5
    Thks

    通过导入PPT新建的项目发布后,如何实现发布演示模式的SWF(自动播放),而不是交互模式的SWF(只能点击才能继续)?

  • How can i change the name of an author or title to make it shorter?

    How can I make a new , shorter, name for items already in my library?

    From within ADE you can't, however if you are feeling adventurous...  All of the metadata for the content is stored in a file called manifest.xml, if you are okay with editing the file by hand you can change the information there, however -
    Make sure you quit ADE first (ADE expects to 'own' this file, and will regularly overwrite it)
    Make sure you make a backup of the file - if you mess it up, you will lose the current content of you library and have to regenerate it.

  • Changing the Report - RTF layout

    Hi.
    I run the report output to RTF format. It works fine. But When I open with MS-Word the page layout is showing too small. I can't change layout anything from MS-WORD.
    What to do for viewing output of Report - 80x66 (letter size) page in MS-WORD in the same size.
    pls. help me.
    thanks in advance

    Hello Syed,
    I tried to reproduce your problem on Reports Builder 6i (6.0.8.22.0) and Reports Builder 9i (9.0.2.1.1). But in both cases, output of a report generated to RTF shows up with proper sizing in MS Word.
    If you are able to reproduce the problem with the latest patch, please provide a detailed description of the problem.
    Thanks,
    The Oracle Reports Team.

  • I can only see three weeks of emails on the imap email account on my iMac even though the same email address set up as a pop account on my iPhone, iPad and another iMac show all my emails.  How do I change the setting to see more emails?

    I have two iMacs, an iPhone, and an iPad.  All use the same email address but the new iMac would only let me set up the email account as an imap account. On this iMac I can only see three weeks worth of emails.  On the other iMac, iPhone, and iPad, this email address is set up as a pop account and I can see emails as far back as three years.  I use Yosemite on the new iMac and I cannot find out how to change the settings to let me see more than three weeks worth of emails.  This is an att&t email account which is basically a Yahoo account.

    Nope. It will reset all settings. For fix errors.
    Or you can try Logging out and Restart your iPad and Sign in again.

  • Dynamically change the report column name.

    Hi All,
    I have a report where i am showing data for greater than current week and year and the code of same is below
    SELECT
        item_number,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+1 THEN
                    quantity
            END
        ) plus_1,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+2 THEN
                    quantity
            END
        ) plus_2,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+3 THEN
                    quantity
            END
        ) plus_3,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+4 THEN
                    quantity
            END
        ) plus_4,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+5 THEN
                    quantity
            END
        ) plus_5,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+6 THEN
                    quantity
            END
        ) plus_6,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+7 THEN
                    quantity
            END
        ) plus_7,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+8 THEN
                    quantity
            END
        ) plus_8,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+9 THEN
                    quantity
            END
        ) plus_9,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+10 THEN
                    quantity
            END
        ) plus_10,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+11 THEN
                    quantity
            END
        ) plus_11,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+12 THEN
                    quantity
            END
        ) plus_12,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+13 THEN
                    quantity
            END
        ) plus_13     
    FROM
        (   select
                re.item_number,
                row_gen.year_week_num,
                SUM(NVL(re.quantity,0)) OVER(PARTITION BY re.item_number ORDER BY row_gen.year_week_num) quantity,
                ROW_NUMBER() OVER(PARTITION BY re.item_number, row_gen.year_week_num ORDER BY NULL) rn
            from
                (   SELECT
                        to_number(to_char(sysdate,'IW')) + ROWNUM year_week_num
                    FROM
                        DUAL
                    CONNECT BY LEVEL <= 13
                ) row_gen LEFT OUTER JOIN
                        (   SELECT
                                le.item_number,
                                le.quantity,
                                to_number(to_char(sysdate,'IW'))+1 year_week_num
                            FROM
                                BACKLOG_WEEK_WH_AFTR_ATP le
                            UNION ALL
                            SELECT
                                re.item_number,
                                -re.quantity,
                                to_number(substr(re.year_week,-2,2)) year_week_num
                            FROM
                                BACKLOG_ATP_GT_CW re
                         ) re
                    PARTITION BY (re.item_number)
                    ON ( row_gen.year_week_num = re.year_week_num)
    WHERE
        rn = 1
    GROUP BY
        item_numberI have a item in the report page from which i am displaying which week this year holds and the code of same is below
    In the item source, i have selected source type as sql query return single value. and the current week is returning as "2011-WK30"
    select to_char(sysdate,'YYYY"-WK"IW') from dual;Please suggest how i can change the display of column dynamically. I want PLUS_1 to show as 2011-WK31, PLUS_2 to show as 2011-WK32 and so on for this week. When next week will come then the plus_1 should show as 2011-WK32, plus_2 to show as 2011-WK33.
    Any help how to do this?
    Thanks in advance
    Regards

    Hi,
    Go to the Report Attributes, in the Column Attributes section:
    1) Use Headings Type as PL/SQL.
    2) In the text area Function returning colon delimited headings write a PL/SQL anonymous block returning colon delimited headings.
    Hope it helps!
    Regards,
    Kiran

Maybe you are looking for