Scenario....displaying header data in tables....

Hi experts,
i have a scenerio in which i m displaying the data with header  and  after that in the next line i need the data from another table with a diffrent header the data being related to one of the field  of the above displayed data.I require this to continue for different data...
Let me explain you with an example.....i display the data from sflight with header...which contains carrid,connid,currency,price etc...and now in the next line i require booking details from sbook for the same carrid to be displayed with a header...i want this sequence to be repeated for each carrid in sflight.
i hope i get some help from you people.....
                                                                                thnx and regards......
                                                                                Runali

Hi Runali.
You could achieve this by using a table as TablePopin:
http://help.sap.com/saphelp_erp2005vp/helpdata/en/23/5e9041d3c72e7be10000000a1550b0/frameset.htm
Cheers,
Sascha

Similar Messages

  • How to display Header data

    Hi All,
    How can i display header data in a simple report(its not an ALV report).
    i am planning to use event TOP-OF-PAGE for this.is this correct?
    Can anyone explain me through a piece of code.
    Thanks,
    Rupesh

    Hi,
    Top-of-page is an event which will produce a static header that is even you scroll the list the header will be displayed. But when you not use the top-of-page event You will notget the static header.
    say for example,
    data : itab like mara occurs 0 with header line.
    select * from mara into table itab upto 100 rows.
    loop at itab.
    write : /1 itab-matnr.
    endloop.
    top-of-page.
    write : /1 'header'.
    also use the code,
    data : itab like mara occurs 0 with header line.
    select * from mara into table itab upto 100 rows.
    write : /1 'header'.
    loop at itab.
    write : /1 itab-matnr.
    endloop.
    see the difference in the header.
    Regards,
    Sanki.

  • I want to display static data in table in web dynpro for java

    Hi,
    I have to display static (textview )data in table . So what im doing is that i have created a node of name "table" then created its attribues and binded it to the table and in table, under "column editor" option of "text"  is there where i can write the required text . But Im not able to do the same thing in other rows. i.e. im restricted to only 1st row. How to enter it in other rows. So i want that i should write some content in all the rows of table and display it in text view when i execute it. Its just like u r presenting an excel sheet in output form to the user .
    Thanks

    Hi
    for( int i = 0 ; i <= 5 ; i++) {
    IPrivateTestView.ITableElement element = wdContext.nodeTable().createTableElement();
    element.set<TextViewatrribute>("TEXT");
    wdContext.nodeTable().addElement(element);
      error is on 3rd line of code in "element.set "  .The error is   " invalid expression as statement"
    Thanks

  • Display header for particular table

    Hi,
           I have two tables and two headers in single report. I want to represent each header to each table. But I am not seeing the dataset option in the header show or hide expression properties. The pages of each table varies dynamically
    with the data. So I cannot write expression based on the page number.
    Is there any way to assign particular header to a particular table?
    BALUSUSRIHARSHA

    Hi BALUSUSRIHARSHA,
    In Reporting Services, text boxes are only available as a member of the ReportItems collection in a page header or page footer section on the current page. For example, if ReportItems!textbox_name.Value refers to a text box that only appears on the first
    page for a multipage data region, we cannot see a value on other pages except the first page.
    So in order to work around this issue, we can add two text boxes to the page header: one for the table1 header value, another for table2 header value. Then use the expressions as below to control the visibility of those textboxes:
    =iif(reportitems!Sa.Value is nothing, true,false)
    =iif(reportitems!Sales.Value is nothing, true,false)
    Note the Sa means a textbox name in the table1. The Sales means a textbox name in the table2.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can I display the data in table in separate column?

    I have a vi reading data one by one in the same column.
    How can I display the data with separate column?
    like this:
    data 1 | read | read
    data 2 | read | read
    data 3 | read | read
    (would you mind if I will ask for an example
    because it is much easier for me to work
    with an example)
    THANK YOU.

    If you're reading your data in as a 1D array, this is as simple as using the Reshape Array to make a 2D array. I've attached an example in LabVIEW 6.1 format. The example rearranges a single column of data fill several columns horizontally, but you can easily modify this code to fill the columns downward instead.
    Attachments:
    Data_Column_Example.vi ‏18 KB

  • Regarding PAI event display of data in table control

    Hi all,
    I have a drop down list in my module pool screen and based on my selection the value in not getting captured as i have to display table control data (or item level data ) based on the delivery that is selected from the drop down.
    The first level of items are getting displayed in the table control for the first time but after i select the delivery for the next time no delivery is getting captured in the screen field and so on no items are getting changed in the table control.
    Pls let me know how to capture the delivery number selected from the drop down list box and so on i can write the code for displaying the new set of items in the table control for the new delivery number selected.
    Thankyou for your help.
    Amar.

    Hi All,
    I have solved my problum of getting the values in the drop down list using the function module vrm_set_values.
    Earlier it dint capture the values in the list because i am not aware of the key field its having apart from the text field.
    I have passed some numberic value to the key field earlier and the actual text to be displayed in the TEXT field.
    Anyways i came to know that we need to pass the same field values in both key field and text field only then the values wud be captured. So my problum is solved.
    I have another question on the same now
    My requirement is on selecting a value in the dropdown list the delivery items shud come in the dropdown list which is coming.
    I have another drop down in the item level so i wrote the vrm set values in the item level for one field based on that value the other fields in the table control needs to get data.
    I have provided the drop down item level field also but the problum is let us say we have 3 items and in the table control has 15 items that can be displayed. The dropdown for that field shud come only upto 3 records but it is coming for the entire column as the screen field name is same for the entire column.
    example
    f1   f2  f3 are the fields
    and the table control can accomodate 10 records
    Let us say we have 3 line items
    now the drop down is appearing for all the 15 records for field f2 where it shud appear for only  3 records.
    pls let me know if there any option in such a way that we can restrict upto 3 records.
    Thanks in advance.
    Amar.

  • How to display header data of an input layout

    Hi Experts,
    I have a problem with the two-parted layout. The header information is not displayed in the folder (neither for the input nor for the output layout).
    Some data can be displayed in variables and/or column headings but still I need to show some more important data.
    Does anybody have an idea how to solve this?
    Any hints will be appreciated.
    Thanks,
    Attila

    Hi Alexander,
    Yes, I mean the folder type '1 Folder with Separate Input/Output Areas, Not Web-enabled'. We use the upper layout for data input for several combinations and we sum up the data in the lower output layout.
    In this way the user doesn't have to swith to a query and refresh it every time he wants to know where he is. So I think it makes a lot of sense.
    The thing is, I have only one active button (Check) for the input layout and no buttons at all for the output layout.
    I checked the header settings in BPS0, its OK. I have three unchecked characteristics. But I still don't have the header or the 'Header On/Off' button when I execute the folder.
    I'm affraid this option is not available in our version as Vlad wrote. Which SEM version do you have ?
    Best,
    Attila

  • I do not want to display header of adf table

    Hi
    I have one page with 2 tables - on one af the tables I do not want to display the Header but how do I do that.
    I have tried to put it in the css file
    af|column::column-header-cell
    display:none;}
    but then its both tables who lose the header (I cant figure out how to use an id for column-header-cell.
    I think that maybee you can write something in the inline stye option on each column but nothing seeams to work.
    Anyone who can help me??

    You should mark that answer as Correct and mark question as asnwered :)
    I also suggest you to change your nick in your control panel.

  • How to display system date on table cells

    hi all,
    I would like to display the PC date onto a specified cell on a table. I have attached here my vis. I don't know how to get the date displayed at the table cell On the front panel when I run it. Please help.
    Attachments:
    data.vi ‏32 KB
    getPCdate.vi ‏9 KB

    Hi,
    The table control is simply a 2D array of string. So all you need to do is to pick up the Date from the appropriate .vi and replace the array element (using replace array subset) and write the whole table back again. (Example attached for LV 6.0.x)
    // it takes almost no time to rate an answer
    Attachments:
    Untitled_1.vi ‏13 KB

  • How to display the data at Table level though we don't have authorisations

    Hi Friends,
    While i'm trying to check the entries of a Table, it's ending up by showing status messg. as 'no authorisations to display the contents' !!!
    Even in debuggin mode, i tried by passing AUTH check (by changin subrc value), but went vain as showing same message
    Please help me out, Thanks
    Best Regards,
    Suren
    Moderator message: please do not ask how to circumvent authorization checks, rather apply for the missing roles.
    Edited by: Thomas Zloch on Dec 1, 2010 11:58 AM

    Try function module CALL_TRANSACTION_FROM_TABLE for SE16 transaction code.

  • Displaying Header Data within Group Section

    I am trying to reformat our 1099 forms and am having trouble getting our company address to show up w/in the table that contains each individual employee's information. I can't upload the data since it contains sensitive info but basically I have a group for each employee's info:
    <LIST_G_MAIN_SELECT>
    <G_EMP>
    <NAME>Rob</NAME>
    <SSN>111-11-1111</SSN>
    <EMP_ADDRESS>500 Any Street</EMP_ADDRESS>
    </G_EMP>
    <G_EMP>
    <NAME>Steve</NAME>
    <SSN>111-22-1111</SSN>
    <EMP_ADDRESS>450 Any Street</EMP_ADDRESS>
    </G_EMP>
    </LIST_G_MAIN_SELECT>
    <C_COMPANY_ADDRESS>1000 N 1ST STREET</C_COMPANY_ADDRESS>
    In my template I am using a <?for-each:G_EMP?> and then have the employee info in the table but I also need to put the C_COMPANY_ADDRESS in every table as well. When I point to that field it does not show up. I am assuming it is b/c it is outside the group?
    Thanks in advance!!
    Rob

    Hi Rob,
    put them in variable outside the place where it is accessible and access it inside the loop
    <?variable:var_add;/APXT7F99/C_COMPANY_ADDRESS?> put this before the loop.
    and inside the loop access it as <?$var_add?>
    or
    make the the loop from root ie. absolute path not by relative path
    something like
    <?for-each:/APXT7F99/LIST_G_MAIN_SELECT/G_EMP?
    inside the loop, you can access the addres as <?../../C_COMPANY_ADDRESS?>
    or
    Would be glad to assist you , if i have the xml and template , remove sensitive info and send them :) to my id.

  • Need little help with JPA code and displaying database data into tables

    Hello Everyone,
    I am using java6 and Netbeans 6.1 on Windows XP platform.
    This is probably very simple but have'nt been able to figure it out yet. I am using the Travel Java Databse included in NB6 as a learning tool.
    I have a JComboBox connected to Person Table and want to display a Trip table from using the selected item from theJcombobox. In other words, Trip table shows only the Person selected from the Jcombobox.
    If someone could point me on the right direction how to code JPA code or how to use NB6 GUI to accomplish this.
    Thanks

    The w and wi are just table aliases that make it easier to
    referrence those tables by column when joining multiple tables
    (avoids having to prefix column names with the entire table name,
    etc.) When doing a self-join (joining a table to itself), the use
    of table aliases is
    required, otherwise you would have no other way to tell
    which column belonged to which "instance" of table.
    The query itself is pretty simple. It is just using a
    correlated subquery to select only those instances of
    workstationApps where the count of appID instances in
    workstationAppIndex is less than the amount specified in the
    maxConcurrentInstalls for the same appID.
    Also, I do see what you are doing with #form.searchType#, I
    was just making sure that it was what you really intended to do.
    Phil

  • Display Header data to item level in me21n

    Dear Friends ,
    I have the  requirement that Incoterm field in me21n at header level while creating purchase order needs to get reflected at item level too. Currently it is blank (at item level).
    Is it the development or Customisation?
    Can anybody please explain me how to go abt it?

    If you enter an Incoterm on header level, this is valid for all items that do not explicitly have an Incoterm.
    If you then enter an Incoterm on item level, this overwrites the Incoterm entered on header level.
    So it's not clear why this requirement has come up.
    http://help.sap.com/saphelp_srm50/helpdata/en/0c/b91b3f7f9e3642e10000000a114084/content.htm

  • Display header data only in multiple xl sheets

    hi all,
    my rewuirement is as follows.:
    i need to write a code for template. when i click this template i have to header in different xlsheets. idont have line items.
    plz send me the code.
    thanks,
    maheedhar.t

    arey nani...requirement spelling correct ga ledu ..choodu okasari

  • Sending email  with message body contain data  in table   displayed in one

    Hi,
    I have one jsp page where I am dispalying the table data retrieved fron database.
    Now i am trying to send this table as message body of the mail to the user.I am doing same stuff last from six days but unable to send such data.
    Please help me Sir,as i am newbie here.
    Here is an jsp page.
        Document   : evaluationeventtable
        Created on : Jul 24, 2008, 6:52:37 PM
        Author     : user1
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%@ page language ="java" %>
    <%@ page import="java.sql.*, javax.sql.*, javax.naming.*,java.io.*,java.util.*" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>IGIDR</title>
            <link rel="stylesheet" href="../styles/styles.css" type="text/css">
        </head>
        <body>
             <table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tr>
    <td><%@ include file="/includes/logohead.jsp" %></td>
    </tr>
    <tr><td><%@ include file="/toplinks.jsp"%></td></tr>
    <tr>
    <td width="100%" valign="top">
    <table width="100%" cellspacing="0" cellpadding="0" border="1" borderColor=#000066>
        <tr>
    <td width="80%"> 
        <%  int QNO;
             String message=null;
             //String message1=null;
             //String message2=null;
             String noA,noB,noC,noD;                
            String ID=request.getParameter("id");       
            String EVENTID=request.getParameter("event");       
            Connection connection = null;
            Statement st = null;
            Statement st1 = null;
            Statement st2 = null;
            Statement st3 = null;
            Statement st4 = null;
            Statement st5 = null;
            ResultSet rs= null;
            ResultSet rs1= null;
            ResultSet rs2= null;
            ResultSet rs3= null;
            ResultSet rs4= null;
            ResultSet rs5= null;
            Class.forName("com.mysql.jdbc.Driver");
            Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/mynewdatabase","root", "root123");
                           st=con.createStatement();
                    try  {              
                      rs = st.executeQuery("SELECT * FROM Questionbank where Questionid='"+ID+"'");
                   %>
                <table border="1" cellpadding="2" cellspacing="3" bgcolor="#E6E6FA" align="center"><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>
                 <%  message="<table border=1 cellpadding=2 cellspacing=3 bgcolor=#E6E6FA align=center><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>";%>
                   <%
                  while ( rs.next() )
                            //String NO=rs.getString("Qserialno");
                            //session.setAttribute("no",NO);
                            //String NAME=rs.getString("questionname");
                            //session.setAttribute("name",NAME);                                    
                       %>
                       <tr><td><%=rs.getString("Qserialno") + "." + rs.getString("questionname")%></td>
                       <%
                        message=message+"<tr><td>"+rs.getString("Qserialno") + "." + rs.getString("questionname")+"</td>";
                       st1=con.createStatement(); 
                       try
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='A'");
                         rs1.next();
                         noA=rs1.getString("total");
                         session.setAttribute("NOA",noA);
                          rs1=st1.executeQuery("select count(*)  as total from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='B'");
                       rs1.next();
                         noB=rs1.getString("total");
                         session.setAttribute("NOB",noB);
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='C'");
                        rs1.next();
                         noC=rs1.getString("total");
                         session.setAttribute("NOC",noC);
                          rs1=st1.executeQuery("select count(*) as total  from final where questionid='"+ID+"'and Eventid='"+EVENTID+"'and Qserialno='"+rs.getString("Qserialno")+"'and Answer='D'");
                          rs1.next();
                         noD=rs1.getString("total");                   
                         session.setAttribute("NOD",noD);
                         message=message+"<td>"+noA+"</td><td>"+noB+"</td><td>"+noC+"</td><td>"+noD+"</td></tr></table>";
                         %>                     
                     <td><%=noA%></td><td><%=noB%></td><td><%=noC%></td><td><%=noD%></td></tr>
                   <%        
                         } finally
                               if (rs1 != null)
                                   rs1.close();
                                   rs1 = null;
                               } if (st1 != null)
                                   st1.close();
                                   st1 = null;
                                       finally
                               if (rs != null)
                                   rs.close();
                                   rs = null;
                               if (st != null)
                                   st.close();
                                   st = null;
                                   con.close();
                      %></table>   
                      <table align="center" width="50%" cellspacing="0" cellpadding="0" border="1" borderColor=#D2691E>
                      <form name="sendmail" action="/student/servletmail" method="POST">
                       <tr class="CellColor">
              <td>To</td>
              <td class="CellColor" width="1%">
              </td>
              <td class="CellColor">
                   <input type="text" name="to" size="25" value="">
              </td>
                    <td>From</td>
              <td class="CellColor" width="1%">
              </td>
              <td class="CellColor">
                   <input type="text" name="from" size="25" value="">
              </td>
         </tr>
            <input type="hidden" name="message" value="<%=message%>">
            <tr class="CellColor">
              <td class="CellColor" colspan="9" align="center">
                   <input type="submit" name="tn1" value="Send" >
              </td>
         </tr>   
      </form></table></td></tr></table>
                  </table>
                         </body></html>    And here is an servlet where i am trying to send the mail
    package com.student.igidr.test;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.event.*;
    import javax.mail.internet.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    * @author user1
    public class servletmail extends HttpServlet
            public  void doPost(HttpServletRequest request,HttpServletResponse response)
                                      throws ServletException, IOException
            PrintWriter out=response.getWriter();
            response.setContentType("text/html");
            try
               Properties props=new Properties();
               props.put("mail.smtp.host","webmail.igidr.ac.in");   //  'localhost' for testing
       Session   session1  =  Session.getDefaultInstance(props,null);
               String s1 = request.getParameter("to");
               String s2 = request.getParameter("from");
               //String s3 = request.getParameter("sub");
               String s4 = request.getParameter("message");
              // out.println(s4);
         Message message =new MimeMessage(session1);
         message.setFrom(new InternetAddress(s2));
          message.setRecipients
                 (Message.RecipientType.TO,InternetAddress.parse(s1,false));
              // message.setSubject(s3);
               message.setText(s4);       
              message.setContent(s4,"text/html");
               Transport.send(message);
               out.println("mail has been sent");
            catch(Exception ex)
               System.out.println("ERROR....."+ex);
    }I am using the message variable to send the message also as input variable in servlet.
    Whether it is write Way to represent hole table body into message variable in jsp page.
    Please help me.
    Thanks and Regards
    haresh
    Edited by: HARSHAL_GURAV on Aug 13, 2008 11:15 PM
    Edited by: HARSHAL_GURAV on Aug 13, 2008 11:56 PM

    Hi bshannon ,
    Thanks you very much for your reply.
    I am trying to send html formated mail to the user.
    The message body contains the table that is displayed in above jsp page as:
    <table border="1" cellpadding="2" cellspacing="3" bgcolor="#E6E6FA" align="center"><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>
    <tr><td><%=rs.getString("Qserialno") + "." + rs.getString("questionname")%></td>
    <td><%=noA%></td><td><%=noB%></td><td><%=noC%></td><td><%=noD%></td></tr>In above code I am displaying the data from table i jsp page in table format. The data is related to analysis of particular event and i am trying to send this data as message body of the email.
    As table displayed in html form can you assist me in how to send html data?
    I am using variable message to store all this table data .
    <%  message="<table border=1 cellpadding=2 cellspacing=3 bgcolor=#E6E6FA align=center><tr><th>Questions</th><th>A</th><th>B</th><th>C</th><th>D</th></tr>";%>
    message=message+"<tr><td>"+rs.getString("Qserialno") + "." + rs.getString("questionname")+"</td>";
      message=message+"<td>"+noA+"</td><td>"+noB+"</td><td>"+noC+"</td><td>"+noD+"</td></tr></table>";i am sending this variable through form.At servlet I am retrieving it like:
    String s1 = request.getParameter("to");
               String s2 = request.getParameter("from");
               //String s3 = request.getParameter("sub");
               *String s4 = request.getParameter("message");*Will this possible ?
    Please help meas i am troubling same with last from 7-8 days.
    I had gone through Faqs but unable to collect required information.
    Thanks and Regards
    Haresh
    Edited by: HARSHAL_GURAV on Aug 15, 2008 9:22 PM

