How to supress

Hi All,
I have created one report in crystal report using Hierarchy, the op of the  requires as bottom up approach.
Eg: Suppose we are having Media at the top most Hierarchy, bellow Media we have International Media and National Media. Bellow Internation Media we have Int Photographer and Int Press and below National Media we have Nat Photographer and National Press.
Our Required OP: Total Count of  Int Photographer and Int Press, below that we can have total count of International Media which will have the total of both Int Photographer and Int Press, same   will be applied for National Media. anf at the end We will be having Total Count Of media which will have total of International Media and national media. I'm able to achive every thning what i have mentioned. But i'm having one bug in the report.
My sql is written in form of parent child relation ship format(A category can be parent of another category and that category can be parent of another category). I'm grouping my according to category_id and Hierarchy is done based on Cat_parent_id. Through this i'm able to achive the hierarchy. I'm making count for each category and displayong it in grp footer. so its showing me the proper op. But parent category dont have any value its showing me the value 0. I need to suppres it, but when i'm suppresing it is suppressing those Parent also which have child as by default it will have 0 value but in summarize field it will have total count of its child. I want to supress only the those category those have count as 0.

sometimes you can do a conditional group record selection to surpress the data.
report
edit selection formula
group
if count > 0 then true
this should retreive only records on the group level that have a value greater than zero
if not you can conditionally surpress the display formula by formatting the field

