Hierachical report

hi ,
i am not gettiing proper hierachical alv output report for the following report.
Plz help me out.
*& Report  ZSH_HR_ALV
REPORT ZPR_02.
TYPE-POOLS: SLIS.
TABLES:pa0002,pa0008.
data:begin of it_pa0002 occurs 0,
checkbox,
pernr like pa0002-pernr,
begda like pa0002-begda,
endda like pa0002-endda,
vorna like pa0002-vorna,
nachn like pa0002-nachn,
end of it_pa0002.
data:begin of it_pa00021 occurs 0,
pernr like pa0002-pernr,
begda like pa0002-begda,
endda like pa0002-endda,
vorna like pa0002-vorna,
nachn like pa0002-nachn,
expand TYPE xfeld value 'X',
end of it_pa00021.
data:begin of it_pa0008 occurs 0,
pernr like pa0008-pernr,
begda like pa0008-begda,
endda like pa0008-endda,
ANSAL like pa0008-ANSAL,
LGA01 like pa0008-LGA01,
BET01 LIKE PA0008-BET01,
end of it_pa0008.
DATA: IT_FIELD_CAT TYPE SLIS_T_FIELDCAT_ALV,
IT_FIELD_CAT1 TYPE SLIS_T_FIELDCAT_ALV,
IT_LAYOUT1 TYPE SLIS_LAYOUT_ALV,
WA_FIELD_CAT TYPE SLIS_FIELDCAT_ALV,
WA_FIELD_CAT1 TYPE SLIS_FIELDCAT_ALV,
IT_LAYOUT TYPE SLIS_LAYOUT_ALV,
IT_EVENTS TYPE SLIS_T_EVENT,
WA_EVENTS TYPE SLIS_ALV_EVENT,
IT_HEADER TYPE SLIS_T_LISTHEADER,
WA_HEADER TYPE SLIS_LISTHEADER,
wa_keyinfo TYPE slis_keyinfo_alv.
CONSTANTS:c VALUE 'X'.
SELECT-OPTIONS: S_pernr FOR pa0002-pernr.
START-OF-SELECTION.
SET PF-STATUS 'DATA' .
PERFORM GET_DATA.
PERFORM BUILD_FIELD_CAT.
PERFORM GET_EVENTS.
PERFORM DISPLAY_DATA.
**& Form get_data
*text
FORM GET_DATA .
SELECT pernr
begda
endda
vorna
nachn
FROM pa0002
INTO CORRESPONDING FIELDS OF TABLE IT_pa0002
WHERE pernr IN S_pernr.
ENDFORM. " get_data
**& Form build_field_cat
*text
FORM BUILD_FIELD_CAT .
wa_field_cat-tabname = 'PA0002'.
WA_FIELD_CAT-FIELDNAME = 'CHECKBOX'.
wa_field_cat-ref_tabname = 'IT_PA0002'.
wa_field_cat-CHECKBOX = 'X'.
WA_FIELD_CAT-REPTEXT_DDIC = 'Check Box'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
CLEAR WA_FIELD_CAT.
wa_field_cat-tabname = 'PA0002'.
WA_FIELD_CAT-FIELDNAME = 'PERNR'.
wa_field_cat-ref_tabname = 'IT_PA0002'.
WA_FIELD_CAT-REPTEXT_DDIC = 'Personnel no'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
CLEAR WA_FIELD_CAT.
wa_field_cat-tabname = 'PA0002'.
WA_FIELD_CAT-FIELDNAME = 'BEGDA'.
wa_field_cat-ref_tabname = 'IT_PA0002'.
WA_FIELD_CAT-REPTEXT_DDIC = 'Start date'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
CLEAR WA_FIELD_CAT.
wa_field_cat-tabname = 'PA0002'.
WA_FIELD_CAT-FIELDNAME = 'ENDDA'.
wa_field_cat-ref_tabname = 'IT_PA0002'.
WA_FIELD_CAT-REPTEXT_DDIC = 'End date'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
CLEAR WA_FIELD_CAT.
wa_field_cat-tabname = 'PA0002'.
WA_FIELD_CAT-FIELDNAME = 'VORNA'.
wa_field_cat-ref_tabname = 'IT_PA0002'.
WA_FIELD_CAT-REPTEXT_DDIC = 'First name'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
CLEAR WA_FIELD_CAT.
wa_field_cat-tabname = 'PA0002'.
WA_FIELD_CAT-FIELDNAME = 'NACHN'.
wa_field_cat-ref_tabname = 'IT_PA0002'.
WA_FIELD_CAT-REPTEXT_DDIC = 'Last name'.
APPEND WA_FIELD_CAT TO IT_FIELD_CAT.
CLEAR WA_FIELD_CAT.
wa_field_cat1-tabname = 'PA0002'.
WA_FIELD_CAT1-FIELDNAME = 'PERNR'.
wa_field_cat1-ref_tabname = 'IT_PA00021'.
WA_FIELD_CAT1-REPTEXT_DDIC = 'Personnel no'.
APPEND WA_FIELD_CAT1 TO IT_FIELD_CAT1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0002'.
WA_FIELD_CAT1-FIELDNAME = 'BEGDA'.
wa_field_cat1-ref_tabname = 'IT_PA00021'.
WA_FIELD_CAT1-REPTEXT_DDIC = 'Start date'.
APPEND WA_FIELD_CAT1 TO IT_FIELD_CAT1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0002'.
WA_FIELD_CAT1-FIELDNAME = 'ENDDA'.
wa_field_cat1-ref_tabname = 'IT_PA00021'.
WA_FIELD_CAT1-REPTEXT_DDIC = 'End date'.
APPEND WA_FIELD_CAT1 TO IT_FIELD_CAT1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0002'.
WA_FIELD_CAT1-FIELDNAME = 'VORNA'.
wa_field_cat1-ref_tabname = 'IT_PA00021'.
WA_FIELD_CAT1-REPTEXT_DDIC = 'First name'.
APPEND WA_FIELD_CAT1 TO IT_FIELD_CAT1.
CLEAR WA_FIELD_CAT.
wa_field_cat1-tabname = 'PA0002'.
WA_FIELD_CAT1-FIELDNAME = 'NACHN'.
wa_field_cat1-ref_tabname = 'IT_PA00021'.
WA_FIELD_CAT1-REPTEXT_DDIC = 'Last name'.
APPEND WA_FIELD_CAT1 TO IT_FIELD_CAT1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0008'.
wa_field_cat1-fieldname = 'PERNR'.
wa_field_cat-ref_tabname = 'IT_PA0008'.
wa_field_cat1-REPTEXT_DDIC = 'personnelno'.
APPEND wa_field_cat1 TO it_field_cat1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0008'.
wa_field_cat1-fieldname = 'BEGDA'.
wa_field_cat-ref_tabname = 'IT_PA0008'.
wa_field_cat1-REPTEXT_DDIC = 'begindate'.
APPEND wa_field_cat1 TO it_field_cat1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0008'.
wa_field_cat1-fieldname = 'ENDDA'.
wa_field_cat-ref_tabname = 'IT_PA0008'.
wa_field_cat1-REPTEXT_DDIC = 'enddate'.
APPEND wa_field_cat1 TO it_field_cat1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0008'.
wa_field_cat1-fieldname = 'ANSAL'.
wa_field_cat-ref_tabname = 'IT_PA0008'.
wa_field_cat1-REPTEXT_DDIC = 'annualsalary'.
APPEND wa_field_cat1 TO it_field_cat1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0008'.
wa_field_cat1-fieldname = 'LGA01'.
wa_field_cat-ref_tabname = 'IT_PA0008'.
wa_field_cat1-REPTEXT_DDIC = 'wagetype'.
APPEND wa_field_cat1 TO it_field_cat1.
CLEAR WA_FIELD_CAT1.
wa_field_cat1-tabname = 'PA0008'.
wa_field_cat1-fieldname = 'BET01'.
wa_field_cat-ref_tabname = 'IT_PA0008'.
wa_field_cat1-REPTEXT_DDIC = 'Amount'.
APPEND wa_field_cat1 TO it_field_cat1.
CLEAR WA_FIELD_CAT1.
ENDFORM. " build_field_cat
**& Form display_data
*text
FORM DISPLAY_DATA .
it_layout-box_fieldname = 'CHECKBOX'.
it_layout-EDIT = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = 'PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_FIELDCAT = IT_FIELD_CAT
IS_LAYOUT = IT_LAYOUT
IT_EVENTS = IT_EVENTS
TABLES
T_OUTTAB = IT_pa0002.
ENDFORM. " display_data
**& Form get_events
*text
FORM GET_EVENTS .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
IMPORTING
ET_EVENTS = IT_EVENTS .
READ TABLE IT_EVENTS INTO WA_EVENTS
WITH KEY NAME = SLIS_EV_TOP_OF_PAGE.
IF SY-SUBRC = 0.
WA_EVENTS-FORM = 'TOP_OF_PAGE'.
MODIFY IT_EVENTS FROM WA_EVENTS INDEX SY-TABIX.
ENDIF.
ENDFORM. " get_events
**& Form top_of_page
*text
FORM TOP_OF_PAGE.
WA_HEADER-TYP = 'H'.
WA_HEADER-INFO = 'EMPLOYEE DATA'.
APPEND WA_HEADER TO IT_HEADER.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_HEADER.
ENDFORM. "top_of_page
**& Form GUI_SET
FORM GUI_SET USING RT_EXTAB TYPE SLIS_T_EXTAB .
SET PF-STATUS 'DATA' .
ENDFORM. "GUI_SET
**& Form USER_COMMAND
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
R_SELFIELD TYPE SLIS_SELFIELD.
DATA:V_PERNR LIKE PA0002-PERNR.
CASE R_UCOMM.
WHEN 'DET'.
DATA: V_FLAG,vcnt.
clear : v_flag.
LOOP AT IT_PA0002.
if it_PA0002-checkbox = 'X'.
v_flag = 'X'.
v_pernr = IT_PA0002-PERNR.
SELECT PERNR
BEGDA
ENDDA
VORNA
NACHN
FROM PA0002
INTO CORRESPONDING FIELDS OF TABLE IT_PA00021
WHERE PERNR = v_pernr.
*SORT IT_PA00021 BY PERNR.
*DELETE ADJACENT DUPLICATES FROM IT_PA00021 COMPARING PERNR.
READ TABLE IT_PA00021 INDEX 1.
SELECT PERNR
BEGDA
ENDDA
ANSAL
LGA01
BET01
FROM PA0008
INTO TABLE IT_PA0008
FOR ALL ENTRIES IN IT_PA00021
WHERE PERNR = IT_PA00021-PERNR.
*if not it_PA0008[] Is initial.
*SORT IT_PA0008 BY PERNR.
**delete adjacent duplicates from it_PA0008 comparing pernr.
**READ TABLE IT_PA0008 INDEX vcnt.
*endif.
endif.
*enddo.
it_layout-group_change_edit = c.
it_layout-colwidth_optimize = c.
it_layout-zebra = c.
it_layout-detail_popup = c.
it_layout-get_selinfos = c.
it_layout-expand_fieldname = 'EXPAND'.
wa_keyinfo-header01 = 'PERNR'.
wa_keyinfo-item01 = 'PERNR'.
IF NOT V_FLAG IS INITIAL.
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = IT_LAYOUT
IT_FIELDCAT = IT_FIELD_CAT1
I_TABNAME_HEADER = 'PA0002'
I_TABNAME_ITEM = 'PA0008'
IS_KEYINFO = wa_keyinfo
TABLES
T_OUTTAB_HEADER = IT_PA00021
T_OUTTAB_ITEM = IT_PA0008.
ENDIF.
CLEAR: IT_PA00021,IT_PA0002,IT_PA0008.
ENDLOOP.
WHEN 'BACK'.
EXIT.
ENDCASE.
ENDFORM. "USER_COMMAND

