Extract Data in Power Pivot from MDX with diffrentnt different Level of Hierarchy in MDX

Hi All,
My requirement is to extract the data form tabular model and put in power pivot,as all the measures calculation is present in model just extracting the aggregated data.
Issue is appearing on Rolling up the data, so is there any way to extract the data so that it will display the right data on different level. As per the below example on level 2 data is getting summed up which is not correct.
Ex:-
Level1
A
10%
B
20%
Level2
30%
Thanks Chandan

Hi Chandan,
According to your description, you create a SQL Server Analysis Services Tabular model and extract Data in Power Pivot from MDX, the problem is that the hierarchy data rolling up base on the hierarchy level, right?
I have tested it on my local environment, we cannot reproduce this issue. So as per my understanding, the issue can be cause by the hierarchy setting in your tabular model. Here are some links about how to create and manage hierarchies in a tabular model,
please refer to the links and check if the settings are correct.
http://msdn.microsoft.com/en-in/library/hh213003.aspx
http://www.youtube.com/watch?v=qKKNY1Vj_2c
If the issue persists, please provide us more information about you hierarchy creation steps, so that we can make further analysis.
Regards,
Charlie Liao
TechNet Community Support

Similar Messages

  • How to sync/pull out 'phymyadmin' data into power pivot?

    Hi,
    i work for a one of the leading e-commerce companies in India. ( Lenskart.com ). I have just installed powerpivot and looking forward to using my database /crm data into power pivot as the data is into millions.. i have login info of my server/db . rest
    i do not knwo how to configure that to powerpivot so that i can pull out that data in powerpivot excel.. need hel to set it up..
    thanks..

    Hi Pranay,
    This is the set-up I use also. 
    You need to make sure you first have the ODBC MySQL Connector installed on your machine (presuming you are Windows):
    http://dev.mysql.com/downloads/connector/odbc/ 
    WINDOWS
    Then you need to go into "ODBC Data Sources". IF you are using Windows 8 or above simply type this into the start screen. Make sure you select the correct version i..e 64-bit if you are running a 64-bit system. 
    Click 'Add...'
    Choose your driver, for me this is 'MySQL ODBC 5.3 Unicode Driver'.
    Click "Finish".
    You well then be prompted with a configuration screen, the only info I have needed is:
    Data Source Name
    TCP/IP Server
    Port (usually 3306)
    User
    Password
    Database
    Click 'Test' to make sure the connection is working. In the past I have errors which were caused by my IP address not being added to the allow list on the server firewall, so be wary of this. 
    Click 'OK' and that is your connection done. 
    POWERPIVOT
    In powerpivot open your data model and then select 'From Other Sources'
    Choose 'Others (OLED/ODBC)'
    Enter a name for the connection.
    Click 'Build'
    Click the 'Provider' tab
    Click 'Microsoft OLD DB Provider for ODBC Drivers'
    Click 'Next'
    From the 'Use Data Source Name' select the data source you created above.
    Click 'Test Connection' 
    Click 'OK'
    Click 'Next'
    You will then have the option to either write your own query to extract data or to select from a list of tables. 
    Hope that helps!

  • Extracting date and hour component from time stamp in diadem ?

    Hi all, 
    I am just getting started with DIADEM.
    I have a column with time stamp format as 4/12/2014  12:03:00 AM, i need to extract date and hour compenents only and store in another column.
    Can anyone please give me some lead on this?
    Please ask for extra infor if required

    Hi figured it out.
    I used this.
    str(chd(i,"P1_ACCH_1/Time_Stamp"),"#MM/DD/YYYY hh"))

  • Saivng last run data in Power Pivot

    Hi All,
    I am using cube as a source for my power pivot reports.
    Suppose I create a report and I run it on a monthly basis using power pivot technology.
    My first run suppose is on 1<sup>st</sup> Jan 2014 and if I will run the report on 1<sup>st</sup> Feb 2014 again, it will overwrite the previous data which I got on 1<sup>st</sup> Jan 2014.
    Is there any option to “Do not refresh automatically” or save the previous state of data without overwriting it.
    Thanks
    Syed Faiz
    SFH

    Hi Syed,
    Generally, we focus on historical data BI analysis in most cases. If you want to review previous historical data in your report(such as PivotTable, Power View and so on), we should consider implementing Time Intelligence/Filter/Slicer for your scenario.
    Regards,
    Elvis Long
    TechNet Community Support

  • How to access sharepoint List Data in Power Pivot model

    Hi,
    I have a sharepoint list and i want to access the list in power pivot workbook.
    I tryed exporting the list as datafeed but iam that is missing under export.
    Iam stuck pls help any other approach.?
    Regards,
    Krishnaa

    Hello,
    I have answered this question in this thread below:
    http://social.technet.microsoft.com/Forums/office/en-US/92a04e1b-a5f7-4dbe-88e7-0a1064622641/sharepoint-list-access-in-power-pivot?forum=sqlkjpowerpointforsharepoint
    Please go through the following aticles:
    Using SharePoint List Data in PowerPivot:
    http://msdn.microsoft.com/en-us/library/hh230322.aspx
    Using a SharePoint List as a data source:
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/07/11/excel-services-using-a-sharepoint-list-as-a-data-source.aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • How can I restore my iPhone from icloud with 2 different accounts?

    I have two accounts. When I restore my iPhone from icloud with account A, the apps I bought with account B cannot be restored. What can I do?

    The  iCloud account is different from the iTunes store account, although you can use the same ID for both. in your case you can only use one iTunes account at a time to get previously bought apps, music, etc.Once you change to the other one, the stuff from the first account is deleted. In other words you can only realistically use one iTunes account. The same goes with iCloud. you must now decide which account for iTunes you want to stick with. apple does not let you merge two iTunes accounts.

  • OBIEE report from multiple facts at different levels

    Currently we need to develop a report with columns from 3 different facts surrounded with conformed and non conformed dimensions at different levels.
    After setting the hierarchial levels and putting the facts into single logical table with different sources OBIEE is generating 2 different queries and does a full outer join.
    I would like to know how we can do a left outer join instead of full outer join between the 2 queries based on a common column?
    Thanks in advance.

    Hi Vinod,
    The scenario provided in the link above doesnt match to my issue.
    We need to develop a report from multiple fact tables at different levels with conformed & non conformed dimension columns.
    I have 7 dimensions D1, D2, D3, D4, D5, D6 and D7 & two fact F1 and F2 tables.
    F1 is tied to dimensions D1,D2,D3,D4,d5
    F2 is tied to dimensions D3,D4,D5, D6 and D7.
    In my report I have columns from D1, D2, D3, D4, D5, D6, D7, F1 and F2.
    So OBIEE generates 2 queries with columns from D1,D2,D3,D4,d5 & F1 measure and another query with D3,D4,D5, D6, D7 and F2 measure.
    and then does a cross fact join out of box between 2 queries.
    But I need to do a left outer join between the 2 queries on a common column instead of cross fact join. I would like to know how we can achive this.
    Thanks.

  • Error when extracting data using DB Connect from an Oracle database

    Hi All,
    We are on BI 3.5 and loading data from a non-SAP (Oracle 10g) database using DB Connect.
    I received the following error messages when trying to perform "Check DataSource" using the DB Connect setup in RSA1.
    Event with errors RSDL_META_UPLOAD in DataSource
    Message no. R8287
    Warning Messages;
    Message no. RSDL053
    Field name ReceiptID contains non-alpha-numeric characters
    Field name ActivityDate contains non-alpha-numeric characters
    Field name ReceiptDate contains non-alpha-numeric characters
    Field name ReceiptLineNumber must have between 000001 and 000016 digits
    etc...
    Views are created under the owner's user name. I have checked with DB personnel and they confirm that all the authorization and security access privileges have been correctly granted to the views.
    We are also able to extract the data by running a sql query statement from the views using SQL Plus
    Currently we also have a similar extraction process set up with an Oracle 9 database, which extracts the information without any issues.
    Thanks,
    Anthony

    Hi Mr Loh.
    I know that this thread has over a year ago but i was looking for something similar for over 2 weeks ago and i ialways found this thread...I want to share my experience even that maybe you already found the same solution or something similar (i saw that you check your own post as answered):
    I made a similar connection from BI 7 SP 18, but in my case was to a Microsoft SQL database 2005. When i "check the datasource" i receive like almost 150 warnings and 1 error and all the warnings and errors are the same ones as you describe above. What i did is create a custom view in the MSSQL database and convert all the column names to uppercase and the column names i limited to 16 characters at most. after doing that all the warnings and the error described disappear and i can view the database content when you made click in the "view content table" button.
    I hope that this will help somebody and best regards
    Martin Olmos

  • How to extract data into excel file from more than one internal table

    Hi Guys
                 I want to extract the data from module pool screen.
                 In screen there are two internal tables
                      1. header
                      2. items.
                 I want to extract the data as same format looking in the screen.
                 With simple Download FM we cannot do this one, because in this we   will display as continuous rows.
    <b> But my requirement is saving as table with heading, date, header details</b>
    Note that it is not the simple down load . Suggest me with example  coding

    Hi Guys,
      I think it depends on which software you will use to see the result.
      If U are using Excel, it's very easy to achieve it.
      1. Define a structure as string, the lenth depend on your need.And use the structure to define a internal table, supposed is as A..
      2. Concatenate the head data using some separator, for ex. a comma; and then add this into A.
      3. The above step's concatenate is depend on your format for request;For ex, you want to place the date at the 4th cell in excel, that means you should put three separator before the date field.
      4 Concatenate the item data into the download table.
      5. Download the table to file.
      6. Display the file, using your defined separator.
    Hope this helpful.
    Bob

  • How to extract data for these fields from R/3 ?

    Hi frnds,
    My requirement is to extract the following fields which
    are related to MM: Condition type, condition
    value, Bill of lading, Qty in external delivery note,
    Different invoicing party, Invoicing document from R/3 to
    BI. But i found that they are not in any purchasing
    datasources or inventory datasources ( Except different
    invoicing party but the values are not picking up through
    standard extractors ).
    Anyone please tell me are there any standard datasources for extracting these fields ?
    If not, if i want to enhance datasources for these fields
    which datasource do i need to enhance i.e
    2lis_02_itm,2lis_02_scl,2lis_02_s012 or 2lis_03_bf,
    2lis_03_um ?
    Full points will be assigned.
    Regards,
    Bhadri M.

    Hi.......
    I think you have filled the set up table..........and you have replicate the datasource also.......and after replicating you have activated in the BI side........
    Then it should extract the data............
    Are you in BI 7.0...........
    You try one thing...............
    Replicate the datasource again............and then activate the transfer rules using program : RS_TRANSTRU_ACTIVATE_ALL...........
    Also check the selection tab of your Infopackage........may be you are giving some selection.........also check if it is coming till PSA..........if it is coming till PSA.....then check your transformation and DTP.......
    It may help you...........
    Regards,
    Debjani..........
    Edited by: Debjani  Mukherjee on Sep 21, 2008 11:18 AM

  • Excess data usage on my from my with pre-paid 3G Wi Fi

    I am tearing my hair out with an excess data issue; I hope someone can help me out. I'm using a 3G WiFi on my laptop and over the last week and a half, my data usage has been very high, as have my total hours for a 24-hour period. I've been taking detailed notes about my log on and log off times as well as the data used during the time I'm logged on and  since June 26 and I've discovered that I am being charged for time and data even while I am not online. I've now spoken to four different people on the phone at Telstra about this issue.   The first two times, I was compensated for this: once with extra credit, the other with extra data; these are a good help for the problem that has happened, but moving forward it doesn't fix the problem of being charged for time and data that I haven't used. And continuously being overcharged  makes me cross. Has anyone experienced something similar? I've been on this pre-paid broadband since March and everything had been great - $50 managed to last me the whole month, even as a student, being online most of the day, but from June 22 it started chewing up my data without explanation--I'm on semester break and am not online much at all, so I don't understand. Here's an example:July 1: logged off at 11:12pm - data usage was 180MB - total hours was 8:08:00 (which was already 3 hours more than I had actually been on for the day).July 2: logged on and checked the previous day's data and hours - data usage was 491MB - total hours was 12:02:37! How does this happen?  The WiFi was not connected to my laptop (I manually connect and have automatic WiFI connection turned off), my laptop was shut down, and I was asleep!  How did the connection manage to use and extra 300MB data over an additional 4 hours?  Has something changed?  I need to fix this. I've put a complaint into the ombudsman about it.

    Hey Sirdal,
    I understand that your pre-paid Wi-Fi 4G service seems to be using up a lot of your data allowance from the time that you recharge your in the last 2 recharges.
    This is definitely worth investigating but please also bear in mind that the rates of your data iis dependent on the previous data plan you've recharged on.
    So if you've changed from a $20 recharge to $30 recharge, you need to disconnect from the internet before reconnecting in order to reset the rate of your data charge to what is equivalent for the $30 recharge because if you've not refreshed your connection since the $20 recharge, you will be charged the same rate as if you were on the $20 rechage rather than the $30 recharge which means that your allowance will be used up more than what it should be. I hope this makes sense Sirdal.

  • Cannot power up from standby with remote

    Using the microsoft remote with XP MCE2005 I cannot wake the computer up when in standby mode, are there any settings which I need to adjust?

    the way i have it set up is to have only one user with no password set. that way, when windows starts up, it will bypass welcome screen and go to desktop of default user. if you have downloaded the .net framework, you should go into Administrative Tools and in the Users settings, disable the ASP.NET user that has been created
    as for your other query i'm not sure what else to suggest - MCE05 could restart fine from standby usng the remote when i had my mega 651 - it doesn't on my current mega-less media center setup (prays for mega 180 to arrive soon) as it won't go to standby manually (??) - but i know the remote can't wake the computer if shut down or in hibernate

  • How to get the data in one internal table? with 3 different tables..

    Hi,
      i need to get the all the ff data to put in an internal table. I'm using these data to my ALV. Thanks
       vkorg TYPE a005-vkorg,
       vtweg TYPE a005-vtweg,
       kschl TYPE a005-kschl,
       kondm TYPE mvke-kondm,
       matnr TYPE a005-matnr,
       kdgrp TYPE knvv-kdgrp,
       konda TYPE knvv-konda,
       kunnr TYPE a005-kunnr,
       datab TYPE a005-datab,

    hi,
    try this
    *& Report  ZPROGRAM
    REPORT  ZPROGRAM.
    table declaration.
    tables : zemployee, zdepartment,zproject.
    *type-pools declaration
    type-pools : slis , icon.
    type specification
    types : begin of ty_emp,
            empid type zempid,
            empname type zempname,
            empaddress type zempaddress,
            city type zcity,
            ponumber type zponumber,
            detid type zdeptid,
            end of ty_emp.
    types : begin of ty_dept,
            detid type zdeptid,
            deptname type zdeptname,
            designation type zdesignation,
            projectid type zprojectid,
            end of ty_dept.
    types : begin of ty_project,
            projectid type zprojectid,
            technology type ztechnology,
            clientname type zclientname,
            end of ty_project.
    types : begin of ty_final,
            empid type zempid,
            empname type zempname,
            empaddress type zempaddress,
            city type zcity,
            ponumber type zponumber,
            detid type zdeptid,
            deptname type zdeptname,
            designation type zdesignation,
            projectid type zprojectid,
            technology type ztechnology,
            clientname type zclientname,
           average type p decimals 2,
            end of ty_final.
    table type specification.
    types : tt_emp type standard table of ty_emp,
            tt_dept type standard table of ty_dept,
            tt_project type standard table of ty_project,
            tt_final type standard table of ty_final.
    work area creation.
    data : wa_emp type ty_emp,
           wa_dept type ty_dept,
           wa_project type ty_project,
           wa_final type ty_final.
    internal table declaration
    data : itab_emp type tt_emp,
            itab_dept type tt_dept,
            itab_project type tt_project,
            itab_final type tt_final.
    layout declaration
      data : gd_layout type slis_layout_alv.
    assigning current program name.
      data : gd_repid like sy-repid.
             gd_repid = sy-repid.
    fieldcatalog declaration.
      data : d_fieldcat type slis_t_fieldcat_alv,
             d_fieldcat_wa type slis_fieldcat_alv.
    header declaration.
      data : t_header type slis_t_listheader,
             wa_header type slis_listheader,
             linecount(10) type c,
             line(10) type c.
    selection-screen.
    selection-screen : begin of block blk1 with frame title text-001.
    select-options : s_empid for zemployee-empid.
    parameters : p_dname like zdepartment-deptname.
    parameters : p_proid like zproject-projectid.
    selection-screen : begin of line.
    parameters : p_rad1 radiobutton group r1.
    selection-screen comment 3(10) text-002.
    parameters : p_rad2 radiobutton group r1.
    selection-screen comment 16(10) text-003.
    selection-screen : end of line.
    parameters : chk1 as checkbox.
    selection-screen : end of block blk1.
    end of selection screen.
    start of selection.
    select empid empname empaddress city ponumber detid from zemployee into corresponding fields of table itab_emp where empid in s_empid.
    if not itab_emp is initial.
    select detid deptname designation projectid from zdepartment into corresponding fields of table itab_dept for all entries in itab_emp where detid = itab_emp-detid .
    if not itab_dept is initial.
    select projectid technology clientname from zproject into corresponding fields of table itab_project for all entries in itab_dept where projectid = itab_dept-projectid.
    endif.
    endif.
    *end of selection.
    populating data into itab_final from itab_emp.
    loop at itab_emp into wa_emp.
    wa_final-empid = wa_emp-empid.
    wa_final-empname = wa_emp-empname.
    wa_final-empaddress = wa_emp-empaddress.
    wa_final-ponumber = wa_emp-ponumber.
    wa_final-city = wa_emp-city.
    wa_final-detid = wa_emp-detid.
    append wa_final to itab_final.
    clear wa_final.
    endloop.
    *populating data into itab_final from itab_dept and itab_project
    loop at itab_final into wa_final.
    read table itab_dept into wa_dept with key detid = wa_final-detid.
    if sy-subrc = 0.
    wa_final-deptname = wa_dept-deptname.
    wa_final-designation = wa_dept-designation.
    wa_final-projectid = wa_dept-projectid.
    modify itab_final from wa_final transporting deptname designation projectid .
    endif.
    read table itab_project into wa_project with key projectid = wa_final-projectid.
    if sy-subrc = 0.
    wa_final-technology = wa_project-technology.
    wa_final-clientname = wa_project-clientname.
    modify itab_final from wa_final transporting technology clientname.
    endif.
    endloop.
    if p_rad1 = 'X' or chk1 = 'X'.
    d_fieldcat_wa-fieldname = 'EMPID'.
    d_fieldcat_wa-seltext_l = 'Employee Id'.
    d_fieldcat_wa-emphasize = 'X'.
    d_fieldcat_wa-col_pos = 1.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'EMPNAME'.
    d_fieldcat_wa-seltext_l = 'Employee Name'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 2.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'EMPADDRESS'.
    d_fieldcat_wa-seltext_l = 'Employee Address'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 3.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'CITY'.
    d_fieldcat_wa-seltext_l = 'City'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 4.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'PONUMBER'.
    d_fieldcat_wa-seltext_l = 'Postal Number'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 5.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'DETID'.
    d_fieldcat_wa-seltext_l = 'Department Id'.
    d_fieldcat_wa-emphasize = 'X'.
    d_fieldcat_wa-col_pos = 6.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'DEPTNAME'.
    d_fieldcat_wa-seltext_l = 'Department Name'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 7.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'DESIGNATION'.
    d_fieldcat_wa-seltext_l = 'Designation'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 8.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'PROJECTID'.
    d_fieldcat_wa-seltext_l = 'Project Id'.
    d_fieldcat_wa-emphasize = 'X'.
    d_fieldcat_wa-col_pos = 9.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'TECHNOLOGY'.
    d_fieldcat_wa-seltext_l = 'technology'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 10.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'CLIENTNAME'.
    d_fieldcat_wa-seltext_l = 'Client Name'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 11.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    endif.
    if p_rad2 = 'X' or chk1 = 'X'.
    refresh itab_emp.
    d_fieldcat_wa-fieldname = 'DETID'.
    d_fieldcat_wa-seltext_l = 'Department Id'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 6.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'DEPTNAME'.
    d_fieldcat_wa-seltext_l = 'Department Name'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 7.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'DESIGNATION'.
    d_fieldcat_wa-seltext_l = 'Designation'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 8.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'PROJECTID'.
    d_fieldcat_wa-seltext_l = 'Project Id'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 9.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'TECHNOLOGY'.
    d_fieldcat_wa-seltext_l = 'technology'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 10.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    d_fieldcat_wa-fieldname = 'CLIENTNAME'.
    d_fieldcat_wa-seltext_l = 'Client Name'.
    d_fieldcat_wa-emphasize = 'C710'.
    d_fieldcat_wa-col_pos = 11.
    append d_fieldcat_wa to d_fieldcat.
    clear d_fieldcat_wa.
    endif.
    Grid display function module
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
       I_INTERFACE_CHECK                 = ' '
       I_BYPASSING_BUFFER                = ' '
       I_BUFFER_ACTIVE                   = ' '
        I_CALLBACK_PROGRAM                = gd_repid
        I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
       I_CALLBACK_USER_COMMAND           = ' '
        I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE '
       I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
       I_CALLBACK_HTML_END_OF_LIST       = ' '
       I_STRUCTURE_NAME                  =
       I_BACKGROUND_ID                   = ' '
        I_GRID_TITLE                      = 'EMPLOYEE DETAILS'
       I_GRID_SETTINGS                   =
        IS_LAYOUT                         = gd_layout
        IT_FIELDCAT                       = d_fieldcat
       IT_EXCLUDING                      =
       IT_SPECIAL_GROUPS                 =
       IT_SORT                           =
       IT_FILTER                         =
       IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = ' '
       IS_VARIANT                        =
       IT_EVENTS                         =
       IT_EVENT_EXIT                     =
       IS_PRINT                          =
       IS_REPREP_ID                      =
       I_SCREEN_START_COLUMN             = 0
       I_SCREEN_START_LINE               = 0
       I_SCREEN_END_COLUMN               = 0
       I_SCREEN_END_LINE                 = 0
       I_HTML_HEIGHT_TOP                 = 0
       I_HTML_HEIGHT_END                 = 0
       IT_ALV_GRAPHICS                   =
       IT_HYPERLINK                      =
       IT_ADD_FIELDCAT                   =
       IT_EXCEPT_QINFO                   =
       IR_SALV_FULLSCREEN_ADAPTER        =
    IMPORTING
       E_EXIT_CAUSED_BY_CALLER           =
       ES_EXIT_CAUSED_BY_USER            =
       TABLES
         T_OUTTAB                          = itab_final
      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.
    set pf_status for creating client specified icons.
    form set_pf_status using rt_extab type slis_t_extab.
    set pf-status 'NEWSTATUS'.
    endform.
    populating data into header using top_of_page
    form top_of_page.
    wa_header-typ = 'H'.
    wa_header-info = 'ALV REPORT'.
    append wa_header to t_header.
    clear wa_header.
    wa_header-typ = 'S'.
    wa_header-key = 'Date :'.
    Concatenate sy-datum+6(2) '.'
                 sy-datum+4(2) '.'
                 sy-datum(4) into wa_header-info.
      append wa_header to t_header.
      clear wa_header.
      wa_header-typ = 'S'.
    wa_header-key = 'Time :'.
    Concatenate sy-Uzeit(2) '.'
                 sy-datum+2(2) '.'
                 sy-datum+4(2) into wa_header-info.
      append wa_header to t_header.
      clear wa_header.
      describe table itab_final lines line.
      wa_header-typ = 'A'.
      linecount = line.
      Concatenate 'Total number of records :' linecount into wa_header-info separated by space.
      append wa_header to t_header.
      clear wa_header.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          IT_LIST_COMMENTARY       = t_header
         I_LOGO                   = 'VMCADMIN'
        I_END_OF_LIST_GRID       =
        I_ALV_FORM               =
      endform.
    *designing layout.
      form gd_layout.
      gd_layout-zebra = 'X'.
      gd_layout-edit = 'X'.
      gd_layout-no_hotspot = ''.
      gd_layout-no_colhead = ''.
      gd_layout-colwidth_optimize = 'X'.
      endform.
    Reward with points if helpful.

  • Show data from different levels of hierarchy in a report

    Hi,
    We have to show Budget Vs Actual for sales. We have multiprovider on two cubes (Plan & Actual).
    We want to report using Customer Hierarchy.
    Customer hierarchy is like -
    Level 1
    ---> Level 2
    > Level 3
    > Level 4
    > Customer1
    > Customer2
    > Customer3
    > Customer4
    Actual data is avbl  at Customer but Budget is at avbl only upto Level1 or 2 . 
    Budget Infocube structure
    Level1     Level2     Material     Calmonth          Sales QTy
    Actual Infocube structure
    Customer     Calmonth     Material          Sales Qty
    So how to create a BEx query so that I can show Budget Vs Actual for avaialble data?
    If I drill down uptp Level2 it will show Budget Vs Actual and for further drill downs only actual data.
    Thanks,
    Vikram.
    Edited by: Vikram Kate on Jan 2, 2011 12:46 AM

    Any suggestion/ idea pls.
    I am sure this is a valid requirement. If anyone know how to do it,  pls let me know.
    Edited by: Vikram Kate on Jan 21, 2011 1:04 PM

  • How to save JPEG from PS5 with a different DPI?

    I have a scanned image with DPI 4800.
    I have prepared the image for the printing in LAB, so I have tried to change image DPI to 300.
    In PSD file it works, the DPI was changed, but if I try to save the PSD as a JPEG file, the DPI in JPEG is not changed, or more precisely it is not set.
    Thank you for explanation.

    Why LAB? ...or do you mean "lab"?
    How did you try to change the ppi?
    If you have a PSD at 300ppi and Save As... a JPEG it should keep the 300 ppi.  Don't use Save for Web.