Similar Messages

  • How to supress blank page in scripts?

    Hi gurus.
    can any one let me know how to supress blank page in scripts? When one of my condition satisfies it should print two pages and its working fine. When condition fails, it should print one page but its printing blank page as second page.
    Waiting for your answer.
    Urgent
    Regards,
    surya.

    hi,
    1. By providing the control commands in scripts,u can supress the blank pages.
    2.write the data between protect and end protect.
    3.Enclose the text that you want to prevent page-break in PROTECT... ENDPROTECT
    SAPscript will ensure that each line of this text is printed together on the same page.
    /: PROTECT
    Text
    Within
    The same page
    /: ENDPROTECT
    Regards,
    SHIVA(reward if helpful).

  • How to supress a blank page in smart forms

    Hi,
    I am using a command in Smartforms to trigger a new page whenever a new BELNR(Accounting document). My problem is in the output i am getting a first page is blank and remaining pages are ok.
    What i did Is In conditions tab i written as temp NE belnr. So first time temp is nothing so blank page is coming. and in the following text elements i am passing a belnr value to the temp.
    Temp = belnr and in general attributes go to new page check box has been activated. Then how to supress a blnk page.
    Regards
    Ramakrishna .P

    Hi,
    I am not using loop.
    In main window i have the contents as
    Header---- Headers for table
    Main Area---- text elements ( i have fileds slno, belnr,glaccount,cost center,gtext,description,dmbtr,wrbtr)
    In belnr field i have created the command there i am comparing the condition temp ne Belnr and go to new page on conditions tab
    wrbtr text element i am passing the g_temp =belnr
    My requirement is whenever new belnr comes new page has to trigger and corresponding gl accounts need to be displayed and end of the belnr i want to display the footer.
    For your information passing the belnr values from the print program (select options) to smart form
    Footer---footer

  • How to supress the dialog box in smartforms

    Hi Experts,
    Can any body tell how to supress the dailog box while executing the smarform.
    valid answers will be rewarded.
    Thanks,
    Satish.

    data p_out like ssfcompop.
    Look at smartform function module,there could be option like
    p_out-tdnoprev = 'X'.
    pass p_out to smartform function module

  • How to supress LDB selection screen

    Hi All
    I am using selection screen in report and LDB too.
    Can anyone tell how to supress default selction screen of LDB?
    Thanx
    Kamal

    Hi kamal,
    1. Just do not declare any structure / table
       / node
       as defined in the ldb.
    2. then the default selection screen won't come.
    3. U can just code your own selection screen,
       it will come by default.
    regards,
    amit m.

  • How to supress Headings

    Hi,
    How to supress the headings of the detail section of the report output to Excel Spread sheet...
    Thanks in advance.....
    Bye
    Mahi
    B'lore

    To suppress the labels, make their format triggers to return False.

  • How to supress dialog pop

    Hi,
      I am displaying the error message with pop-up window in 3.1i version from F4 help.The window is not closing properly, when i click on enter button in pop-up  window. Still it is showing with small icon of the
    pop-up.
    Can any body let me know the how to supress pop-up window?
    Regards,
    Suresh KUmar.

    Hi,
    I am not using any "POP UP" function module. Simply using the message "E". As i mentioned in my thread (Using 3.1i version).
    Regards,
    Suresh Kumar.

  • How to supress printing title in BAS adobe forms

    Dear Experts,
    I am using adobe forms to print address on the labels. I haved BAS ie address in the layout and passing dynamically
    the address number this works good  but it prints "title" like company  and then address.
    Could you please advise how to supress printing this tilte "company" in the address.
    Regards
    Chandra

    Please refer to my earlier post ... You will get an idea
    Please refer to the below thread for detail solution
    Sample Interactive form example ?....urgent...
    Cheers
    Satya

  • How to supress target side mandatory node

    Hi Guys,
    Can any throw some light on this plese, How to supress mandatory (1..Unbound) on Target side.
    Great help to me!!
    Regards
    San

    Neetesh Raj wrote:>
    > San,
    > >
    > >
    > > Refer Sarvesh's reply. In my previous reply, I had meant similar approach.
    > >
    > >
    > > Regards,
    > > NeeteshHi Guys,
    Please have a look the both structures and give me your idea on this!!
    Source
    ROOT     Complex Type          
    OUTPUT                          Element          0..unbounded
    TRANS_HEADER     Element          0..unbounded
    SET_ID                          Element     xsd:string     0..1
    H01_XQ                          Element          0..unbounded
    XQ01                          Element     xsd:string     0..1
    XQ_Y2K_D                      Element     xsd:date     0..1
    Group_N1                        Element          0..unbounded
    H02_N1                          Element          0..1
    N101                          Element     xsd:string     0..1
    Group_LIN                        Element          0..unbounded
       D01_LIN                          Element          0..unbounded
          LIN02                          Element     xsd:string     0..1
       D01_PO4                          Element          0..unbounded
          P0401                          Element     xsd:integer     0..1
       D01_N9                          Element          0..unbounded
         N901                          Element     xsd:string     0..1
    Group_ZA                        Element          0..unbounded
         D02_ZA                          Element          0..unbounded
            ZA01                          Element     xsd:string     0..1
            ZA_Y2K_D                        Element     xsd:date     0..1
    S01_CTT                          Element          0..unbounded
    CTT01                          Element     xsd:integer     0..1
    Target Structure:
    p1:ProductActivityNotification     Element     
    MessageHeader                          Element     1
    ProductActivity                          Element     1
    ValidityPeriod                          Element     0..1
    SubcontractingIndicator           Element         0..1
    BuyerParty                                                Element     0..1
    VendorParty                                                Element     0..1
    ProductRecipientParty                           Element     0..1
    InboundDeliveryReference     Element     0..unbounded
    Item                                                Element     1..unbounded
    Item                                                Element     1..unbounded
    PromotionSalesTimeSeries                           Element     0..1
           Item                                                Element     1..unbounded
               ValidityPeriod                           Element     1
                    Quantity                           Element     1
    If ZA01 = 'QS' we need to produce target node "PromotionSalesTimeSeries" else shouldn't.

  • How to supress or correct this warnning

    hi ... I have plain java program .. written using a windows with US english.... now i have to run the same jar file in a windows with japanese in it ... but when i run the jar a warning
    " Default charset MS392 not supported , ISO-8859-1 instead "
    is appearing ... I strictly dont want to this to be displayed... how to supress this warning or how to correct it
    pls help
    __raj

    You could try adding this option to your java command -Dfile.encoding=ISO-8859-1. I don't know if it will help or not.

  • How to supress pop-up while using fm ALSM_EXCEL_TO_INTERNAL_TABLE ?

    Hi,
    I am using function module ALSM_EXCEL_TO_INTERNAL_TABLE to upload data form excel sheet, i am getting pop up like Do you want to save the changes you made to '<filename.xls>". how to supress this pop up

    check this thread
    Excel Upload.

  • How to supress a warning message in BDC for ME11 Tcode

    Hi Expert,
    I am doing a BDC report for ME11 Tcode and some of warning is ignorable for this transaction code,how can we suppress these warning through BDC program, is it possible or will have to make some changes changes in TCODE(ME11) itself.

    hi,
    if the warning message coming in a pop-up window then it can be supressed in the following way.
    1. comment the lines of the code of bdc recording of that pop-up screen along with the perform of bdc ok code  '=ENTE".
    2. use the structure ctu_params and fill the correspondings fiels, particularly the field nobinpt = 'X' and then use this structure in the call transcation statement as
    call transcation 'ME11'
                            using bdcdata
                            options from opt ( structure of ctu_params )
    3. At the time of recording use the option of check box " no batch input session ".
    regards,
    Alok

  • How to supress blank fields in report ??

    Hi all,
               i am trying to build a report which should give only result row infront of each customer..i dont want any keyfigure details..i tried SUPRESS RESULT in CACULATE SINGLE VALUES AS in keyfigure properties but its giving blank fields in place of single values..How do i remove this blank fields..
    Any idea pls share..
    regards,
    Rajendra

    hi gill,
              yes the layout is same as u mentioned..
               ROWS   -
    COLUMNS
    customer-net due date----balance-formula-formula
    net due date is used as replacement path variable to calculate other formulae.
    if i take out net due date from rows my formulae are not working.
    i tried SUPRESS RESULT in CALCULATE SINGLE VALUES AS..its giving only result BUT in place of single values its giving me blank fields..i dont want those blank fields..:-(
    regards,
    Rajendra

  • How to supress/Minimise space if no data is given  in a crystal report

    Dear members,
    I have designed a report through crystal report and in that,i have a field namely remarks in group section.
    during the generation of report if there is no remarks given there is a empty space shown in that place. which i need to avoid. please can anyone help me in this regard as how to minimize the space if no data is given to the field of remarks.
    Thanks to all,
    Venkatesh.R

    Hi Venkatesh.R,
    Right click on the section you want to supress and check on the box labelled Suppress blank section.
    I highly suggest you search Crystal Reports Help before posting questions like this. Simply press the F1 key and the help menu will appear.
    Thank you
    Don

  • How to supress the tags in XI

    HI Everyone,
    i have two questions for you.
    1) i have a traget field of type integer and its a non mandatory field,  can i send empty fields for this elements. iam getting a response from target webservice saying that it is not valid value.
    2) How can i supress the tags if they are empty.
    Regards,
    Sita Rama Raju

    Hi ,
    Just check this link
    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
    no. 5
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    page 14
    Regards
    Sachin
    Message was edited by:
            Sachin Dhingra

  • How to supress top of page in ALV during page breaks...

    Hello Experts,
    I am currently developing a report using the old ALV(REUSE_ALV_LIST_DISPLAY) since
    I need to have page breaks(using the SORT event) depending on the sort criteria. But
    I noticed that for every page break, the top of page automatically displays. I only
    need to display it one or depending on other factors.
    So how do we supress top of page event?
    Thank you guys and take care!

    Hi Viraylab,
    Try out like this ..
    1. Declare a global variable g_flag = 0.
    2. if g_flag = 1.
          top-of-page.
          your heading.....
          and default g_flag = 0.
       endif.
    3. *your Output
          Perform display.
    4. Form display.
           Your --- Code...
            g_flag = 1.
        endform.
    Regards,
    sg

Maybe you are looking for