Suppressing zero rows using APD

Hello,
We are using APD to create a .csv file extract which is posted on the BW server. This file is created via APD using a query which in turn is loaded into a DSO. This data is then outputted into a .csv file. The problem is that we have a huge file, of which much of the rows contain zeros. Is there any way that the zero rows can be removed either before the datas is loaded into the DSO or during the extract from the DSO to the flat file. I cannot see any way to do this through APD functionality. Any help with this would be graetly appreciated,
many thanks,
Dave

Hi David,
               Actually there is an option of appliying transformations in APD.There is a transformation type of ABAP routine which you can directlr drag and drop directly.So once getting the CSV file then apply transformations on it.I think you can try this way.This is my view.
Hope this helps
Regards
Karthik

Similar Messages

  • Suppress zero rows in file apd

    hi  experts,
    i need to suppress zero rows in a file being ggenerated by APD.
    Any suggestion how to proceed??

    Dear Kevin,
    Actually there is an option of appliying transformations in APD.
    There is a transformation type of ABAP routine which you can directly drag and drop directly.So once getting the CSV file then apply transformations on it.
    I think you can try this way
    Regards,
    Marasa.

  • Suppress zero rows in the query output.

    Dear Experts,
    We executed a query. In the output the values are displayed based on a hierarchy on gl account.
    But in the output some rows dont have any values i.e 0 value. Still those rows are appearing in the report output.I want to
    supress entire row. How to supress the entire row if no value i.e zeros are appearing in the query output.
    Regards,
    Bhadri M.

    go to change mode of query
    in that set the query properties /go to the query property secreen
    in the "Display " tab set the supperssion as "active (all value=0)" and in structure properties select the check box "also use  zero suppression for strucure element"
    i think it will be help ful
    Edited by: Soma Venkateshwarlu on Aug 28, 2009 2:40 PM

  • Zero Rows suppression is not working in Webi report.

    Hello Gurus,
    I have created a Web' report on top of BEx query. I am getting the report with Zero values. I want to suppress the rows with Zero values. When I ran the same query in BEx it is suppressing the zeros. (I have the property to suppress the Zero values int he query as active). Why Webi report is not recoginizing the property of the BEx query.
    Please advise.
    Thanks,
    Aruna..

    Hello,
    I am facing the similar problem...I want to suppress 0 values in my report. I am using RDBMS - BOXI 3.1 SP1 (Reporting through Webi)
    I have tried the above mentioned filter at Webi Level, but no luck.
    Description       p1       p2       p3
    Wages              0         0         0
    Exp                   100      25       50
    My requirement is the row, with all the columns with 0 should be suppressed.
    Appreciate your help.
    Thanks,
    Anushka
    Edited by: Anushka Bidesi on Aug 11, 2010 11:38 AM

  • Webi: unwanted zero rows suppression on BEx selection structure

    Hello,
    I have a Webi report/universe based on a BEx query having 2 structures: keyfigures in columns, characteristics selection structure in rows. We are still using BO XI 3.1 SP1.
    Now: the webi report suppresses the zero rows of the char structure, but we do not want that. in the bex query, there is no active zero rows suppression.
    I read in a similar thread about the opposite and that it will be fixed with XI 3.1 SP3:
    Re: Zero Rows suppression is not working in Webi report.
    Question: does anyone know, if "my" case is also solved by SP3? or anyone knows a workaround?
    Unfortunately the PDFs XI31_SP3_Fixed_Issues_1of2.pdf and XI31_SP3_Fixed_Issues_2of2.pdf of SAP note 1457545 contain no information about this point.
    Thanks and regards,
    Phil

    Hi Ingo,
    thanks for the workaround tip!
    In BEx query I tried with a calculated keyfigure set to "1" and alternatively with a restricted keyfigure set to "constant selection". Unfortunately, both did not work, the webi report was clocking long after the bex process was finished in BW.
    Then I got error WIS 30284 ( universe connection corrupt) and 30285 (no free memory). But maybe we just have an issue with webi server performance.
    anyway, thanks!
    Best regards,
    Phil
    Edited by: Phil on Jun 23, 2010 10:42 AM

  • Crosstab issue: Suppress Zeros in Rows

    Dear all,
    We have a report in BO Design Studio with a crosstab.
    In this crosstab I have some rows where all key figures are 0 (or empty).
    In BO Analysis Office these rows can be suppressed via Filter >> Suppress Zeros in Rows.
    How can we achieve this in Design Studio?
    Kind regards,
    Lieselot

    Hi,
    Maybe not exactly for your scenario but for similar ones it could be more useful:
    A very interesting way of filtering data based on Key Figure values (Measures) is by using Conditions.
    You can even change the values for your conditions dynamically directly from Design Studio either via user interaction (such as through a Dropdown or Prompt dialog) or only in the background via scripting (for example in the Application On Startup Event).
    See this great post from Xavier Hacking about how it can be done: http://www.hackingsap.com/blog/sap-design-studio-and-conditions
    So you could also create a simple condition for a "key figure value not equal 0" - that could be another option. The advantage is the possibility later to make some changes to the condition directly in Design Studio. But you do not need that if the rows with 0 values shouldn't be shown all the time (then you don't need to use a variable in the condition).
    Regards,
    David

  • How to suppress Missing and Zero rows in OBIEE SA for Essbase Cube as Sour

    Hi All,
    Currently we have Essbase(ASO) cubes as source for OBIEE.How to suppress #Misssing and Zero rows in OBIEE.
    For example, Dim1 having 4 members and Dim2 having 10 members then it shows 4*10= 40 combinations in Results.
    If we considered Metrics also along with attributes, OBIEE will suppress “No Data” values and shows attributes having Data.
    In Essbase-Excel Combination, Metrics will automatically comes with attributes so there we have option to suppress “No Data” rows under "Essbase Options".
    In our current requirement,Users are selecting only Metadata.Is there any work around where we can suppress even if the measures or metrics are not selected
    Thanks,
    SatyaB

    Thanks Deepak.
    As i am new to OBIEE,If possible could you please tell me procedure in brief manner,How to create implicit fact column.Currently we have 10 dimensions.
    So,Do I need to create individual implicit fact column for each dimension or one column is enough.
    Please advice
    Thanks,
    SatyaB
    Edited by: SatyaBodhanapu on Sep 29, 2011 1:16 AM

  • How to transpose the data records (rows) to column(lists) using apd

    Hi,
      how to transpose the data records (rows) to column (lists) using apd  in sap bw.
    I do not want to use abap routine.only use the transpose rows to list  transformation .
    Pls provide the step by step procedure .
    thanks,
    Nimai

    Save youe file to transpose as a csv and in the header row of your file for the columns you want to transpose you need to put some soer of a tag before the column name (ie your colum header was for a period budget will be something lie 2011001:ZFIBDD)
    1. You will need to create a new apd process (rsanwb)
    2. Insert a "Read from Data File" data source object and map it file (,csv)
    3. insert a transpose object into your apd process (middle row 4th one over in the transformations section)
    4. under the definition tab in the transformation object select all the columns that are to be transposed into rows and move them to the transformed area, the grouping fields section should contain the rows that you want to now be columns
    5.under the transformation tab enter in the seperator you selected  under the Field Name/Infoobject area (ie. ZFIBDD)
    6. under the details tab  you need to enter in all the fields to be transformed and tner the transposition field (ie ZFIBDD)
    7. Then you can insert a set of transformations and a DSO and link the newly transposed fields into that.
    hope that helps

  • How to hide zero rows from a structure

    Hi
    I have a month structue in rows which consists of 36 months. In the keyfigure coulmn also I have a structure with 6 keyfigures. In normal circumstances there will be values only upto 12 or 15 months. I want to hide the remaning rows. Is it possible.
    I created a counter on one important keyfigure so that when value>0 it is 1 otherwise 0. I call this counter. Then I tried to create a condition to show only the 1. But while creating the condition after the keyfigure a column for month with the different elements of structure has to be selected. And of course the condition does not work.
    Any suggestions how to hide the zero rows of structure
    Ram

    Right click on the key figure structure and characterstic structure select 'Properties' and check the option 'Also use Zero Suppression for Structure elements'.
    Also from the query properties select the 2nd tab display and select the option Suppression "Active All Values = 0" and from Effect on Select "Rows and Columns".
    Thanks.

  • Hide zero rows - have values in hidden col, but formula col in rpt is -0-

    In Hyperion Reporting Studio, I have a report that's set up as follows:
    Row1: Descendants of Projects
    Columns: A - C are data columns (hidden)
    D - formula [A] - - [C] (shown on report)
    Basic suppression is chosen for row1. In the report, column D still shows any projects with -0- value. What settings do I need to use to suppress any rows where the formula (col D) = 0?
    I've been going in circles with the Advanced Options, rounding, etc.
    Thanks in advance for any help.

    Basic suppression is chosen for row1. In the report, column D still shows any projects with -0- value. What settings do I need to use to suppress any rows where the formula (col D) = 0?From above what I can understand is that you want to suppress row when formula(col D)=0. Is so then this can be done by Using the Advanced Option in Conditional Suppression "Suppress Row If Data/FormulaValue in Cell" say D,1 Is Zero.

  • Suppress Zero is not working!

    Dear experts,
    I have a structure in my query. In addition, I also have G/L Account as a Free Characteristic. Each row is restricted by certain G/L Account values, for example, Revenue row is restricted by G/L Account 00000001 and 00000002.
    When I execute the query and perform a drill down by G/L Account, each row in the structure would display all values of the G/L Account. For example, Revenue row would display:
    - 00000001
    - 00000002
    - 00000003
    - 00000004
    -etc.
    Only 00000001 and 00000002 contain values for Revenue but the rest are zero. As such, I tried to suppress those rows that have zero value. I only wanted to show 00000001 and 00000002 in the Revenue row after drill down.
    I tried to use Query Properties > Rows/Colums > Suppress Zeros > Active (All Values = 0) option and saved my query. When I execute, the query would still display rows even though it contains zero values. In addition, when I tried to change the query again, I noticed that the Suppress Zeros option has been automatically changed to Do Not Suppress!
    Why is this case happening, and how can I rectify this problem, other than the use of conditioning?
    Thanks you very much.

    Hi guys,
    I tried the following:
    Query Properties:
    1. Suppress Zeros : Active (All Values = 0)
    2. Effect on : Rows and Columns
    Structure Properties:
    1. Display > Suppress Zeroes > Apply Zero Row Suppression to this Structure.
    It solve my drill down problem. G/L Account 00000003 and 00000004 wont get displayed in the Revenue row.
    But another problem occurs as several of my fixed rows in the structure wont get displayed before the drill down takes place like dividend and tax. I want to display these rows, regardless they have zero value or not. But I dont want to display G/L Account values that are zero after performing a drill down.

  • Suppress Zeros in BPC

    I've run into a slight issue when suppressing Zeros in a standard report in BPC.  I'm hoping others have run into this as well, it seems like there should be a solution (but I haven't run into any via the help or this forum).  Here's the situation:
    I am showing both budget and actuals in a report.  I'd like to suppress zeros so that if BOTH budget and actuals are zero, it'll suppress the line.  However, if there are actuals and no budget (or vice versa), I'd like it to keep the line.  Seems simple?
    The control panel only allows me to put EITHER actuals or budget in it (in the category field).  Whatever is selected there, BPC will suppress based on that (i.e. if actual is selected as the category, it'll supress all fields with no actuals, even if there's budget there).
    I think if I use an EVDRE report I'm able to supress based on both (you can put that in the suppress field in the control panel), but I can't use that type of report because I need to display both actuals and budget for two different years.
    Help?!?

    Hi,
    This is feasible.
    Lets say that you are expanding the account dimension, then in one of the cells below the control panel, define the below:
    ([ACCOUNT].CurrentMember,[ACTUAL])<>0 and ([ACCOUNT].CurrentMember,[BUDGET])<>0
    Keep the suppression for the account dimension ON. Change the expansion function. In the EVEXP function, for the filter parameter, use the cell in which you have define the above formula. This will suppress all 0s if both actual and budget has 0s.
    Hope this helps.
    Edited by: nilanjan chatterjee on Dec 23, 2009 8:33 PM
    Edited by: nilanjan chatterjee on Dec 23, 2009 8:33 PM
    Put greater and less than sign in front both the 0s in the formula. I am not able to put it in the response.

  • Bug Report: ResultSet.isLast() returns false when queries return zero rows

    When calling the method isLast() on a resultset that contains zero (0) rows, false is returned. If a resultset contains no rows, isLast() should return true because returning false would indicate that there are more rows to be retrieved.
    Try the following Java source:
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    public class Test2 {
    public static void main (String [] args) throws Exception {
    Connection conn = null;
    String jdbcURL = "jdbc:oracle:thin:@" +
    "(DESCRIPTION=(ADDRESS=(HOST=<host computer>)"+
    "(PROTOCOL=tcp)(PORT=<DB port number>))"+
    "(CONNECT_DATA=(SID=<Oracle DB instance>)))";
    String userId = "userid";
    String password = "password";
    try{
    // Load the Oracle JDBC Driver and register it.
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    // *** The following statement creates a database connection object
    // using the DriverManager.getConnection method. The first parameter is
    // the database URL which is constructed based on the connection parameters
    // specified in ConnectionParams.java.
    // The URL syntax is as follows:
    // "jdbc:oracle:<driver>:@<db connection string>"
    // <driver>, can be 'thin' or 'oci8'
    // <db connect string>, is a Net8 name-value, denoting the TNSNAMES entry
    conn = DriverManager.getConnection(jdbcURL, userId, password);
    } catch(SQLException ex){ //Trap SQL errors
    // catch error
    //conn = new OracleDriver().defaultConnection(); // Connect to Oracle 8i (8.1.7), use Oracle thin client.
    PreparedStatement ps = conn.prepareStatement("select 'a' from dual where ? = ?", ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); // Use any query that will return zero rows.
    ps.setInt(1, 1); // Set the params so that the query returns 0 rows.
    ps.setInt(2, 2);
    ResultSet rs = ps.executeQuery();
    System.out.println("1. Last here? " + rs.isLast());
    while (rs.next()) {
    // do whatever
    System.out.println("2. Last here? " + rs.isLast());
    ps.close();
    rs.close();
    EXPECTED RESULT -
    1. Last here? true
    2. Last here? true
    ACTUAL RESULT -
    1. Last here? false
    2. Last here? false
    This happens to me on Oracle 9.2.0.1.0.

    387561,
    For your information, I discovered this problem from
    running a query that did access an actual DB table.
    Try it and let me know.I did say I was only guessing, and yes, I did try it (after I posted my reply, and before I read yours). And I did check the query plan for the queries I tried -- to verify that they were actually doing some database "gets".
    In any case, the usual way that I determine whether a "ResultSet" is empty is when the very first invocation of method "next()" returns 'false'. Is that not sufficient for you?
    Good Luck,
    Avi.

  • Table has 85 GB data space, zero rows

    This table has only one column. I ran a transaction that inserted more than a billion rows into this table but then rolled it back before completion.
    This table currently has zero rows but a select statement takes about two minutes to complete, and waits on I/O.
    The interesting thing here is that previous explanations to this were ghost records in case of deletes,
    there are none. m_ghostRecCnt is zeroed for all data pages.
    This is obviously not a situation in which the pages were placed in a deferred-drop queue either, or else the page count would be decreasing over time, and it is not.
    This is the output of DBCC PAGE for one of the pages:
    PAGE: (3:88910)
    BUFFER:
    BUF @0x0000000A713AD740
    bpage = 0x0000000601542000          bhash = 0x0000000000000000          bpageno = (3:88910)
    bdbid = 35                          breferences = 0                    
    bcputicks = 0
    bsampleCount = 0                    bUse1 = 61857                      
    bstat = 0x9
    blog = 0x15ab215a                   bnext = 0x0000000000000000          
    PAGE HEADER:
    Page @0x0000000601542000
    m_pageId = (3:88910)                m_headerVersion = 1                 m_type = 1
    m_typeFlagBits = 0x0                m_level = 0                        
    m_flagBits = 0x8208
    m_objId (AllocUnitId.idObj) = 99    m_indexId (AllocUnitId.idInd) = 256
    Metadata: AllocUnitId = 72057594044416000                                
    Metadata: PartitionId = 72057594039697408                                Metadata: IndexId = 0
    Metadata: ObjectId = 645577338      m_prevPage = (0:0)                  m_nextPage = (0:0)
    pminlen = 4                         m_slotCnt = 0                      
    m_freeCnt = 8096
    m_freeData = 7981                   m_reservedCnt = 0                   m_lsn
    = (1010:2418271:29)
    m_xactReserved = 0                  m_xdesId = (0:0)                    m_ghostRecCnt
    = 0
    m_tornBits = -249660773             DB Frag ID = 1                      
    Allocation Status
    GAM (3:2) = ALLOCATED               SGAM (3:3) = NOT ALLOCATED          
    PFS (3:80880) = 0x40 ALLOCATED   0_PCT_FULL                              DIFF (3:6) = CHANGED
    ML (3:7) = NOT MIN_LOGGED           
    DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    Querying the allocation units system catalog shows that all pages are counted as "used".
    I saw some articles, such as the ones listed bellow, which addresses similar situations where pages arent deleted in a HEAP after a delete operation. It turns out pages are only deleted in a table when a table level lock is issued.
    http://blog.idera.com/sql-server/howbigisanemptytableinsqlserver/
    http://www.sqlservercentral.com/Forums/Topic1182140-392-1.aspx
    https://support.microsoft.com/kb/913399/en-us
    To rule this out, I inserted another 100k rows which caused no change on page counts, and then deleted all entries with a TABLOCK query hint. Only one page was deleted.
    So, it appears we have a problem with pages that were created during a transaction that was rolled back, huh? I guess rolling back a transaction doesn't take certain physical factors into consideration.
    I've looked everywhere but couldn't find a satisfactory answer to this. Does anybody have any ideas?
    Just because there are clouds in the sky it doesn't mean it isn't blue. Some people would disagree.

    And this is the reason why you should have heaps (unless your name is Thomas Kejser :-).
    Try TRUNCATE TABLE. Or ALTER TABLE tbl REBUILD.
    Erland Sommarskog, SQL Server MVP, [email protected]
    I rebuilt the HEAP a while ago, and then all pages were gone. I don't know if TRUNCATE would have the same results, I would have to repeat the test to find that out. There are many ways to fix the problem itself, including creating a clustered index as Satish
    suggested.
    Id like to focus on this interesting fact I wanted to bring to the table for discussion: You open a transaction, insert a huge load of records and then roll back. Why would the engine leave the pages created during the transaction behind? More specifically,
    why would they not be marked as "free pages" if they are all empty? Why are they not marked as free so scans would skip them and not generate a lot of I/O throughput and long response times just to query a zero row table? Isn't this like a design
    flaw or a bug?
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • How to suppress zero values in EVDRE Report?

    Hello.
    In my EVDRE Report I need zero values to be suppressed.
    But SAP BPC NW 7.0 Help says that
    The system does not suppress rows or columns returning a zero (where a zero amount is stored in the database)
    So how can I suppress zero values?
    P.S. In SAP BPC 7.0 for Microsoft platform "Suppress" parameter suppresses both zero and NULL values just like I need.
    Thanks.

    I have next options in EVDRE ExpandRange:
    PARAMETER     EXPANSION 1     EXPANSION 2
    ExpandIn     COL     ROW
    Dimension     TIME     P_ACTIVITY
    MemberSet     DEP     BASMEMBERS
    BeforeRange          
    AfterRange          
    Suppress          Y
    Insert          
    And my result is
         2009.JAN     2009.FEB     2009.MAR
    EMPL1     1,00       1,00       1,00 
    EMPL2     1,00       1,00       1,00 
    EMPL3     1,00       1,00       1,00 
    PC     1,00       1,00       1,00 
    SQM     1,00       1,00       1,00 
    LABMAN     0,00       0,00       0,00 
    LABPRD     0,00       0,00       0,00 
    MACHRS     0,00       0,00       0,00 
    MAINT     0,00       0,00       0,00 
    NONE     0,00       0,00       0,00 
    MACH1     0,00       0,00       0,00 
    MACH2     0,00       0,00       0,00 
    MACH3     0,00       0,00       0,00
    As you can see zero rows present.
    I'm on SAP BPC 7.0 NW SP7.

Maybe you are looking for

  • How do I open a port needed to run an application when I am using wireless internet at a hotel? Specifically port 13000?

    Hi all! I am trying to use an application called freephoneline.ca which gives you a phone number that people can call via an app on your computer. It was working perfectly at home but now I am at a hotel and I am not getting any sound. From running a

  • Replication of vendor master ac from employee in HR

    Hi Experts, My client looking to create vendor master account in accounts payable when hire the employee in HR, or if employee bank details infotype change should also replicate in vendor master account, Could any one let me know is standard practice

  • Accessing local files in Safari for Windows

    I am trying to access local files, such as .doc and .pdf files. I have tried file://server/dir/dir/file.pdf, and various numbers of slashes, but all result in Failed to open page messages. Any ideas? IE can do this, Firefox won't (easily). Chris

  • BT Make Final Adjustments for Faster FTTC Broadban...

    BTOpenreach has advised ISPreview.co.uk that their first trial of VDSL Vectoring (ITU-T G.993.5) technology, which could make even faster speeds available to more people on BT’s superfast (‘up to’ 80Mbps) hybrid-fibre (FTTC) broadband network, has be

  • ITunes 9.2 - Artwork Bugs

    Hello, So in addition to the lost artwork that seems to occur with each iTunes update, there is now another bug. When viewing my library in list, grid, or cover flow many albums will only have the grey music note box, however if I click on the box th