Table Data Display

Hi Friends,
I am executing an RFC and getting data. I am displaying the data on table  as below shown.  but I do not want to show this way:
Employee     Value
Name1          23
Name1          21
Name1          20
Total          64
Name2          10
Name2          11
Name2           9
Total          30  
Name3          11
Name3          10
Total          21
I would like to show as below , Basically I do not want to display multiple times as it is common Name for that chunck or block , example I have 3 Name1 , i do not want to show three times , I want to show only once for that chunck How would I achieve this, Please help. I am expecting to see the OUTPUT as below:
Employee      Value
Name1          23
               21
               20
Total          64
Name2          10
               11
                9
Total          30  
Name3          11
               10
Total          21

HI Friend,
As i think there is no such standard feature for this. But in our case we have used the following approach.
First you can filter the values and store it in a different node. for this purpose you can use following code
ArrayList uniqueVals = new ArrayList();
       for (Object x : myList)
           if (!uniqueVals.contains(x))
               uniqueVals.add(x);
       for(int i =0;i<uniqueVals.size();i++){
       wdContext.currentContextElement().setValue(uniqueVals.get(i).toString());
After that you can use the table column's grouping value property to avoid the duplicate column values.
You can use table cell variant feature to enhance the appearance.
Hope it will help.
Regards
Jeetendra

Similar Messages

  • Regarding Table data display

    Hi experts,
    I have one ztable having some fields, the end user will not have authorize for (SE11 and SE16) . I want to make program for display that table data. And also want put filter options( Select-options) for all fields, User wants select some fields based on that fields want display all data from that table.  How can i do this?
    Please help me? Any coding?
    Thanks and Regards,
    Linganathan.K
    Moderator message : Not enough re-search  before posting, discussion locked.
    Message was edited by: Vinod Kumar

    Dear Linganathan,
    It is purely based on your requirement.
    1. If the users are strictly restricted for SE11 and SE16 then  table generator would be a probable option
    2. However, when you restrict SE11 and Se16 I do not think so you will give SM30 also...
    3. Are you allow user to maintain/edit the table?
    3. Do you want to provide selection parameter...
    Based on this, probably you should go for a small report program that displays data in the ALV format accepting the input parameters as selection range.
    Regards,
    Venkat

  • SAP R/3 table data display

    Hello All,
    In SAP R/3 in tcode SE11 when I display data for table EKBE, for few currencies amount is different in tabular layout and display mode of individual record. Let me expalin it in detail.
    In table EKBE when I display data for any particular purchase order then following values are displayed in tabular layout.
    DMBTR 100.05
    WRBTR 100.05
    But when I select this record and click on display button(F2 function key)
    DMBTR 100.05
    WRBTR 10005
    When I extract this data in BW I get
    DMBTR 100.05
    WRBTR 100.05
    Can anybody please help me to understand
    which value is correct ?
    why is there a difference in amount in tabular layout and display mode ?
    why only WRBTR is different as both are of CURR datatype and created using same Domain.
    In ME80FN Amount is displayed as 10005 and user is expecting this in BW output, when I checked in R/3 table I found discrepancy. Your help is greatly appreciated.
    Thanks for your help.
    Regards
    Shilpa

    Hi Simon,
    Thanks for your inputs.
    Why the amount is changed in display mode only for WRBTR and not for DMBTR as both are of CURR datatype and created using same domain. I fail to understand any logic behind this.
    I have even created a ABAP report on this table which displys fields DMBTR and WRBTR, and in the report output following values are displayed.
    DMBTR 100.05
    WRBTR 100.05
    If anybody else has come across this before and has any clue please help.
    Thanks and Regards
    Shilpa

  • Multiple table data displayed on 1 form

    Hi,
    i have search the forum for a solution but cannot find anything relevent. please help.
    I am trying to display fields from two tables on 1 form. I have currently an interactive report using a query of 2 tables and this works fine. When i click on a record to view details on the report it shows data from 1 table and not both.
    I have created 2 After Header process 'Automated Row Fetch     Conditional' ; 1 for each table but only 1 seems to work at a time.
    Hope this makes sense.
    Aisha

    Hi Aisha,
    A VIEW is a SQL object that you would need to create through SQL Workshop. You can create it manually in SQL Commands or go to Object Browser and click the Create button then follow the prompts.
    As well as the VIEW you will also need an INSTEAD OF trigger as SQL can not directly update a VIEW's underlying tables.
    Have a look at: Re: How to update view resp. table (search for my post that starts "I've detailed a few INSTEAD OF triggers over time" as this explains what you should do)
    Once you have a VIEW and a TRIGGER created, using the VIEW for a form is exactly the same as if you were using a simple table.
    Andy

  • Table data display hangs app

    When navigating to a table with a lot of data, it appears no screen refresh is being done when I switch to another app and then back to sql developer. I switched to this table like 10 minutes ago and sql developer is still not responding. The app is not taking up any cpu time, fortunately, it's just taking forever to show me some data.
    Perhaps something can be done to refresh the app while it's retrieving data so I don't get a blank sql developer screen when I switch back from another app. Also, I hope this data retrieval hang doesn't prevent me from being able to browse other tabs in the IDE. I'll have to try that one out.

    I added the plugin but am still seeing the problem I described. I can't make it happen when displaying the particular table's data anymore, but it happens when I execute a count on a large table.
    Also, somehow I managed to lose the popup window where you click to apply the query to get the count of rows.

  • R4 EA - Table Data Display bug

    In version 3.2, when opening a table (via the right click menu option from the Connections Navigator), one of the tabs is Data. When clicked on for a large table, the grid displays after a short wait.
    In R4 EA, the same functionality exists, but the user must wait a long time for the "Select * From XXX"  to complete. The limit on number of rows returned seems to be either missing or set very high.

    Hi Steve
    Still no response?
    I am having same issue when querying a table with XMLTYPE.
    How is your XMLTYPE stored in the DB, as a CLOB or as a BINARY XML?
    Regards,
    Shaun

  • Reg: Data getting repeated in the table and displayed in the Smartorm.

    Hello Experts,
    Requirement is to display header data from kna1table and item data from two tables faglflexa and bsid.
    Layout is something like this.
    Name and Address is capture from KNA1.
    Item Details from faglflexa and BSID based on one condition, UMSKZ ne 'X' and 'Y' for the respective KUNNR from KNA1.       First Item table.I have taken a separate internal table from print program
    Item Details from BSID only based on one condition, UMSKZ eq 'X' and 'Y' for the respective KUNNR from KNA1. Second Item table. I have taken a separate internal table from print program
    Calculation based on faglflexa and BSID table on one condition,UMSKZ ne 'X' and 'Y' for the respective KUNNR from KNA1.       Third t Item table. Data from the first internal table
    The complete thing should be displayed on Smartform for one Customer (kunnr). Then should go to the next customer.
    I have a written a code like this, For Example.
    loop at kna1 into w_kna1.
    Used Table1 in smartform and give a loop to display the item details based on first internal table.
    display itemdetails
    Used Table2 in smartform and give a loop to display the item details based on second internal table.
    display itemdetails.
    Used Template to display the item details to display the item details based on first internal table.
    endloop.
    Now my problem is table 1 is coming fine. table 2 data is getting repeated for all the customers based on 1st customer data, how should i clear the workarea after every customer.
    Similar pbm for the template which i'm using.
    Please help me on this.
    Thanks in advance.
    Abdur Rafique

    Hi Vishnu,
    Thanks for replying. I cant use one single table to display the output. There are several conditions in two tables.
    I have corrected the error of repetition data. Logic i will mention it below.
    loop at kna1 into wa_kna1.
    for header data " this is main table
    loop at item_1  into wa_item_1. " for first item table
    Data displayed.
    loop at item_2 into wa_item_2. " for 2nd item table
    Data displayed.
    endloop. " for 2nd item table
    data calculation based on first item table.
    endloop. " this is for first item table
    endloop." this is for 2nd item table.
    The data which is there in the 2nd item table should display data based on the kna1 loop. Data is displaying properly but not in 1 table, say for example.
    kunnr- 1000010
    there are 9 items.
    All the 9 items should be in 1 table. But here it is displaying 1 item in 1 table till 9 items in 9 tables.
    I need to club all the 9 items in 1 table.
    One more doubt is 2 items have same belnr (document number) i need to club this and add the wmbtr field and then display as 1 record.
    So final records in 2nd item table should be 8 not 9.
    Can you please help me on this.
    Thanks in advance.
    Abdur Rafique

  • Unable to display table data in Review View

    Hi Experts,
    I have one main view and one review View .In my main view i have one table (Normal Table) and several other input feilds and text views....
    If i click on review button in my main view, am able to see all the data in review view except table data.
    How can i get the table data which i have entered in main view.. the same should display in review view.
    I binded the same node in both main and review. and node is defined under component controller.
    Any ideas?
    Regards
    Farooq.

    Hi,
    I think you already binded in review view also with same node. right? So data will move automatically and display in
    review view also. In WDDOINIT of review veiw read data from that node and use bind_Table.
    Cheers,
    Kris.

  • How do I retrieve all data from a table and display it on a text area?

    I want to retrieve all the data from one of my MS Access data table and display them all in a text area. how do i go among doing this?
    In my car table i have the fields lined up like this..
    license,color,doors and year_made
    I have an Object class called CAR that will contain methods to set the data from these fields when it gets retrieved.
    here's what i go so far.....
    statement = getDBConnection().createStatement();
         rs = statement.executeQuery("select * from car");
         boolean moreRS = rs.next();
    if(moreRS)
    car.setLicense(rs.getLong(1));
         car.setColor(rs.getString(2));
         car.setDoors(rs.getString(3));
    car.setYearMade(rs.getString(4));
    //but this will only get me one car. How do I get more car data?
    HELP!!

    Vector cars = new Vector();
    while (rs.next()) {
      String license = rs.getLong(1);
      String color = rs.getLong(2);
      String doors = rs.getLong(3);
      String year = rs.getLong(4);
      myTextArea.append(license+"\t"+color+"\t"+doors+"\t"+year+"\n");
      Car car = new Car();
      car.setLicense(license);
      car.setColor(color);
      car.setDoors(doors);
      car.setYearMade(year);
      cars.add(car);
    }t=tab
    n=newline
    Vector: http://java.sun.com/j2se/1.4.1/docs/api/java/util/Vector.html

  • Insert record via data tab of table detail display

    I am using SQL Developer 3.0.04
    When I tries to insert more than 200 rows into a table via data tab of table detail display, it takes more than 8 minutes. It takes more than 19 minutes for 400+ rows. It is slow and it is not so slow in previous version (e.g. 1.5.4)
    Had anyone experienced the same issue and is there any workaround (other than loading data via SQL loader and stop using SQL Developer)?
    [Timer of SQL Developer 3.0| http://i.imgur.com/KVAdI.png]

    I've seen this also sometimes but i rarely load large amount of data using SQLDeveloper anyway.
    Please make sure you have patch1 installed and provide information on the database used.
    You can check if patch1 is installed at the
    Help -> About -> Extensionyou should find a "SQL Developer Patch" entry there.

  • User-Defined Type does not display values in Table Data grid

    I have a User defined Type that is a collection of one character VARCHAR2 values. In the Table Data grid it does not display the character values. I know on all our other Oracle development applications these values display. Is this a bug or is there a snippet to display these values?

    Version: 1.0.0.15
    DB: 10.2.0
    Workstation OS: Windows XP

  • How to display a table data on Screen having a Table control

    Hi ,
    I am new to ABAP.I would like to display a table data (Eg: ZDemo) on a screen at run time.I have defined a Table control in screen. Now I want to populate data from ZDemo to table control.How can I do that?Please help moving forward in this regard.

    Hi Gayatri,
      After creating table control do the following steps.
    1. In the flow logic section write the following code:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0200.
    LOOP AT I_LIKP WITH CONTROL LIKP_DATA CURSOR LIKP_DATA-CURRENT_LINE.
      MODULE ASSIGN_DATA.
    ENDLOOP.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0200.
    LOOP AT I_LIKP.
    ENDLOOP.
    I_LIKP is the internal table which is used to display table data in the table control.
    2. In Process Before Output, in the module STATUS_0200 write the following code:
      DESCRIBE TABLE I_LIKP LINES FILL.
      LIKP_DATA-LINES = FILL.
      In Process After Input, in the module USER_COMMAND_0200 write the following code:
      CASE SY-UCOMM.
       WHEN 'LIPS'.
        READ TABLE I_LIKP WITH KEY MARK = 'X'.
        SELECT VBELN
               POSNR
               WERKS
               LGORT
               FROM LIPS
               INTO TABLE I_LIPS
               WHERE VBELN = I_LIKP-VBELN.
        IF SY-SUBRC = 0.
         CALL SCREEN 200.
        ENDIF.
       WHEN 'BACK'.
        SET SCREEN 200.
      ENDCASE.
    In Process Before Output and in the module ASSIGN_DATA which is there inside the loop write the following code:
    MOVE-CORRESPONDING I_LIKP TO LIKP.
    So, Totally your flow logic code should be like this.
    TABLES: LIKP, LIPS.
    DATA: BEGIN OF I_LIKP OCCURS 0,
           VBELN LIKE LIKP-VBELN,
           ERNAM LIKE LIKP-ERNAM,
           ERZET LIKE LIKP-ERZET,
           ERDAT LIKE LIKP-ERDAT,
           MARK  TYPE C VALUE 'X',
          END OF I_LIKP,
          BEGIN OF I_LIPS OCCURS 0,
           VBELN LIKE LIPS-VBELN,
           POSNR LIKE LIPS-POSNR,
           WERKS LIKE LIPS-WERKS,
           LGORT LIKE LIPS-LGORT,
          END OF I_LIPS,
          FILL TYPE I.
    CONTROLS: LIKP_DATA TYPE TABLEVIEW USING SCREEN 200,
              LIPS_DATA TYPE TABLEVIEW USING SCREEN 300.
    DATA: COLS LIKE LINE OF LIKP_DATA-COLS.
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE USER_COMMAND_0100 INPUT.
    CASE SY-UCOMM.
      WHEN 'LIKP'.
       SELECT VBELN
              ERNAM
              ERZET
              ERDAT
              FROM LIKP
              INTO TABLE I_LIKP
              WHERE VBELN = LIKP-VBELN.
       IF I_LIKP[] IS INITIAL.
         CALL SCREEN 200.
       ENDIF.
      WHEN 'EXIT'.
       LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  assign_data  OUTPUT
          text
    MODULE ASSIGN_DATA OUTPUT.
    MOVE-CORRESPONDING I_LIKP TO LIKP.
    ENDMODULE.                 " assign_data  OUTPUT
    *&      Module  STATUS_0200  OUTPUT
          text
    MODULE STATUS_0200 OUTPUT.
      DESCRIBE TABLE I_LIKP LINES FILL.
      LIKP_DATA-LINES = FILL.
    ENDMODULE.                 " STATUS_0200  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
          text
    MODULE USER_COMMAND_0200 INPUT.
      CASE SY-UCOMM.
       WHEN 'LIPS'.
        READ TABLE I_LIKP WITH KEY MARK = 'X'.
        SELECT VBELN
               POSNR
               WERKS
               LGORT
               FROM LIPS
               INTO TABLE I_LIPS
               WHERE VBELN = I_LIKP-VBELN.
        IF SY-SUBRC = 0.
         CALL SCREEN 200.
        ENDIF.
       WHEN 'BACK'.
        SET SCREEN 200.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    Save and Activate the program along with the screen in which you have included table control.
    Hope this will help you.
    Regards
    Haritha.

  • Accessing a SAP BW table data to display content in Design Studio Application

    Hi,
    I am working on a Design Studio application that contains a link to all the reports for different business users in an organization. The end user should see the links to only those reports he/ she has access to. This access rights are stored in a SAP BW table. I want to pull that data from SAP BW table to my application so that I can implement a layer of security in my application.
    1) What would be a good idea to get SAP BW table data in a design studio application.(This data is not used to populate my application, but will be used to check access rights for a user who is going to open this application).
    2) What will be a good option for deployment of this application ? On SAP Netweaver platform or on SAP BI Platform

    Hi Michael,
    Let me present my issue in a more clear format,
    I have a web template launch page that was created using BW 3.5. This web template has only one web item and that is 'role menu'. This role menu will display all the available list of web templates for each user as per the access rights of each user. Hence this web template was the only door for my end users to access BEx reports.
    While we were migrating to 7.x we found that there were no equivalent item available in 7x  version. As a workaround, I migrated all the queries and web templates from 3.5 to 7x but I didn't migrate the door. I asked my Basis team to replace the connection parameters for the links present in the door.
    So now all my users still use the 3.x web template but when they click on items in the list, they will be accessing reports that are of 7x version.
    Now my IT is planning to upgrade IE and knowing that bex 3.5 tools are not compatible with BW 7.4. This sounds like the role menu won't work at all with 7.4.
    I started exploring Design Studio to search for an alternative for Role Menu component. I created an application using HTML template in Design Studio. Now I am looking for different approaches to implement the same functionality in Design Studio. Can you please provide some inputs on this scenario.

  • Accessing sap tables data and display in webi

    Hi all,
    i installed business objects edge series.
    i want to access SAP tables data and display in webi for adhoc reporting.
    Is there any process to achieve this.

    Hi
    currently (April 2010) you have the following options:
    1. You load your R/3 data into an SAP BW and use universes based on BEx queries to create WebI reports
    2. You can use SAP rapid marts. They contain Data integrator mappings (you need an installation of the DI for this) to extract and load your SAP R/3 data into a relational database. Additionally they provide universes (based on a relational schema) hich ill allo you to build WebI reports.
    3. You can use the R/3 connector for the Data Federator (You need a DF installation for this). Please note that the R/3 connector is not yet a product rather just a PROTOTYPE. Take a look here: SAP BusinessObjects Web Intelligence Reporting for SAP ERP [original link is broken]
    4. You can try to access the underlying database directly using the appropriate DB drivers. Please note that this is NOT RECOMMENDED. This way you cannot leverage security defined on the R/3 side in your WebI reports and you will not be able to access all data as available in R/3 since some of them are stored encoded/compressed in the underlying tables.
    5. Instead of WebI you can use Crystal Reports and the R/3 drivers (eg. SAP Tables, Functions, Cluster) provided when installing the integration kit for SAP.
    Regards,
    Stratos

  • While Creating New Insert Form Existing Data Display from the Table

    Hi
    I am New To Sun Java Studio Creator and New to Java Also While Creating New Insert Form Existing Data Display from the Table while i am Run the Form. Can any one help me to Solve this one

    Dear Giri,
    As per your Advise, Literally I have Search the Properties for the Components to set value Null, but I am Unable to find the Value in Properties palate. I have tried in various options like
    In the Properties Palate
    TextField1_onselect use Value null
    TextField1_text I have selected use Value option and I have manually Keyed-in null;
    In the JSP Page, I have manually keyed in the null value below said
    <ui:textField binding="#{BI.textField2}" id="textField2" style="position: absolute; left: 240px; top: 96px" text="#{BI.bDataProvider.value['ISSUENO'] = null}"/>
    <ui:textField binding="#{BI.textField2.Value = null }" id="textField2" style="position: absolute; left: 240px; top: 96px" text="#{BI.bDataProvider.value['ISSUENO'] = null}"/>
    At last I am Failure. I am ignorant of it. Can you please help me on this where I have to set null value for the components? I will be very kind of you

Maybe you are looking for