Hide column in the adress if it is null and print next line in XML publishe

Hi,
I'm converting oracle report to XML publisher report.
I craeted template rtf with word. everything works fine.
Except address prints null coumns if it is null.
I used if condition in template. something like this...
<?if:B_ADDRESS1!=''?><?B_ADDRESS1?><?end if?>
But I see still it prints null columns.
Any body have idea how can i fix this?
Thanks
pallavi

Hi Guys,
I have built a template for FSG reports. Currently the FSG Reports when run in XML does pull the Display Sets definition for the report. The Display Set is used to hide certain row and Column intersections from the FSG.
So to accomplish this I have coded each column in the template to display data or hide data for a particular row by using the code
<?if:(position()) !=1?><?fsg:RptCell[2]?><?end if?> ------ This means, show the column for all rows except row 1.
Now there are some places I have to hide Column 1 for row 2 and row3 and display for row 1 and row 4.
Can anyone please tell me how I can accomplish this.
Thanks

Similar Messages

  • Everytime I open Safari on my MacBook Pro a pop-up window from my Finder menu, with the Applications highlighted on the left in the favorites column with the Resources folder highlighted comes up and locks my Safari page until I manually close the Resourc

    Everytime I open Safari on my MacBook Pro a pop-up window from my Finder menu, with the Applications highlighted on the left in the favorites column with the Resources folder highlighted comes up and locks my Safari page until I manually close the Resources window then I have to refresh the internet search address line at the top of Safari. Can someone tell me how to stop this. It started after a software upgrade. It didn’t do that before. Thank you.

    A few thoughts for diagnosis/testing purposes:
    Have you recently run the disk utility and repaired HD and permissions? If not do so.
    Boot into the Safe mode - hold down shift key on boot - and see if the problems are still there. Some functions won't work but see if anything odd happens.
    Check your startup items. Get rid of them temporarily.
    Create a new user account and see if the problems occur with the new account.
    Lastly, be sure your backup is up-to-date.

  • What is the difference between string != null and null !=string ?

    Hi,
    what is the difference between string != null and null != string ?
    which is the best option ?
    Thanks
    user8729783

    Like you've presented it, nothing.  There is no difference and neither is the "better option".

  • When i type my email, the text would go on and on and overflows. I mean to say it doesn't autmatically hit the right hand side wall and change to next line! I have to manually press enter and then next line starts. Started happening suddenly.pls help.

    When i type my email, the text would go on and on and overflows. I mean to say it doesn't autmatically hit the right hand side wall and change to next line! I have to manually press enter and then next line starts. Started happening suddenly.pls help.

    Does it happen when you reply to an email? If so, it might be that there's content in the original email (like an image or something similar) that overflows the window content, therefore the Mail app, when you hit the border, follows the content below instead of going on a new line. You might wanna try that.
    Also: Please do not post the whole question in the question title.

  • How to hide columns in the output table in webdynpro based on input

    Hi Experts,
       I have 2 inputs and 1 input is optional.If both inputs are given proper table output is displayed,but if only 1 input is given a column is empty in the output table  so i want to hide this column dynamically at runtime based on my inputs.And i want to hide some empty rows also at runtime based on inputs.
    Can anyone help me out to solve this.
    Thanks in advance.
    Regards,
    Anita.

    Hi Anitha,
    What i understood from your question is,you want to control the table from your inputs.I have a one question for you what do you want to show defaultly i.e when you run the application what you want to show,either no table or table with some values.
    Any how i am giving solution in this way.
    If both inputs are given proper table output is displayed
    Write your below logic in the WDDOMODIFYVIEW )
    Here i am assuming that you already have a table element in the view.
    Get the values entered in the input fields and compare those 2 values ,if the condition is satisfied then bind the values which you want to show in the table to the context node.
    but if only 1 input is given a column is empty in the output table so i want to hide this column dynamically at runtime based on my inputs
    You are telling that you know the empty column.If so get the view element reference and use the REMOVE_COLUMN to remove the column.
    data:lr_table type ref to cl_wd_table,
           lr_column type ref to L_WD_TABLE_COLUMN.
    lr_table ?= view->get_element( 'TABLE1' ).
    CALL METHOD LR_TABLE->REMOVE_COLUMN
        EXPORTING
          ID          = 'TABLE1_color'
         INDEX      =
        RECEIVING
          THE_COLUMN = lr_column.
    i want to hide some empty rows also at runtime based on inputs.
    Removing the rows is very simple.if you know the key fields data of internal table from your input fields then do in this way.
    delete itab from wa where key1= "12" and key2="abd".
    Now bind the internal table to context node.
    LO_ND_hcm->BIND_TABLE(
          NEW_ITEMS            = it_final
          SET_INITIAL_ELEMENTS = ABAP_TRUE ).

  • Hide Section where the data in section in NUll

    I have read a couple of threads but my issues still persists. I am using Business Object XI (infoview)  I want a report to show printers by the model of printer, I have created an object called Model which is based on 2 other fields (both have model details in them. I set the Model field as the section and the report shows as below
    Model 1
    Serial Number /  Receive date / Manufacturer
    Model 2
    Null
    Model 3
    Serial Number /  Receive date / Manufacturer
    I want to be able to remove "model 2" from the report. I go to the section properties and go to display, I " un tick show null field" and I go to 'Hide section when the following are empty'  and check this but the only options I am given in the drop down are the model or block1 when I select either or both the section that I want to suppress is still visible.
    Is there a way to get any other values in this dropdown, I have read about something called hide block but I am not sure what this is or even if it is an option in Business Objects?
    Thanks

    Hi Adam,
    I had the same problem myself and have found out how to resolve it.
    To hide a section where the data in the section is null you need to apply a filter on the data at the report level, not the section or table level if you had a table in your section.
    In Infoview (which is Webi in a web browser, usually displayed in HTML):
    1. Go into Edit mode
    2. In the left pane click on the 'Document Structure and Filters' button
    3. Add a new filter at the report level (not on the section or the table) to filter the null data out (in your case WHERE Model Is Not Null)
    Your report should now only show you the sections that actually contain any data.
    Regards,
    Chris

  • My wife has just had a new iPad and while Wifi works fine with it at home, at work it will not connect to the Wifi despite the correct password being entered. The 'waiting wheel' simply goes round and round next to the Wifi network attempting connection.

    My wife has just had a new iPad and while the Wifi works fine at home, at work she is unable to connect after entering the correct password etc. The 'waiting wheel' simply spins next to the network attempting to connect. The iPad version is 5.1.1 and not the IOS 6 which seems to be problematic on the Wifi front. To add to the mystery my own iPad connects fine to my wife's place of work. Is it possible to take the manual settings from mine and connect that way? Or any other suggestions?

    When your device is trying to connect to the work Wi-Fi network, go to Settings > Wi-Fi > then tap on the name of the Netowrk that she is having trouble with. Then tap on forget this network. Let the device attempt to connect again and make absolutely sure she is trying to connect to the work network and not a nearby network, then make absolutely sure the password is entered correctly.

  • After update to 10.1.3 the menus can't open normally and printing is not possibe

    Hello,
    Does anyone recognise this problem and can help me ?
    After the update to 10.1.3 I the menus open fuzzy. So I can still read the pdf , but when I push the print button, the printscreen gets fuzzy and I cant continue.
    This also happens when I try to read other menus like preferences etc.
    I can still open and read pdf files normally and printing from other programs like word f.e. is still possible.
    I downloaded the update again, but this didn't help. Then I tried to delete with the cleaner and do a full installation, but I still have the same problem.
    Can anybody help me please ?
    Greetz

    OK.... what I've tried so far is creating an archive..... That worked but no import.....
    I also tried Russ' suggestion of using the card reader. Interestingly I was able to import.
    Now I plug in the card and it's importing fine as I write this.
    I don't know what the deal is but it's working after I tried the card reader.
    For now.
    Thanks for the suggestions.

  • Where is the "reference tab's pop-up menu" in this instruction, "To hide a single row or column, choose Hide Row or Hide Column from the row or column reference tab's pop-up menu."

    Where is ref tab's pop-up menu?

    I made this screenshot to show convert to header row which is done from the same pop-up menu. Hover your cursor between the row number & the first cell until you see the triangle then click the triangle.

  • I don't want firefox to save web addresses in the adress bar drop down box and I want to delete what is there now?

    On the top of the screen is the box where you type a web address. The old ones are being saved in the drop down box accessed by clicking on the little arrow on the right. How do I delete the existing addresses retained there and tell it to never save addresses at any time.

    See:
    * [[Clearing Location bar history]]
    * [[Cannot clear Location bar history]]
    * [[Location bar autocomplete]]

  • The javascript makes the input field to be null and cannot pass variable to

    Hi
    I use the following code to check whether the upload file is in the right format extension.
    However, once I use it and it cannot pass the variable to servlet and throw nullpointerexception.
    How can I fix it?
    <script language="JavaScript">
        extArray = new Array(".jpg", ".png", ".gif");
        function LimitAttach(form, file) {
        allowSubmit = false;
        if (!file) return;
        while (file.indexOf("\\") != -1)
        file = file.slice(file.indexOf("\\") + 1);
        ext = file.slice(file.indexOf(".")).toLowerCase();
        for (var i = 0; i < extArray.length; i++) {
        if (extArray[i] == ext) { allowSubmit = true; break; }
        if (allowSubmit) return true;
        else
        alert("Please only upload files that end in types:  "
        + (extArray.join("  ")) + "\nPlease select a new "
        + "file to upload and submit again.");
        return false;
    </script>
    OnSubmit="return LimitAttach(this.form, this.form.myimage.value)"
    servlet:
    boolean isMultipart = ServletFileUpload.isMultipartContent(request);

    the js works fine, just add id=myimage and it is ok
    checking file type for uploading only image on client side

  • Stupid PDF Question:  What's the difference between "Save As PDF" and Printing to a PDF "printer"?

    Is there a quality difference? 
    The "Save As" seems to run Distiller, but if I select "Print Document" and select "Adobe PDF" as the printer, it also seems to work OK, although I sometimes get a "Times" font not available, will be replaced by "Times New Roman", even though I can't find any reference to "times" in my book.
    Is there an advantage to running Distiller?
    Thanks!
    John
    www.controlgeek.net

    > Is there a quality difference?
    I'd expect them (as well as print-to-Ps & Distill) to be the same for the same settings.
    We print to Ps & Distill, for several reasons, not all of which may apply to you:
    More control. Distilling provides menus for everything Adobe lets you control in PDF gen. Print/SaveAs may not (and don't in our environment).
    Faster printing (Frame doesn't have to wait for the tps to pdf gen). You can get back to work while a long job renders.
    Unequal versions/different platforms. We author on FM8/Unix and Distill on Acro9/PC.
    > ... although I sometimes get a "Times" font not available, will be replaced by "Times New Roman", even though I can't find any reference to "times" in my book.
    Save the component files to MIF and examine with a plaintext editor. If not found, the font invocation is probably coming in with a text inset, or a graphic of type DWG, DXF, EPS, PDF or possibly SVG.

  • Using LR 5.6, the program has developed sever problems. The latest is that the print module changes the picture from the chosen file to 12 others and prints all 12. I suspec  that an uninstall and reinstall would fix the problem but I don't know how to do

    Please tell me how do get a real person on customer support.  This system is terrible.

    What is your operating system?
    Do you have a copy of Lr ( the installer ) to hand?
    Is this a perpetual or a CC version of Lr?

  • How to hide cells in the sumation row in bps web layouts

    Hello xperts,
    I'm looking for a possibility to hide certain cells in the sumation row within a planing table (layout) over the webinterface builder.
    can anybody help me.
    I know there is a possibility to influence a table with the tableinterface for reporting tables.
    Is there any similar possibility in BPS- Web interface builder like a java script ?
    Please help !!!

    Hi Thomas,
    what exactly do you mean by "hide certain cells"? Do want to empty the contents of the cell or actually hide the cell? Hiding works for entire rows or entire tables, but hiding colums or even single cells is a bit more difficult (given, that when you hide one cell, the table loses its rectangular shape and the rows and columns don't match anymore ).
    I mangaged to change the appearance of certain objects with javascript. But that works only if you have an ID or NAME attribute in the HTML-source. Let's say you have a button and want to make it disappear.
    1. Create the button in the wi builder, name it button1.
    2. Create a text/html field, mark the html flag.
    3. Edit the long text of the field:
    <script>
      document.getElementById('button1').style.display='none';
    </script>
    That will make the button disappear. But I don't think that the display attribute will have any effect on a TD. You can try with style.InnerHTML or maybe set style.color to the background color. But in any case, the TD in the HTML code needs to have an ID or NAME. Otherwise it can't be referred. Maybe changing the bsp with SE80 helps?
    Simon

  • Need to hide one of the selction screen block

    Hi Gurus!
    I need to hide one of the block in my selectrion screen and only display one radio button in that selection screen block . Somehow its not hiding the enitre block , so I tried doing the fields invisible but when it is transported it again makes it visible . Is it possible to do it through programming code itself rather than through screen.
    Follwoing is the block that I need to hide.
    SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-004.
    PARAMETERS:
    rb_list RADIOBUTTON GROUP rb1 DEFAULT 'X' USER-COMMAND opt.<<<<<<<<need to hide this
    SELECTION-SCREEN BEGIN OF BLOCK b4i WITH FRAME TITLE text-005 .<<< need to hide this block
    PARAMETERS: p_header AS CHECKBOX MODIF ID b5,
                p_send   AS CHECKBOX MODIF ID b5 USER-COMMAND opt,
                p_overr  TYPE sy-uname MODIF ID b6,
                p_alines AS CHECKBOX MODIF ID b5.
    SELECTION-SCREEN END OF BLOCK b4i .
    PARAMETERS: rb_alv  RADIOBUTTON GROUP rb1 DEFAULT 'X'.<<<< Just need to show this on my selection screen
    SELECTION-SCREEN END OF BLOCK b4.
    In the above code I need to hide the block b4i and the radiobutton rb_list.
    Help will be gretaly appreciated.
    Regards
    Aarav

    Hi!
    Thanks for the input but addition of that still gives me the first radiobutton 'rb_list 'in my selection screen .
    SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-004 .
    PARAMETERS:rb_list RADIOBUTTON GROUP rb1 MODIF ID rad .<<<<< This is still showing up --want to hide this
    SELECTION-SCREEN  BEGIN OF BLOCK b4i WITH FRAME TITLE text-005 .<<<<< want to hide is block completely
    PARAMETERS: p_header AS CHECKBOX MODIF ID b5 ,
                p_send   AS CHECKBOX MODIF ID b5 USER-COMMAND opt,
                p_overr  TYPE sy-uname MODIF ID b6,
                p_alines AS CHECKBOX MODIF ID b5.
    SELECTION-SCREEN END OF BLOCK b4i .
    PARAMETERS: rb_alv  RADIOBUTTON GROUP rb1 DEFAULT 'X'.<<< Just need to show this param,etere on the screen
    SELECTION-SCREEN END OF BLOCK b4.
    * At Selection screen output
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF rb_list IS INITIAL AND ( screen-group1 = 'B5').
          screen-active = '0'.
          MODIFY SCREEN.
        ELSEIF screen-group1 = 'B5'.
          screen-active = '1'.
          MODIFY SCREEN.
        ENDIF.
        IF p_send IS INITIAL AND screen-group1 = 'B6'.
          screen-active = '0'.
          MODIFY SCREEN.
        ELSEIF screen-group1 = 'B6'.
          screen-active = '1'.
          MODIFY SCREEN.
        ENDIF.
        CHECK screen-group1 = 'RAD' OR
              screen-group1 = 'B4'  OR
              screen-group1 = 'B5'  OR
              screen-group1 = 'B6' OR
        screen-active = 0.
        MODIFY SCREEN.
    Thanks
    Edited by: Aarav  Agnihotri on Sep 29, 2009 6:08 PM

Maybe you are looking for

  • Moving binaries from one filesystem to another

    Hi, Unix team is going to move binaries from one filesystem to another(A to B),my concerned is what things i should take care of once its been moved like /etc/oratab/ pointing to this new OH and what about orainventory?do i need relink binaries too?P

  • Call Function in SAP Query

    Hi All, How do you call a function in SQ02 & Populate a structure table? Thanks Adeel Edited by: Adeel Sarwar on Mar 4, 2009 2:03 PM

  • Re: Express White Paper

    nhijazi @ optimum.org wrote Paul Krinsky comments... .............................................................. I can change the underlying database schema and all my queries still work. ............. This is something that I have a particularly

  • Eyedropper Tool Reverse Selection

    HI There, I'm just new on this forum and I just installed FCS 2.0. In Color, on the Secondary Room can I invert the selection of the eyedropper tool from the once selected with white area to the black area? I hope you understand what I mean. Thank yo

  • Just tried to install a new app and was told that I needed to "Agree to new Terms

    Just tried to install a new app and was told that I needed to "Agree to new Terms & Conditions".  When I hit OK, it brings me to a blank screen, so I can't accept them.  What am I supposed to do?