Hierarchy blank duplication in report

Dear All,
              I have made an infoset which contains 2 infoproviders. 0Employee, 0profit_ctr.
Employee no. and profit_ctr is joined through foriegn key emp.profitctr and profitctr.
The problem here is profit ctr  contains time dependent hierarchy data. So if I go to master data of profitctr and do maintain master data I get 2 rows for every profitctr. one row all blank and another row filled with data for each profitctr.
So in report for 1 employee we get 2 rows.
One row contains an profitctr and empty attributes and another row contains profitctr and the required correct values.
I need to eliminate the row with blank or # data against the profitctr in my report. How can achieve that?
Regards,
Jack Silverz

Hi Ingo and the others,
so, that unfortunately a very hard constraint.
We have for example the following scenario:
A sales Crystal Report which is built on a SAP BW Query. The query contains a country variable, to select the country. Now we want to create Country Sales report. In Crystal the variable is converted into a parameter. The country selection works fine and the report is able to show the correct data. But all this does not make sense with the country name in the report title. Is there no way to achieve this?
Would rebuilding the parameter with Crystal means and deleting it from the BW query an option, or would this have a bad effect on performance issues?
Best regards,
Sebastian

Similar Messages

  • Blank page in report o/p and o/p notprinted when contains multiple pages

    Dear Friends,
    I am facing couple of issues while modifying an existing report
    1. First page of the report is Blank
    2. Report output is not printed when the output contains multiple pages.
    Currently, along with the data, the report prints the output format in the first page and some totals in the last page.
    The requirement is that we do not want these first and last pages.
    For this, i made the following modifications to the report.
    In the Layout Model,
    *1. Under the body of Header section, we have a repeating frame which is printing the output format that comes out as report first page.*
    Both Horizontal and Vertical Elasticity are set to Fixed and below is the code in the format trigger on this repeating frame.
    function R_HEADER_PAGESFormatTrigger return boolean is
    begin
    if :p_header_pages = 0
    then return(false);
    else return(true);
    end if;  return (TRUE);
    end;I modified this format trigger to always return false as shown below
    begin
    return false; --statement added by me
    if :p_header_pages = 0
    then return(false);
    else return(true);
    end if;  return (TRUE);
    end;*2. Under the Body of Trailer section, we have a main frame which prints summary information.*
    Both Horizontal and Vertical Elasticity are set to Fixed and below is the contents of the Format trigger on this frame
    function M_CONTROL_GRPFRFormatTrigger return boolean is
    begin
    if :report_term_count > 0
    then return(true);
    else return(false);
    end if;  return (TRUE);
    end; I have modified this trigger to always return False as shown below
    function M_CONTROL_GRPFRFormatTrigger return boolean is
    begin
    return false; --statement added by me
    if :report_term_count > 0
    then return(true);
    else return(false);
    end if;  return (TRUE);
    end;When i run the report after doing these modifications, i am facing the above mentioned problems.
    Any idea on why a blank page is coming out before the actual data?
    Also when the report output contains multiple pages, the output is not printed. Any idea on this?
    Regards,
    Sreekanth
    Edited by: Sreekanth Munagala on Mar 23, 2012 1:15 AM
    Edited by: Sreekanth Munagala on Mar 23, 2012 1:18 AM

    Hi InoL,
    I have tried by setting vertical elasticity to variable but the blank plage is still coming in the output.
    Also, i am just wondering that blank page is not shown for the trailer page even though the Horizontal and Vertical Elasticty is set to Fixed.
    Could you please let me know if you have any idea on this?
    +InoL Wrote:+
    +And this didn't happen before you made the changes to the format triggers?+ Sorry for not mentioning that this happens when i delete the entire fields and frames in Header section.
    Setting the Vertical Elasticy of Header to False and returning false in Format trigger still prints the blank page in addition to the actual data pages.
    I have also tried setting the option BLANKPAGES=NO in the concurrent program execution options but still the blank page is not suppressed.
    Regards,
    Sreekanth
    Edited by: Sreekanth Munagala on Mar 25, 2012 8:33 PM

  • Hierarchy based non-cumulative reporting

    BI Gurus,
    I am dealing with a data model with all cumulative "summation" type key figures.  These are hours logged by an employee.  There is also an employee hierarchy which defines the reporting structure.  Now the requirement is to create two reports: (1) Cumulative and (2) non-Cumulatibe report.  Non-cumulative along the hierarchy nodes that expand.  The catch is to show the logged employee hours at each level.  So, a manager should only see his own hours on his row and not the cumulative of his plus his direct reports.  The org structure of the hierarchy needs to be maintained in the report though. 
    One other issue is that the hierarchy being used has all the nodes postable.  Perhaps a new text node based hierarchy may be a viable option but please advise if anyone has any other thoughts. 
    Thanks
    Edited by: Ron on Jul 7, 2008 9:19 PM

    Hi Vikas,
    Authorizations Steps -http://help.sap.com/saphelp_nw2004s/helpdata/en/be/076f3b6c980c3be10000000a11402f/content.htm
    Example http://help.sap.com/saphelp_nw04/helpdata/en/41/05453caff4f703e10000000a114084/frameset.htm
    Authorizations - Reporting
    Assign points if this helps.
    Regards,
    Anil

  • Blank template for report--Urgent!!

    How to make or include blank template for report?

    you can go to
    Navigator > Applications > Shared Components > User Interface Templates
    and create a unstructured template ,In that It's upto you what all you wish to add as a template .Create a blank template say
    Template name = "Blank Template" and then while creating the report you can use the same "Blank Template" .I hope it helps.

  • WBS element field blank in MB51 report.

    Dear Experts,
    I m using ECC 6.00 EHP4, My problem is we issue the project material with movement type 221 Q but in MB51 report if I want to get the output with WBS element with Movement type 221 q data is not showing if I give only movment type 221 Q and WBS field blank than in output screen WBS fileld shown blank please clear me where is the problem..
    Neeru

    Anyone please...
    Neeru Dimri

  • Display output fields in Hierarchy format in ALV report

    Hi,
    I have a requirement to display the output fileds in ALV report, the output format is like this . The output field should be in ALV format, under each purchase order its corresponding line item should appear.
    Pruchase Order  4700000581  
    company code        item
            9001                     10
            9001                     20.
            9001                     30.
    Pruchase Order  4700000174  
            9001                     10
            9001                     20.
    Can any one please help me how to do this in ALV report.

    Hi
    This can be achieved using the Heirarchial ALV list
    see the sample and do it
    REPORT ZALV5_OBJECTS.
    TABLES : EKKO.
    TYPE-POOLS : SLIS.
    TYPES : BEGIN OF TY_EKKO,
    EBELN TYPE EKPO-EBELN,
    EBELP TYPE EKPO-EBELP,
    STATU TYPE EKPO-STATU,
    AEDAT TYPE EKPO-AEDAT,
    MATNR TYPE EKPO-MATNR,
    MENGE TYPE EKPO-MENGE,
    MEINS TYPE EKPO-MEINS,
    NETPR TYPE EKPO-NETPR,
    PEINH TYPE EKPO-PEINH,
    END OF TY_EKKO.
    DATA: IT_EKKO TYPE STANDARD TABLE OF TY_EKKO INITIAL SIZE 0,
    IT_EKPO TYPE STANDARD TABLE OF TY_EKKO INITIAL SIZE 0,
    IT_EMPTYTAB TYPE STANDARD TABLE OF TY_EKKO INITIAL SIZE 0,
    WA_EKKO TYPE TY_EKKO,
    WA_EKPO TYPE TY_EKKO.
    DATA: OK_CODE LIKE SY-UCOMM, "OK-Code
    SAVE_OK LIKE SY-UCOMM.
    *ALV data declarations
    DATA: FIELDCATALOG TYPE LVC_T_FCAT WITH HEADER LINE.
    DATA: GD_FIELDCAT TYPE LVC_T_FCAT,
    GD_TAB_GROUP TYPE SLIS_T_SP_GROUP_ALV,
    GD_LAYOUT TYPE SLIS_LAYOUT_ALV.
    *ALVtree data declarations
    CLASS CL_GUI_COLUMN_TREE DEFINITION LOAD.
    CLASS CL_GUI_CFW DEFINITION LOAD.
    DATA: GD_TREE TYPE REF TO CL_GUI_ALV_TREE,
    GD_HIERARCHY_HEADER TYPE TREEV_HHDR,
    GD_REPORT_TITLE TYPE SLIS_T_LISTHEADER,
    GD_LOGO TYPE SDYDO_VALUE,
    GD_VARIANT TYPE DISVARIANT.
    *Create container for alv-tree
    DATA: GD_TREE_CONTAINER_NAME(30) TYPE C,
    GD_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
    *Includes
    *INCLUDE ZDEMO_ALVTREEO01. "Screen PBO Modules
    *INCLUDE ZDEMO_ALVTREEI01. "Screen PAI Modules
    *INCLUDE ZDEMO_ALVTREEF01. "ABAP Subroutines(FORMS)
    *Start-of-selection.
    START-OF-SELECTION.
    ALVtree setup data
    PERFORM DATA_RETRIEVAL.
    PERFORM BUILD_FIELDCATALOG.
    PERFORM BUILD_LAYOUT.
    PERFORM BUILD_HIERARCHY_HEADER CHANGING GD_HIERARCHY_HEADER.
    PERFORM BUILD_REPORT_TITLE USING GD_REPORT_TITLE GD_LOGO.
    PERFORM BUILD_VARIANT.
    Display ALVtree report
    CALL SCREEN 100.
    *& Form data_retrieval
    text
    --> p1 text
    <-- p2 text
    FORM DATA_RETRIEVAL .
    SELECT EBELN
    UP TO 10 ROWS
    FROM EKKO
    INTO CORRESPONDING FIELDS OF TABLE IT_EKKO.
    LOOP AT IT_EKKO INTO WA_EKKO.
    SELECT EBELN EBELP STATU AEDAT MATNR MENGE MEINS NETPR PEINH
    FROM EKPO
    APPENDING TABLE IT_EKPO
    WHERE EBELN EQ WA_EKKO-EBELN.
    ENDLOOP.
    ENDFORM. " data_retrieval
    *& Form build_fieldcatalog
    text
    --> p1 text
    <-- p2 text
    FORM BUILD_FIELDCATALOG .
    Please not there are a number of differences between the structure of
    ALVtree fieldcatalogs and ALVgrid fieldcatalogs.
    For example the field seltext_m is replace by scrtext_m in ALVtree.
    FIELDCATALOG-FIELDNAME = 'EBELN'. "Field name in itab
    FIELDCATALOG-SCRTEXT_M = 'Purchase Order'. "Column text
    FIELDCATALOG-COL_POS = 0. "Column position
    FIELDCATALOG-OUTPUTLEN = 15. "Column width
    FIELDCATALOG-EMPHASIZE = 'X'. "Emphasize (X or SPACE)
    FIELDCATALOG-KEY = 'X'. "Key Field? (X or SPACE)
    fieldcatalog-do_sum = 'X'. "Sum Column?
    fieldcatalog-no_zero = 'X'. "Don't display if zero
    APPEND FIELDCATALOG TO GD_FIELDCAT.
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'EBELP'.
    FIELDCATALOG-SCRTEXT_M = 'PO Iten'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 1.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'STATU'.
    FIELDCATALOG-SCRTEXT_M = 'Status'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 2.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'AEDAT'.
    FIELDCATALOG-SCRTEXT_M = 'Item change date'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 3.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'MATNR'.
    FIELDCATALOG-SCRTEXT_M = 'Material Number'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 4.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'MENGE'.
    FIELDCATALOG-SCRTEXT_M = 'PO quantity'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 5.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'MEINS'.
    FIELDCATALOG-SCRTEXT_M = 'Order Unit'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 6.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'NETPR'.
    FIELDCATALOG-SCRTEXT_M = 'Net Price'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 7.
    FIELDCATALOG-DATATYPE = 'CURR'.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    FIELDCATALOG-FIELDNAME = 'PEINH'.
    FIELDCATALOG-SCRTEXT_M = 'Price Unit'.
    FIELDCATALOG-OUTPUTLEN = 15.
    FIELDCATALOG-COL_POS = 8.
    APPEND FIELDCATALOG TO GD_FIELDCAT..
    CLEAR FIELDCATALOG.
    ENDFORM. " build_fieldcatalog
    *& Form build_layout
    text
    --> p1 text
    <-- p2 text
    FORM BUILD_LAYOUT .
    GD_LAYOUT-NO_INPUT = 'X'.
    GD_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
    GD_LAYOUT-TOTALS_TEXT = 'Totals'(201).
    gd_layout-totals_only = 'X'.
    gd_layout-f2code = 'DISP'. "Sets fcode for when double
    "click(press f2)
    gd_layout-zebra = 'X'.
    gd_layout-group_change_edit = 'X'.
    gd_layout-header_text = 'helllllo'
    ENDFORM. " build_layout
    *& Form build_hierarchy_header
    text
    <--P_GD_HIERARCHY_HEADER text
    FORM BUILD_HIERARCHY_HEADER CHANGING
    P_HIERARCHY_HEADER TYPE TREEV_HHDR.
    P_HIERARCHY_HEADER-HEADING = 'Hierarchy Header'(013).
    P_HIERARCHY_HEADER-TOOLTIP = 'This is the Hierarchy Header !'(014).
    P_HIERARCHY_HEADER-WIDTH = 30.
    P_HIERARCHY_HEADER-WIDTH_PIX = ''.
    ENDFORM. " build_hierarchy_header
    *& Form build_report_title
    text
    -->P_GD_REPORT_TITLE text
    -->P_GD_LOGO text
    FORM BUILD_REPORT_TITLE USING PT_REPORT_TITLE TYPE SLIS_T_LISTHEADER
    P_GD_LOGO TYPE SDYDO_VALUE.
    DATA: LS_LINE TYPE SLIS_LISTHEADER,
    LD_DATE(10) TYPE C.
    List Heading Line(TYPE H)
    CLEAR LS_LINE.
    LS_LINE-TYP = 'H'.
    ls_line-key "Not Used For This Type(H)
    LS_LINE-INFO = 'PO ALVTree Display'.
    APPEND LS_LINE TO PT_REPORT_TITLE.
    Status Line(TYPE S)
    LD_DATE(2) = SY-DATUM+6(2).
    LD_DATE+2(1) = '/'.
    LD_DATE3(2) = SY-DATUM4(2).
    LD_DATE+5(1) = '/'.
    LD_DATE+6(4) = SY-DATUM(4).
    LS_LINE-TYP = 'S'.
    LS_LINE-KEY = 'Date'.
    LS_LINE-INFO = LD_DATE.
    APPEND LS_LINE TO PT_REPORT_TITLE.
    Action Line(TYPE A)
    CLEAR LS_LINE.
    LS_LINE-TYP = 'A'.
    CONCATENATE 'Report: ' SY-REPID INTO LS_LINE-INFO SEPARATED BY SPACE.
    APPEND LS_LINE TO PT_REPORT_TITLE.
    ENDFORM. " build_report_title
    *& Form build_variant
    text
    --> p1 text
    <-- p2 text
    FORM BUILD_VARIANT .
    Set repid for storing variants
    GD_VARIANT-REPORT = SY-REPID.
    ENDFORM. " build_variant
    Reward points for useful Answers
    Regards
    Anji

  • HOW TO ELIMINATE BLANK PAGES IN REPORTS?

    Sep 11, 2002 13:07 PT
    I'am having troubles with reports, i have design a report that has 2 sql, so there are 2 layouts in the report, the first one has many columns so I put it in 2 pages wide but the second sql is only four columns, so it is in just 1 page wide, my problem is when the report is printed the first pages are printed but when the data from the second sql begins i have one page printed then one left blank, the check box that indicates blank pages is uncheked, but the blank pages still remain printed, if anybody has the solution please let me know
    tnx
    pd. I'm working with report builder 6.0.8.12.1

    Use the commandline parameter BLANKPAGES=NO. This will suppress blank pages when you generate to file and print.
    -Siva B

  • Bex Hierarchy issue on Webi report

    Hello Experts,
    We are facing issues on use of Bex hierarchy in webi report,
    Issue statement: We have webi report on bex query which have table and chart with input control on year and month to filter the report, table and chart uses hierarchy object to disply data. When we refresh report table and chart shows data with hierarchy on first level but once we check or uncheck any value from input control hierarchy in table and chart gets expanded and shows as flat structure. to get correct behaviour we have to collaps hierarchy.
    Above behaviour happens for all report level filter like, block filter, drill filter, input control.
    Please help me to know this is a bug or something wrong happened with development.
    Regards,
    Priyank Bhayani

    Hello Everyone,
    I have got SAP note which states this is expected behaviour hence closing the discussion.
    1702356 - Hierarchy Nodes expanded automatically to all levels after selecting value in the input control in a webi report.
    Regards,
    Priyank Bhayani

  • Prompt Hierarchy in BO WEBI Report

    Hi,
    currently we have to implement a functionality in BO WEBI report Prompt where Network and Equipment 2 prompt  fields
    are present.
    User want if they select a Network then the Equipment that belong to that selected Network should shown in Drop Down Values
    of Equipment Prompt.
    This is a type of Prompt Hierarchy.
    Source for the WEBi Report is BW Bex Query. and there is no Hierarchy maintained in Network and Equipment at Bex and
    Bw system as well.
    Please let me know how can i achieve this.
    we are Using SAP-BI4.0 solution.
    Regards
    Atul

    Hi Atul,
    You can achieve this by dragging these two fields in the filter bar section of the webi. then apply variables on these fields.
    hope it helps
    Regards,
    Rathy

  • 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 include #/Blank Value in Report

    Hi,
    Our cube is loaded with Flat file,The cude didn't had any master data only transaction data.The records are based on user name in flat file there some records with out user name in flatfile with BLANK which is #
    The data is loading into cube where blank is loaded as balk spack
    but in report i want to restrict the user name to exclude the bank (User Name) Records with out user name...But the # is not appearing in the user name list in Bex to restrict...how can i include the #
    Thanks

    Krishna,
    In the report you want to exclude the data where username is #. Correct? And when you try to do that in the Query Designer, you don't see the # value in the list?
    In the list if you dont see it, simplest way is this... There is a search box at the bottom of that screen. In that type #. Dont hit search. Click on the left arrow which moves the values to the right. Now right click on the value and say "Exclude from Selection".
    Let me know if I understood your question correctly and if you can get it to work.
    Gova

  • Blank printout in report 6i from Application server oracle 9i

    Hello,
    3 days before our application server (oracle 9i for windows NT 1.0.2.0.0) hard disk crashed.
    We have installed AS.
    Now when user runs report from client pc and selects destination type as "cache" and submit query he can see the output. When he changes destination type as "printer" and give printer name (as installed on AS) in destination name and submit query the message "Report output was successfully printed out" comes but on printer only blank page is printed.
    This happens for all laser printers installed on AS, but not for line(generic) printer.
    On 2nd AS I have same printers as on 1st AS.There printouts are coming properly.
    Please tell me what I have missed on while installing new AS.
    Thanks
    Tushar

    Is outlook installed on the application server?

  • SAP System Logon selection shows up blank in Crystal Reports

    Hi there,
    I've done the following so many times, in the following order, without running into any issues:
    1. Install SAP Front End
    2. Install Business Objects Enterprise 3.1
    3. Install Business Objects Explorer 3.1 SP1 (Polestar 3.1)
    4. Install Crystal Reports 2008 SP1
    5. Crystal Reports Viewer 2008
    6. Install Xcelsius Enterprise 2008 SP2
    7. Install Live Office 3.1
    8. Install SAP Integration Kit 3.1 (Custom-->Complete installation)
    However, this time around  I've run into an issue which I'm trying to resolve, but it has been a nightmare. When I try to access "SAP Table, Cluster, or Function" from File menu>New>Standard Report>Create New Connection>SAP Table, Cluster, or Function, I see the "Available SAP Systems" section blank on the "SAP System Logon" dialog box.
    However, this dialog box shows all the connections strings when I access it via the SAP menu or toolbar in Crystal Reports.
    To fix this issue I've uninstalled SAP IK, CR Viewer and Crystal Report and reinstalled it, but the problem persists. I am wondering if you have ever come across this before and if you could please give me some tips to resolve this.
    Thanks a lot,
    Gaurav

    Hi
    please do the following:
    1. Define an environment variable (user or system) with the name SAPLOGON_INI_FILE . This variable should contain the path to your saplogon.ini file including the file name eg. if the saplogon.ini resides in the folder  c:\windows the variable should contain the following value c:\windows\saplogon.ini
    2. Open your saplogon.ini file using Notepad and go to File->Save as. Choose All Files in the field Save as type and DO NOT change the name of the file. In the field Encoding make sure that UTF-8 is selected.
    Regards,
    Stratos

  • Report Painter insert blank line after report header

    Hi Expert,
    I have a problem to insert a blank line (a spacing) after the report header of my customized report painter.
    For example, in standard cost center report, S_ALR_87013611, there is a small box listed information like cost center/group ... and reporting period.
    Right after reporting period, the report header box ends, and there is a space line between it and the cost element data ...
    For my customized report painter, I cannot make this space line.
    I tried edit > row > insert blank line ... but not successful ... kindly advise.
    Thanks and regards,
    -CK

    Hi
    In KKO2 go to output tab, here under layout, tick header and then press pencil symbol and in the editor you write your header. I think this will give you desired result.
    Regards
    Rajneesh Saxena

  • Remove blank rows in Report painter

    Good morning,
    When running a report in GR55, I show ten blank rows on top of the report and I would like to get rid of them to save space. I have not found yet a way to do this in GRR2.

    Hi,
    Are you working with SAP B1?
    Thanks.

Maybe you are looking for