How to Display two different objects in a single table header in Cross Tab?

i All,
I've a reqiurement for a Cross Tab Report like I need two different objects that should be displayed side-by-side, one object's values after another in a single header. In the picture below I've shown the objects separately in two rows, top header having BSNLNL,MTNLNL,RCOMNL and Header-2 having AIRTIL,RCOMIL. But requirements needs to be showing like this,
BSNLNL
MTNLNL
RCOMNL
AIRTIL
RCOMIL
Actually, the data for the header comes from a single object called Operator. I've show the Operators name ending with NL and after that names ending with IL. So, i've separated the data into two variables using the below formulae.
IL:
=[Billing Operator]
Where
Match([Billing Operator];"*IL")=1
NL:
=[Billing Operator]
Where
Match([Billing Operator];"*NL")=1
Also, the NL data should start first and after the NL data's last value ends, the IL data should begin.
One more thing is that I've to show '0' for null values. So i've used the below formulae on the column data. You can see below that except the "Outgoing ILD Mins in the month from Mobile Network" everything else showing fine. I don't understand why.
=If
  Substr([Franchise];3;1)="M"
  Then
   [Mobile Outgoing Charged Usage Minutes]
   Else
   0
I tried different approaches but couldn't find a solution. Could you please help me?     
I'm using BO WebI 4.1 SP1
Regards,
Naren Vema.

Hi Naren,
No need to split Billing Operator object. Create a variable-
V_IL_NL= If  Match([Billing Operator];"*IL")=1 Then "IL" ElseIf Match([Billing Operator];"*NL")=1 Then "NL"
1) Put V_IL_NL variable below Billing Operator object header.
2) Sort and create break on this variable.
3) Delete Footer column. it will automatically create when you apply break.
4) Hide V_IL_NL variable from this header.
~Anuj