hi,
use the following example .
TABLES: VBAK, VBAP.
TYPE-POOLS: SLIS.
TYPES: BEGIN OF TY_VBAK,
      VBELN TYPE VBELN_VA,
      ERDAT TYPE ERDAT,
      NETWR TYPE NETWR,
     END OF TY_VBAK.
TYPES: BEGIN OF TY_VBAP,
     VBELN TYPE VBELN_VA,
     POSNR TYPE POSNR,
     ARKTX TYPE ARKTX,
    END OF TY_VBAP.
DATA: W_VBAK TYPE TY_VBAK,
      W_VBAP TYPE TY_VBAP,
      w_keyinfo type SLIS_KEYINFO_ALV,
      T_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
      W_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
data : t_VBAK type standard table of tY_VBAK
       initial size 1,
       t_VBAP type standard table of tY_VBAP
       initial size 1.
SELECT VBELN ERDAT NETWR FROM VBAK INTO TABLE T_VBAK.
SELECT VBELN POSNR ARKTX FROM VBAP INTO TABLE T_VBAP.
w_keyinfo-header01 = 'VBELN'.
w_keyinfo-item01 = 'VBELN'.
  clear w_fieldcat.
  w_fieldcat-tabname = 'W_VBAK'.
  w_fieldcat-fieldname = 'VBELN'.
  w_fieldcat-row_pos ='1'.
  w_fieldcat-lowercase = 'x'.
  w_fieldcat-seltext_m = 'VBELN'.
  append w_fieldcat to t_fieldcat.
  clear w_fieldcat.
  w_fieldcat-tabname =  'W_VBAK'.
  w_fieldcat-fieldname = 'ERDAT'.
  w_fieldcat-row_pos ='1'.
  w_fieldcat-lowercase = 'x'.
  w_fieldcat-seltext_m = 'ERDAT'.
  append w_fieldcat to t_fieldcat.
  clear w_fieldcat.
  w_fieldcat-tabname = 'W_VBAK'.
  w_fieldcat-fieldname = 'NETWR'.
  w_fieldcat-row_pos ='1'.
  w_fieldcat-lowercase = 'x'.
  w_fieldcat-seltext_m = 'NETWR'.
  append w_fieldcat to t_fieldcat.
  clear w_fieldcat.
  w_fieldcat-tabname = 'W_VBAP'.
  w_fieldcat-fieldname = 'VBELN'.
  w_fieldcat-row_pos ='1'.
  w_fieldcat-lowercase = 'x'.
  w_fieldcat-seltext_m = 'VBELN'.
  append w_fieldcat to t_fieldcat.
  clear w_fieldcat.
  w_fieldcat-tabname = 'W_VBAP'.
  w_fieldcat-fieldname = 'POSNR'.
  w_fieldcat-row_pos ='1'.
  w_fieldcat-lowercase = 'x'.
  w_fieldcat-seltext_m = 'POSNR'.
  append w_fieldcat to t_fieldcat.
  clear w_fieldcat.
  w_fieldcat-tabname = 'W_VBAP'.
  w_fieldcat-fieldname = 'ARKTX'.
  w_fieldcat-row_pos ='1'.
  w_fieldcat-lowercase = 'x'.
  w_fieldcat-seltext_m = 'ARKTX'.
  append w_fieldcat to t_fieldcat.
