Display two members of same dimension hierarchy using mdx on 2 diff columns

Hi,
Is it possible to print the parent of a member that belongs to a certain level in the hierarchy. For this example, the Dimension hierarchy is a Variable hierarchy based on a Row Source, - BOM - Bill of Materials.
Let say there is a BOM hierarchy with 4 levels.
Finished Good - Comp1 - Comp2 - Comp3.
Then we want to display in the IOP report as follows.
Finished Good Supply Chain--These are the column headers
Finished Good1 Finished Good1
Comp1
Comp2
Finished Good2 Finished Good2
Comp3
Comp4
Comp3
Edited by: user596497 on Mar 16, 2011 1:39 PM

The question is wrong ...
MDX helps you to construct cross-product of indices for the underlying cube and then it tells the system to find whether there is any cell with that index, and if so, returns a value for that combination.
If you put two dimensions next to each other, what does it mean? There is no such combination in the underlying cube as each dimension is uniquely represented. We will throw an error as follows:
You cannot mix-up display semantics with the syntax/semantics of MDX.
"Can only cross join sets with different dimensions Statement"
An internal error occurred during the query execution phase. Please contact your administrator.
Query Definition
WITH SET [AnotherGeography] AS '{[Geography].DefaultMember}' SELECT {Fiscal.DefaultMember} ON COLUMNS, { CrossJoin( {[Geography].DefaultMember}, {[Customers].DefaultMember}, {[AnotherGeography]}, {Hierarchize(Descendants([Product].DefaultMember, [Product].[Product Family], SELF_AND_BEFORE), POST) }, { [Measures].[Target Revenue], [Measures].[Demand Plan Revenue], [Measures].[Market Share], [Measures].[Adjusted Demand Plan Quantity] }) } ON ROWS FROM [Demand]
Can only cross join sets with different dimensions Statement: WITH SET [AnotherGeography] AS '{[Geography].DefaultMember}' SELECT {Fiscal.DefaultMember} ON COLUMNS, { CrossJoin( {[Geography].DefaultMember}, {[Customers].DefaultMember}, {[AnotherGeography]}, {Hierarchize(Descendants([Product].DefaultMember, [Product].[Product Family], SELF_AND_BEFORE), POST) }, { [Measures].[Target Revenue], [Measures].[Demand Plan Revenue], [Measures].[Market Share], [Measures].[Adjusted Demand Plan Quantity] }) } ON ROWS FROM [Demand]