Similar Messages

  • Taking data from two different server in a single table

    Hi All,
    can u plz tell me i want take a data from a two different server in a single table
    Thanks,
    Bell.

    Again, you have written the same sentence. I have 2 servers Server1 and Server2 and one table called my_table (You or God knows where this table is).
    Now tell us what you want to do ?
    Sidhu
    http://amardeepsidhu.blogspot.com

  • How to display two different parts of one image in two windows?

    hi everyone:) i need to display two different parts of one image in two windows. i have problem with displaying :/ because after creating windows there aren't any images :( i supose my initialization code of creating windows is incomplete, maybe i miss something or maybe there is some inconistency. graphics in java is not my strong position. complete code is below. can anybody help me?
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.io.*;
    import javax.imageio.*;
    import javax.swing.*;
    import java.util.*;
    class ImgFrame extends JFrame
           private BufferedImage img;
           ImgFrame(BufferedImage B_Img, int x, int y, int w, int h)
                   super("d");
                   img=new BufferedImage(w,h,BufferedImage.TYPE_INT_RGB);
                   img=B_Img.getSubimage(x, y, w, h);
           }//end ImgFrame construction
           public void paint(Graphics g)
                   Graphics2D g2D = (Graphics2D)g;
                   g.drawImage(img, 8, 8, null);
           }//end paint method
           public Dimension getPrefferedSize()
                   if(img==null)
                           return(new Dimension(100,100));
                   else
                           return(new Dimension(img.getWidth(null),img.getHeight(null)));
           }//end of GetPrefferedSize method
    }//end ImgFrame class
    public class TestGraph2D_03 extends Component
           static BufferedImage IMG;
           public static void Load()
                   try
                           IMG=ImageIO.read(new File("c:/test.bmp"));
                   catch(IOException ioe)
                           System.out.println("an exception: "+ioe);
                   }//end try catch
           }//end TestGraph2D_03 construction
           public static void main(String[] args)
                   Load();
                   ImgFrame F1 = new ImgFrame(IMG, 0, 0, 8, 8);
                   ImgFrame F2 = new ImgFrame(IMG, 8, 8, 8, 8);
                   F1.addWindowListener(new WindowAdapter()
                           public void windowClosing(WindowEvent e)
                                   System.exit(0);
                   F1.pack();
                   F1.setVisible(true);
                   F2.addWindowListener(new WindowAdapter()
                           public void windowClosing(WindowEvent e)
                                   System.exit(0);
                   F2.pack();
                   F2.setVisible(true);
           }//end of main method in TestGraph2D_01 class
    }//end of TestGraph2D_03 class

    Never override the paint(...) method of a Swing component.
    If you have a sub image then add the image to a JLabel and add the label to the GUI. No need for custom painting.

  • How to display two different hierarchical sequential lists in one o/p scree

    Hi Gurus,
    I have a requirement for displaying two hierarchical lists in one output screen. I have created my hierarchical sequential lists using
    function module : - 'REUSE_ALV_HIERSEQ_LIST_DISPLAY', but i dont know how to append my second hierarchical sequential list
    into this.
    Will it be easily possible through OO ABAP where i will have two containers at the screen and each container will display one hierarchical sequential list at the output screen. But i have no idea how to do this through OO ABAP.
    Please help...
    Thanks,
    Bhupender

    i want to display the records corresponding to the user details enterd
    in Text Fields in the same Frame by replacintg the previous display..1) Quit multi-posting.
    2) You where given an answer in your last posting on the topic.
    3) The code isn't formatted so don't expect us to read the code.

  • How to display, 2 vo's attributes in single table.. they are connected VL

    Hi to all oaf gurus....!!
    i have a search page... with n number of attributes. When the user enter a attribute... search is done in VO by using dynamic where clause in voimpl class.Now the problem is that there is one attribute that cannot be retrieved in this vo query.So i have made another vo to retrieve that attribute. And joined this vo with original vo by the help of a vl.
    Now i m displaying results....in a table. Table takes all the attributes from a single vo. how can i display my second vo attribute in this table with the help of vl...?
    How to do that...... please help...!!

    Hey avaneesh.... thanks for the answer, But... first of all i want to tell you that this is a custom search page and so the VO is a custom VO, so there is no need to extend it. Second thing that this VO query i can't join with second vo query... by using join ... because in the original vo query i have used external join and the particular table is already joined with some other table with external join.
    So i have to use vl through which i get the new attribute from the second vo. The problem is still the same how to use these 2 vo attributes in a single table...!! can a table attribute be retrieved by a vl?

  • How to use two different fonts in a single label?

    Hello all,
    Is there any way to use font of 2 different size and color for a single label?
    Looking for a quick replies from you.
    Regards,
    Obaid

    No. One label, one font, size and color.

  • How to use two different report items in SSRS page header

    Hi All,
    Can we use more than one report item in SSRS 2008 R2 page header...
    Like this in expression..
    =IIF(Globals!PageNumber=1,ReportItems!Col1.Value,ReportItems!Col2.Value)
    Whenever Globals!PageNumber=1 I want to show values present in Col1 and when Globals!PageNumber<>1 then show values present in col2
    Also let know if any other work around is there to meet above criteria...
    Thanks,
    RH
    sql

    Hi RH,
    Based on my research, a text box in the page header can only refer to the ReportItems built-in collection once in an expression. So if we directly use the expression in the page header, we can receive the error message that “The Value expression for textrun’’
    refer to more than one report item. An expression in a page header or footer can refer to only one report item”.
    To work around the issue, we can add two text boxes to the page header: one for the textbox col1 value (=ReportItems!Col1.Value), another for the textbox col2 value (=ReportItems!Col2.Value). Then use the expressions as below to control the visibility of
    those textboxes:
    =iif(Globals!PageNumber=1,false,true)
    =iif(Globals!PageNumber<>1,false,true)
    Please note that only text boxes on the current page are available as a member of the ReportItems collection in a page header or page footer section. For example, if ReportItems!textbox_name.Value refers to a text box that only appears on the first page
    for a multipage data region, we cannot see a value on other pages except the first page.
    Reference:
    Using the ReportItems Collection References (Report Builder 3.0 and SSRS)
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to put title or labels on top of row headding of Cross Tab

    Hello..
                 I created one cross tab.I put labels in the top row,these labels are coming only in first page only,I tried repeat row label also,But not working....I need all the labels in all pages..

    Hi,
    In XI r3 - on a  cross-tab table under the page layout properties there is a  "Repeat header on every page" option. Is this checked?
    Regards
    Alan

  • How do I make 2 points in two different objects to stick to eachother?

    As the topic says, I need to make 2 points in two different objects to stick to eachother, so for example when I rotate a line which is "connected" to a square object in one end, the line will rotate around that point.
    Also, if I have lets say two square objects and I "connect" one of the corners of one square object to another corner of another square object, where the points are located exactly on the same location, I need to be able to rotate any of the square objects around the point which is connected to the other square.
    Is this possible?
    Some will probably ask why I need to do this, but I can only say I do, it's a long story

    Its quite complicated guys , I'm quite sure Illy doesn't do what I'm looking for.
    It's basically a line which is "anchored" at one point and connected to a square at the other point. So when I move the square the line is being dragged with it without altering its length. And of course the "anchored" point of the line stays where it was from the beginning, while the other end is attached to the square moving with it.
    This way the squares point, the one which is connected to the line, can neither end up closer or farther from the lines "anchored" point. The square can only move around that point in an exact circle, with constant radius.
    I'm using this for measuring/map creation. It doesn't have to be 100% exact down to the millimetre, but I'd be happy if I could get it centimetres exact if you know what I mean. Of course this is on a scale of like 100x100 metres or more.
    I can do it without this "feature" too, but it takes more time and is not totally exact either.
    I can't use CAD for this, so it'll have to be Illy.

  • Can findText find two different objects at once?

    I have written a script that finds all italicized words, then compares them to a character style that italicizes characters. If there are any italicized words that do not use the character style, the user is alerted.
    Of course, not all fonts use a fontStyle that equals "Italic." Some use a fontStyle called "Oblique."
    I was trying to figure out how the findText function could find two fontStyles at the same time. My solution was to realize that each find is an array. So I made two finds and the concatenated the arrays. The resultant array (here called myFoundItems) elements can be searched through to find any that do not have the correct character style applied.
    My question is if the findText function can find more than two different objects at once or are we stuck with concatenating arrays?
    Below is part of the script:
    var myDoc = app.activeDocument;
    initFindReplace(); [This function zeros out anything left in the find/change preferences]
    app.findTextPreferences.fontStyle = "Italic";
    var myFoundItems1 = myDoc.findText();
    initFindReplace();
    app.findTextPreferences.fontStyle = "Oblique";
    var myFoundItems2 = myDoc.findText();
    initFindReplace();
    var myFoundItems = myFoundItems1.concat(myFoundItems2);
    Thanks,
    Tom

    Tom,
    The reason why you end up with an array of arrays is this: you define an array allMyFoundItems, then you iteratively collect other arrays using findText and insert ("push") these arrays into allMyFoundItems. Instead, you should use concatenate:
    var allMyFoundItems = new Array;
    for (. . .
       var myFoundItems = myDoc.findText();
       allMyFoundItems = allMyFoundItems.concat (myFoundItems)
    If you'll allow me a further comment, you could formulate your test to check whether a fontstyle name contains oblique or italic in one line:
    >if (arrFontStyles[k].search (/(italic|oblique)/i) > -1)
    And as the script searches but doesn't change anything, there's no need to set the ChangeTextPreferences. Your script could then be stated as follows:
    var myDoc = app.activeDocument;
    var arrFontStyles = myDoc.fonts.everyItem().fontStyleName;
    aa = findFontStyle (arrFontStyles);
    function findFontStyle (arrFontStyles)
       var allMyFoundItems = new Array;
       var myFoundItems2 = new Array;
       app.findTextPreferences = NothingEnum.NOTHING;
       for(var k = 0; k < arrFontStyles.length; k++)
          if (arrFontStyles[k].search (/(italic|oblique)/i) > -1)
             app.findTextPreferences.fontStyle = arrFontStyles[k];
             var myFoundItems = myDoc.findText();
             allMyFoundItems = allMyFoundItems.concat (myFoundItems);
             }//end if
          }//end for k
       return allMyFoundItems;
       }//end findFontStyle function
    As to formatting scripts in the forum, you can do this by wrapping your code in <pre> and </pre>. Also replace < with &lt; (< causes all lines of code to be displayed on one line). You should also replace curly quotes with straight codes, and tabs with (non-breaking) spaces. I use the following script for that:
    tf = app.documents.add().textFrames.add ({geometricBounds: [0,0,'700pt','500pt']})
    tf.insertionPoints[0].select();
    app.activeDocument.textPreferences.typographersQuotes = false;
    app.paste();
    app.findGrepPreferences = app.changeGrepPreferences = null;
    sara (tf, '&', '&amp;');
    sara (tf, '<', '&lt;');
    sara (tf, '\\t', '   ');
    sara (tf, "'", "'");
    sara (tf, '"', '"');
    tf.parentStory.insertionPoints[0].contents = '<pre>';
    tf.parentStory.insertionPoints[-1].contents = '</pre>';
    function sara (tf, f, r)
       app.findGrepPreferences.findWhat = f;
       app.changeGrepPreferences.changeTo = r;
       tf.parentStory.changeGrep ()
    Copy the text of the script you want to prepare for posting, then run this above script. It creates a new InDesign document, pastes your script into it, and makes all the necessary changes. Then copy that and paste it into the forum.
    Peter

  • Synchronising two different objects

    Hi everyone,
    I am asking for your help while i am writing an example code. I want to learn how to synchronise two differents objects.
    The first class is actually a MIDlet, which has to increase a counter and display it until the second class send a message to the midlet. At this moment, the midlet has to display the message. I am actualy thinking about adding another thread, but lets speak only about the midlet and the calculator :)
    I think there is a problem in my way of thinking, that's why i am asking for your help :
    Here is an extract of my midlet code :
    public class Main extends MIDlet implements CommandListener {
        private static boolean isFromCalculator    = false;
        private static boolean displayUsed = false;
        Command exitCmd = new Command("Exit", Command.EXIT, 1);
        Command pauseCmd = new Command("Pause", Command.OK, 1);
        TextBox tb = new TextBox("Principal", "", 200, 1);
        int cpt = 0;
        Calculator calc = new Calculator();
        public Main()
            calc.start();
            tb.addCommand(exitCmd);
            tb.addCommand(pauseCmd);
            tb.setCommandListener(this);
        public void startApp() {
            process();
        public void pauseApp() {
        public void destroyApp(boolean unconditional) {
        public void process()
            // Tant que l'on a pas d'infos des deux autres threads, on compte !
            while ( !isFromCalculator )
                if ( displayUsed )
                    synchronized(this){
                        try{
                            wait();
                        catch (Exception e)
                            e.printStackTrace();
                display("Principal : " + cpt + "\n", 1);
                cpt++;
            deroute();
        public void display(String message, int time)
            displayUsed = true;
            tb.delete(0, tb.size());
            tb.insert(message, tb.size());
            Display.getDisplay(this).setCurrent(tb);
            synchronized(this)
                try{
                    wait(time);
                catch (Exception e )
                {e.printStackTrace();}
            displayUsed = false;
            notifyAll();
        public void deroute()
            if ( isFromCalculator == true )
                // Manage Calculator message
                display(calc.Message(), 1000);
                isFromCalculator = false;
            process();
        public static void setBoolFromCalculator(boolean b)
            isFromCalculator = b;
        public static boolean isDisplayUsed()
            return displayUsed;
    }And here is my calculator code :
    public class Calculator extends Thread{
        private int iterator;
        private boolean quit;
        public Calculator()
            iterator = 0;
            quit = false;
        public void run()
            while ( !quit )
                iterator++;
                // 100 Boucles maxi
                if ( iterator > 100)
                    quit = true;
                try{
                    sleep(1000);
                catch (InterruptedException e )
                    System.out.println("Calculator sleep error : ");
                    e.printStackTrace();
                if (iterator % 10 == 0)
                    if ( !Main.isDisplayUsed() )
                        synchronized(this)
                            try{
                                wait();
                            catch(Exception e)
                                e.printStackTrace();
                    Main.setBoolFromCalculator(true);
        public String Message()
            return " Calculator - Iterator = " + iterator +"\n" ;
    }May i ask your any advice ?
    Regards,

    t00f wrote:
    Hi everyone,
    I am asking for your help while i am writing an example code. I want to learn how to synchronise two differents objects.Note that you don't "synchronize objects." You synchronize methods or blocks of code on objects (or, more properly I suppose, on their locks). This may seem like a petty distinction, but when you say "synchronize objects," it sounds like you think that you're controlling access to an object. That is not the case. If you need further explanation, let me know.

  • Display two Different reports together

    Hi Experts,
    Is there any way that I can display two different  reports simultaneously/together in Web Portal
    Thanks in advance.

    Hi Manpreet,
    Although we can easily perform this in WAD , but as you asked the other option which requires some coding .
    Check the below thread for the same :
    how to display two lables in alv report
    Hope it helps,
    Supriya

  • JComboBox display two different lists

    I have a JComboBox in a JTable column. The requirement is that the JComboBox displays two different lists based upon which mouse button is clicked on the JComboBox. i.e When user clicks on mouse Button1 the JComboBox should popup with a list of products(user default products). But, when the user clicks on mouse Button2 the JComboBox should popup with a different list of products(all the products).
    Any help will be appreciated,
    Thanks in advance!

    UNDEBUGGED, UNTESTED, OFF THE CUFF CODE
    public class myEditor extends AbstractCellEditor implements TableCellEditor {
      private int sel = 0;
      private String[][] str = {{"Option 1", "Option 2", "Option 3"},
                            {"Select 1", "Select 2", "Select 3"}};
      private JComboBox[] fieldCombos = new JComboBox[str.length];
      private DefaultCellEditor[] fieldEditors = new DefaultCellEditor[str.length];
      public myEditor() {
        for (int i=0; i<fieldEditors.length; i++) {
          fieldCombos[i] = new JComboBox();
          for (int j=0; j<str[0].length; j++) {
            fieldCombos.addItem(str[0][j]);
    fieldEditors[i] = new DefaultCellEditor(fieldCombos[i]);
    public Component getTableCellEditorComponent(JTable table, Object value,
              boolean isSelected, int row, int column) {
    fieldCombos[sel].setSelectedItem(value);
    return fieldEditors[sel];
    public void setSelector(int Selector) {
    if (Selector>=0 && Selector<str.length) sel=Selector;

  • How to add two different page numbers in a single page

    How to add two different page numbers in a single page? One is for page number of the whole article, the other one is for page number for each chapter in the article.

    It's quite complicated, see
    Two Page Numbering Schemes in the Same Document.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to call two different servlet-url in the same application

    Hi,
    I want to call, consecutively these methods in my application.
    response.sendRedirect(servlet-url1)
    reponse.sendRedirect(servlet-url2)
    but the second method dont answer,
    I think, the first method redirect s with response ,
    but how to call two different servlet ?
    thanks

    if you call the first redirect, the servlet is getting aborted, so you can redirect to the first servlet, working the stuff in it, and then in the second servlet you can redirect to the third servlet

Maybe you are looking for