PERFORM OUT.
form OUT .
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
  EXPORTING
  I_INTERFACE_CHECK              = ' '
  I_CALLBACK_PROGRAM             =
  I_CALLBACK_PF_STATUS_SET       = ' '
  I_CALLBACK_USER_COMMAND        = ' '
  IS_LAYOUT                      =
   IT_FIELDCAT                    = T_FIELDCAT
  IT_EXCLUDING                   =
  IT_SPECIAL_GROUPS              =
  IT_SORT                        =
  IT_FILTER                      =
  IS_SEL_HIDE                    =
  I_SCREEN_START_COLUMN          = 0
  I_SCREEN_START_LINE            = 0
  I_SCREEN_END_COLUMN            = 0
  I_SCREEN_END_LINE              = 0
  I_DEFAULT                      = 'X'
  I_SAVE                         = ' '
  IS_VARIANT                     =
  IT_EVENTS                      =
  IT_EVENT_EXIT                  =
    i_tabname_header               = 'W_VBAK'
    i_tabname_item                 = 'W_VBAP'
  I_STRUCTURE_NAME_HEADER        =
  I_STRUCTURE_NAME_ITEM          =
    is_keyinfo                     = W_KEYINFO
  IS_PRINT                       =
  IS_REPREP_ID                   =
  I_BYPASSING_BUFFER             =
  I_BUFFER_ACTIVE                =
  IR_SALV_HIERSEQ_ADAPTER        =
  IT_EXCEPT_QINFO                =
  I_SUPPRESS_EMPTY_DATA          = ABAP_FALSE