Similar Messages

  • How to use two members from same dimension in Dimension Layout, for HFR

    I am developing a report using Hyperion Financial Reporting. I have taken two dimensions in rows and remaining dimensions in column. After completing one section, I need to make new section of the report on the same grid and page with just adding one more member of the second row dimension. That is data should be the summation of two members of the dimension, say "ACCOUNT".
    Kindly guide me the steps. Also i would like you to know that i am begineer with Hyperion Financial Reporting.
    Thanks
    Roshan

    Can you give some explanation of your gird layout and what you are trying to achieve?
    Like Account and Scenario in row
    Year, Market in columns
    Product in Page
    Regards
    Celvin
    http://www.orahyplabs.com
    Please mark the responses as helpful/correct if applicable

  • How to extract data for particular two members of same dimension.

    As per the requirement i need to export data for certain members of a dimension. Lets say we need data for two account members A and B which is in in Account dimension only but is not a direct children. I need the data for all the available years too. Please suggest me how my DATAEXPORT command should look like.
    When i am using an AND statement it is not working accordingly. Say i am fixing for years 2007 and 2009 but the output file is coming for 2009 and 2010.
    Something other is happening when i am fixing OPEX_31 and OPEX_32. The values are coming not only for OPEX_31 and OPEX_32 but for many more accounts too.
    Here is my dataexport statement for your reference
    SET DATAEXPORTOPTIONS
    DataExportLevel "ALL";
    DataExportColFormat ON;
    DataExportDimHeader ON;
    DataExportOverwriteFile ON;
    FIX("LC","Total_Year","ESB1","2009","SIERRA","COSTCENTER_NA","CELLULAR_NA","OPEX_31",
    "January","February","March","April","May","June","July","August","September","October","November","December");
    DATAEXPORT "File" "     " "D:\exports\feb.txt";
    ENDFIX;
    I need data for OPEX_31 and OPEX_32 for all the available years starting from 2001 to 2025.
    Please suggest what are the modification needed to get the desired result.
    Thanks in advance

    Hi,
    There a few different options you can use for fixing on the months, years..
    e.g. FIX(January:December)
    or FIX(@CHILDREN(YearTotal)) < depends what the parent of the months is
    sames goes for years
    FIX(2009:2025)
    or
    FIX(@CHILDREN(Year)
    If your period dimension is dense you can always use that as the column header e.g. DataExportColHeader "Period" and then fix on the accounts you require.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to display two grids in same screen using SALV Method

    Hi Freinds,
    Please let me know how to display two grids in same screen using SALV Method.
    Thank you
    Regards,
    SDV

    Using the same concept as described in How to dispaly Three Internal Table  Data (One below another) in ALV OOPS .
    All you need to add is passing your new containers as r_container parementer of factory method.
    "1st one
          cl_salv_table=>factory(
             EXPORTING
               R_CONTAINER    = g_top_container
    "2nd one
          cl_salv_table=>factory(
             EXPORTING
               R_CONTAINER    = g_bottom_container
    Regards
    Marcin

  • FDM Essbase Adapter - Duplicate members from same dimension on data records

    I am getting this error message when trying to export data to Essbase using FDM.
    Error - Duplicate members from same dimension on data records.
    Though this error looks quite straight forward, I could not find any thing in the data file to indicate the same. I even tried loading a single row data, but still got the same message.
    What other things I should be looking at to fix this issue?
    Thanks.

    There are one or two previous threads on this, but this might give you some help to start with as it links to an esssbase document which gives suggestions for the error message:
    Error in dataload- Duplicate Members From Same Dimension On Data Record
    another thread indicated that the first record had a blank in it and by re-sorting to have the first records with all fields populated resolved the issue (not sure on this one).
    from the FDM side:
    1. Are the dimensions correctly mapped in the Essbase adaptor?
    2. Are the dimensions in the correct sequence for loading to Essbase.
    3. Does the same value appear In more than one field (Can't remember but i think essbase didn't use to allow the same member name across dimensions).

  • Duplicate Members From Same Dimension On Data Record

    Hi guys, been a while but I'm back into problem land again. I got a SQL Server database with a load of records in it, some are NULL, and I use them to build a rules file called CGI_BUILD. When I run the rules file on the outline it builds fine with no errors but when it does the second part of loading the data, it kicks out an error file. The error that repeats over and over in the log is "\\ Duplicate Members From Same Dimension On Data Record". This seems to be the case for every record in the load file except for the second record. The only difference with that record is it has N/A for some of the columns instead of the regular "Retail" or "Finance" or whatever the other fields are.
    I realize you have limited information here without screenshots but maybe you can help me get started on a solution. In my searching I found that some people have had this happen when the first record has an empty column in it but I can't rearrange them because there's a few columns that are empty for every record. They're there for add-ons later in the project. Any ideas?

    To my outline, via SQL load, I added a new attribute dimension called Retail Region/Area:
    -Retail Region/Area
    --West Region : Region Manager
    ---Area1 : Area Manager
    ---Area2 : Area Manager
    ---Area3 : Area Manager
    --East Region : Region Manager
    --Factory Region : Region Manager
    ---Area1 : Area Manager
    ---Area2 : Area Manager
    --Central Region : Region Manager
    As you can see, it's split up into regions which have a region manager. And each region has a pile of areas which each have an area manager. The relationship for each region/area to its respective manager is 1:1.
    To my rules file I added 3 new columns:
    GEN1,Retail Region/Area (data = "Retail Region/Area")
    GEN2,Retail Region/Area (data = Region Name : Region Manager)
    GEN3,Retail Region/Area (data = Area Name : Area Manager)
    I've ignored the data load and dimension build on the first 2 columns, but the third one, the lowest level, is the one data is being loaded into, among many other dimensions. The only weird thing I noticed is the last column (GEN3,Retail Region/Area) doesn't have a Field Name under the Data Load Properties. It's just blank.....but I don't think that would matter.
    Now to answer your questions.....multiple columns that have members from the same dimension........it doesn't look like that's the case with the three columns I added. Am I missing it? And the rows I should be looking at......are you referring to the SQL database or the data prep editor in Essbase after loading the SQL file? I'm not converting NULL to anything that I know of. If it was preset before starting the project it's likely the same for every dimension. And as far as transformations, I'm not familiar with that so that would be a no.
    Message was edited by:
    DeX
    Message was edited by:
    DeX

  • View dimension hierarchy using the filter property of data form

    Hi,
    I created a data form where I want to show the dimension hierarchy. But when I am filtering the form using attribute dimension then the hierarchy is not being shown in the form.Is their any way so that I can use the filter property also and make the dimension hierarchy visible in the data form?
    Thanks.

    847833 wrote:
    Hi Endy,
    Thanks for your reply. I have used the "equal" function as to set that specific attribute as I am choosing the descendants function against the attribute dimension,it's showing error.Hi,
    What's the error ? You have to use a function, otherwise it will only display the member you picked.
    Actually in our dimension structure we have a 3 generation hierarchy and the attribute is only associated with the 3rd generation member. So we want to display the 3rd generation having the specific attribute "xx" wit the entire hierarchical structure in our data form.
    Can you please tell me if I have missed anything?
    Thanks.If you want to display the attribute value in the form, edit the form, go to the "Layout" tab, and click on your row. On the right side of the screen, you have a section called Display Properties. Check the box called Enable custom attributes, then check your attribute name. Save the form and you will have the attribute value displayed at the right of the member name.

  • Duplicate members from same dimension on data load

    Hi friends,
    i have three dimensions.ORG,CUSTOMER,MEASURES. I HAVE SHOWN THE STRUCTURE BELOW.
    ORG
    group(GEN2)
    raja(GEN3)
    vertical(GEN2)
    raja(GEN3)
    CUSTOMER
    raja(GEN2)
    MEASURES
    actual.
    I AM USING DUPLICATE MEMBERS CONCEPT.
    The problem is that how to load data for duplicate members in the same dimension.since i am having group and vertical under ORG. how to give names for those colums.i have given my data file which i used to load.
    gen2,ORG gen3,ORG gen2,CUSTOMER actual
    group raja vertical raja raja 20
    here i dont know what name to give for vertical and raja since it is a duplicate member from the same dimension.
    i also tried to load data for group and verical separately. it loads successfully. but when i view the member raja(from CUSTOMER dimension) across actual i get the value as 40. since i have loaded the data twice( one combination for group and one for vertical.
    can anyone help me to resolve this problem. it will be of great help to me.
    Thanks.

    Hi,
    To ensure duplicate member outline hierarchies are built correctly, use qualified member names in data source or use the rules files to construct qualified member names from fields in the data source
    Example:-
    suppose we have this data set-
    West India Delhi 12344
    West India Bangalore 46544
    East "New york" "New york" 126787     
    Here I am using the RULE FILE to construct qualified member names--
    Step 1:- Create the additional TEXT fields, create one field each for the
    following text elements-
    Step 2:- Using the MOVE operation, move the fields to the following sequence:
    1 . .2 . .3 . .4 ..5 ... 6 . 7 . . . 8
    [   west  ].[  India  ].[  Delhi  ] 12344
    step 3:- Using JOIN operation, join together fields 1 2 3 4 5 6 7 to create a
    signle field as
    1     .     . . . . . . . . . . . . . . 2
    [west].[India].[Delhi] 12344
    OR
    you should specified the full qualified name in your DATA SOURCE.
    Hope it will help you.
    -Mohit

  • TWO ANALYTIC WORKSPACES - SAME DIMENSION HOW TO REFER

    Hi All,
    I have two analytic workspaces MSD.MSD3765 and MSD.MSD13834. I attach both of them using the following.
    begin
    dbms_aw.execute('aw attach MSD.MSD13834 ');
    dbms_aw.execute('aw attach MSD.MSD3765;');
    code to refer a dimension with the same name which exists in both the aws
    dbms_aw.execute('aw detach MSD.MSD3765');
    dbms_aw.execute('aw detach MSD.MSD13834;');
    end;
    I would like to refer a dimension dmentry, which exists in both the aws. Can some one help me out regarding this? I tried MSD.MSD3765.dmentry and MSD.MSD13834.dmentry. It isn't working.
    Request your help in this. Thanks in anticipation.
    Regards,
    Vikram

    I could find the answer for the same in this thread.
    How to control the same dimension data manipulation in multiple attached AW
    Regards
    Vikram

  • Except function with parent child hierarchy using mdx query

    HI,
    I need to remove some items using mdx query in parent child hierarchy.
    I tried with below query,it is not removeing ,could you please help me.
    SELECT
    {[Measures].[Amount]} ON
    COLUMNS
     NonEmpty([Account].[Accounts].[Account Level 01],[Measures].[Amount])
    ON ROWS
    FROM (SELECT
    -Descendants({[Account].[Accounts].&[47]},,Leaves)
    } ON COLUMNS
    FROM [Adventure Works])
    indu

    Hi Indu,
    Why do you remove some itmes using
    Descendants function? Generally, we use FILTER function to achieve the requirement.
    WITH SET [CustomAccounts] AS
    FILTER ([Account].[Accounts].[Account Level 01].Members , [Account].[Accounts].CurrentMember.Name<>'Net Income')
    SELECT {[Measures].[Internet Sales Amount]} ON 0
    [CustomAccounts] ON 1
    FROM [Adventure Works]
    WITH SET [CustomAccounts] AS
    FILTER ([Account].[Accounts].[Account Level 01].Members , [Account].[Accounts].CurrentMember.Name='Net Income')
    SET [RemainingAccount] AS
    [Account].[Accounts].[Account Level 01]- [CustomAccounts]
    SELECT {[Measures].[Reseller Sales Amount]} ON 0
    [RemainingAccount] ON 1
    FROM [Adventure Works]
    Results.
    References.
    http://www.databasejournal.com/features/mssql/article.php/3306101/MDX-Essentials-Basic-Set-Functions-The-Filter-Function.htm
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c0149678-97f2-4066-903f-7f9e9ff09b56/filtering-out-dimension-members-with-mdx?forum=sqlanalysisservices
    Regards,
    Charlie Liao
    If you have any feedback on our support,
    please click here.
    Charlie Liao
    TechNet Community Support

  • Monitoring two servers with same IIS configuration using SCOM

    Hello,
    We have two servers which has the same IIS configuration including sites names, how do we configure APM to monitor and get events captured on two different monitors on SCOM 2012 R2.
    Thank you, Anand
    Anand Franklin

    Hi Anand,
    There is no problem at all, if applications IIS paths (Web Site names + Web application name in IIS) absolutely match. Make sure both servers have SCOM Agent installed and connected to the same Management Group.
    In .NET Application Performance Monitoring template just keep Target Group field blank (it's blank by default) - that will mean the application will be monitored on each server within Management Group where it's discovered. The same configuration of
    APM monitoring will be used for all app instances.
    If you want to monitor the app only on two servers, and at the same time the app is hosted on more than these two boxes, you can create Windows Computer group populated with appropriate servers and specify this group as Target for APM monitoring.
    If you want to differentiate APM configuration for specific app instances, you should create several Windows Computer groups and bind each group with separate configuration - in this case you will have to run .NET Application Monitoring template several
    times, picking up the same app, but changing APM settings and setting new Target Group.
    Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/)

  • Multiple Levels in Hierarchy using MDX in SSAS

    Hi All,
    I am Hiren Parikh from India.
    I have a requirement in which I want multiple levels in a single hierarchy.
    But this levels should not depend on each other.
    For eg - 
    + Country
    -India
    - China
    - Japan
    + State
    - X
    - Y
    - Z
    + City
    - Mumbai
    - Beijing
    - Tokyo etc
    I will not select Country, State & City at the same time. If I select the Country then Country will become my filter.
    If I select the State then State will become my filter.
    If I select the City then City will become my filter. This means all the 3 levels are independent should work.
    Thanks in advance...
    Regards,
    Hiren Parikh
    Hiren Parikh

    Hi Hiren,
    According to your description, you will not select Country, State & City at the same time, right?
    So as per my understanding, you needn't to create the hierarchy, just create three attributes Country, State and City. Then when you select one of the attributes in the PowerPivot table, the attribute can be the filter which you can see on the screenshot
    below.
    Regards,
    Charlie Liao
    TechNet Community Support

  • SSAS Date Dimension attribute not displaying all members when browsed singly

    I have an SSAS Cube database that holds data from 2009 to 2013 (5 years)
    There is a Date Dimension in the database which holds a "Calender Period" Hierarchy with the attributes CalenderYear >> Quarter >> MonthYear >> Day .
    I am connecting to the cube via Microsot EXCEL
    Whenever i try to browse this hierarchy alone in the spread sheet, the first attribute as per the hierarchy shown above i.e. Calender Year does not display all the members, that is confusing the users to assume that the cube is not processed with the latest
    data, which is not the case. However as soon as i try to browse any measure with this dimension, the data automatically shows for the latest dates of 2013 as per the expectations.
    The perspective that is selected while connecting to the Cube in this case is the one that is by default the one including all the Cube Objects.
    Whenever i try to browse the same cube for the same Dimension Hierarchy but in a separate user perspective i get the latest three Calender Years i.e. 2011,2012 and 2013 but not the complete years 2009 to 2013.
    When i was browsing this earlier by the original base perspective (which has all the cube objects visible) the Calender Years displayed were 2009,2010,2011&2012 but not 2013 which should be there.
    I checked the base view in the DB that is used to create this Dimension, that is fetching the complete data for 2009 to 2013.
    I have also verified that this issue is still there if i try to browse the cube from the SSMS.
    Can anyone help me to get all the years from 2009 to 2013 (the years for which my cube has data) become visible as soon as i drop it alone into the Spreadsheet?
    Thanks 
    Suvrat

    Thanks for your response Muthukumaran.
    I did not know about this default measure property of the SSAS cube, it would be nice if you could also tell me how to check which is the default measure for a cube.
    I understand your point that if a particular measure group does not have data for a year then that particular year will be skipped as per the default excel settings, which when disabled allowed all the years to be displayed, but in that case every time the
    users connect to the cube via excel, they will have to configure this property.
    I would like to share the way i resolved this issue:
    I went ahead and simply did a Process Full for the Date dimension. The years started to display by default as per the expectations. Now after observing this change, as per my understanding I believe this issue was due to the CACHE of the cube not being updated
    for the date dimension. As after each incremental load of the DWH we processed the cube & while processing the cube the dimensions were set for a Process Update and the Measure Groups were set for a Process Full. This caused this issue, and we could resolve
    this once the Date Dimension was processed full.
    Thanks
    Suvrat Rai

  • Display aggregate total for multiple members of a dimension.

    When multiple members of a dimension are selected in a row or column in Financial Reporting tool, it tends to display the result in multiple rows or columns. Is it possible to display the aggregate value of all the members and not display the individual details. I have tried the Auto Calculation which shows the "Total" but also shows the Individual members that were selected in multiple rows or columns. Any suggestions would be great.
    Ajay.

    Brian, I will post all my future questions in the Reporting Forum as you suggested. Coming back to my question, I do not want to display all the Individual members that I had selected in the report. I only need the aggregate value (Custom Totals) of all the Dimension members together.
    eg: If I choose the following account members in one row (Salaries, Bonus, Advertising), I do not want to display the individual line items for the three members, I only need one row called "Expenses" that has the aggregate value for the three members. Essbase by default (even if I don't select "place selections in separate columns" ) will put the members in separate rows or columns.
    Thanks.

  • How to display two database field in report

    hi,
    i have made a report and in that report i am displaying two fields with same data and these fields are database.In the FORM f_display_report i have given the same  name in both fields.But when i going to SUM it gave me only one field SUM and other fields gives null.
    give me some guidance as i have to display both fields with same data and same amount of SUM. 
    Thanks

    if i am using the database field i-e wt_qbshb then it gave me the data but when im going to sum both field it gave me sum of only one field.This the code:
    ITAB:
    BEGIN OF gi_main OCCURS 1,
       belnr      LIKE  bseg-belnr,          " Document No.
       buzei      LIKE  bseg-buzei,          " Item
       blart      LIKE  bkpf-blart,          " Document Type
       lifnr      LIKE  bseg-lifnr,          " Vendor No.
        lifntn     LIKE  lfa1-stcd2,          " NTN
        lifnic     LIKE  lfa1-stcd1,          " CNIC
        name1      LIKE  lfa1-name1,          " Vendor Name
        stras      LIKE  lfa1-stras,          " Address
        ort01      LIKE  lfa1-ort01,          " City
        qekar      LIKE  v_t059e-qekar,       " Source of income Description
        qscod      LIKE  v_t059z-qscod,       " Section Code
        budat      LIKE  bkpf-budat,          " Date of Payment(DD/MM/YYYY).
        dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        qsatz      LIKE  v_t059z-qsatz,         " Rate of WHT
       dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        wt_qbshb   LIKE  with_item-wt_qbshb,  " Amt of tax collected & deducted
       AMT_TAX    TYPE  with_item-wt_qbshb,   "Amt tax Deposited.
        p_tax type sy-datum,                  " Date of Tax Deposited
       witht      LIKE  t059z-witht,         " WHT Type
       wt_withcd  LIKE  t059z-wt_withcd,     " WHT Code
       hkont      LIKE  with_item-hkont,     " Gl Code
        text40     LIKE  t059ot-text40,       " Section Description
        eatxt      LIKE  v_t059e-eatxt,       " Source of Income Code
      END OF gi_main,
    and this is the  BEGIN OF gi_main OCCURS 1,
       belnr      LIKE  bseg-belnr,          " Document No.
       buzei      LIKE  bseg-buzei,          " Item
       blart      LIKE  bkpf-blart,          " Document Type
       lifnr      LIKE  bseg-lifnr,          " Vendor No.
        lifntn     LIKE  lfa1-stcd2,          " NTN
        lifnic     LIKE  lfa1-stcd1,          " CNIC
        name1      LIKE  lfa1-name1,          " Vendor Name
        stras      LIKE  lfa1-stras,          " Address
        ort01      LIKE  lfa1-ort01,          " City
        qekar      LIKE  v_t059e-qekar,       " Source of income Description
        qscod      LIKE  v_t059z-qscod,       " Section Code
        budat      LIKE  bkpf-budat,          " Date of Payment(DD/MM/YYYY).
        dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        qsatz      LIKE  v_t059z-qsatz,         " Rate of WHT
       dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        wt_qbshb   LIKE  with_item-wt_qbshb,  " Amt of tax collected & deducted
       AMT_TAX    TYPE  with_item-wt_qbshb,   "Amt tax Deposited.
        p_tax type sy-datum,                  " Date of Tax Deposited
       witht      LIKE  t059z-witht,         " WHT Type
       wt_withcd  LIKE  t059z-wt_withcd,     " WHT Code
       hkont      LIKE  with_item-hkont,     " Gl Code
        text40     LIKE  t059ot-text40,       " Section Description
        eatxt      LIKE  v_t059e-eatxt,       " Source of Income Code
      END OF gi_main,
    and this is the  BEGIN OF gi_main OCCURS 1,
       belnr      LIKE  bseg-belnr,          " Document No.
       buzei      LIKE  bseg-buzei,          " Item
       blart      LIKE  bkpf-blart,          " Document Type
       lifnr      LIKE  bseg-lifnr,          " Vendor No.
        lifntn     LIKE  lfa1-stcd2,          " NTN
        lifnic     LIKE  lfa1-stcd1,          " CNIC
        name1      LIKE  lfa1-name1,          " Vendor Name
        stras      LIKE  lfa1-stras,          " Address
        ort01      LIKE  lfa1-ort01,          " City
        qekar      LIKE  v_t059e-qekar,       " Source of income Description
        qscod      LIKE  v_t059z-qscod,       " Section Code
        budat      LIKE  bkpf-budat,          " Date of Payment(DD/MM/YYYY).
        dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        qsatz      LIKE  v_t059z-qsatz,         " Rate of WHT
       dmbtr      LIKE  bseg-dmbtr,          " WHT Base Amount
        wt_qbshb   LIKE  with_item-wt_qbshb,  " Amt of tax collected & deducted
       AMT_TAX    TYPE  with_item-wt_qbshb,   "Amt tax Deposited.
        p_tax type sy-datum,                  " Date of Tax Deposited
       witht      LIKE  t059z-witht,         " WHT Type
       wt_withcd  LIKE  t059z-wt_withcd,     " WHT Code
       hkont      LIKE  with_item-hkont,     " Gl Code
        text40     LIKE  t059ot-text40,       " Section Description
        eatxt      LIKE  v_t059e-eatxt,       " Source of Income Code
      END OF gi_main,
    and this is the PERFROM DISPLAY REPORT:
      PERFORM fill_fieldcat USING 'LIFNTN' 11   'NTN' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'LIFNIC' 16   'NIC' 'GI_MAIN'.
    PERFORM fill_fieldcat USING 'LIFNR'  10  'Vendor' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'NAME1'  35  'Name' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'STRAS'  35  'Address' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'ORT01'  35  'City' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'QEKAR' 40    'Nature of Payment etc' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'QSCOD' 10 'Payment Section Code' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'BUDAT'  10   'Date of Payment(dd/mm/yyyy)' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'DMBTR'  20   'Value/Amount on which Tax Collected or Deducted' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'QSATZ'  10     'Rate of tax (%)' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'WT_QBSHB'  16   'Tax Amount Collected/Deducted' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'WT_QBSHB'  16   'Amount of Deposited' 'GI_MAIN'.
      PERFORM fill_fieldcat USING 'P_TAX'(001)  15   'Date of Tax Deposited(DD/MM/YYYY)' 'GI_MAIN'.
    Thanks.

Maybe you are looking for