Maybe you are looking for

  • Audio Tracks Out of Sync?!

    I opened up one of my projects today and started playback and everything was all over the place, out of sync. the project consists of acoustic guitar, electric guitar and two vocal audio tracks plus a b4 organ track and an ultrabeat drum track. i shu

  • Flex 4.5 What is the use of List verticleLayout rowHeight property ??

    I've just used this as a set up: A List with a skin with datagroup and a VScrollBar in it. On the datagroup verticleLayout I set variableRowHeight to false and rowHeight to 43. I have 8 items in my dataProvider but less can be seen in the list = the

  • Control Transfer of Bills of Product for Preference

    Dear Experts, We are currently setting up the preference processing service for NAFTA (GTS 10.1). One of the steps to be executed in the customizing, is the Preference: Control Transfer of Bills of Material. We are facing the issue the field Rule set

  • Blank Page Printer Warning

    I've been working on a simple one page project this morning where I've had to print a few times and adjust margins.  Suddenly, I'm getting the following warning when I try to print: "The pages selected to print are all blank.  If you want to print bl

  • Regarding SAP on Linux

    Hai Dear Virtuosos, I am Farooq, just joined TULIP IT SERVICES LTD., Delhi as a ABAPer. This company has just implemented SAP & I am the only SAP guy for this company. I have a bit trouble at work as I am alone & no senior or any one else on the same