How to elemenate blank records

dear All,
i am facing the report level problem. i have one char structure and key fig structure .in rows i have placed char structure and units key figure structure kept in columns. in my reports some unit haveing values some units don't have any values .user is asking any unit field don't have values don't display in report i try to create condition but not working properly. after executing the repot ,query properties i saw "zero SUPPESSION" tab i checked the APPLY ALSO TO MEMBERS OF STRUCTURE STRUCTURE AND APPLY ALSO MEMBER OF STRUCTURE KEY FIGURES .now working fine. i question is how to use this condition in query
designer level.

Hello Rama,
If you do not want to see the blank UOM in the report, then please select the UOM char, try to restrict the UOM with " # "   (exclude) in the report level, so that blank values will not be seen at the query level.
Hope this may help you.
Thanks
PT
Edited by: PT on Apr 19, 2011 3:29 PM

Similar Messages

  • How to delete blank records in internal table

    Hi.
    please tell me how can i delete blank records in an internal table.
    thnx

    In that case
    Suppose you have 10 fields in internal table and if any of them is blank, you need to delete record.
    Try this command
    delete itab where field1 is initial or
                      field2 is initial or
                      field10 is initial.

  • How to Insert Blank Record in Array?

    I assume that I need to insert a blank record into my array
    to solve the problems below, but am not sure how to do so.
    I have a function shown below that is part of a two selects
    related Component. My first problem is if no data is passed to the
    argument, the select field bound to the function is very tiny (I
    would like it to have a default width). Adding a "width" does not
    work.
    SECONDLY, if there is data passed to the argument (in
    Arguments.accountID, i would like to have a blank record inserted
    at the top of the select list results. So in summary, if no data is
    passed to the argument, the select field is very small. If data is
    passed to the argument, the select list is populated, but I need to
    have a blank record (option) at the top of the select list.
    The code for the function shown below:
    <cffunction name="getUsers" access="remote"
    returnType="array">
    <cfargument name="accountID" type="string"
    required="yes">
    <!--- Define variables --->
    <cfset var data="">
    <cfset var result=ArrayNew(2)>
    <cfset var i=0>
    <cfset data1= oSF.QueryObject("select ID , name, Email,
    ACCOUNTID__C from User").results>
    <cfquery dbtype="query" name="data">
    SELECT ID, NAME, ACCOUNTID__C
    FROM DATA1
    WHERE ACCOUNTID__C = '#arguments.accountID#'
    </cfquery>
    <!--- Convert results to array --->
    <cfloop index="i" from="1" to="#data.recordcount#">
    <cfset result
    [1]=data.id>
    <cfset result
    [2]=data.name>
    </cfloop>
    <!--- And return it --->
    <cfreturn result >
    </cffunction>
    <b>Code for select list:</b>
    <cfselect name="Contacts"
    bind="cfc:getPartners.getUsers({mediaid})" tooltip="Select
    Partner Rep" onError=""
    width="50"/>

    1) style="width:50px;"
    2)
    <cfif data.recordcount>
    <cfset result[1][1] = "">
    <cfset result[1][2] = "">
    <!--- Convert results to array --->
    <cfloop index="i" from="1" to="#data.recordcount#">
    <cfset result[i+1][1]=data.id
    >
    <cfset result[i+1][2]=data.name>
    </cfloop>
    </cfif>
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • How to get blank records at the start of report output for label sheet?

    Hello -
    What is the best way to get an arbitrary # of blank records at the start of report output?
    I am writing a report that will be printed out on label sheets -- some of which might already be used. For example, there might be 3 labels per page but the first 2 have been used the last time the report was run.. so the report needs to display 2 blank records first so that the first record that gets printed on a label is in the 3rd position on the page. (the user would indicate - through a parameter - what the starting postion would be)

    Hi Scott
    Create a user parameter that reads in the number of blanks you need to 'print' before starting the actual printing.
    In the Format trigger of the outermost frame of your report write code using SRW.SET_BEFORE_PRINTING_CODE.
    Loop this method based on the user parameter and call this method with skip-line-command of your printer as its argument.
    Regards
    Sripathy

  • How to suppress Blank records

    Hi All,
    I am having a tab delimeted .txt file which contains blank records which need to be supressed otherwise i get empty XML tags in the output as shown below.
    - <Header>
      <PERNR />
      <BEGDA />
      <ENDDA />
      <SCHKZ />
      </Header>
    Actually i am getting a tab in PERNR field. I tried the createif function but its not working .Can anyone help me out in this

    Hi,
    The following way is one way if you are using sender file with content conversion.
    NameA.fieldContentFormatting
    &#9679;     Specify trim to remove all the leading and subsequent blanks for a value found. This is the default.
    &#9679;     Specify nothing to ensure that the value remains unaltered.
    The second way is..
    if target structure is 0..unbound then
    source -- exists-- createIf -- target node
    or write UDF to handle input string is null then return
    ResultList.SUPPRESS in you UDF.before that the target parent node/node should be having occurrences 0..unbound/0..1
    please clarify
    Regards
    Chilla..

  • How to print blank records after the detail records in a masterdetail report

    Hi,
    Developing a report for time and attendance record. In this report I am printing all the employees in a department, limiting the no. of records per page to 10.
    I need to insert blank lines at the end of all of the detail records in a page that has less than 10 employee records so that the no. of records displayed on a page can always be 10(these blank lines will facilitate the management to note down the temporary employees who worked for the department but are not part of the department).
    I am using a tabular form with group above layout.
    The report layout is as follows:
    Department : FINANCE & ADMINISTRATION
    Employee Name | Employee Number |
    1 Jim | 1234 | _________________
    2 John | 5678 |__________________
    3 blank
    4 blank
    5
    6
    7
    8
    9
    10 balnk
    Supervisor's Sign:______________________
    Note: the no. of blank lines should be inserted dynamically based on the no. of emp. records being printed on the page.
    Any help is greatly appreciated.
    Thanks in advance.
    Kavita.

    Your solution works when I am not limiting the no. of records per page for a department to 10 records and when I want to print blanks lines for the depts that has fewer than 10 employees in it.
    Exactly in my report I have several dept's that has more than 10 emp's. In such cases I'll be printing first 10 in one page and the rest in the next page. Now I want to dynamically print the blank lines in the second page depending on the no. of emp's on that page. I tried to acheive this by using a CS column that reset's at page level but, REPORTS is not letting me use CS column that reset's at page level in a format trigger. I also tried to copy the CS value into a parameter and or to a Place holder column and did not help.
    Any more work around ideas to acheive this?? please help.
    Thanks alot
    Kavita.
    Hi
    Create a column called Serial_No in ur emloyee query like this
    select 1 , empno ,ename from emp;
    Create a summary column on the serial column with the function SUM
    and resetting it to Page
    Display the column in the report by using the text color as white
    so it doesn't display in the report
    I think this should help u i believe
    Sri
    Hi,
    Developing a report for time and attendance record. In this report I am printing all the employees in a department, limiting the no. of records per page to 10.
    I need to insert blank lines at the end of all of the detail records in a page that has less than 10 employee records so that the no. of records displayed on a page can always be 10(these blank lines will facilitate the management to note down the temporary employees who worked for the department but are not part of the department).
    I am using a tabular form with group above layout.
    The report layout is as follows:
    Department : FINANCE & ADMINISTRATION
    Employee Name | Employee Number |
    1 Jim | 1234 | _________________
    2 John | 5678 |__________________
    3 blank
    4 blank
    5
    6
    7
    8
    9
    10 balnk
    Supervisor's Sign:______________________
    Note: the no. of blank lines should be inserted dynamically based on the no. of emp. records being printed on the page.
    Any help is greatly appreciated.
    Thanks in advance.
    Kavita.

  • Blank records are showing as '0' in Analytical View

    Hi,
         How to avoid blank records not to be shown as '0' in Analytical View?  Can you please help me on this?
    For your information: from the above image, there's no data for column 3 for Fiscal Period 005 - 012 but it's displaying as '0' rather than showing it as blank while I do a data preview of an analytical view.
    Regards,
    Antony Jerald.

    Hi,
         The analytical view generated in Hana is based on Bex query imported from BW.
         Actually I'm calculating Year till date (YTD) Last Year(LY) Sales, TY(This year) Sales based on posting period.
         In Bex query for YTD Sales last financial year data its posting period would be from 1-12(ie., for the entire last year what's my sale).
          While doing calculation for YTD current year, since we are in posting period 4 which is july month(i.e,calculation would be from 1-4), rest of the month's would not have any data for YTD Current year.  It's showing as blank in Bex query.  But hana analytical view is displaying as '0' which ideally should come as blank. 
         Kindly let me know how can we handle this.
    Regards,
    Antony Jerald.

  • Blank Records showing at Infoprovider level..how to eliminate@ Report level

    Hello Experts,
    I am facing an issue. For a particular matierial in the Bex Report 2 KF values must be equl.
    this is the complete scenario:
    Matirial Total Target Actual Val BIO Actual Val
    81271071 9550,52 4,793,67
    In the above scenario Total Target Actual Val must be equl to Bio Actual Val.
    I checked all the restrictions on the KF. 2 KFs are restricted by the same KF (Condition Base Value I ) .
    Other than that for KF Total Target Actual Val restrictions are on Condition Type, Matierial Group 3. And for the KF BIO Actual Val restrictions are Red Group For Rebate.
    I checked the data @ Infoprovider level for both the Good and Bad Test Cases. And found that for the Bad Test Case, if i give the input for Red Group for Rebate charactoristic there is no blank records are showing and where as if i will not give the input for Red Group for Rebate there are some blank records are showing up and adding those blank records.
    Where as for the Good Test Case even if i provided the input for Red Group for Rebate or not, there is no blank records are showing up and in the report both the KFs are showing the equal values itself..
    user requirement is at the report level both the KFs must be equal.
    Here in the above up to now what i have done,  i have provided the information.
    requesting all, kindly give me the reply how can i solve this issue. Expecting more and more bright suggestions .
    Thanks,
    SN.

    Just a quick question. Have you restricted your KFs unnecessarily? Are the semantic keys valid if debited? Like, sometimes the clearing doc #s are no entered for a open po# and necessary for a closed one. In such case, have you checked if the semantic key is correctly defined? Cubes must help you aggregate data & reflect them within one line item as in your case.

  • Blank Record Appearing in Power Pivot, How do I ensure that my Power Query script is filtering out all the Blank Records

    Hi,
    I noticed once of my Fact tables in my Power Pivot model contains a blank record. I can't understand why.
    So I added a Filter expression to the underlying Power Query query, something like; -
    Text.Length("MyField") > 0
    However after refreshing the Power Query query which contains the above expression the blank record still appears within my Power Pivot table.
    Kind Regards,
    Kieran.
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

    hi..
    As my understand, the blank record in Power Query will be return null value . So that, You try to use Text.Length("MyField" ) <> null.
    Regards,

  • IDoc to file - how to delete a blank record at the end of the file.

    Hi,
    My senario is IDoc to file.  I have successfully implemented this using FCC. But when i checked the flat file, it has a blank record at the end of the file( i think PI adds one blank line/record at the end of the file).  Please suggest me What i need to do, to delete the blank record .
    Thanks & regards
    Sreeni

    Kindly Check below.
    Check whether the problem is at mapping level of  adapter level.. to do this count no. of rows/IDOC before mapping and after mapping in IE and no. of rows in the output file.
    Thnx
    Subbu

  • How to remove blank pages from report

    Hi All
    i have a condition where i have to display the record only when trxn lines are available for that record ,inside my for each group condition i put the if condition having a count variable so if count is not zero then only the record will be displayed ,it works but problem is it shows blank pages for those records.
    any clue would be very helpful.Thanks in advance
    Thanks
    Pratap

    Hi All
    The solution of this issue is given in below mentioned thread
    How to avoid blank page in BI Publisher
    Thanks a lot to Vestrini :)
    Thanks
    Pratap

  • Import: Ignore blank records

    Hi Team,
    While automatic import, I am getting few blank records from the source system (All the fields are blank)
    These records are getting imported in MDM.
    Please suggest on how to ignore importing them.
    Thanks,
    Priti

    Hi,
    Incase you want to skip certain records from being imported you can in the Import Manager, Matching records right click on every individual record in the bottom source records pane and select skip record while allowing update all mapped fields for the other record.
    In order to skip records having null values during the auto import you can set the null value handling to ignore.
    Its important to note that multiple null entries can be there in a unique column in the MDM table as MDM treats it as a incomplete record.
    If the file is being transfered via PI to MDM distribution folder you can have this check put in PI as well to remove these entries in the xml file that is being generated.
    Regards,
    Aditya.

  • How can i delete Record when i click on Delete Link in a report

    hi,
    i have to create report
    select S_NO,BILL_NO,LED_NAME,PUR_LED,VAT,BILL_DATE,ST_GRP_UND,GODOWN_NAME,
    ITEM_NAME,UNIT,QTY,RATE,PER,DIS,AMOUNT,'Delete' from DUMY_AC_LED_PURASEI want to delete corressponding record when i click on Delete Link.
    Here S_NO is P.k.
    How can i delete Record when i click on Delete Link.

    Manoj,
    If something does not work then you should report back on the same thread so that there is continuity to the whole episode. Be as lucid as you can be so that people know whats the scenario. E.g. is not working is not enough. What happens? Does is show error , go blank, goes to another page... all that is important.
    Its for posterity, down the line others will also visit the thread (may be).
    Regards,

  • How to introduce blank line separator in Interactive Report

    Hi,
    I've an Interactive Report that shows date-ordered records (game fixtures for our local Ice Hockey team).
    I'm using highlights and filters to make the output more "meaningful".
    Any advice on how to introduce a horizontal blank-record "gap" in the data to separate the rows of output please?
    I know I can use the "Break" feature, but its not that pretty in this circumstance - it looks like overkill.
    All I want to do is to deliniate the fixtures that occur in separate weeks.
    The current list of fixtures is viewable via: [http://fixtures.naihc.co.uk/apex/f?p=1:2|http://fixtures.naihc.co.uk/apex/f?p=1:2]
    I've created a hidden column that calculates the Week of the Year: a simple to_char(faceOff, 'IW') wrapped inside
    a "to_number" for sorting purposes.
    If you look at the output, its not that blindingly obvious which fixtures happen on which week - a simple horizontal
    line gap when the week changes would look nice.
    Some sort of SQLplus "break on weekOfYear skip 2" or so.
    Thankyou in advance.
    Mungo

    I've created a hidden column that calculates the Week of the Year: a simple to_char(faceOff, 'IW') wrapped inside a "to_number" for sorting purposes.Won't that give you a problem when viewing a period of a season that spans 2 calendar years? The weeks from the later year appear before those in the first year:
    select   d, to_number(to_char(d, 'iw')) week_of_year
    from     t
    order by season, week_of_year, d
    D                         WEEK_OF_YEAR          
    09-Jan-2010               1                     
    10-Jan-2010               1                     
    16-Jan-2010               2                     
    17-Jan-2010               2                     
    23-Jan-2010               3                     
    24-Jan-2010               3                     
    05-Dec-2009               49                    
    06-Dec-2009               49                    
    12-Dec-2009               50                    
    13-Dec-2009               50                    
    19-Dec-2009               51                    
    20-Dec-2009               51                    
    26-Dec-2009               52                    
    27-Dec-2009               52                    
    02-Jan-2010               53                    
    03-Jan-2010               53                    
    25-Sep-2010               38                    
    17 rows selectedAdditionally, I'm not sure that week of year is a measure that means a lot to most people (presence of week 53 is to say the least a bit strange). Could be better to use the ISO week to give the date the week began on, keeping the type as date to give the expected order, or calculate a season week number:
    select   d, trunc(d, 'iw') week_beginning
    from     t
    order by season, week_beginning, d
    D                         WEEK_BEGINNING           
    05-Dec-2009               30-Nov-2009              
    06-Dec-2009               30-Nov-2009              
    12-Dec-2009               07-Dec-2009              
    13-Dec-2009               07-Dec-2009              
    19-Dec-2009               14-Dec-2009              
    20-Dec-2009               14-Dec-2009              
    26-Dec-2009               21-Dec-2009              
    27-Dec-2009               21-Dec-2009              
    02-Jan-2010               28-Dec-2009              
    03-Jan-2010               28-Dec-2009              
    09-Jan-2010               04-Jan-2010              
    10-Jan-2010               04-Jan-2010              
    16-Jan-2010               11-Jan-2010              
    17-Jan-2010               11-Jan-2010              
    23-Jan-2010               18-Jan-2010              
    24-Jan-2010               18-Jan-2010              
    25-Sep-2010               20-Sep-2010              
    17 rows selected
    select   d, dense_rank() over (partition by season order by trunc(d, 'iw')) season_week
    from     t
    order by season, season_week, d
    D                         SEASON_WEEK           
    05-Dec-2009               1                     
    06-Dec-2009               1                     
    12-Dec-2009               2                     
    13-Dec-2009               2                     
    19-Dec-2009               3                     
    20-Dec-2009               3                     
    26-Dec-2009               4                     
    27-Dec-2009               4                     
    02-Jan-2010               5                     
    03-Jan-2010               5                     
    09-Jan-2010               6                     
    10-Jan-2010               6                     
    16-Jan-2010               7                     
    17-Jan-2010               7                     
    23-Jan-2010               8                     
    24-Jan-2010               8                     
    25-Sep-2010               1                     
    17 rows selected
    Any advice on how to introduce a horizontal blank-record "gap" in the data to separate the rows of output please?Looking at it, but the HTML generated by the IR does not appear to include decent options for CSS selectors that can be used for modification. Certainly not anything that'll work in IE6 and 7...

  • Suppress printing of blank records

    This should be simple, but I have tried everything I can think of, and trolled through the archives, without finding an answer.  Please don't chastise me for asking a question which has already been answered, too simple, in the wrong section, or any of the other sins you regularly accuse us of...
    I am printing a series of form letters which are selected on the basis of a couple of criteria.  I want to exclude records with blank fields.  (My database supports null values, but these field entries are blanks, not nulls.  The fields are string (alphanumeric) values. My selection criteria (for the 1 month letter) are below.  The first two criteria work fine; it is in the third line that I am trying to exclude the blank records.  I have tried: {LetterEnt.Gr_LastName}<>"",  {LetterEnt.Gr_LastName}<>" ", and then I got clever and tried the entry below.  None of these work.
    {LetterEnt.Letter1} = "X" and
    {LetterEnt.Site} = "Q" and
    Length({LetterEnt.Gr_LastName})>0

    +Message: AFAIK, if there are no records, there are no detail sections, so
    your report must show text from other sections.+
    (Is AFAIK some sort of "geek code" (in which case you have gone completely over my head), or are you addressing somebody by that name?  (My name is David).)
    If there are no records, there are indeed detail sections - with blank address fields.  See my previous more detailed exposition of the exact nature of the problem.
    +It is also not clear what "forces" a printout.  Are you using Crystal
    Designer (my assumption since you are posing in the Crystal Report Design
    forum) or something else (Crystal Enterprise)?  Crystal Designer doesn't
    force printouts - a user must initiate the printout.+
    Am I using Crystal Designer?  I don't know.  The program is called Crystal Reports XI in my computer.  Are you suggesting that I am in fact asking my question in the wrong forum? (I would have presumed that something called "Crystal Reports Design" deals with design issues in Crystal Reports, but if I am in error, I do apologise.  Perhaps you could direct me to the more appropriate resource.)
    What "forces" a printout? You are correct insofar as the operator has to push the Print button (at least as presently functioning.  At one stage I had the letters printing out behind the scenes using an Active-X control.  This ran for 2 weeks, then fell apart and I eventually gave up trying to make it work; but that is another story.)  How does this happen?  Crystal is adding completely blank pages as the first page on some of the reports, so it is not always immediately apparent to the operator that there is a letter sitting there with a blank address.  (And this, too, is a separate issue.  I have gone through all the instructions in the knowledge base as to how to get rid of the leading blank sheet.  None of the instructions have worked, and I eventually gave up trying.  Thinking about it, I have had an awful lot of frustration with this program.  Perhaps I am unreasonable, but if I can't get something to work after 3 or 4 hours' trying, I give it up as a bad job and live with the fault.)
    +You can always suppress those other sections with a condition such as
    IsNull({some field that is never Null).+
    It is not clear to me what this means.  All the sections other than the detail section are blank - always.
    +There are 3rd-party Crystal Reports tools that allow you to skip
    processing (printing/exporting/emailing) if the report comes up with zero
    records.+
    Aha!  Am I interpreting this correctly, as saying that I cannot do what I want to do (suppress printing of letters with blank addresses) in Crystal Reports, and that to do this I need to get a third party add-on?

Maybe you are looking for

  • Announcing my web site

    Hi everyone, New on the block. Learning fast. I updated my web site and published it than tried to announce it. But a message comes up about a default web address. I got this email from a friend: Anyone help me out? Hi Guy, Unrelated to skydiving, wh

  • Storing sounds/loops on alternate hard drives....good or bad idea? easy?

    Is this something one can do during installation? Would Logic work better or worse if all the sounds and loops were on another drive? I have plenty of room on my main drive, so it's not about space... it's about what works better. Advice?

  • How to activate logging in SM58

    Hi All, How to activate logging in SM58 for particular destination. Thanks Rakesh

  • Lens Corrections for Canon SX50 camera

    Can Photoshop CS6 (Windows 8) make lens corrections for the Canon PowerShot SX50 HS camera? My version of CS6 (64bit) is Photoshop: 13.0.1 x64 and CameraRaw plug-in is 7.3.0.71. There is a file "Canon PowerShot SX50 HS AdobeStandard.dcp" size 118KB i

  • Design Standard does not appear in the options

    I have downloaded the application manager from the Design Standard downloads on the website, but when it installs and runs, Design Standard is not in the applications available. Only Premium, Master and the individual applications. Where is and how d