Get values out of multidimensional arrayList

I hope somebody can help me. I am writing a java servlet with jsps of a supervisor calendar showing the current month plus 12 months, marking the days that people have scheduled vacation. I have the data loaded into the arrayList, but am having trouble getting it back out to display on the relevant dates of the calendar.
My jsp is successfully calling this ArrayList:
ArrayList empPriorPto = (ArrayList)session.getAttribute("empPriorPto");
which gives me these values (they will of course change sizes in real life):
empPriorPto=[[PtoDay: empId = 50514, ptoDate = 2010-6-12, ptoType = P, ptoLength = 1.0]]
empPriorPto=[[]]
empPriorPto=[[PtoDay: empId = 197, ptoDate = 2010-7-23, ptoType = P, ptoLength = 1.0]]I need to put this in a loop of months such as (condensed here, but I think you can get the idea):
for (int days=1; days <= daysInMonth; days++) {
if(empPriorPto != null) {
   for(int i=0; i < empAndrewIdList.size(); i++){
     ArrayList empPriorPto = new ArrayList();
     empPriorPto.add(ptoDAO.findPtoFromToday((String) empAndrewIdList.get(i)));
     session.setAttribute("empPriorPto", empPriorPto);
    for(int k = 0; k < empPriorPto.size(); k++ ){
       ArrayList p =(ArrayList)empPriorPto.get(k);
       System.out.println("p="+p.get(k).toString());      
     } // close i < empPriorPto.size()
  } //close if != null   p.get(k).toString() gives me this:
p=PtoDay: empId = 50514, ptoDate = 2010-6-13, ptoType = P, ptoLength = 1.0which doesn't help. I need something like empPriorPto.ptoDays.getPtoDate().compareTo, but can't find anything..
I have searched for alternatives, but the best answer I found uses a newer jdk than I have, I believe I have 1.4 and when I tried it I got an error that says I need 1.5.
Sorry for being so stupid. Any help would be appreciated.

This is what I have now, which is working, but only for the first person in the array. It is giving me all their vacation, but not moving on to the next person. Sorry for the formatting, it's difficult to get them lined up.:
  for (int days=1; days <= daysInMonth; days++) {
     if(empPriorPto != null) {
        for(int k = 0; k < empPriorPto.size(); k++ ){
           ArrayList p =(ArrayList)empPriorPto.get(k);
           if(pointer < p.size() ){
              PtoDay ptoDays = (PtoDay)p.get(pointer);
              if(ptoDays.getPtoDate().compareTo(showCal.get(Calendar.YEAR)+"-"+showCal.get(Calendar.MONTH)+"-"+showCal.get(Calendar.DATE))==0){ %>
       <th class=calendar><%=days%>NEED EMPLOYEE NAME HERE
     <%  pointer++;
              }else { %>
       <th class=calendar><%=days%>
     <%  }
      }else { %>
        <th class=calendar><%=days%>
<% }
  } // close k < empPriorPto.size()
} else { %>
    <th class=calendar><%=days%>
<% } %>

Similar Messages

  • How to get long out of an ArrayList?

    I have
    long num = 1234;
    ArrayList alist = new ArrayList();
    alist.add("name");
    alist.add(num);
    How do I get num out from the alist?
    I tried long num1 = alist.get(1);
    but it doesn't work.

    798642 wrote:
    Well, I am used to using mixed list from C#.Language doesn't matter. It's bad design when doing OO.
    Anyway, I am just want lump some data in a list.Why? If that data goes together to mean something, like a name and a birthdate, then you should define a class that has those values as member variables. That's half of what objects are for, after all.
    So that groups of data can be retrieved easily. Like maybe info1 of object A is in index 0. info2 of object A is in index 1, info3 of object A is in index 2.Yeah, bad idea. Define a class.
    But there seem to be a problem with converting the object type back to their original types in Java.Since you still haven't told us any details about what that problem is, there's not much we can do. You also don't seem to have followed my suggestion from my previous post, or, if you did, you didn't show that code and didn't state clearly and precisely what "doesn't work" about it.

  • How to get values out of spreadsheet and insert them to formula?

    So, how do i open a spreadsheet which contains two columns and several rows of data and insert those values in to a formula? To be accurate A1 shell should be input 1 (X1), shell A2 input 2 (X2), shell B1 input 3 (X3) and shell B2 input 4 (X4). After calculation it should continue to the next row and take values out of A2,A3,B2 and B3 and so on, to the end of data. I´m using Labview 7.

    Sorry, I missed the overlapping portion of the pattern.
    This one goes as follows:
    First round: A1=x1, b1=x2, a2=x3, B2=x4
    Second Round: a2=x1, B2=x2, a3=x3, b3=x4
    Oh, and I'm using Excell conventions, so A=column1, 1=Row1, B=column2, 2=Row2
    Cheers,
    J5
    2006 Ultimate LabVIEW G-eek.
    Attachments:
    Formula.vi ‏33 KB

  • Display the value out of the arraylist

    hi all,
    I have object arraylist like    while (rs.next()) {
                    Map <String, String> al = new HashMap<String, String>();
                     al.put("FeeType",rs.getString("FeeType") );
                     al.put("ProcessStatus", rs.getString("ProcessStatus"));
                     al.put("UpdateId", rs.getString("UpdateId"));
                     al.put("Year", rs.getString("Year"));
                     al.put("Curriculumlist",rs.getString("Curriculumlist"));
                     al.put("subTotal",rs.getString("subTotal"));
                      paymentRecords.add(al);
                    }I past the arrarylist paymentRecords out and want to display it
    paymentRecords=autoReport();
    if(paymentRecords.size()>0) {
    for(i=0; i<paymentRecords.size();i++){
    FeeType=paymentRecords.get(i).get ??
    I just want to know what should I put after my second get ??
    Thank you

    Ahhh - the old List of Maps instead of objects routine.
    Still polluting codebases everywhere.
    How about this?
    FeeType=paymentRecords.get(i).get("FeeType") Of course your list has to be List<Map> in order for it not to throw a compile error.
    If you're going to do somethign like this, why not just create a PaymentRecord java bean with the right properties?

  • How to get values out of a file

    I need to read a file with 2 columns of numbers, I use the buffered reader to read each line, but I want to store the values of the numbers into two variables, How can I do this?? Thanks

    try this ...
    String line = buf.readLine();
    StringTokenizer st = new StringTokenizer(line);
    int num1 = Integer.parseInt(st.nextToken().trim());
    int num2 = Integer.parseInt(st.nextToken().trim());
    System.out.println("num1 : " + num1 + " num2 : " + num2);
    Hope there are always two columns and both or numbers. If the above code doesn't suits your requirement. Let me know, I will post a sample code for your request.
    Thanks.

  • How to get record which store in arraylist?

    Hi all ,
    I want to get the out put from arraylist, but just don't how to deal with it.
    method 1
    List data = new ArrayList();
                String[] checked = request.getParameterValues("mybox");
                   for(int i=0; i<checked.length;i++){
                  String select=checked;
    String Sql=" select NewNum, Name, Length, Segment, Sequence";
    Sql+=" from Sec04";
    Sql+=" where NewNum=?";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec00";
    Sql+=" where NewNum=?";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec03";
    Sql+=" where NewNum=?";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec02";
    Sql+=" where NewNum=?";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec01";
    Sql+=" where NewNum=?";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec05";
    Sql+=" where NewNum=?";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Secold";
    Sql+=" where NewNum=?";
    //clear any values from request object
    ps.clearParameters();
    // set paramenter from request object
    ps.setString(1, select);
    rs = ps.executeQuery (Sql);
    MyDataBean mydata = new MyDataBean();
    while(rs.next()) {              
    mydata.setName(rs.getString("Name"));
    mydata.setSegment(rs.getString("Segment"));
    mydata.setSequence(rs.getString("sequence"));
    data.add(mydata);
    }//end for
    for(int j=0; j<data.size();j++)
    data.get(j);
    System.out.println(">");
    System.out.println(mydata.getName());
    System.out.println(mydata.getSegment());
    System.out.println(mydata.getSequence());
      List    nameList = new ArrayList();
                List   sequencList =new ArrayList();
                String[] checked = request.getParameterValues("mybox");
                   for(int i=0; i<checked.length;i++){
                  String select=checked;
    String Sql=" select NewNum, Name, Length, Segment, Sequence";
    Sql+=" from Sec04";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec00";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec03";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec02";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec01";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Sec05";
    Sql+=" where NewNum='"+select+"'";
    Sql+=" union";
    Sql+=" select NewNum, Name, Segment, Sequence";
    Sql+=" from Secold";
    Sql+=" where NewNum='"+select+"'";
    rs = ps.executeQuery (Sql);
    int rowCount=0;
    while(rs.next()) {              
    nameList.add(rs.getString("Name"));
    sequenceList.add(rs.getString("Segment"));
    rowCount++;
    for(int j=0; j<rowCount; j++){
    nameList.get(j);
    sequenceList.get(j);
    out.println(">");
    any hit?
    Thank you

    Hi munyul,
    still get empty display. I post all my code, how can find what is wrong.
    I still not sure, want the select is a group of value, how to deal with search, I put then in loop , but still fell not sure, I did some basic search, did not got the result yet.
    my bean
    public class MyDataBean implements java.io.Serializable {
        private String name;       
        private String sequence;
    /* Constructor*/
      public MyDataBean() {
             name =null;
           sequence=null;
      public String getName() {
        return name;
      public void setName(String name) {
         this.name = name;
    public String getSequence() {
        return sequence;
      public void setSequence(String sequence) {
         this.sequence = sequence;
    import java.util.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import javax.sql.*;
    import Sec.MyDataBean;
    * TryJdbc.java
    * This servlet demonstrates using JDBC
    public class Formate1 extends HttpServlet {
        ResultSet rs = null;
        PreparedStatement ps = null;
        Connection conn =null;
    OutputStream outStream = null;
       * We want to initialized the JDBC connections here
        public void init()
            try{
            Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
            catch( Exception e )
                e.printStackTrace();
    public void doGet(
        HttpServletRequest request,
        HttpServletResponse response)
        throws IOException, ServletException {  
           }// end of DoGet
       * This responds to an HTTP GET request.
        public void doPost(
        HttpServletRequest request,
        HttpServletResponse response)
        throws IOException, ServletException {
            response.setContentType("text/html");
           PrintWriter out = response.getWriter();  
            try {
            conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433","A#$","RE@89");
            conn.setCatalog("sequences");  
            List data = new ArrayList();
                String[] checked = request.getParameterValues("mybox");
                   for(int i=0; i<checked.length;i++){
                  String select=checked;
    ps=conn.prepareStatement(" select NewNum, Name, Length, Segment, Sequence" +
    " from Sec04" +
    " where NewNum= ?" +
    " union" +
    " select NewNum, Name, Segment, Sequence" +
    " from Sec00" +
    " where NewNum= ?" +
    " union" +
    " select NewNum, Name, Segment, Sequence" +
    " from Sec03" +
    " where NewNum= ?" +
    " union" +
    " select NewNum, Name, Segment, Sequence" +
    " from Sec02" +
    " where NewNum= ?"+
    " union" +
    " select NewNum, Name, Segment, Sequence" +
    " from Sec01" +
    " where NewNum= ?" +
    " union" +
    " select NewNum, Name, Segment, Sequence" +
    " from Sec05" +
    " where NewNum= ?" +
    " union" +
    " select NewNum, Name, Segment, Sequence" +
    " from Secold" +
    " where NewNum= ? " );
    //clear any values from request object
    ps.clearParameters();
    // set paramenter from request object
    ps.setString(1, select);
    rs = ps.executeQuery ();
    while(rs.next()) { 
    MyDataBean mydata = new MyDataBean();
    mydata.setName(rs.getString("Name"));
    mydata.setSequence(rs.getString("sequence"));
    data.add(mydata);
    }//end for
    MyDataBean mdb;
    for ( int j = 0; j < data.size(); j++ )
    mdb = (MyDataBean)data.get(j);
    System.out.print("> ");
    System.out.print(mdb.getName());
    System.out.print(", ");
    System.out.print(mdb.getSequence());
    System.out.println();
    }catch(SQLException e) {
    finally {
    try {
    if(rs != null)
    rs.close();
    rs = null;
    if (ps != null)
    ps.close();
    ps = null;
    if(conn != null)
    conn.close();
    conn = null;
    catch (SQLException e) {}
    public String getServletInfo()
    return "A Simple Servlet";

  • Getting values from a stored procedure with no parameters

    Hi,
    I'm trying to get values out of a stored procedure that I created on SQL server. I'm trying to get XML values out of the database, but I'm not sure how to get any data out of it written to a file if the procedure doesn't have any parameters.
    So I'm just making a call:
    CallableStatement cs = conn.prepareCall("{call myproc}");
    cs.execute();How do I get values back from this stage?
    Thank you very much,
    Lior

    The short form answer, which assumes that the stored procedure is returning the XML as an out parameter would go something like this.
         public void build(String newUserID, String newPassword) throws SQLException {
              String sql = "{ call GET_ITEM_DETAIL(?, ?, ?, ?, ?, ?) }" ;
              try{
                   init(newUserID, newPassword) ;
                   setCallableStatement(getConnection().prepareCall(sql)) ;
                   getCallableStatement().setInt(1, getItemNumber()) ;
                   getCallableStatement().registerOutParameter(2, oracle.jdbc.driver.OracleTypes.CURSOR) ;
                   getCallableStatement().registerOutParameter(3, oracle.jdbc.driver.OracleTypes.INTEGER) ;
                   getCallableStatement().registerOutParameter(4, oracle.jdbc.driver.OracleTypes.VARCHAR);
                   getCallableStatement().registerOutParameter(5, oracle.jdbc.driver.OracleTypes.VARCHAR) ;
                   getCallableStatement().registerOutParameter(6, oracle.jdbc.driver.OracleTypes.VARCHAR) ;
                   getCallableStatement().execute() ;
                   setSqlResult(getCallableStatement().getInt(3)) ;
                   setSqlMessage(getCallableStatement().getString(4)) ;
                   if( getSqlResult() != 0 ){
                        throw new SQLException(getSqlMessage(), null, getSqlResult()) ;
                   setResultSet((java.sql.ResultSet) getCallableStatement().getObject(2)) ;
                   if( getResultSet() != null ){
                        while( getResultSet().next() ){
                             setItemType(getResultSet().getString("ITEM_TYPE")) ;
                             setItemValue(getResultSet().getString("ITEM_VAL")) ;
                             setDisplayType(getCallableStatement().getString(5)) ;
                             setDisplaySize(Integer.parseInt(getCallableStatement().getString(6))) ;
              catch(SQLException e){
                   java.util.Date now = new java.util.Date() ;
                   java.text.DateFormat format = java.text.DateFormat.getInstance() ;
                   setSqlMessage( e.getClass().getName() + " : " + format.format(now) + " : " + e.getMessage() + " : IN " + getClass().getName() ) ;
                   System.err.println(getSqlMessage()) ;
                   throw e ;
              finally{
                   closeResources() ;
         }The GET_ITEM_DETAIL stored procedure returns several out parameters of various types. The code registers them as out parameters along with an anticipated type and then calls the getXXX(n) method that corresponds with that data type in the appropriate position.
    As I mentioned in my other post, the onus of returning the XML is on the stored procedure, when you get it into Java it's going to be a java.lang.String that you can then parse by whatever means is appropriate to your situation.
    Regards,

  • ADF Mobile - selectManyCheckbox - Issue to get value

    Hi,
              I have a simple amx page with selectManyCheckbox as below, I want to get value (first / second) inside Test Bean. But not getting the value as expected
    <amx:selectManyCheckbox label="label1" id="smc1" valueChangeListener="#{TestBean.getCheckBoxValue}" value="#{pageFlowScope.pValue}">
    <amx:selectItem label="Check Box 1" value="first"/>
    <amx:selectItem label="Check Box 2" value="second"/>
    </amx:selectManyCheckbox>
              getCheckBoxValue inside TestBean is as below.
    public void getCheckBoxValue(ValueChangeEvent valueChangeEvent) {
    try {
    System.out.println(" vaule is " + valueChangeEvent.getNewValue().toString());
    System.out.println(" vaule is " + valueChangeEvent.getOldValue().toString());
    String selectedValuesAsString  = "";
    ValueExpression ve;
    ve = (ValueExpression)AdfmfJavaUtilities.getValueExpression("#{pageFlowScope.pValue}",String.class);              
    System.out.println(" 1 "+ve);
    System.out.println(" 1 "+(ve.getValue(AdfmfJavaUtilities.getAdfELContext()).getClass().getName()));
    String attrBinding = (String)ve.getValue(AdfmfJavaUtilities.getAdfELContext());
    System.out.println(" 2 "+attrBinding.toString());
    } catch (Exception e) {
    // TODO: Add catch code
    e.printStackTrace();
    All the places : i am getting the value as object , Here is the console output
    06-19 07:58:31.506: D/CVM(1419):  vaule is [Ljava.lang.Object;@fa17c0
    06-19 07:58:31.506: D/CVM(1419):  vaule is [Ljava.lang.Object;@992d6a59
    06-19 07:58:31.516: D/CVM(1419):  1 TreeValueExpression(#{pageFlowScope.pValue})
    06-19 07:58:31.516: D/CVM(1419):  1 java.lang.String
    06-19 07:58:31.526: D/CVM(1419):  2 [Ljava.lang.Object;@aea1046e
    Could you please let me know How to get value back inside bean using  ValueChangeEvent.
    Thanks in advance.
    Ajoy Sinha

    Here is the answer ..
                                    valueChangeEvent.getNewValue() will return array of Object , i.e Object[]. Now one should loop through the Object and retrieve each object to get value out of it.
    Object[] value = (Object[])valueChangeEvent.getNewValue();
    for (int count = 0; count < value.length; count++) {
    Object checkedBox = value[count];
    String checkBoxValue = checkedBox.toString();
    System.out.println(" Check Box Value " + checkBoxValue);

  • Get objects out of Arraylist

    Hi I have this code, below, The set methods in the class Website work just fine to get the data into the arraylist, but i just can't figure out the get methods to get the objects back out to compare. Could someone please help. i'm almost finished with this thing!!
    Iterator itr1 = Websites1.iterator();
    Iterator itr2 = Websites2.iterator();
    outer: while (itr1.hasNext()) {
    while (itr2.hasNext()) {
    //Object site1 = new Object ();
    //Object site2 = new Object ();
    Object site1 = (Website)itr1.next();
    content1 = site1.getCon();
    date1 = site1.getMod();
    Object site2 = (Website)itr2.next();
    content2 = site2.getCon();
    date2 = site2.getMod();
    if (date1 != date2 ) {
    if (content1 != content2)
    alert.play();
    //do other stuff//
    else;
    else;
    continue outer;
    class Website {
    public String WebsiteName, WebsiteContent, Content;
    public Date LastModified, Modified;
    public Website() {
    WebsiteName = "";
    WebsiteContent = "";
    LastModified = null;
    public Website (String Name, String Content, Date Modified) {
    WebsiteName = Name;
    WebsiteContent = Content;
    LastModified = Modified;
    public void setName(String Name) {
    WebsiteName = Name;
    public void setContent(String Content) {
    WebsiteContent = Content;
    public void setModified(Date Modified) {
    LastModified = Modified;
    public String getCon() {
    Content = WebsiteContent;
    public Date getMod() {
    Modified = LastModified;

    I think that worked (duh i should have noticed it earlier), but now i'm getting a real weird error when i try to compile on my custom get methods
    missing return statement
    public String getCon() {//(points to this)
    and the same thing on the public Date getMod() method
    any ideas?
    I'm lost now i've never seen that before

  • How to get the attribute values out?

    Hi everyone,
    <root>
    <category name="Mens Clothing" id="0">
    <subcategory>Active/Baselayer Tops</subcategory>
    <subcategory>Active/Baselayer
    Bottoms</subcategory>
    </category>
    <category name="Womens Clothing" id="1">
    <subcategory>aaa</subcategory>
    <subcategory>bbb</subcategory>
    </category>
    </root>
    How to get the attribute values out? For example "Mens
    Clothing" and "Womens Clothing".
    // the line below returns "Active/Baselayer Tops" and
    "Active/Baselayer Bottoms"
    var myXml:XML = new XML(event.result);
    Thanks,
    May

    Here is attribute identifier operator from FB Help:
    @ attribute identifier Operator
    Usage myXML.@attributeName
    Identifies attributes of an XML or XMLList object. For
    example, myXML.@id identifies attributes named id for the myXML XML
    object. You can also use the following syntax to access attributes:
    myXML.attribute("id"), myXML["@id"], and myXML.@["id"]. The syntax
    myXML.@id is recommended. To return an XMLList object of all
    attribute names, use @*. To return an attribute with a name that
    matches an ActionScript reserved word, use the attribute() method
    instead of the @ operator.
    Operands attributeName:* — The name of the attribute.
    Example
    How to use examples
    The first example shows how to use the @ (at sign) operator
    to identify an attribute of an element:
    var myXML:XML =
    <item id = "42">
    <catalogName>Presta tube</catalogName>
    <price>3.99</price>
    </item>;
    trace(myXML.@id); // 42The next example returns all attribute
    names:
    var xml:XML =<example id='123' color='blue'/>
    var xml2:XMLList = xml.@*;
    trace(xml2 is XMLList); // true
    trace(xml2.length()); // 2
    for (var i:int = 0; i < xml2.length(); i++)
    trace(typeof(xml2
    )); // xml
    trace(xml2.nodeKind()); // attribute
    trace(xml2
    .name()); // id and color
    } The next example returns an attribute with a name that
    matches a reserved word in ActionScript. You cannot use the syntax
    xml.@class (since class is a reserved word in ActionScript). You
    need to use the syntax xml.attribute("class"):
    var xml:XML = <example class='123'/>
    trace(xml.attribute("class"));

  • What do I do if I get "Running out of Application Memory" when no applications are open except finder and just copying pictures to Seagate?

    I cannot copy pictures to a Seagate as I get the out of memory notice with the only option to restart finder,repeatedly.  I looked at older discussions and did not see a definitive fix, but many posted this, so I will as well:
    Many discussions were too advanced for me.  I have OS X 10.9.3
    EtreCheck version: 1.9.12 (48)
    Report generated July 23, 2014 at 11:57:23 AM EDT
    Hardware Information:
      MacBook Pro (13-inch, Mid 2010) (Verified)
      MacBook Pro - model: MacBookPro7,1
      1 2.66 GHz Intel Core 2 Duo CPU: 2 cores
      8 GB RAM
    Video Information:
      NVIDIA GeForce 320M - VRAM: 256 MB
      Color LCD 1280 x 800
    System Software:
      OS X 10.9.3 (13D65) - Uptime: 0 days 0:23:21
    Disk Information:
      APPLE SSD TS512B disk0 : (500.28 GB)
      EFI (disk0s1) <not mounted>: 209.7 MB
      Mac (disk0s2) / [Startup]: 399 GB (99.03 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      BOOTCAMP (disk0s4) /Volumes/BOOTCAMP: 100.42 GB (70.82 GB free)
      MATSHITADVD-R   UJ-898
    USB Information:
      Apple Inc. Built-in iSight
      Apple Internal Memory Card Reader
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
      Apple Inc. Apple Internal Keyboard / Trackpad
    Gatekeeper:
      Mac App Store and identified developers
    Kernel Extensions:
      [not loaded] com.Belcarra.iokit.USBLAN_netpart (2.0.2) Support
      [not loaded] com.Belcarra.iokit.USBLAN_usbpart (2.0.2) Support
      [not loaded] com.RemoteControl.USBLAN.panther (1.6.1) Support
      [not loaded] com.RemoteControl.USBLAN.usbpart (2.0.6) Support
      [not loaded] com.belcarra.iokit.netpart.panther (1.6.1) Support
      [not loaded] com.belcarra.iokit.usbpart.panther (1.6.1) Support
      [loaded] com.logmein.driver.LogMeInSoundDriver (1.0.3 - SDK 10.5) Support
      [not loaded] com.seagate.driver.PowSecDriverCore (5.2.6 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.6 - SDK 10.4) Support
      [not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.6 - SDK 10.5) Support
      [not loaded] com.seagate.driver.SeagateDriveIcons (5.2.6 - SDK 10.4) Support
      [loaded] com.squirrels.airparrot.framebuffer (3 - SDK 10.7) Support
      [loaded] com.squirrels.driver.AirParrotSpeakers (1.7 - SDK 10.7) Support
    Problem System Launch Daemons:
      [running] com.seagate.TBDecorator.plist Support
    Launch Daemons:
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.adobe.SwitchBoard.plist Support
      [running] com.fitbit.galileod.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [not loaded] com.logmein.logmeinblanker.plist Support
      [running] com.logmein.logmeinserver.plist Support
      [loaded] com.logmein.raupdate.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [running] com.wyse.PocketCloud.plist Support
    Launch Agents:
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [failed] com.logmein.LMILaunchAgentFixer.plist Support
      [running] com.logmein.logmeingui.plist Support
      [running] com.logmein.logmeinguiagent.plist Support
      [not loaded] com.logmein.logmeinguiagentatlogin.plist Support
      [running] com.wyse.MacCompanion.plist Support
    User Launch Agents:
      [loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.ARM.[...].plist Support
      [running] com.google.Chrome.framework.plist Support
    User Login Items:
      Dropbox
    Internet Plug-ins:
      LogitechHarmony: Version: 1.0.0.1 Support
      LogMeInSafari64: Version: 1.0.660 Support
      Default Browser: Version: 537 - SDK 10.9
      AdobeExManDetect: Version: AdobeExManDetect 1.1.0.0 - SDK 10.7 Support
      Flip4Mac WMV Plugin: Version: 2.3.6.5 Support
      AdobePDFViewerNPAPI: Version: 10.1.10 Support
      FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support
      LogMeIn: Version: 1.0.660 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 14.0.0.145 - SDK 10.6 Support
      iPhotoPhotocast: Version: 7.0 - SDK 10.8
      LogMeInSafari32: Version: 1.0.660 Support
      QuickTime Plugin: Version: 7.7.3
      AdobePDFViewer: Version: 10.1.10 Support
      CANONiMAGEGATEWAYDL: Version: 3.1.0.2 Support
      SharePointBrowserPlugin: Version: 14.1.4 - SDK 10.6 Support
      JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Audio Plug-ins:
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes:
      Flash Player  Support
      Flip4Mac WMV  Support
      Paragon NTFS for Mac ® OS X  Support
    Time Machine:
      Skip System Files: NO
      Mobile backups: ON
      Auto backup: YES
      Volumes being backed up:
      Mac: Disk size: 371.60 GB Disk used: 279.37 GB
      Destinations:
      Untitled [Local]
      Total size: 931.19 GB
      Total number of backups: 30
      Oldest backup: 2012-05-18 05:12:38 +0000
      Last backup: 2014-07-14 18:51:50 +0000
      Size of backup disk: Adequate
      Backup size 931.19 GB > (Disk used 279.37 GB X 3)
      Time Machine Backups [Local]
      Total size: 2
      Total number of backups: 26
      Oldest backup: 2010-11-21 17:58:03 +0000
      Last backup: 2014-07-14 19:53:01 +0000
      Size of backup disk: Excellent
      Backup size 2  > (Disk size 371.60 GB X 3)
      Backups.backupdb [Network] (Last used)
      Total size: 930.87 GB
      Total number of backups: 32
      Oldest backup: 2013-11-19 00:45:22 +0000
      Last backup: 2014-07-15 15:36:23 +0000
      Size of backup disk: Adequate
      Backup size 930.87 GB > (Disk used 279.37 GB X 3)
      Time Machine details may not be accurate.
      All volumes being backed up may not be listed.
    Top Processes by CPU:
          5% WindowServer
          0% fontd
          0% LogMeIn
          0% configd
          0% aosnotifyd
    Top Processes by Memory:
      115 MB mds_stores
      98 MB Google Chrome
      82 MB Finder
      74 MB Dropbox
      49 MB WindowServer
    Virtual Memory Information:
      4.65 GB Free RAM
      1.43 GB Active RAM
      1.00 GB Inactive RAM
      675 MB Wired RAM
      999 MB Page-ins
      0 B Page-outs

    Your problem is excessive swapping of data between physical memory and virtual memory.
    That can happen for two reasons:
    (1) You have a long-running process with a memory leak (i.e., a bug), or
    (2) You don't have enough memory installed for your usage pattern.
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination. In Activity Monitor, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the Real Mem column in the process table once or twice to sort the table with the highest value at the top. Repeat with the Virtual Mem column. If one process (not including "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more memory over time without ever releasing it.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.

  • Can you get values back from a stored procedure via OUTPUT parameters?

    Can you get values back from calling a stored procedure via OUTPUT parameters/variables? I call the SP via a SQL statement from a script either in a WF or DF.
    I thought I read some reference that DI could not get the values from OUTPUT parameters but I could not find it again (don't know if it is in any of the documentation or referred to in a forum.
    I did try a couple of tests but it did not reutrn any values via OUTPUT. But before I give up I thought I'd see if you could and maybe I needed to change something.

    This isn't exactly an answer to your question, but I'll point out that, given that you're resorting to a SQL script in the first place, there's no reason you can't also turn the output parameters into a regular result or record set. (The following uses T-SQL, although I think it's pretty generic.)
    declare @param1 int, param2 varchar(100), @return int;
    exec @return = proc @param1 = @param1 output, @param2 = @param2 output;
    select @param1 as param1, @param2 as param2;
    That is, to get from output parameters to a "regular" output from the SQL script isn't much of a leap...
    Jeff Prenevost
    BI Consultant
    Ann Arbor, MI

  • Getting values from a running window

    has anyone ever used a program that could retrieve values from an opened window? I have this poker calculator program that can get values from an open poker window. It has a list of about 50 different types of windows (exes, iexplorer, different sites etc.).
    Is there any simple way in java of doing something like this?

    its not done by a screenshot, because you just give
    it the window's title. It works even if its
    minimized.At least in Windows, if you have the window's title then you can get a link to the application and you can find out all sorts of information about it. So your conclusion that screenshots aren't involved isn't correct. They may or may not be involved. But this access is done by a native Windows API and Java doesn't support that.

  • Getting values from dynamic items

    I've created some items on my page using APEX_ITEM. This is a really cool feature, it allows extreme flexibility. My problem is, I can not get the value out of the textbox I've created.
    It doesn't appear in session state at all. I thought this wasn't going to happen though.
    I've tried a computation to get the value into a hidden item. These items appear null upon submittal.
    I came across APEX_APPLICATION.G_F01 - but this isn't working for me either... It appears to be used to access an array and I must not be using it correctly.
    Anyone got any pointers on how to get the information out??

    Here is the formatted code (put pre and */pre* before and after blocks, replacing asterisks with matched square brackets):
      v_item_desc varchar2(4000);
      v_counter number;
      cursor v_item_cursor is
        {select statement}
    begin
      v_counter := 1;
      htp.p('< table>');
      for aRow in v_item_cursor
      loop
        select X
          into v_item_desc
          from Y
          where Z = v_counter;
        htp.p(
          '< tr>< td>< span style="line-height:25px;font-size:15px">'|| apex_item.display_and_save(v_counter, null, null, null)||v_item_desc||'< /span>< /td>');
        htp.p(
          '< td>'||apex_item.text(v_counter, null, 30, 4000, null, 'P6_SUM_SELECT_'||v_counter)|| '< /td>< /tr>');
        v_counter := v_counter + 1;
      end loop;
      htp.p('< /table>');
    end;In your after-submit process, loop over apex_application.g_f01 from 1..apex_application.g_f01.count for the array created when you used v_counter=1, etc.
    Scott

  • Spec for this report not able to get values in the output

    okSection 1: Document information
    Title     PP – Total Component Requirement by Sales Forecast Report     Create Date     5/2/2006
    Author     Ivie Ng     Revision     1.0     Last changed on     
    Program type     ( X ) Report    (   ) Form        (   ) Batch input    (   ) Dialog program
    Priority     (   ) High       ( X ) Medium    (   ) Low
    Frequency      (   ) As require     (X ) Daily     (  ) Weekly       (  ) Monthly         (  ) Yearly
    (   ) Conversion
    Doc-Ref.     
    Section 2: Contact Person
    Task/Responsibility     Name     Signature     Date
    JM Project Manager     Sean Gilgunn          
    ISS Project Manager     YB Cisse          
    JM-Business Team Lead     Sathe          
    Functional Consultant      Ivie          
    ABAP Consultant     Soh          
    User Acceptance Test / Approved by                
    Transport               
    Section 3: Functional Description
    Background (whatever; Ex.Why does this program have to develop?)
    This is to allow materials dept to view and analyze total component requirement base on sales forecast ie. budget forecast, inactive version within specific planning horizon.
    Requirements
    In SOP, material dept will maintain planning data (sales & production plan) in various version.
    1. Active version: A00
    This version is transferred to demand mgmt as active version. MRP will use this planning data to create order proposals (planned orders, purchase requisitions).
    2. Inactive version: 001 – 999
    There are 3 types of inactive version in SOP:
    a) Sales forecast – 000 – 799
    b) Budge forecast – 800 – 820
    c) Forecast report – 821 – 999
    This report should allow to read any version of the sales forecast and return the total component requirements in the planning horizon that specify.
    Section 3.1: Selection screen
    Field name     Technical name     Type of selection field
         (*Please specify Transparent Table and field name)     (X) Single value             (  ) Range             ( ) Required field
              (  ) Single value             (X) Range             (  ) Required field
              (X) Single value             (  ) Range             (  ) Required field
    Section 3.2: Program Logic
    Business Requirement
    This report will allow option to choose to read the source from SOP or COPA.
    Input Selection
    Main Menu:
    o     Total Component Requirement from SOP forecast
    o     Total Component Requirement from COPA forecast
    If SOP is selected, Source = SOP
    If COPA is selected, Source = COPA
    Option 1: SOP
    1.     Input Layout
    Material: _____________    (note: allow multiple materials entry, no entry indicate all materials)
    RM Material Group: __________     (note: allow multiple entry, no entry indicate all Mat Grp)
    Plant:  MY11  (note: default value)
    Standard Price as of : _____________  (YYYYMM)
    Version: ________    (note: allow F4 option with Version and Description)
    Output Type: ____  (Month/Year)
    (If the output type chosen is Month, the below is display)
    Period From:  _________  (YYYYMM)
    Period To:      _________  (YYYYMM)
    (If the output type chosen is Year, the below is display)
    Period From:  __________ (YYYY)
    Period To:      __________ (YYYY)
    2.     Output Layout
    Plant: MY11
    Source:
    Version:
    System Date/Time:
    Output Layout in Month:
    Material     Desc     Component     Desc     UOM     M04.2006     M05.2006     M06.2006     M07.2006     M08.2006     M09.2006     BOM
    TO2368          NGK0003          PC                                   TO2368
              SIN96-015          MG                                   TO2368
              SIN96-066F          MG                                   TO2368
              SIN96-066N          MG                                   TO2368
              SIN96-127          GCL                                   WCS2004
              SIN96-055          G                                   WCS2004
              SIN96-110          G                                   WCS2004
              SIN96-007          G                                   WCS2004
              SIN96-002          GCL                                   WCS1003
              SIN96-001          GCL                                   WCS1003
              SIN96-006          GCL                                   WCS1003
              TO2358/511          PC                                   TO2368
              TO2358/512          PC                                   TO2368
              WCS2004          GCL                                   TO2368
              WCS1003          GCL                                   WCS2004
    Output Layout in Year:
    Material     Desc     Component     Desc     UOM     2006     2007     2008     BOM
    TO2368          NGK0003          PC                    TO2368
              SIN96-015          MG                    TO2368
              SIN96-066F          MG                    TO2368
              SIN96-066N          MG                    TO2368
              SIN96-127          GCL                    WCS2004
              SIN96-055          G                    WCS2004
              SIN96-110          G                    WCS2004
              SIN96-007          G                    WCS2004
              SIN96-002          GCL                    WCS1003
              SIN96-001          GCL                    WCS1003
              SIN96-006          GCL                    WCS1003
              TO2358/511          PC                    TO2368
              TO2358/512          PC                    TO2368
              WCS2004          GCL                    TO2368
              WCS1003          GCL                    WCS2004
    3.     Header Section:
    Header Field: Plant
    Print input field Plant.
    Header Field: Source
    If SOP is selected, Source = SOP
    If COPA is selected, Source = COPA
    Print Source.
    Header Field: Version
    Print input field Version, Print RMCP2-VETXT (version description).
    Header Field: System Date/Time
    Print current system date and time.
    4.     Table: S076 (SOP - Sales & Operations Planning)
    Read S076 rows with input selection of Material, Plant, Year, Month, Version sorted by Material.
          This table provides sales forecast figure.
    Table: MAKT – Material Decription
    Table: MARA - General Material Data
    Table: CDHDR - Change document header
    Table: CDPOS - Change document items
    5.     Details Section: -
    Read S076.PMNUX(Material).                    Note: There will be multiple rows in S076.PMNUX (Material)
    Field: Material
    Print S076.PMNUX(Material).
    Field: Description
    Read MAKT.MATNR(Material), Print MAKT.MAKTX.
    6.     Read L1 (Level 1) BOM Transaction: CS03
                   Where Material = S076.PMNUX (Material), Plant = MY11 (input field), BOM Usage = ’1’, Status = ‘01’
    7.     This is to print BOM component.
    If Input Material Group = ‘ ’
    Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ‘ZROH’, ‘ZHLB’ , ‘ZRUH’
    If Input Material Group <> ‘ ’
    Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ‘ZROH’, ‘ZHLB’ , ‘ZRUH’
          Where MARA-MATKL (Material Group) = Input Material Group.
    If MARA.MTART (material type) = ‘ZRUH’,
          Read L1 (Level 1) BOM Transaction: CS03
                  Where Material = S076.PMNUX, Plant = MY11 (input field), BOM Usage = ’1’, Status = ‘02’.
    GET RC29K-BMENG (Base Qty)  ***
    Field: Material Group
    Print MARA-MATKL
    Field: Component
    Print BOM Component.
    Field: Description
    Print MAKT.MAKTX.
    Field: UOM
    Print MARA.MEINS.
    Field: Currency
    Field: Standard Price
    If Input Standard Price Date = ‘’
       Print Currency = ‘ ‘
       Print Standard Price = 0
    Else
    Read CDHDR-OBJECTID (Material), CDHDR-CHANGENR (ChgNo)
    Where CDHDR-OBJECTID (Material) = BOM Component
    And CDHDR-TCODE (Transaction) = ‘MR21’
    And YYYYMM[CDHDR-UDATE (Date)] = Input Standard Price Date
    If NOT Found, look up YYYYMM[CDHDR-UDATE (Date)] – 1  
    I.e.    Input Standard Price Date is 200702, If CDHDR-UDATE (Date) Not Found, look up 200701.
    If Not Found, look up 200612 until the record is found    **
    If row return > 1, select the latest CDHDR-UDATE (Date)
    i.e. If rows return 20070201 and 20070215, Select 20070215    **
    Read CDPOS-CUKY_NEW (Currency), CDPOS-VALUE_NEW (New Value)
    Where CDPOS-OBJECTID (Material) = CDHDR-OBJECTID (Material)
    And CDPOS-CHANGENR (ChgNo) = CDHDR-CHANGENR (ChgNo)
    Print CDPOS-CUKY_NEW (Currency)
    Print CDPOS-VALUE_NEW (New Value)
    8.     If the output type is Year, print Requirement Qty in Yearly bucket.
    Requirement Qty = sum[S076-ABSAT (Sales) for current Year] ie 2006
    Requirement Qty = sum[S076-ABSAT (Sales) for current Year + 1] ie 2007
    Requirement Qty = sum[S076-ABSAT (Sales) for current Year + 2] ie 2008
         If the output type is Month, print Requirement Qty in Monthly bucket.
    Field: Month (ie. M04.2006)
    Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
    Print Requirement Qty.
    Field: Total Price (ie. M04.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
    Field: Month (ie. M05.2006)
    Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
    Print Requirement Qty.
    Field: Total Price (ie. M05.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
    Field: Month (ie. M06.2006)
    Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
    Print Requirement Qty.
    Field: Total Price (ie. M06.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
    Field: Month (ie. M07.2006)
    Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
    Print Requirement Qty.
    Field: Total Price (ie. M07.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
    Field: Month (ie. M08.2006)
    Requirement Qty = S076-ABSAT (Sales) * Component Qty / RC29K-BMENG (Base Q)
    Print Requirement Qty.
    Field: Total Price (ie. M08.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
    Note: Repeat the requirement qty display in Monthly bucket base on period specified.
    Field: BOM
    Print L1 BOM which is S076.PMNUX (Material)  from Step 6.
    If Is end of component,
          Repeat Step 5 for next Material in SOP (S076.PMNUX).
    If MARA.MTART (material type) = ‘ZROH’,
    Perform Step 7 to read next L1 BOM Component.
    Perform Step 8 to print Requirement Qty.
    If [MARA.MTART (material type) = ‘ZHLB’] and [MARA.MATKL(material group) = ‘WP0100’, ‘WP0110’, or ‘WP0120’],
          Go Step 9 to read L2 BOM.
    If [MARA.MTART (material type) = ‘ZHLB’] and [MARA.MATKL (material group) <> ‘WP0100’, ‘WP0110’, ‘WP0120’],
          Perform Step 7 to read next BOM Component.
          Perform Step 8 to print Requirement Qty.
    9.     Read L2 (level 2) BOM for the ZHLB at Transaction: CS03
                Where Plant = MY11(input field), BOM Usage= ’1’, Status = ‘01’.
    GET RC29K-BMENG (Base Qty)  ***
    10.     Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ‘ZROH’, ‘ZHLB’.
    Field: Material Group
    Print MARA-MATKL
    Field: Component
    Print BOM Component.
    Field: Description
    Print MAKT.MAKTX.
    Field: UOM
    Print MARA.MEINS.
    Field: Month (ie. M04.2006)
    Requirement Qty = Requirement Qty from L1 BOM  * Component Qty / RC29K-BMENG (Base Q)
    Print Requirement Qty.
    Field: Total Price (ie. M04.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
    Field: Month (ie. M05.2006)
    Requirement Qty = Requirement Qty from L1 BOM * Component Qty / / RC29K-BMENG (Base Q)
          Print Requirement Qty.
    Field: Total Price (ie. M05.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
          Note: Repeat until end of Period.
    Field: BOM
    Print L2 BOM from Step 9.
    If is end of component, perform Step 7 to read next L1 BOM component, and Step 8 to print Requirement Qty.
    If MARA.MTART (material type) = ‘ZROH’,
    Perform Step 10 to read next L2 BOM Component.
    If MARA.MTART (material type) = ‘ZHLB’ and MARA.MATKL(material group) = ‘WP0100’, ‘WP0110’, or ‘WP0120’,
          Go Step 11 to read L3 BOM.
    If [MARA.MTART (material type) = ‘ZHLB’] and [MARA.MATKL (material group) <> ‘WP0100’, ‘WP0110’, ‘WP0120’],
          Perform Step 10 to read next L2 BOM Component.
    11.     Read L3 (level 3) BOM for the ZHLB at Transaction: CS03 where Plant=MY11(input field), BOM Usage=’1’, Status =‘01’.
    12.     Read Component (Material), Component Qty from BOM sorted by MARA.MTART (material type) = ‘ZROH’, ‘ZHLB’.
    Field: Material Group
    Print MARA-MATKL
    Field: Component
    Print BOM Component.
    Field: Description
    Print MAKT.MAKTX.
    Field: UOM
    Print MARA.MEINS.
    Field: Currency
    Field: Standard Price
    Read CDHDR-OBJECTID (Material), CDHDR-CHANGENR (ChgNo)
    Where CDHDR-OBJECTID (Material) = BOM Component
    And CDHDR-TCODE (Transaction) = ‘MR21’
    And YYYYMM[CDHDR-UDATE (Date)] = Input Standard Price Date
    If NOT Found, look up YYYYMM[CDHDR-UDATE (Date)] – 1  
    I.e.    Input Standard Price Date is 200702, If CDHDR-UDATE (Date) Not Found, look up 200701.
    If Not Found, look up 200612 until the record is found    **
    If row return > 1, select the latest CDHDR-UDATE (Date)
    i.e. If rows return 20070201 and 20070215, Select 20070215    **
    Read CDPOS-CUKY_NEW (Currency), CDPOS-VALUE_NEW (New Value)
    Where CDPOS-OBJECTID (Material) = CDHDR-OBJECTID (Material)
    And CDPOS-CHANGENR (ChgNo) = CDHDR-CHANGENR (ChgNo)
    Print CDPOS-CUKY_NEW (Currency)
    Print CDPOS-VALUE_NEW (New Value)
    Field: Month (ie. M04.2006)
    Requirement Qty = Requirement Qty from L2 BOM  * Component Qty / RC29K-BMENG (Base Q)
    Print Requirement Qty.
    Field: Total Price (ie. M04.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
    Field: Month (ie. M05.2006)
    Requirement Qty = Requirement Qty from L2 BOM * Component Qty / RC29K-BMENG (Base Q)
          Print Requirement Qty.
    Field: Total Price (ie. M05.2006)
    Total Price = Requirement Qty * Standard Price
    Print Total Price
          Note: Repeat until end of Period.
    Field: BOM
    Print L3 BOM from Step 11.
    If is end of component,
          Perform Step 10 to read next L2 BOM Component.
    If MARA.MTART (material type) = ‘ZROH’,
    Perform Step 12 to read next L3 BOM Component.
    If MARA.MTART (material type) = ‘ZHLB’ and MARA.MATKL(material group) = ‘WP0100’, ‘WP0110’, or ‘WP0120’,
          Repeat for next level of BOM reading.      ** for future BOM expansion **
    If [MARA.MTART (material type) = ‘ZHLB’] and [MARA.MATKL (material group) <> ‘WP0100’, ‘WP0110’, ‘WP0120’],
          Perform Step 12 to read next L3 BOM Component.
    13.     The report is ALV format and should allow to export to Excel. See example below:
    Option 2: COPA
    1.     Input Layout
    Company Code:  ________ 
    Plant:  MY11   
    Material: _____________    (note: allow multiple materials entry, no entry indicate all materials)
    Material Group: __________     (note: allow multiple materials entry, no entry indicate all materials)
    Standard Price as of : _____________  (YYYYMM)
    Version: ________    (note: allow F4 option with Version and Description)
    Read  V_TKEVS_CL-VERSI (Version),  V_TKEVS_CL-VTEXT (Version Description)
    Output Type: ____  (Month/Year)
    (If the output type chosen is Month, the below is display)
    Period From:  _________  (YYYYMM)
    Period To:      _________  (YYYYMM)
    (If the output type chosen is Year, the below is display)
    Period From:  __________ (YYYY)
    Period To:      __________ (YYYY)
    2.     Header Section:
    Header Field: Plant
    Print input field Plant.
    Header Field: Source
    If SOP is selected, Source = SOP
    If COPA is selected, Source = COPA
    Print Source.
    Header Field: Version
    Print V_TKEVS_CL-VERSI (Version),  V_TKEVS_CL-VTEXT (Version Description)
    Header Field: System Date/Time
    Print current system date and time.
    3.     Report details: -
    Table: CE2ASIA - JM Operating Concern
    If input selection is Monthly Report:-
    Read CE2ASIA-ARTNR (Product No), Sum[CE2ASIA-ABSMG001 (Sales Qty)]
    Where CE2ASIA-BUKRS (Company Code) = Input Company Code
    And CE2ASIA-WERKS (Plant) = Input Plant
    And CE2ASIA-PALEDGER (Currency Type) = ‘10’
    And [CE2ASIA-PERBL (FI Period) > = Input Period From And CE2ASIA-PERBL (FI Period) < = Input Period To]
    Group by CE2ASIA-ARTNR (Product No)
    If input selection is Yearly Report:-
    Read CE2ASIA-ARTNR (Product No), CE2ASIA-ABSMG001 (Sales Qty)
    Where CE2ASIA-BUKRS (Company Code) = Input Company Code
    And CE2ASIA-WERKS (Plant) = Input Plant
    And CE2ASIA-PALEDGER (Currency Type) = ‘10’
    And [YYYY[CE2ASIA-PERBL (FI Period)] > = Input Period From And CE2ASIA-PERBL (FI Period) < = Input Period To]
    Note: The details similar to Option 1: SOP, refer section (5)  to (13)
    Section 3.3: Report Layout
    Field name     Technical name     Comment
         (Please specify Transparent Table and field name)     (Ex. In case field does not read directly from transparent table but derive from formular or sum or else. Please show the detail how to do that.)
    Section 3.3: Unit Test Criteria
    Section 4: Technical Description
    Section 4.1: Object information
    Development class     
    Transport number     
    Section 4.2: Input/output file layout (In case upload/download file)
    *Please determine structure of  file like as below:
    No.     Field description     Type (Char,Numeric,…)     Length     Note
    Section 4.3: Report/Form information
    Paper size     Inch 11 8” X 11”     Type of printer     ( ) Laser printer     (X) Dot matrix
    Output report / Pre-printed Attach
    Technical Issue

    Hi gurus,actually this program selecion screen is linked to ..as
    First screen is .Sop
                          .copa
    Again for sop is having a selection screen and in this it is divide based on month and year seperately in two more screens.
    same for copa also....
    so pls tell me a correct solution where to correct and get values.
    Priority is very highhhhhhhhhhhhhh,so pls help me in sorting out this.

Maybe you are looking for

  • Execute Unix Command from Oracle

    Hi, I'm on Oracle 11g R1. I've a requirement where user will be putting CSV files on Unix server and I've to create a job which runs periodically to check if any new file is added by user in the folder. If it finds a new file (s), then it needs to id

  • Seeking general tutorial for iMac, iPad, iPhone

    I have been using Apple for the past 2 years, but I do have some spare time available right now, so I'm wondering if there is some kind of general tutorial process which would help me get better organized, and not waste effort needlessly, if I can le

  • Can't install free app without a pop-up telling me "payment method declined"

    Up until yesterday I had been able to install all the free and payed for apps I wanted, then all of a sudden, when attempting to install a free app today, a pop-up appeared telling me my payment method was declined, despite it being free. There has b

  • Connecting to a NT server from another server

    Hello, All. I was wondering If anyone knew the best and more efficient way to connect to a NT server from another server. Once the connection is made I need to be able to execute .cmd file on the NT server. Thanks Donald

  • Working on Flash over a network

    In the past I have had an issue when working on flash projects over the office network. The files would suddenly say they could not save and the file itself would disappear. I lost a few projects this way and found many others who had the same experi