Urgent : Dynamically showing or hiding Header, main , or trailer section in reports

Hi List,
I have posted this question earlier also but didn't get any response. Can somebody please have a look at it and let me know whether it's possible or not ?
Hi List,
Can some body tell me how to hide/show header, main, or trailer section programatically ? I have a report in which i have to show or hide these sections based on a condition. I'm checking for value of a parameter and based on some calculation i have to show or hide main section. I mean if main section is visible then header section should not or vice versa.
Can somebody suggest some way to achieve this ?
Thanks in advance for your help

did u tried format trigger or conditional formatting.
U can write a basic checks using conditinal
formatting for ex.
if param1 greater than 100 hide the object.
hope this helps.
sh
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Manish Kothari ([email protected]):
Hi List,
I have posted this question earlier also but didn't get any response. Can somebody please have a look at it and let me know whether it's possible or not ?
Hi List,
Can some body tell me how to hide/show header, main, or trailer section programatically ? I have a report in which i have to show or hide these sections based on a condition. I'm checking for value of a parameter and based on some calculation i have to show or hide main section. I mean if main section is visible then header section should not or vice versa.
Can somebody suggest some way to achieve this ?
Thanks in advance for your help<HR></BLOCKQUOTE>
null

Similar Messages

  • Dynamically showing or hiding Header, main , or trailer section

    Hi List,
    Can some body tell me how to hide/show header, main, or trailer section programatically ? I have a report in which i have to show or hide these sections based on a condition. I'm checking for value of a parameter and based on some calculation i have to show or hide main section. I mean if main section is visible then header section should not or vice versa.
    Can somebody suggest some way to achieve this ?
    Thanks in advance for your help
    null

    Hello
    You have to create a format trigger for each of the item you want to hide/show like this:
    function B_2FormatTrigger return boolean is
    begin
    if :p_format = 'N' then
    return(FALSE);
    end if;
    return (TRUE);
    end;
    To create a format trigger, you have to go in advance layout section of the property palette and choose format trigger.
    Hope this help
    Karine

  • Generating Header and trailer sections in reports..

    Hi all.
    I want to generate reports, that has both a header- and a trailer section page.
    Usually this was part of the template report, but in Designer 9, the generator first converts the template report (.rdf) to a template report (.tdf), and is then using this template.
    But where is the header- and trailer page? You can't see them in the reports builder, when looking at templates, and the generated report does not contain any header- nor trailer pages.
    Have I missed something?
    Any replies welcome...
    Benny Albrechtsen

    I have the same question. This is what I found on Metalink.
    goal: How To Define A Header/Trailer Section In A Reports Template Definition File (TDF)
    fact: Oracle Reports Developer
    fix: It is not possible to have a HEADER/TRAILER section in a Reports Template Definition File (TDF). Templates do not need to have a HEADER/TRAILER section, infact there is no sectioning in a template. They just define the visual layout when applied against a report section.
    This did not answer my question!

  • Header, main and trailer in alternate pages

    I want to print Header in first page, main in second and trailer in third page. What I'm getting now when I have 3 records is main in first three pages, then main in the next 3 then trailer in last 3 pages. I set all the section to print in first page. Any inputs?

    That thing I can do.
    But, the requirement is like this: The first page is employee header details on portrait, the second page is let's say employee's timesheet that requires landscape layout, then the third page is summary that is also portrait. Now, I need the three sections as header=portrait, main=timesheet and trailer=portrait. So basically, if I have three employees, the second, fifth and 8th page is landscape. But what I'm getting right now is pages 1-3 = header, 4-6 = main and 7-9 is trailer.

  • Container resizing when dynamically showing/hiding components

    I work with Swing for quite some time, but there's one thing that's bugging me all the time - when you dynamically show/hide some components, the container is not resized appropriately. That means that some components are cut off or hidden beyond the container edge. Maybe I'm just doing something wrong, can somebody help me?
    The easiest example is here. I'll create a label that is hidden by default. When I dynamically show it, the frame/panel is not enlarged and therefore the label is not visible until the user manually resizes the frame/panel. Only after that you can see it.
    (Usually I use the layout manager used when designing UIs in NetBeans, but I hope these default layout managers will demonstrate the same problem.)
    import java.awt.event.*;
    import javax.swing.*;
    public class DynamicComponentDemo {
        private static void createAndShowGUI() {
            final JFrame frame = new JFrame("Dynamic Component Demo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setLocationRelativeTo(null);
            final JPanel panel = new JPanel();
            frame.add(panel);
            final JCheckBox checkbox = new JCheckBox("Show label");
            final JLabel label = new JLabel("This is a label!");
            checkbox.addItemListener(new ItemListener() {
                public void itemStateChanged(ItemEvent e) {
                    label.setVisible(checkbox.isSelected());
            label.setVisible(false);
            panel.add(checkbox);
            panel.add(label);
            frame.pack();
            frame.setVisible(true);
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }What can I do to force the frame/panel to resize appropriately when some new component is shown? Moreover, can you point me to some documentation regarding these matters?
    Thanks.

    Kleopatra wrote:
    no. no. no. no. Never-never-ever call setXXSize - XX for min/pref/max - in application code.Thanks for the correction.
    Unfortunately,
    http://wiki.java.net/bin/view/Javadesktop/SwingLabsImperialRules
    is a dead link, so I'm not sure if this is better than my previous example :(
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class DynamicComponentDemo3 {
      private static void createAndShowGUI() {
        final JFrame frame = new JFrame("Dynamic Component Demo");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setLocationRelativeTo(null);
        final JPanel panel = new JPanel(new FlowLayout() {
          @Override public Dimension preferredLayoutSize(Container target) {
            //synchronized (target.getTreeLock()) {
            Dimension ps = super.preferredLayoutSize(target);
            Dimension cs = target.getSize();
            ps.width  = Math.max(cs.width,  ps.width);
            ps.height = Math.max(cs.height, ps.height);
            return ps;
        frame.add(panel);
        final JCheckBox checkbox = new JCheckBox("Show label");
        final JLabel label = new JLabel("This is a label!");
        checkbox.addItemListener(new ItemListener() {
          public void itemStateChanged(ItemEvent e) {
              label.setVisible(checkbox.isSelected());
              frame.pack();
        panel.add(checkbox);
        panel.add(label);
        frame.pack();
        label.setVisible(false);
        frame.setVisible(true);
      public static void main(String[] args) {
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
          public void run() {
            createAndShowGUI();
    }

  • Dynamically show/hide pages in a workset for special users at runtime

    Hi all,
    I want to create a workset that contains pages for different countries. The portal users should only be able to see the countries where they do business. I also would like masterdata from R/3 to drive the display of content on the portal.
    - Is there a way how I could dynamically show/hide certain pages of the workset for the specific users?
    - Would this showing/hiding of pages affect the workset for all users or only the instance for the specific user?
    - Would there be a difference when I want to dynamically show/hide iviews in a page instead of showing/hiding pages in a workset?
    Thanks a lot in advance.

    Hi Timo,
    Check out the article located at:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/portal_content/filtering role and workset content.htm
    It talks to exactly what you're trying to do.  I'd imagine you could extend this simplistic example to have the service pull the users country from his/her master record in R/3 and set their filtering expression accordingly.
    Hope this helps,
    Marty

  • How to show all view tab (Main Report and all Sub Report) in Visual FoxPro 9

    I use ActiveX from Crystal Report Developer XI for viewer in Visual FoxPro 9 and I already know how to show Main Report by using command:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the MyReport.rpt there is two subreport name :
    1. MySubReport1
    2. MySubReport2
    My Question is :
    How to show all view tab (Main Report and all Sub Report) at the 1st time we call ViewReport?
    I try to using command :
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=thisform.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub=oRptOpen.OpenSubreport("MySubReport1")
    oRptSub=oRptOpen.OpenSubreport("MySubReport2")
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    but only show Main Report (view tab name : Preview)?
    Did I miss any command before I call oRptView.ViewReport?

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • No header, main area and footer in smartforms while creating table in 4.6c

    Hi Experts,
    Iam working in SAP 4.6c version and iam creating smartform for domestic invoice, in smartform i have created table but when expand the table its not giving the option of Header, Main Area and footer, can anyone explain how i can get the above details.. pls reply ASAP as its very important.
    Thanks in advance,
    Abhishek Pandey.

    Hi,
    I had faced a similar situation in 4.6c.
    As clearly stated, you get the Header and Footer from Events.
    The Window defined under Page, should have
    Main window checked in it's General Attributes
    I guess that should get hold of your problem.
    Cheers,
    Remi

  • File-adapter with Dynamic Directory/Filenames in Header-variables

    Hi,
    I have looked through the file-adapter documentation. And it says that you can use wildcards/regexpressions/dynamic file and directory names using the file-adapter-wizard. Also you can use the header-variables to specify the file and directory names at run-time.
    Is it also possible to use the dynamic names using the header-variables?
    I want to create a process that I can give in the file/directory-names at run-time and that it will look for a file using the wild-cards to pickup. Since at run-time I often do not know the name of the file, since it might contain a sequence or date/time-stamp. But I do know the location and the structure of the file name (that is specified at config-time).
    The same question for outbound: if I specify a name in the header-variables with forexample '%seq%' in the name, like 'filename_%seq%.XML', will it then create the file with the sequence?
    Thanks in advance.
    Regards,
    Martien

    Hi,
    I've been trhough this document over and over again, but did not find anything on how to do it actually. But I found out that the file-outbound-header wsdl does not contain a directory element after generation by the wizard. But you can add it afterwards.
    Also you can replace the location attribute in the jca:address element of the adapter-wsdl by mcf properties (host, username, password) and override them by copying the values to the partnerlink using bpelx:properties.
    I planned to put the details in my blog.
    Regards,
    Martien

  • How to get data from SOAP-Header/MAIN-Section?

    Hi,
    I need some data of the SOAP-Header-MAIN-Section, e.g. <SAP:Sender><SAP:SERVICE>
    Is it possible to get these data with XSLT-Mapping or Java-Mapping? Are there blogs about it?
    I need these data of the MAIN-Section inside the condition of the receiver determination.
    Thank you all.
    Regards
    Wolfgang

    Hi,
    Do you wnat to access the Sender Service details in your mapping using java or XSL mapping? this is possible.
    Check this link,
    http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/content.htm
    Or do you want to access the SOAP header itself?
    Regards,
    bhavesh

  • My new podcast episodes are not showing up on the main page

    my podcast page hasn't updated in 2 weeks even though i've been adding new episodes to my feed:
    http://www.cofc.edu/~hiottm/RSS.XML
    When i click SUBSCRIBE, i see the newest episodes there, so iTunes is reading my feed correctly, but why aren't they showing up on the main page?
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=200063590
    Does anyone know if there is a LIMIT to how many will show up on that main page? I have 45 being displayed, but my feed has 59 separate items. I've not read anything that indicates there is a limit.
    any help would be appreciated!!
      Windows XP  

    my podcast page hasn't updated in 2 weeks even though
    i've been adding new episodes to my feed:
    http://www.cofc.edu/~hiottm/RSS.XML
    When i click SUBSCRIBE, i see the newest episodes
    there, so iTunes is reading my feed correctly, but
    why aren't they showing up on the main page?
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/view
    Podcast?id=200063590
    Does anyone know if there is a LIMIT to how many will
    show up on that main page? I have 45 being
    displayed, but my feed has 59 separate items. I've
    not read anything that indicates there is a limit.
    any help would be appreciated!!
      Windows XP  
    I have exactly the same problem with the feed from my podcast at
    http://angus_sessions.podOmatic.com/rss2.xml
    My other podcast downloads fine.
    The same problem is experience in iTunes on both my Mac and PC so it appears to be aniTunes issue, particularly since Juice has no problem updating using the same rss feed.
    It would be great if the iTunes team would comment.
    iMAc   Mac OS X (10.4.3)   Issue also on XP Pro

  • My emails show only the header and no content or attachments ?

    My emails show only the header with no content or attachments on my iPad?

    Quit the mail app completely and restart the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar. Restart the iPad.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    If that doesn't work, reset the iPad.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Separate Header, Main, Trailer for each group of date

    Hi,
    I have report built-in Oracle Reports10g R2, with Header, Main, Trailer sections, I am running report for different date parameters, for instance date between 29-30 Dec, 11.
    But when i get output of the report it do format as I expect, mean output comes in this way Header(29, 30 Dec), Main(29, 30 Dec), Trailer(29, 30). I made separate repeating frame for all of 3 sections which is based on DATE parameter. I want output to be Header(29 Dec), Main(29 Dec), Trailer(29) and same for 30th Dec.
    Somebody will guide me please what is wrong with my report.
    Thanks and Regards,
    Syed Khawar
    Edited by: S.Khawar on Jan 4, 2012 11:44 AM

    Hi bombocha,
    According to your description, you want to export each group to separate Excel File. As tested in my environment, we can use filter and subscription to achieve your goal. Please refer to the following steps:
    Supposing we have a table grouping on SalesTerritoryGroup field, we can create another dataset Dataset2 using the simple queries "Select distinct SalesTerritoryGroup from ...".
    Add a parameter @SalesTerritoryGroup to the report, then get Available Values from Dataset2 SalesTerritoryGroup field.
    Create a filter on the dataset used to extract report data, set Expression: SalesTerritoryGroup, Operator: =, Value: [@SalesTerritoryGroup].
    Deploy the report to report manager and create a data-driven subscription with Windows File Share delivery extension.
    In step 3 of creating the subscription, specify the query as "Select distinct  SalesTerritoryGroup  from ..." and click on Validate button.
    In step 4, set file name as Get the value from the database: SalesTerritoryGroup, and set Render Format to Excel.
    In step 5, as to the SalesTerritoryGroup parameter values, select SalesTerritoryGroup from Get the value from the database drop down list.
    Create a schedule for the subscription, then click Finish.
    For more information about Data-driven Subscriptions, please refer to the following article:
    Data-driven Subscriptions in SSRS
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

  • Dynamically show/hide Excel WPA

    Hello,
    I am working on a web page, where list of links will be given. On user-click on a link either it will show target web page in a iframe or it will show a excel sheet in excel wpa. On the basis of link clicked, I need to hide/show iframe and Excel WPA. I can
    control iframe using javascript but i don't know how to work with Excel WPA. At a time either iframe or Excel wpa will be shown on the screen but not both.

    Hi,
    According to your post, my understanding is that you wanted to dynamically show/hide Excel WPA.
    If the Excel WPA is Excel Web Access Web Part, you need to  get the ID of the Web part and hide the web part.
    When you click the link, you need to get the parameter form the URL and then display the web part.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/219b388e-0979-46b4-9a46-f7e6449738b8/hide-and-show-a-list-view-webpart-by-clicking-on-a-link-in-the-same-webpart-page-in-sharepoint-2010?forum=sharepointgeneralprevious
    For more information, please refer to:
    Dynamically Show/Hide Multiple Web Parts
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • So I recently bought 3 new songs, and they won'y show up on my main iTunes Library page or under the artist, but they show up under purchased.  How can I get them to show up under the artist/ main library page?

    So I recently bought 3 new songs, and they won'y show up on my main iTunes Library page or under the artist, but they show up under purchased.  How can I get them to show up under the artist/ main library page?

    Logging out of itunes store and logging in again has worked for some people

Maybe you are looking for

  • SAP WM Documentation for self study

    Dear All, I am SAP MM consultant & I am interested to learn SAP WM. Can you please help/guide me to get SAP WM documentation for self study. I appreciate your advise to learn SAPWM in better way. Thanks in advance. Regards BSA

  • RFC Sender Channel

    Hi Experts, I am dealing with RFC channel(sender). How can we incorporate Qos in RFC?? It's taking BE by default. But how to make it EO and EOIO? Please suggest T& R Sushama

  • HTTP timeout issue in synchronous Proxy to HTTP interface

    Hi All, I am working on an Proxy(interface - TCode-sproxy) to HTTP Synchronous scenario. In few cases the target API link takes 15-30 minutes to respond back. But I'm getting timeout error saying that connection timed out within 5-6 minutes only. Wha

  • Will not connect to Wi-Fi that needs agreement to terms

    SO I updated to ios 5 last night, home wifi it connects just fine. Went to a coffee house this AM where normally a page pops up with their terms and agreement for their wifi, the page didnt pop up so I couldn;t connect wi-fi. Same thing at my clinic,

  • Notify operator

    Hello, I have a problem with the notification. I have enabled Database mail and i have created an Operator. Under SQL Server Agent\Jobs and then in the job properties i have enabled notification but i don`t receive a mail. Test e-mail works fine but