IMPORTING
  E_EXIT_CAUSED_BY_CALLER        =
  ES_EXIT_CAUSED_BY_USER         =
  tables
    t_outtab_header                = T_VBAK
    t_outtab_item                  = T_VBAP
EXCEPTIONS
  PROGRAM_ERROR                  = 1
  OTHERS                         = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*&      Form  OUT
      text
-->  p1        text
<--  p2        text
endform.                    " OUT
reward if useful.
thanks and regards

Similar Messages

  • Hierachical reports for xml output

    Hi,
    is there a way to get a SQL result set for the xml export with more than 1 level ?
    For example:
    SELECT dname, empno, ename
    FROM emp, dept
    WHERE emp.deptno = dept.deptno
    will give me the following xml when being exported:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW>
    <DNAME>ACCOUNTING</DNAME>
    <EMPNO>7839</EMPNO>
    <ENAME>KING</ENAME>
    <JOB>PRESIDENT</JOB>
    </ROW>
    <ROW>
    <DNAME>ACCOUNTING</DNAME>
    <EMPNO>7782</EMPNO>
    <ENAME>CLARK</ENAME>
    <JOB>MANAGER</JOB>
    </ROW>
    <ROW>
    <DNAME>ACCOUNTING</DNAME>
    <EMPNO>7934</EMPNO>
    <ENAME>MILLER</ENAME>
    <JOB>CLERK</JOB>
    </ROW>
    <ROW>
    <DNAME>RESEARCH</DNAME>
    <EMPNO>7566</EMPNO>
    <ENAME>JONES</ENAME>
    <JOB>MANAGER</JOB>
    </ROW>
    But the depts should be considered as seperate groups, to get the correct hierarchy:
    <?xml version="1.0" encoding="UTF-8"?>
    <ROWSET>
    <ROW>
    <DEPT>
    <DNAME>ACCOUNTING</DNAME>
    <EMP><EMPNO>7839</EMPNO><ENAME>KING</ENAME><JOB>PRESIDENT</JOB></EMP>
    <EMP><EMPNO>7782</EMPNO><ENAME>CLARK</ENAME><JOB>MANAGER</JOB></EMP>
    <EMP><EMPNO>7934</EMPNO><ENAME>MILLER</ENAME><JOB>CLERK</JOB></EMP>
    </DEPT>
    </ROW>
    Someone here who had similar problems ?
    Thanks,
    Jochen

    Hello,
    You could just run it through an XSLT after download to fix it up exactlly how you want it.
    Or call an On Demand Process that builds out the XML exactly how you want it.
    there is an example of me building out xml here and getting it from a link (it's a svg graphic but the concept is exactly the same) http://apex.oracle.com/pls/otn/f?p=11933:90
    Carl

  • Crystal Report based on BEX 3.X query + Hierachies

    Hi,
    I have built a Crystal Report (2008) based on BW Bex 3.5 query.
    The report has a hierachical group based on a hierachy
    similar to the strategy used in
    http://blog.mastering-sap-and-businessobjects.com/2009/07/10/crystal-reports-and-sap-bw-hierarchies--conditional-formatting-part-2.aspx
    Certain sub and parent nodes in the hierachy have suppressed to make sure the report is formatted correctly.
    The user running the report does NOT have the option of choosing the level of nodes to hide  or show.
    At this point in time the report is showing the correct nodes, however there is a concern that once users start re-arranging the hierchies and adding nodes that the reports will have to be maintained. (Which I think is a catch 22 situation)
    Does anyone have another suggestion how to have the reports be "Dynamic" (based on the hierachy) and still not have the danger of the hierachies changing and affecting the Reports
    (I certainly can think of no other ways EXCEPT creating a structure in the BW Query - which means that in any case if the hierachies changes, the BW Query will have to be maintained)
    Kind Regards,
    Nicole

    Hi,
    Crystal Reports is using a parent child relationship which means the complete hierarchy is dynamic and in case your hierarchy is changing on the BW side Crystal Reports will pick up those changes automatically - assuming we talking about additional levels or levels been removed.
    ingo

  • One or more hierachies in one report which differs for each user

    Hi BI Gurus,
    Can we have more than one hierarchy in one report which enables different hierarchy for diff user.
    The requirement is like this.
    We have almost 10 hierarchies..
    Each user is restricted to view a particular hierarchy only.
    Is this possible ....Its very urgent..
    Pls help out
    Thks in advance,
    Mahi

    If you have a variabel at the beginning letting the user choose from his/her available hierarchies this should not be a problem on the reportside. As long as they is connected to the same info-object.
    How to restrict the users to different hierarchies is another question.
    Hope this helps

  • How to create a report which will show us the hierarchical stucture

    Hi all,
    I am using financial reporting studio for reports.
    I have a planning appliaction. And i used Zones as the Entity Dimension.
    Now I am trying to create a report for users to see my entity dimension hierarchy.
    Something like Zones
    East
    West
    North
    South
    I am able to generate the report but the hierarchy of the Zones does not show up..
    Can anybody advice if there is a option in Financial Reporting to make the hierarchy structure more visible by adding proper indentation between the parent and the child?..
    And yes i have used a prompt for the Entity in the report....
    Thanks

    Hi Venuramani,
    Thanks for ur reply........
    Let me explain you properly what I want......
    I am getting the hierachical structure , but I am getting the child first,then parent and then
    grant parent level members.But I want it in a different way first grant parent, then parent and then
    child .Is there any way to do this?Pls advise me.........
    Thanks

  • How to compare the variances of production order type and get report

    Hello All,
    I want to compare the variances of production order type wise.
    for ex. i want variances of order type PP 01 and PP 02 in a single report.

    Hi Sachin,
    You have to maintain summarization hierarchies to achieve this.
    1. Maintain summarization hierachies with hierarchy level - order type in the t.code.KKR0    
    2. Generate the hierarchy in KKRC
    3. Run the report KKBC_HOE
    Regards,
    Mukthar  

  • Drill down in report based on two queries

    Hi,
    I have a problem with drilling down in report which is based on two queries.
    Queries are based on different universes.
    Both queries contains almost the same dimensions but different measures.
    In my report is a calculated measure based on measures from both queries.
    In both universes are the same hierachies.
    When I drill down in report for the first time I have to chose hierarchy  but then data are filtered to the choosen  value only from one query , data from second query are not filtered and the values of calculated measure are incorrect
    How can I solve this issue without adding dimensions belonging to the hierarchies to queries.
    Please help.
    Regards.
    MG

    Hi MG,
    First of all, what do you mean by "Both queries contains almost the same dimensions but different measures"
    "Almost" is not a good word in the IT world, especially when trying to merge/join tables. You need to be exact.
    That sounds like a possible reason for the problem.
    I am also not sure about your question:
    "How can I solve this issue without adding dimensions belonging to the hierarchies to queries."
    You may have to add those dimensions to the queries. Why would you not want to?
    Thanks

  • Unable to insert Drilldown charecteristics in report designer

    Hi All,
    When i am inserting report in report designer the drilldown charecteristics are not including into that,
    and at the same time it is showing msg like ' universal heirachies cannot inculde in to report designer'
    Can any one help me in this regard
    Thanks in advance
    Mohan Potturu

    Hi Mohan,
    We have faced the same problem around a year back and with SAP help, we have applied some SAP Notes/Patches, but can not remember those exactly.
    But applying those patches only will work the hierachies in Report Designer.
    Regards,
    Srinivas.

  • Org unit hierachies

    All,
    We are using org unit hierachies.  Is it true you can not report on historical data while using org unit hierachies?
    e.g data is only accurate when we run a report for a current month.
    Thanks,
    Nick.

    Hi SD,
    The issue we are having is when reporting retrospectively, the organisational structure used in the reports is valid as at the day of running the report i.e. the system date and not the retrospective date entered by the end user.  The impact of this is that the result set is restricted by today's org structure which may not resemble the historical org structure. For example, if an organisational unit has been end dated it will not appear in the reporting hierarchy, therefore, colleagues assigned to the end dated organisational unit, will not appear in any reports or dashboards.
    Any help on how to report historically using org units as as the SAP standard orgunit is only compatible for current month.
    Many thanks,
    Nick.

  • Struktur of Reports (Solar_Eval)

    Hi @ all,
    i was wondering if there is a possiblity to see a whole project with the TC SOLAR_EVAL.
    What I mean exspecially is:
    1. Can you choose a view where you can see Blueprint and Configuration parts together ? Similar to the Adminstration (General status Analysis) reports of both selections?
    2. And how can I save a Layout. I did go thru General Status Analysis under the Configuration slide and choose to see complet project structure. What i got displayed is only the first hierachical view of the project. But the planned, actual and remaining resources are not accumulated. I find out to do that with the button select layout and then change it. But how can I save this setting ?
    Thanks for your answers
    Guersel

    Hi Gürsel,
    you can use the cross tab analysis report under the configuration node to see blueprint and configuration at the same time. The only exception is you can't see the blueprint's administration tab info, just the configuration's.
    In the transaction monitor > make your selections like checking all of the checkboxes of the various tabs, then click Goto > variants > save as variant. After you have saved this to a variant, you can use it by selecting goto > variants > display or you can go ahead and assign that variant to a Z transaction that can make the process even quicker.
    regards,
    Jason

  • Adding Local Language For BW Reporting

    Hi Guru's,
    Currently I am working on BW 7, I got the customized data source from ECC6 with language translation in local language but there are yet to be any text, hierachies, master data or characters assigned to it yet in BW.
    I would like to add a local language for reporting purpose. So that the user would be able to view the reports in both english and the local langauge.
    Anyway by chance had a step by step document on how to do this? How to add the text and how to add the language to enable both eng and local language to be available for reporting?
    Cheers
    Tommy

    Hi,
    I hope you wont mind me asking for the steps on how to do this.
    The customized data source which i had obtained from the ecc6 is zskat. And the local language which are actually being maintained in the R/3 FI-GL. The following fields in zskat datasource are:
    KTOPL     Chart of Accounts
    MCOD1     Search Term for Matchcode Search
    SAKNR     G/L Account Number
    SPRAS     Language Key
    TXT20       G/L account short text
    TXT50       G/L Account Long Text
    If i am not wrong, SPRAS would be the key to the language right? I found that it is in the table T002, but again, how would i know which one would be the correct text?
    Since the language translation had been maintained in the source system, i guess i wont need to use the flat file option do i?
    Should I find the text data from the source system and load as you had advised? Should I do it through DTP and so on?
    Could you show me some steps by steps if possible? Simple one if possible.
    Cheers
    Tommy
    Edited by: Yu Tommy on Jul 23, 2008 12:14 PM
    Edited by: Yu Tommy on Jul 23, 2008 12:16 PM
    Edited by: Yu Tommy on Jul 23, 2008 12:27 PM

  • Clicking one level coloumn to be display in 'pdf format' of report(obiee)

    Hi All,
    we are developed a report and its containing 4 coloumns in obiee analytics.
    when we click 2nd coloumn(Year) it will navigate to next level(quarter) of same table.
    In the same way when we click on quarter level, it can display the month level in 'pdf' format in a seperate window.
    how it can be achieve.
    Please help me on this.
    Thanks,
    sunil

    Thanks srini..
    You provided the link is most helpful.
    And i need full information about this topic.
    we are using Finance data and users the we reports in pdf format. In that once we click on the any hierachical coloumn it will display pdf file e.g take Invoice of previus month.
    We are using OBIEE 10g software.
    Could You please provide me such information on this.
    Thanks,
    sunil.

  • Call Forms And Reports through node

    Dear All,
    i have a hierarchy tree menu look like this
    +GL
    Accounts
    Inform
    +Export
    Export Entry Form
    +Security
    New User Entry
    when i click Gl==>Accounts, accounts form opens
    when i click EXPORT==>Export Entry Form opens
    and i want call my forms and reports through nodes
    Kindly any one tell me how i can i do this.
    thnks
    Regards,
    zubair saleem.

    Welcome to the forum.
    Please visit https://forums.oracle.com/forums/ann.jspa?annID=432 and https://wikis.oracle.com/display/Forums/Forums+FAQ. It will help members of the forum to help you better.
    Forms and Reports version?
    Client/server or web? (if it is 6i)
    Regards,
    PS : Check this out https://sites.google.com/site/craigsoraclestuff/oracle-forms---how-to-s/forms-how-to-create-a-hierachical-tree-form
    Edited by: Prabodh on Jun 12, 2012 6:09 PM
    Edited by: Prabodh on Jun 12, 2012 6:32 PM

  • Re: Column is not getting displayed in the BI report

    Hello Gurus,
    I have developed a BI report with more number of parameters.
    Case 1:
    When i run my report , I am able to see data for particular condition but one column doesn't show any thing. All the rows in the column are blank.
    Case 2
    I tried to put the blank column as parameter, The Program works with out displaying that column data.
    I am not sure where it is going wrong. I tried running the code in toad and i am able to see the data.
    I have checked the code, Parameter description, length, Template and data definition.
    Please help.
    Thanks,
    Sreekanth

    Hi ,
    For that column did u changed any alias name in the query...
    check ur template once by loading the xml data...
    check that column form field that matches with the xml tag or not..
    Thanks,
    Ananth

  • Open and cancelled Quote Report

    Hi,
    Can anyone give me the information  for getting open and cancelled Quote Report?

    I hope you are using reason for rejection for cancelling quotations. If that is the case, you can use transaction VA25 to view the list of quotations. Here you can filter on two columns status and reason for rejection to view the report as per your requirement.
    Regards,
    GSL.

Maybe you are looking for

  • Can I scan  line art (B&W drawings) into Elements and then fill them with color?

    In Photoshop CS I could do this. Can this be done with Elements? All I see under "IMPORT" is importing from a camera. Can I import something I have scanned as well?

  • Flash Player use to execute the main class entry point before rendering. Now it does not

    Adobe Flash Player use to execute the main class entry point before rendering the first frame. Now using the latest browsers and Flash Player 11.8 (11.8.800.94, or 11.8.800.97 for Chrome). With one of our swf apps, there are visual display objects on

  • RFC_ERROR_PROGRAM in MS Excel 2007

    Hello SAP Experts!!! i have installed latest SAP GUI Logon 7.10. And when i try to configure the BEx in MS Excel 2007, it is giving the error RFC_ERROR_PROGRAM. Please advise. Thank you Regards Dorcas

  • Installing Sun Messaging Server on DMZ Architecture

    Hello, we want to install Sun Messaging Server in a DMZ Architecture and I need know if it is possible to install the Messaging Server on the private network to protect data and users, and a pop agent on the DMZ which allows the public to access to m

  • Reg:financial reports

    Hi iam learner in hyperion financial reports and my query is here current month and previous 11 months make sure year roll over use substitutional variable. for this i have to use if condition and for currr month sub variable is actperiod value is de