ALV problem - how to suppress column

I have one ALV report which is shoeing output.
However so many columns are with purely spaces (I mean no value exists in that column).
My requirement is to suppress the columns when ever that columns doesn't have values in them.
Could you please suggest me how ?  The program is using REUSE_ALV_GRID_DISPLAY.
Thank you in advance.

Hi Sam,
Check the rules and regulations once,
If anyone have more than 10 threads open we can report to moderator.
I wonder how you have still more than 150 threads open,
let make forums a better place..
please close all at the soonest.
-Dunlop.

Similar Messages

  • How to suppress columns on repor's dynamically

    Hi,
    I have a requirement where i need to suppress columns on reports depending on the parameter selection .
    For example on report i have
    col1, col2, col3
    user can now select to display col1 and col3 on report.
    Using format trigger i am able to suppress this the only problem is, there is a space equivalent to the size of col2 in between col1 and col3.
    Is there any solution for this?
    Thanks,
    Shailesh

    You are correct but how do i shift the col3 to left ?
    Is there any best of doing this?
    srw,anchoring....
    Thanks!
    Sh
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Raktim Kumar ([email protected]):
    If you want to suppress the col2 then go to the property "conditional formatting" of the col2.
    Now depending upon the user parameter hide the specific coloumn.
    I think it will solve your purpose.
    thanks<HR></BLOCKQUOTE>
    null

  • How to suppress column names in SQL-report

    What I want is just the data, without any column names.
    COLUMN LDATE OFF;
    SELECT     SYSDATE LDATE
    FROM DUAL;
    LDATE
    07.11.11
    This example doesn't work. There is still LDATE above column. Any idea?

    user5116754 wrote:
    Great, it's so simple. Im sure there is a way to omit this result statement: "531 rows selected" at the end of report!There is, and it's also in the documentation...
    SQL> set feedback off
    SQL> select * from emp;
         EMPNO ENAME      JOB              MGR HIREDATE                    SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-1980 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-1981 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-1981 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-1981 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-1981 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-1981 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-1981 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-1987 00:00:00       3000                    20
          7839 KING       PRESIDENT            17-NOV-1981 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-1981 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-1987 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 03-DEC-1981 00:00:00        950                    30
          7902 FORD       ANALYST         7566 03-DEC-1981 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-1982 00:00:00       1300                    10
    SQL>

  • SQL Loader Problem : how to skip column using sql ldr

    Hi,
    My problme is like this.
    In the data file i am getting some data and storing it in flat file format with ` as delimiter.
    For example:
    t1col1`t1col2`t1col3`t2col1`t2col2`t2col3`t2col4
    There are two tables here i.e t1 having 3 columns and t2 having 4 column values.
    But in the database i m having only 3 columns for t2 which corresponds to data of t2col3. Now in my control file can i use filler to skip this value in the datafile with the columnName mentioned.
    So my basic question is can i get rid of some column value which is there in the datafile and its position is not known when it will come but its name is known and its name is not present in the actual database. Can it be done using keyword "filler".
    Any help on this would be highly appreciated.
    Eagerly waiting for your reply.
    Regards,

    You will able to find good information about it in this document :
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96652.pdf
    Joel P�rez

  • How can i suppress columns in ALV ?? Will reward points.

    Hello Gurus, how can i suppress column in ALV when i`m using the transparent table:
    CALL METHOD grid->set_table_for_first_display
          EXPORTING
            i_structure_name = 'ZIANEXE'
            is_layout        = wa_layout
            is_variant       = wa_variant
            i_save           = 'U'
            IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
          CHANGING
            it_outtab        = itab[]
            it_fieldcatalog  = fieldcat.
    Please help.

    in the fieldcatalog you are providing there is a field NO_OUT use this.
    Loop over internal table and check fieldname. If fieldname = column you want to hide, NO_OUT = 'X'.
    Edited by: Micky Oestreich on May 8, 2008 12:06 PM

  • Warning message about CMP problem when launching query - how to suppress?

    Dear Experts
    How can I suppress warning message that did not stop the query from running?
    I encounter this message when 1st launching it. The next run , it does not show. But if user run it  i think may still show. How to suppress it?
    The message is :
    =================
    Characteristic [Z_I_NN_FN]Application Sub Grou of the MultiProvider is not provided by the PartProvider ZC_00N; this means it is not identified. However, [Z_I_NN_FN]Application Sub Grou is compounded to 0COMP_CODE and 0COMP_CODE is identified with characteristic Z_I_MM_FM for InfoProvider ZC_006.
    In this case, there is a compounding or CMP problem with [Z_I_NN_FN]Application Sub Grou in the MultiProvider for PartProvider ZC_006.
    Processing characteristics with CMP problems in the data manager is very complicated and can have a negative impact on performance. The data manager cannot use SIDs for these characteristics (at least not in the corresponding InfoProvider) because the initial SID = 0 for [Z_I_NN_FN]Application Sub Grou is not the same as the initial compound key for 0COMP_CODE [Z_I_NN_FN]Application Sub Grou (that is, when real values are posted in ZC_006 for 0COMP_CODE).
    For this reason, hierarchies for [Z_I_NN_FN]Application Sub Grou must often be read at leaf level. Furthermore, it is not possible to use hierarchy aggregates for [Z_I_NN_FN]Application Sub Grou or for the remaining InfoProviders.
    System Response
    Where possible, the system tries to avoid negative impacts on performance. Unfortunately, such performance issues cannot be avoided if the correct results are to be displayed.
    Procedure
    When working with important MultiProviders, you should always avoid characteristics with CMP problems.
    ====================
    Please advise how to address CMP problem error message when launching query.
    regards
    Pascal

    Hi Pascal,
    Why dont you select those compounding objects in Multiprovider itself.As far as i understand while activating the MP it throws an error if compounding objects are not selected.
    One more thing to add which i noticed you can try running the query on analyzer if you are running it on RSRT.
    You can see the data even if MP is not active on analyzer but not on RSRT.
    Hope it helps.
    Regards,
    AL

  • How To avoid column heading for only total line in ALV list Display

    Hi,
    How To avoid column heading for only total line in ALV list Display.

    Hi,
    to change colunm header field catlog is built
    look at the example below
    Changing column text headers
    use this to change, hide, or alter the ALV columns
    CLEAR: gt_fcat.
    READ TABLE gt_fcat WITH KEY fieldname = 'TEXT1' " ***
    *TEXT1 is your field name
       ASSIGNING <gtfcat>.
    IF sy-subrc = 0.
       <gtfcat>-coltext   = 'Date Type'.
       <gtfcat>-no_out    = ' '.
       <gtfcat>-tooltip   = 'Date Type Text from IT0019'.
       <gtfcat>-seltext   = 'IT0019'.
    keep seltext to '' if u want to hide
    ENDIF.
    regards
    austin

  • How to Suppress Header and footer.

    Hi,
    I have master-Detail report. Report prints One master and all detail records on a page. If detail records are more than to fit on one page, report prints master gaian on next page followed by detail records. For a master record If there are no detail records, I supress the master record also using format trigger.
    My problem is how to suppress the Header & Footer information that has to be printed on each page otherwise. When I suppress printing of master, All I get is Page header and footer. This happens only to the master records that fall in between. The pages related to last master records are not printed.
    How can I suppress printing of header and footer on blank pages.
    Thanks

    Thanks Santa & Rohit,
    As santa has suggested, I am already suppressing the printing of master record and its column headings based on the count of number of deatil records. If count of detail records = 0, I am suppressing master record.
    The problem is with Report header (TITLE etc.) and footer. I have to print TITLE and FOOTER on each an very page. So I have put these into Margins. The Count of master records at the report level, can be used to suppress the master records column headings and also TITLE and FOOTER. So if there is no master records, report does not print anything and that is fine.
    Problem comes when there are some master records with "No" detail records. Something like:
    -M1
    ----D1
    ----D2
    ----Dn
    -M2
    ----D1
    ----D2
    ----Dn
    M3
    M4
    M5
    ----D1
    ----D2
    ----Dn
    M6
    M7
    M8
    My report now produces pages for M1, M2 and blank data area (with Title and Footer) for M3, M4 and the M5. It suppresses pages for M6, M7, M8 etc. So if a master record has no detail records, but happens to be the last records that suppresses the TITLE and footer also.
    Any Ideas how to suppress TITLE/FOOTER for M3 & M4.
    Thanks

  • How to suppress "no valid rows of data" warning for composite Planning Form

    I had an issue with using a 2-grid composite webform. I want to show Substitution Variables along with my primary grid. My secondary grid was created using Substitution Variables for rows, columns, and page dimensions. I am hiding all of the segments but not suppressing missing for rows or columns.
    The problem is that I get the message "There are no valid rows of data for this data form" on the composite form due to my secondary grid (the Substitution Variable grid). Any tricks on how to suppress that? I even tried to add some data to an intersection, but, even with data, hiding the segments seems to bring on the warning message.
    Thanks.

    That can be caused if suppress on columns is on. We usually ignore the column part
    Even after all suppression is turned off and still getting the error, then yes it is could be because there is not data for that intersection.
    Regards
    Celvin

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • At max how many logical columns can be created in RPD

    Hi All,
    At max how many logical columns can be created in RPD. I have a requirement of creating 200 columns. Will there be any problem .
    Is there any predefind number of columns for RPD creation??
    Please help ..

    Hi Annapurna,
    There's no limit that I'm aware of or which is mentioned anywhere. Just as an example: I have a logical fact table with around 750 logical columns (>500 original measures & 250 derived measures). No issue whatsoever. Opening the presentation table through answers takes about 2-3 seconds (the NQSQL command has a lot to retrieve), but that's about it.
    Cheers,
    C.

  • How to suppress zeroes in table control?

    friends,
        by default, i am getting the initial values (zeros 0.00 for qty. fields) for the fields that am displaying in table control...how to suppress the zeroes (fields for which no values are there) in table control? any option like we have in alv (no_zeros) avbl? thanks all

    u are getting 0.00  bcos these are the field properties , so u have to create a new field for ur requirement.
    check the field attributes in SE51,
    DICT = DEC Format.
    Program = No Check for leading ZEROS.
    Regards
    Prabhu
    Message was edited by:
            Prabhu Peram

  • How to pass column name as a   values from one page  to another

    hi
    i have created a report(pivot) from a table
    SQL> SELECT * FROM T;
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    A   AB           3                    2
    A   AC           2                    3
    B   AB           5                    4
    B   AC           6                    5
    SQL> SELECT C1
      2  ,NVL(MAX(CASE WHEN C2='AA' THEN C3 END),'') AA
      3  ,NVL(MAX(CASE WHEN C2='AB' THEN C3 END),'') AB
      4  ,NVL(MAX(CASE WHEN C2='AC' THEN C3 END),'') AC
      5  ,SUM(C3) FROM T GROUP BY C1;
    C1          AA         AB         AC    SUM(C3)
    A            2          3          2          7
    B                       5          6         11
    SQL>
    my requirement in Apex is like this(reverse)
    eg-
    when i click on cell values '2' then,it should return
    C1  C2          C3 D                SEQ
    A   AA           2                    1
    {quote}how to pass column name as a  values from one page to another
    for example i have to pass 'c2' as a value to next page{quote}for report pivot you can reffer below link
    Report
    Amu

    thanks for your reply
    i 'm doing what exactly you mention here .
    my problem here is
    i have 15 columns
    i am executing a query based on the values of the column(column name)  in the target page
    1)here i am passing(all) the column values to the next page-but  i want to pass only one column values(column name)
    when i click on any cell of that  column
    OR
    2)i can pass all column name to target page -there(in the target page) i can filter out
    i think option 1 would good if you filter out the unwanted columns
    Regards
    Amul

  • How to suppress bars on chart and customize legend text

    I am new to Crystal Reports and have a couple of questions about bar charts.  I am using Crystal Reports XI Release 2 with Developer Studio 2005 (C# .NET) and SQL Server.
    I have a very simple report that sums up the values of 14 different database columns.  There is a also a bar chart to display the summed values.
    My questions are:
    1.  Based on some user preferences, I may not want to display all 14 values.  I found how to Suppress fields on the report, but cannot figure out how to prevent them from appearing in the bar chart as well.
    2.  Can I customize the names of the bars in the legend?
    Any help will be great appreciated!

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • ZDIALOG - How to suppress multiple of modalDialog in F4 help

    Hi,
    I'm using the F4-valuehelp from Tom's & Brians - my problem is how to suppress the possibility to open more than one dialog window?
    Another thing: I got a very hard error in IE 5.5 (on ClientSide) - is there anything dialog_ie6.js to replace to make it backwards compatible?
    Thx in advance,
    Sebastian

    Hi Tom,
    I'm using the F4 in tableviews - when adding a row the F4-dialog is opened automatical. Everything is fine until I have a complex document where 2 tableviews or more exists (presented in different phtmlb:containertabstrip).
    When adding 3 rows to one tableview the error occurs but I cannot find an algorithm. fter loading the IE 5.5 shows the content of one subview and the message 'The Website &url; could not been loaded. Execution stopped' in a dialog box like window.alert renders. After pressing OK it sometimes leaves to IE standard error page (404) or the main page stays blank and the F4-dialog is shown. When closing the dialog and looking at pages source code the page seems ok - everything seems to be there - I think client rendering fails.
    HTTP-Logging and tracing is also ok.
    The doubled opening is possible since at loading-time you can press the help-button several times.
    I changed your dialog_ie6.js at all occurrences of
    style.cursor="progress";
    to
    style.cursor="wait";
    since js-error came up.
    Regards
    Sebastian

Maybe you are looking for

  • DDIC objects not existing in standalone WAS

    Hi all, Here is our pb : We started a bsp developpement on a R3 system with WAS6.20. We transported our code (only the code concerning bsp application) to a new standalone WAS 6.40. But on this new machine a lot of ddic elements were not available. E

  • Why do vector shapes in scaled smart objects blur?

    This remains a point of frustration. Why does converting a vector shape to a smart object in Photoshop mean that it's then treated as a bitmap and blurs when scaled up? If i paste the same vector shape into Illustrator and then back into Photoshop as

  • Two ipods Down - How long should an ipod last?

    I gave my daughter a 20gig ipod about two years ago. It crashed, apparently a hard drive problem. It was no longer under warranty when she told me about it. I think she was embarassed that somehow it was her fault it didn't work anymore so she didn't

  • Transfer imessage from mac to iphone

    Hello. I deleted a text message conversation from my iPhone. However, the conversation is still present on my Mac in the "Message" application. How could I copy the conversation from my Mac back on to my iPhone? Thank you.

  • Default Action type when hire internal employee

    Dear all, How to set Default Action type when hire internal employee? Thanks,