Maybe you are looking for

  • [SOLVED] Rubyripper won't start

    If I try to start rrip_cli I get the following error: /usr/bin/rrip_cli:45: syntax error, unexpected ':' if @options.configure: edit_settings() end ^ /usr/bin/rrip_cli:48: warning: else without rescue is useless /usr/bin/rrip_cli:61: syntax error, un

  • F110, is it possible to list the down payments

    Hello All, While running F110 APP is it possible to get the list of all the down payment  request made at the time of creating the proposal? If it is possible how? Thank you in advance for the reply Regards Arun.R

  • How to trigger ABAP proxy

    hai all, i am trying to do a scenario using abap proxy, i created two proxies in the different clients of the XI box itself. when iam giving test data iam able to check it out. when iam trying to pass the dat from the proxy it is not hitting the XI e

  • R/3 Delta queue during 3.5 upgrade

    Greetings Experts, We're upgrading from BW 3.1 to 3.5, and the documentation calls for clearing the R/3 delta queue before the upgrade.  My first question is...how do I do this?  If I run all of our delta loads to clear the queue, they will start fil

  • Dynamic filter on time characteristics on OLAP SAP BEX query based universe

    Dear all, I'm currently working on the integration between SAP NetWeaver BI 7.0 and SAP BusinessObjects XI 3.1 FP 1.5 via integration kit. I've built an OLAP universe on the top of a BW query based on a multiprovider that contains 10 infocubes. Every