Stcok type H values are not added into report

Hello all,
I am facing problem with inventory management.
Here we have nearly 15 plants.  10 are already there and 5 are newly added in the last month.
For the previous 10 plants we are getting the valuated stock perfectly, but i am checking for the remaining 5 new plants data is mismatching.
while comparing the values from R/3 (MB5B) to the BW query values are different.  So i have checked the contents of Cube.
There i found a pecular thing that some records having Movement type 641 and Stock Type H. These values are not getting cumulated in the report.  Only these values are coming for the new 5 plants.
I have already checked the Snotes 589024, 417703.
Please suggest me how to overcome from this issue.
Regards
Sankar

Hi,
Thanks for your reply.
As I already said Stock type is defined as same as the previous plants.  But still we are not able to get the data in the query.
In the cube level I am able to see the data, but when we are going for the report then we are not getting the values which are present in the cube where Stock Type is H.
Please suggest on ths.
Regards
Sankar

Similar Messages

  • Revenue values are not flowing into COPA

    Dear Experts,
             We are processing the MTS normal scenario. Here the revenue values are not flowing into COPA when FG sale. But when we process the Raw material Sale values are flowing to COPA smoothly. Here the SD condition Type, Revenue Account and COPA value Field same for RM and FG.
    May I know the exact reasonu2026.
    Please suggest me in right wayu2026.
    Regards,
    Balaji Bhonsle.

    Hi Balaji bhau
    I guess the issue might be with your Item Category in SD.. Is it set relevant for billing??
    See if the Billing Type has been entered in KE4W and the VF reset for it
    Check in VFX3 if the invoice is lying there for any error.... Try to release the Billing to accounting and you may get the error message
    br, Ajay M

  • Events invitations are note added into the Calendar

    I have a back end and front end calendar 6.3 environment with convergence connecting to the front end. When [email protected] invite the [email protected] to an event only an email notification of the event is sent to the userB, the invitation is not added into the userB calendar, in order to accept, decline or cancel the invitation.
    For this environment i have both iwc and uwc active, but no matter what interface I use the behavior is the same.
    My question is:
    1. In a back end and front end calendar environment how should sent the emails notifications?
    2. Why userB can´t see the invitation userA sent to him?
    3. Where and how I can verifity the invitation is sent? in the back end / front end?
    I saw the thread http://forums.sun.com/thread.jspa?threadID=5432165. But the users have all the icsExtendedUserPrefs attributes. I also set the variables user.cal.enablenotify and user.cal.enableinvitenotify but still not getting the invitation within the calendar.
    Products version:
    Sun Convergence 1.0-12.01 (built January 16 2010 - 21:38:59)
    Sun Java(tm) System Calendar Server 6.3-20.01 (built Oct 23 2009)
    Sun Java(tm) System Messaging Server 7.3-11.01 64bit (built Sep 1 2009)
    libimta.so 7.3-11.01 64bit (built 19:54:45, Sep 1 2009)

    Duplicate thread, refer to:
    http://forums.sun.com/thread.jspa?threadID=5437550

  • Master data(0vtype) values are not showing in reports.

    Hi Gurus,
                 I have an info object '0VALTYPE' with 'TEXT'. I already loaded the data in
    for this object. but in reporting level i am getting the values # and 20(actual)
    even though it has so many vales(ex: 10(plan)etc). but all the values are not populating in the query.how to get all the values in reporting level.
    Thanks in advance.
    Thanks
    Raju.k

    Hi Raju,
    You have already confirmed, but still please go to infoobject 0VTYPE again and check the master data to see all values exits there.
    If yes and still in reporting you can not see those, try doing the following:
    1) Right click on 0VTYPE and click on "Activate Master Data", and/or
    2) Go to Menu --> select Attribute change run --> select 0VTYE and execute the changes.
    Regards
    Pankaj

  • Problem - Values are not stored into Tables when value are accepted from us

    // jsp code
    <%@ page import="java.util.Enumeration" %>
    <%@ page import="java.util.Vector" %>
    <%@ page import="java.util.*" %>
    <%@ page import="java.lang.*" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="beans.register2" %>
    <jsp:useBean id="registerbn" scope= "session" class="beans.register2" />
    <% String base = (String) session.getAttribute("base");
    registerbn.setDburl((String)session.getAttribute("dbUrl"));
    registerbn.setDbuser((String)session.getAttribute("dbUserName"));
    registerbn.setDbpasswd((String)session.getAttribute("dbPassword"));
    System.out.println("Inside jsp - setMembers of promotion successful");
    // registerbn.setMembers1();
    System.out.println("after setting");
    %>
    <%
    String action=request.getParameter("action");
    %>
    <HTML>
    <HEAD>
    <TITLE> TIFR INTRANET </TITLE>
    </HEAD>
    <HEAD>
    <script language="JavaScript1.2">
    //some validations functions
    </script>
    </head>
    <body>
    <table valign="top" align="top">
    <TR>
    <TD COLSPAN="100%"><jsp:include page="Header.jsp" flush="true"/></TD>
    </TR>
    <TR>
    <TD align="top" valign="top"><jsp:include page="menu.jsp" flush="true"/>
    <font face="arial" size="1">
    site developed by ADPCell TIFR
    </font>
    </td>
    <td>
    <table cellpadding="2" cellspacing="3" width="40%">
    <form method="post" action="./beans.register2">
    <td width="40" align="center"
    <font face="arial" size="5" align="right">
    <b>
    Registration <hr> </hr>
    </b>
    </font>
    <br>
    </td>
    <tr valign="center" width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">IdCode </b> </font>
    </td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <input type="text" name="idcode" size="6" style="border-style:solid" value="">
    </font></b>
    </td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">User </font></B></td>
    <td width="40%">
    <input type="text" name="user" size="12" style="border-style: solid" value="">
    </font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Password </font></B></td>
    <td width="40%">
    <input type="password" name="password" size="25" tabindex="20" style="border-style: solid" width="12" value="">
    </font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Section code </font></b></td>
    <td width="40%">
    <select size="1" name="section_code" tabindex="9"
    style="border-style: solid">
    <%@ include file="section.txt" %>
    <!-- left for password -->
    1)
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Category </font> </b></td>
    <td width="80%">
    <font face="arial" size="2"> <b>
    <input type="radio" name="Category" value="General">General
    <input type="radio" name="Category" Value="Operators">Operators
    <input type="radio" name="Category" Value="Heads">Heads<BR>
    </b> </font>
    </td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Budget Category </font> <b> </td>
    <td width="40%">
    <font face="Arial" size="2"> <b>
    <input type="radio" name="BCategory" value="General">BGeneral
    <input type="radio" name="BCategory" Value="Operators">Operators
    <input type="radio" name="BCategory" Value="Head">Head
    </td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Budget Heads
    </font></b></td>
    <td width="40%">
    <b><font face="Arial" size="4">
    <textarea rows="2" name="Bheads" cols="20" size="100"
    style="border-style: solid">
    </textarea></font></b></td></tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Other Category</font></b></td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <select size="1" name="OtherCategory" tabindex="20" style="border-style:
    solid" size="2"><OPTION value="EH">EH
    <OPTION value="EO">EO
    <OPTION value="FH">FH
    <OPTION value="FO">FO
    <OPTION value="AO">AO
    <OPTION value="AH">AH
    </select></font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">email </font></b></td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <input type="text" name="email" size="20" style="border-style:
    solid" width="6">
    </font></b></td>
    </tr>
    <tr width="80%">
    <td width="40%">
    <font face="Arial" size="2"><b>Dob </font></b></td>
    <td width="40%">
    <font face="Arial" size="2"><b>
    <select size="1" name="day" style="border-style: solid"><OPTION value="0">Day
    <% int i;
    for(i=1;i<=31;i++)
    out.print("<OPTION VALUE=\""+i+"\">"+i+"</option>");
    %>
    </select>  
    <select size="1" name="month" style="border-style: solid" ><OPTION value="0">Month
    <OPTION value="1" >January
    <OPTION value="2" >February
    <OPTION value="3" >March
    <OPTION value="4" >April
    <OPTION value="5" >May
    <OPTION value="6" >June
    <OPTION value="7" >July
    <OPTION value="8" >August
    <OPTION value="9" >September
    <OPTION value="10">October
    <OPTION value="11">November
    <OPTION value="12">December
    </select>
    <select size="1" name="year" style="border-style: solid">
    <% int j;
    for(j=1950;j<=2000;j++)
    out.print("<option value=\""+j+"\">"+j+"</option>");
    %>
    </select></b></font></td>
    </tr>
    <br> <br>
    <tr width="80%">
    <td width="40%">
    <b><font face="Arial" size="2">Date of Join
    </font></b></td>
    <td width="40%">
    <b><font face="Arial" size="2">
    <select size="1" name="day1" style="border-style: solid"><OPTION value="0">Day
    <% int k;
    for(k=1;k<=31;k++)
    out.print("<OPTION VALUE=\""+k+"\">"+k+"</option>");
    %>
    </select>
    <select size="1" name="month1" style="border-style: solid" ><OPTION value="0">Month
    <OPTION value="1" >January
    <OPTION value="2" >February
    <OPTION value="3" >March
    <OPTION value="4" >April
    <OPTION value="5" >May
    <OPTION value="6" >June
    <OPTION value="7" >July
    <OPTION value="8" >August
    <OPTION value="9" >September
    <OPTION value="10" >October
    <OPTION value="11" >November
    <OPTION value="12" >December
    </select> 
    <select size="1" name="year1" style="border-style: solid">
    <% int l;
    for(l=1950;l<=2000;l++)
    out.print("<OPTION VALUE=\""+l+"\">"+l+"</option>");
    %>
    </select>
    </b></font></td>
    </tr>
    </table>
    <table cellpadding="2" cellspacing="3" width="40%" >
    <tr width="100%">
    <td width="30%">
    <input type="Submit" value="Submit" name="B1" > </td>
    <td width="40%">
    <input type="reset" value="Reset" name="B2"></td>
    <%
    //String action=request.getParameter("Submit1");
    if(action!=null && action.equals("Submit"))
    try{
    String idcode=request.getParameter("idcode");
    String user=request.getParameter("user");
    String password=request.getParameter("password");
    String seccode=request.getParameter("section_code");
    String Category=request.getParameter("Category");
    String BCategory=request.getParameter("BCategory");
    String Bheads=request.getParameter("Bheads");
    String OtherCategory=request.getParameter("OtherCategory");
    String email=request.getParameter("email");
    String day=request.getParameter("day");
    String month=request.getParameter("month");
    String year=request.getParameter("year");
    String Dob=day+"/"+month+"/"+year;
    String day1=request.getParameter("day1");
    String month1=request.getParameter("month1");
    String year1=request.getParameter("year1");
    String Doj=day1+"/"+month1+"/"+year1;
    registerbn.setIdcode("idcode");
    registerbn.setUser("user");
    registerbn.setPasswd("password");
    registerbn.setSec_code("seccode");
    registerbn.setCategory("Category");
    registerbn.setBut_cat("BCategory");
    registerbn.setBut_heads("Bheads");
    registerbn.setOther_Category("OtherCategory");
    registerbn.setEmail("email");
    registerbn.setDob("Dob");
    registerbn.setDoj("Doj");
    registerbn.saveData();
    }catch(Exception ex)
    out.println("ERROR :has occured ");
    %>
    </table>
    </table>
    </table>
    </form>
    </td>
    </tr>
    <jsp include page="Footer.jsp" flush="true"/>
    ------------------ End of JSP Programs ----------------
    // Beans Code
    package beans;
    import java.util.*;
    import java.util.Date;
    import java.util.Vector;
    import java.sql.*;
    public class register
    private String idcode;
    private String user;
    private String passwd;
    private String sec_code;
    private Vector sec_names;
    private String category;
    private String bud_cat;
    private String bud_heads;
    private String other_category;
    private String email;
    private String dob;
    private String doj;
    private String ent_dt;
    private String act_dt;
    private String dbUrl=null;
    private String dbUser=null;
    private String dbPassword=null;
    public void setDburl(String u)
    dbUrl=u;
    public void setDbuser(String us)
    dbUser=us;
    public void setDbpasswd(String Pass)
    dbPassword=Pass;
    public String getIdcode()
    return idcode;
    public void setIdcode(String i)
    idcode=i;
    public String getUser()
    return user;
    public void setUser(String u)
    user=u;
    public String getPasswd()
    return passwd;
    public void setPasswd(String p)
    passwd=p;
    public Vector getSec_names()
    return sec_names;
    public void setSec_names()
    // This function should select valid section code from the database and then populate the sec_names vector.
    public String getSec_code()
    return sec_code;
    public void setSec_code(String s)
    sec_code=s;
    public String getCategory()
    return category;
    public void setCategory(String c)
    category=c;
    public String getBud_cat()
    return bud_cat;
    public void setBud_cat(String b)
    bud_cat=b;
    public String getBud_heads()
    return bud_heads;
    public void setBud_heads(String b)
    bud_heads=b;
    public String getOther_Category()
    return other_category;
    public void setOther_category(String o)
    other_category=o;
    public String getEmail()
    return email;
    public void setEmail(String s)
    email=s;
    public String getDob()
    return dob;
    public void setDob(String d)
    dob=d;
    public String getDoj()
    return doj;
    public void setDoj(String d)
    doj=d;
    public String getAct_dt()
    return act_dt;
    public void setAct_dt(String d)
    act_dt=d;
    public void setMembers()
    Connection conn;
    Statement stmt;
    String query="Select sec_code from web.section";
    sec_details=new Vector();
    try
    conn=DriverManager.getConnection(dbUrl, dbUser, dbPassword);
    System.out.println("connected");
    stmt=conn.createStatement();
    System.out.println("Statement Created");
    ResultSet rs=stmt.executeQuery(query);
    do
    String seccode=rs.getString(1);
    sec_details.addElement(seccode);
    }while(rs.next());
    rs.close();
    stmt.close();
    conn.close();
    }catch(SQLException e)
    System.out.println("Execution Occured" +e);
    catch(Exception e)
    System.out.println("Execution Occured" +e);
    public void saveData()
    Connection conn;
    Statement stmt;
    String id=getIdcode();
    String use=getUser();
    String pass=getPasswd();
    String mail=getEmail();
    String sec=getSec_code();
    String cat=getCategory();
    String oth=getOther_Category();
    String bud=getBud_cat();
    String dob1=getDob();
    String doj1=getDoj();
    String budh=getBud_heads();
    String query="insert into wb_register " + "(idcode, user, passwd, sec_code, category, bud_cat, bud_heads, other_category, email , dob, doj, ent_dt)" + " values('"+id+"','"+use+"','"+pass+"','"+sec+"','"+cat+"','"+bud+"','" budh"','" oth"','"+mail+"','"+dob1+"','"+doj1+"','"+"Sysdate"+"')";
    try
    conn=DriverManager.getConnection(dbUrl,dbUser,dbPassword);
    System.out.println("connected");
    stmt=conn.createStatement();
    stmt.executeUpdate(query);
    stmt.close();
    conn.close();
    catch(SQLException e)
    System.out.println("Exception occured" +e);
    catch(Exception er)
    System.out.println("Exception occured" +er);
    ------------------------End of Beans Program ---------------
    Questions:-
    1) when we are submitting values to form it is not stored into backend (Oracle 9i)
    2) please send some source code for how to fetch values from backend and wants stored into Combo box /select Box
    3) We have faced problem of How call methods of Bean program into JSP programs

    The code to get the values from the database and store them in the combo box or select box would be as follows:
    <%
    zSQL = "select id, name from Users"
    rs = Con.ExecuteQuery(zSQL);
    if(!rs.next()) {
    %>
    <select name="id">
    <option value="0">select the name</option>
    <%
    do {
    %>
    <option value="<%= rs.getString(1) %>"><%= rs.getString(2) %></option>
    <%
    while (rs.next());
    %>
    </select>
    <%
    else {
    out.println("No Record Found");
    %>
    This would help you better.
    and for your first question, please check whether u are able to connect database with your connection method. if you are able to connect to the database, then please check the values (print them on the browser) which are posted from form, if it is also correct then check you r insert statement.
    and for your last question the best tutorial is JAVA API.
    Cheers!
    Rambee

  • AED and SED values are not flowing into Order

    Dear Gurus,
    We are using ECC 6 and TAXINJ. We did all the CIN configurations to the best of my knowledge. JMOD is flowing normally. But AED & SED are not. UTXJ is coming as also JIN6 (VAT), E Cess and S&HECess. We dont have Cess in the client's company, so Cess is not to be considered.
    If a check list can be given, maybe I can check my customization with it, since I am an SD consultant and alot of things are involving MM too. Unfortunately we dont have any MM guy with us for the time being.
    Any answers are most welcome.
    Thanks and regards.
    Venkat - Hyd.

    Hi,
    Go to SPRO > Logistics - General > Tax on Goods Movements > India > Basic Settings > Determination of Excise Duty > Maintain Excise Defaults
    Here check whether AED and SED condition types are assigned under columns A/R AED Cond and A/R SED Cond respectively. If not then assign and check.
    Also check in FV12 for the Tax Code used whether condition record has been maintained as 100 % for AED and SED conditions. If yes then check in J1ID, for "Excise Tax Rate", maintain rates for AED and SED.

  • Values are not showing in report

    Hi,
    I have created a report with EVDRE containing several columns. When I use MemberSet: "SELF" for all columns, it shows me the data I have uploaded correctly.
    However, if I choose "MEMBERS" for any of the columns, the value field is empty. This is totally incorrect as I get several rows with the "MEMBERS" option, and one of the rows contains exactly the same filtering as when I use "SELF" for all columns. So that row should show a value, but it is empty.
    If I choose SUPRESS:Y, it returns 0 rows.
    Example ("SELF" chosen):
    NAMEID, ADDRESS, TIME, SALARY
    A, X1, 2009, 10000
    Example ("MEMBERS" chosen for NAMEID):
    NAMEID, ADDRESS, TIME, SALARY
    A, X1, 2009, (blank)
    B, X2, 2009, (blank)
    C, X3, 2009, (blank)
    Has anyone encountered this before?
    Thanks,
    Sam

    Hey Sam,
    I have some additional questions to help me understand what is going on.
    What other dimensions exist in the application this report is running in, besides NAMEID, ADDRESS, TIME, SALARY?
    What dimensions are in the COLKEYRANGE, besides SALARY?
    What are your expansions set as (SELF, MEMBERS, etc) for the other row/column key dimensions?
    Are you sure that all the other dimensions are not changing when you go from SELF to MEMBERS?  I know this is probably not the case but I thought I would ask anyways.

  • Values are not coming in report S_ALR_87013558

    Hi,
    I am running the budget report S_ALR_87013558. In that report except budget column, other values are coming(Actual,Comiitment, remordpla, assigned,available)....
    BUt I have assigned the budget..It is showing properly in S_ALR_87013557.
    In S_ALR_87013228 report, available it is showing in negative.
    How to rectify this issue?
    Regards
    Suresh

    Hi Virendra,
    Thanks for ur reply.
    I have ran CJEN for the project. But still it is showing the same in S_ALR_87013558 report.
    But the budget value is coming properly in S_ALR_87013557 report.
    How to goahead???
    Regards
    Suresh

  • Values are not populating into Custom Context..

    Hi,
    Currently we are in CRM 2007(6.0), recently upgraded from SP 5 to SP 7. After upgrade one of the custom control is NOT getting populated with the values. When I click on the button, it's idsplaying CRM_UI_FRAME/WorkAreaViewSet on top of the window i.e. TITLE area. Iit's dispalying empty vlaues in 'display' mode. It supposed to display actual values. Before upgrade version it's working fine.
    I am new to CRM BOL, and not sure where to start and how to validate the functionality and where exactly the issue is? IT would be great if some one can help..and provide steps to analyse the issue. Thanks in Advance..

    Hi Mady_kris,
    If you turn on the following flag does it help?
    'Display Duplicate Variables Only Once' box in the
    workboox settings.
    thanks
    Orla.

  • Urgent:-Values are not inserted into the custom table

    Hi, I am inserting the data from the custom OAF form into a custom table. Only the WHO columns are populated into the table but no field value is populated into the custom table. I have written the following code -
    In CO
    if (pageContext.getParameter("Continue") != null)
    OAApplicationModule am = pageContext.getRootApplicationModule();
    OAViewObject CwkInfo = (OAViewObject)am.findViewObject("CWKInfoVO1");
    am.invokeMethod("initializevo");
    in AM
    public void initializevo()
    CWKInfoVOImpl testVo = (CWKInfoVOImpl) this.getCWKInfoVO1();
    testVo.insertRow(testVo.createRow());
    getTransaction().commit();
    Urgent Help is required.
    Regards,
    Ashish

    Hi Ashish,
    Double check whether you have attached the correct EO based VO attribute to the columns.
    In the Controller
    Process Request use the following code:-
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (!pageContext.isFormSubmission())
    am.invokeMethod("initQuery", null);
    ProcessForm Request
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    System.out.println("Inside Process Form Request");
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if (pageContext.getParameter("submitButton")!=null)
    am.invokeMethod("submit")
    AM Code
    public void initQuery()
    OAViewObject vvo = (OAViewObject)getEmployeeEOVO1();//Give you EO based VO Name
    if (!vvo.isPreparedForExecution())
    vvo.executeQuery();
    Row row = vvo.createRow();
    vvo.insertRow(row);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    public void submit()
    getTransaction().commit();
    Import necessage classes.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Values are not reaching BAM Report

    Hi All,
    i have implemented a simple Bam adapter. The composite gives below fault while inserting data into BAM DataObject.
    <part name="detail">
    <detail>BAM-06144: Cannot insert rows into data object /public/DataObject/HelloWorldDO.java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at oracle.bam.system.DateTime.parse(DateTime.java:1123) at oracle.bam.webservices.common.OperationImpl.setColumnData(OperationImpl.java:335) at oracle.bam.webservices.common.OperationImpl.doInsert(OperationImpl.java:414) at oracle.bam.webservices.common.OperationImpl.doInsert(OperationImpl.java:397) at oracle.bam.webservices.common.OperationImpl.insertCollection(OperationImpl.java:1016) at oracle.bam.adapter.adc.ADCInteraction.performInsert(ADCInteraction.java:408) at oracle.bam.adapter.adc.ADCInteraction.executeRequest(ADCInteraction.java:293) at oracle.bam.adapter.adc.ADCInteraction$1.run(ADCInteraction.java:251) at oracle.bam.adapter.adc.ADCInteraction$1.run(ADCInteraction.java:248) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:47) at oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:79) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146) at weblogic.security.Security.runAs(Security.java:61) at oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:48) at oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:52) at oracle.security.jps.internal.jaas.AbstractSubjectSecurity.executeAs(AbstractSubjectSecurity.java:138) at oracle.bam.common.security.authentication.BamPrivilegedExceptionAction.executeJPS(BamPrivilegedExceptionAction.java:264) at oracle.bam.common.security.authentication.BamPrivilegedExceptionAction.execute(BamPrivilegedExceptionAction.java:237) at oracle.bam.adapter.adc.ADCInteraction.execute(ADCInteraction.java:262) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:311) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:548) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:508) at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:491) at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:247) at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142) at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:194) at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:215) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:71) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy295.post(Unknown Source) at oracle.fabric.CubeServiceEngine.postToMesh(CubeServiceEngine.java:806) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:258) at com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1056) at com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:583) at com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:130) at com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:74) at com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:158) at com.collaxa.cube.engine.CubeEngine._performActivity(CubeEngine.java:2463) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2334) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1115) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:73) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:328) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4350) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4281) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:679) at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:654) at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:293) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.bea.core.repackaged.springframework.jee.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:104) at oracle.security.jps.ee.ejb.JpsAbsInterceptor$1.run(JpsAbsInterceptor.java:94) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413) at oracle.security.jps.ee.ejb.JpsAbsInterceptor.runJaasMode(JpsAbsInterceptor.java:81) at oracle.security.jps.ee.ejb.JpsAbsInterceptor.intercept(JpsAbsInterceptor.java:112) at oracle.security.jps.ee.ejb.JpsInterceptor.intercept(JpsInterceptor.java:105) at sun.reflect.GeneratedMethodAccessor791.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310) at com.bea.core.repackaged.springframework.jee.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:69) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37) at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54) at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy278.handleInvoke(Unknown Source) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source) at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39) at com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source) at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:35) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:88) at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:64) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) </detail>
    </part>

    Hi,
    According to Error,you are passing mismatched data to BAM data object.which means.In BAM DataObjects data types and your input from soa composite datatypes are mismatching.
    make sure are you passing proper data or not.its will work.
    Best Regards
    Siva Shankar

  • Value are not coming (tcode cm50)

    hi expert ,
    in below code values are not comes into ITAB_TXTLINES (  WA_DATA ) . we use a standard program cm50 tcode . into
    customize program  memory but values is not coming into wa.
    values(arbpl ,werks,kapar,planr)
    this is my first time i use standard progarm
    so plz help
    REPORT  ZPP_CM50  LINE-SIZE 170..
    TYPE-POOLS : SLIS.
    DATA : INT_CAT TYPE SLIS_FIELDCAT_ALV,
           INT_FCAT TYPE SLIS_T_FIELDCAT_ALV.
    DATA : LS_LINE TYPE SLIS_LISTHEADER,
           VN_TOP  TYPE SLIS_T_LISTHEADER,
           IT_SORT TYPE  SLIS_T_SORTINFO_ALV,
           WA_SORT LIKE LINE OF IT_SORT.
    DATA : LAYOUT TYPE SLIS_LAYOUT_ALV.
    DATA: BEGIN OF SLIST_LISTLINE,
          LINE(1024)      TYPE   C,
          END OF SLIST_LISTLINE.
    DATA: ITAB_TXTLINES LIKE SLIST_LISTLINE OCCURS 0 WITH HEADER LINE.
    TABLES : CRHD , KAKO .
    DATA: BEGIN OF ITAB_DATA OCCURS 0,
          AA(20),LEVEL(20),ITEM(20),OBJ(20),OBJID(20),
          OBJDES(20),OVRFLW(20),QTY(20),UOM(20),ICT(20),
          END OF ITAB_DATA.
    DATA : WA_DATA LIKE ITAB_DATA.
    DATA: TEXT TYPE C LENGTH 10,
          RSPAR_TAB  TYPE TABLE OF RSPARAMS,
          RSPAR_LINE LIKE LINE OF RSPAR_TAB,
          RANGE_TAB  LIKE RANGE OF TEXT,
          RANGE_LINE LIKE LINE OF RANGE_TAB.
    *DATA: TEXT TYPE C LENGTH 10,
         RSPAR_TAB  TYPE TABLE OF RSPARAMS,
         RSPAR_LINE LIKE LINE OF RSPAR_TAB.
         RANGE_TAB  LIKE RANGE OF TEXT,
         RANGE_LINE LIKE LINE OF RANGE_TAB.
    DATA  : LIST_TAB TYPE TABLE OF ABAPLIST.
    SELECTION-SCREEN : BEGIN OF BLOCK ABC WITH FRAME TITLE TLT.
    SELECTION-SCREEN   SKIP 1.
    *SELECT-OPTIONS     ARBPL FOR CRHD-ARBPL.
    SELECT-OPTIONS     WERKS FOR CRHD-WERKS.
    SELECT-OPTIONS     KAPAR FOR KAKO-KAPAR.
    SELECT-OPTIONS     PLANR FOR KAKO-PLANR.
    SELECTION-SCREEN   SKIP 2.
    SELECTION-SCREEN : END OF BLOCK ABC.
    START-OF-SELECTION.
    *RSPAR_LINE-SELNAME = 'TRUST_ID'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'RPF1'."'VD06011013'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'YEAR'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = '2009'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    RSPAR_LINE-SELNAME = 'REPONAME'.
    RSPAR_LINE-KIND    = 'P'.
    RSPAR_LINE-LOW     = 'FORM3A'.
    APPEND RSPAR_LINE TO RSPAR_TAB.
    CLEAR RSPAR_LINE.
    SUBMIT RCCRY000 EXPORTING LIST TO MEMORY
    USING SELECTION-SCREEN '1000'
                    WITH CRHARBPL-LOW EQ ARBPL
                     WITH CRHWERKS-LOW EQ WERKS
                     WITH KAKKAPAR-LOW EQ KAPAR
                     WITH KAKPLANR-LOW EQ PLANR
                      AND  RETURN.
      CALL FUNCTION 'LIST_FROM_MEMORY'
        TABLES
          LISTOBJECT = LIST_TAB
        EXCEPTIONS
          NOT_FOUND  = 1
          OTHERS     = 2.
      CALL FUNCTION 'LIST_TO_ASCI'
        EXPORTING
          LIST_INDEX         = -1
          WITH_LINE_BREAK    = ' '
        TABLES
          LISTASCI           = ITAB_TXTLINES
          LISTOBJECT         = LIST_TAB
        EXCEPTIONS
          EMPTY_LIST         = 1
          LIST_INDEX_INVALID = 2
          OTHERS             = 3.
      LOOP AT ITAB_TXTLINES .                                   "from 5.
        CLEAR WA_DATA.
        SPLIT ITAB_TXTLINES AT '|' INTO: WA_DATA-AA
                                         WA_DATA-LEVEL
                                         WA_DATA-ITEM
                                         WA_DATA-OBJ
                                         WA_DATA-OBJID
                                         WA_DATA-OBJDES
                                         WA_DATA-OVRFLW
                                         WA_DATA-QTY
                                         WA_DATA-UOM
                                         WA_DATA-ICT.
       IF ITAB_TXTLINE-SY-INDEX .
    then
         DO 4 TIMES.
           REPLACE '.' IN WA_DATA-LEVEL WITH SPACE.
         ENDDO.
    *DELETE ITAB_DATA-INDEX=1." WHERE WA_DATA = ITAB_DATA.
         CONDENSE WA_DATA-LEVEL.
         IF NOT WA_DATA-LEVEL IS INITIAL and not WA_DATA-LEVEL cp 'Emp*'.
            APPEND WA_DATA TO ITAB_DATA.
         ENDIF.
       ENDIF.
      ENDLOOP.
    thanks.

    Hi,
    CM50 is generated from CM10 main program for parameter 'M'. It generates it on the runtime and exports values into memory. It's less likely you will be able to generate the whole set into a Z Program.
    I didn't find a function module to do so. But, with your consultants help you can create your own function module that gives results similar to CM50, it's merely calculation of capacity of workcenters for a period using the sales order booked against the work centers in that period. If you try a bit you can create it.
    Good luck.
    Also remember, before you post a code, use  ...

  • Cluster Storage : All SAN drives are not added up into cluster storage.

    Hi Team,
    Everything seems to be working fine except one minor issue which is one of the disk not showing in cluster storage even validation was without any issue, error or warning. Please see the report
    below where all SAN disks are validate successfully, and not added into Window Server 2012 storage.
    Quorum disk was added successfully into storage, but data disk was not.
    http://goldteam.co.uk/download/cluster.mht
    Thanks,
    SZafar

    Create Cluster
    Cluster:
    mail
    Node:
    MailServer-N2.goldteam.co.uk
    Node:
    MailServer-N1.goldteam.co.uk
    Quorum:
    Node and Disk Majority (Cluster Disk 1)
    IP Address:
    192.168.0.4
    Started
    12/01/2014 04:34:45
    Completed
    12/01/2014 04:35:08
    Beginning to configure the cluster mail.
    Initializing Cluster mail.
    Validating cluster state on node MailServer-N2.goldteam.co.uk.
    Find a suitable domain controller for node MailServer-N2.goldteam.co.uk.
    Searching the domain for computer object 'mail'.
    Bind to domain controller \\GTMain.goldteam.co.uk.
    Check whether the computer object mail for node MailServer-N2.goldteam.co.uk exists in the domain. Domain controller \\GTMain.goldteam.co.uk.
    Computer object for node MailServer-N2.goldteam.co.uk does not exist in the domain.
    Creating a new computer account (object) for 'mail' in the domain.
    Check whether the computer object MailServer-N2 for node MailServer-N2.goldteam.co.uk exists in the domain. Domain controller \\GTMain.goldteam.co.uk.
    Creating computer object in organizational unit CN=Computers,DC=goldteam,DC=co,DC=uk where node MailServer-N2.goldteam.co.uk exists.
    Create computer object mail on domain controller \\GTMain.goldteam.co.uk in organizational unit CN=Computers,DC=goldteam,DC=co,DC=uk.
    Check whether the computer object mail for node MailServer-N2.goldteam.co.uk exists in the domain. Domain controller \\GTMain.goldteam.co.uk.
    Configuring computer object 'mail in organizational unit CN=Computers,DC=goldteam,DC=co,DC=uk' as cluster name object.
    Get GUID of computer object with FQDN: CN=MAIL,CN=Computers,DC=goldteam,DC=co,DC=uk
    Validating installation of the Network FT Driver on node MailServer-N2.goldteam.co.uk.
    Validating installation of the Cluster Disk Driver on node MailServer-N2.goldteam.co.uk.
    Configuring Cluster Service on node MailServer-N2.goldteam.co.uk.
    Validating installation of the Network FT Driver on node MailServer-N1.goldteam.co.uk.
    Validating installation of the Cluster Disk Driver on node MailServer-N1.goldteam.co.uk.
    Configuring Cluster Service on node MailServer-N1.goldteam.co.uk.
    Waiting for notification that Cluster service on node MailServer-N2.goldteam.co.uk has started.
    Forming cluster 'mail'.
    Adding cluster common properties to mail.
    Creating resource types on cluster mail.
    Creating resource group 'Cluster Group'.
    Creating IP Address resource 'Cluster IP Address'.
    Creating Network Name resource 'mail'.
    Searching the domain for computer object 'mail'.
    Bind to domain controller \\GTMain.goldteam.co.uk.
    Check whether the computer object mail for node exists in the domain. Domain controller \\GTMain.goldteam.co.uk.
    Computer object for node exists in the domain.
    Verifying computer object 'mail' in the domain.
    Checking for account information for the computer object in the 'UserAccountControl' flag for CN=MAIL,CN=Computers,DC=goldteam,DC=co,DC=uk.
    Set password on mail.
    Configuring computer object 'mail in organizational unit CN=Computers,DC=goldteam,DC=co,DC=uk' as cluster name object.
    Get GUID of computer object with FQDN: CN=MAIL,CN=Computers,DC=goldteam,DC=co,DC=uk
    Provide permissions to protect object from accidental deletion.
    Write service principal name list to the computer object CN=MAIL,CN=Computers,DC=goldteam,DC=co,DC=uk.
    Set operating system and version in Active Directory Domain Services.
    Set supported encryption types in Active Directory Domain Services.
    Starting clustered role 'Cluster Group'.
    The initial cluster has been created - proceeding with additional configuration.
    Clustering all shared disks.
    Creating the physical disk resource for 'Cluster Disk 1'.
    Bringing the resource for 'Cluster Disk 1' online.
    Assigning the drive letters for 'Cluster Disk 1'.
    'Cluster Disk 1' has been successfully configured.
    Waiting for available storage to come online...
    All available storage has come online...
    Waiting for the core cluster group to come online.
    Configuring the quorum for the cluster.
    Configuring quorum resource to Cluster Disk 1.
    Configuring Node and Disk Majority quorum with 'Cluster Disk 1'.
    Moving 'Cluster Disk 1' to the core cluster group.
    Choosing the most appropriate storage volume...
    Attempting Node and Disk Majority quorum configuration with 'Cluster Disk 1'.
    Quorum settings have successfully been changed.
    The cluster was successfully created.
    Finishing cluster creation.

  • The types of the parameter field and parameter field current values are not compatible.----

    HI,
    I am attempting to set report parameters in my .jsp code via URL parameters.
    I am able to set the report name, server connection dynamically however when attempting to set the Parameters I receive:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: The types of the parameter field and parameter field current values are not compatible.---- Error code:-2147213303 Error code name:invalidParameterField
    The parameter on the report is a String Type, named for this example p1.
    The value that p1 represents is LERAD
    My code:
    String stringValue = request.getParameter("p1");
    CRJavaHelper.addDiscreteParameterValue( clientDoc, "","p1", stringvalue);
    returns the above mentioned error.
    I have tried:
    String stringValue = (String)request.getParameter("p1");
    which returns the above error
    And;
    String stringValue = new String(request.getParameter("p1")).toString();
    which returns
    java.lang.NullPointerException
    java.lang.String.<init>(Unknown Source)
    org.apache.jsp.callReport_jsp._jspService(callReport_jsp.java:105)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    I notice that the CRjavaHelper.java declares this addDiscreteParameterValue as accepting an Object type for the newValue.
    Any ideas???

    Hi,
    nevermind.
    case sensitivty strikes again.
    my URL param was P1 ( case sensitive)

  • Select only records where column values are not all equal to zero

    Hi everyone, this seems so easy but it's got me stumped on finding a clean, easy way to accomplish this. I'm sure when someone responds, I'll kick myself. So, assume the following is what I've got:
    with mytable as (
    select 'Type 1' as itemtype, 'JAN' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'FEB' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'MAR' as monthname, 5 as theval from dual union all
    select 'Type 1' as itemtype, 'APR' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'MAY' as monthname, 4 as theval from dual union all
    select 'Type 1' as itemtype, 'JUL' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'AUG' as monthname, 0 as theval from dual union all
    select 'Type 1' as itemtype, 'SEP' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'OCT' as monthname, 7 as theval from dual union all
    select 'Type 1' as itemtype, 'NOV' as monthname, 1 as theval from dual union all
    select 'Type 1' as itemtype, 'DEC' as monthname, 2 as theval from dual union all
    select 'Type 2' as itemtype, 'JAN' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'FEB' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'MAR' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'APR' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'MAY' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'OCT' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'NOV' as monthname, 0 as theval from dual union all
    select 'Type 2' as itemtype, 'DEC' as monthname, 0 as theval from dual
    select
      itemtype,
      sum (case monthname when 'JAN' then theval else 0 end) as JAN,
      sum (case monthname when 'FEB' then theval else 0 end) as FEB,
      sum (case monthname when 'MAR' then theval else 0 end) as MAR,
      sum (case monthname when 'APR' then theval else 0 end) as APR,
      sum (case monthname when 'MAY' then theval else 0 end) as MAY,
      sum (case monthname when 'JUN' then theval else 0 end) as JUN,
      sum (case monthname when 'JUL' then theval else 0 end) as JUL,
      sum (case monthname when 'AUG' then theval else 0 end) as AUG,
      sum (case monthname when 'SEP' then theval else 0 end) as SEP,
      sum (case monthname when 'OCT' then theval else 0 end) as OCT,
      sum (case monthname when 'NOV' then theval else 0 end) as NOV,
      sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    order by itemtypeI need an outer query around this one or something that will only select "Type 1"... i.e., if all of the months are each equal to zero, don't include the record in the result set.
    Summing them to get a total of zero is not an option, as I could have -15 and +15 in different columns, in which case, that record would need to be displayed.
    Something as simple as... "where not (oct = 0 and nov = 0 and dec = 0...) at the end is all I seem to need. I've thought about adding a case clause for each column, but that doesn't seem very efficient. Ideas?
    Thanks in advance!
    Mark
    Edit... I know the following will work using the MINUS operator, but my real query is really huge, and I don't want to have to write it twice...
    {code}
    select
    itemtype,
    sum (case monthname when 'JAN' then theval else 0 end) as JAN,
    sum (case monthname when 'FEB' then theval else 0 end) as FEB,
    sum (case monthname when 'MAR' then theval else 0 end) as MAR,
    sum (case monthname when 'APR' then theval else 0 end) as APR,
    sum (case monthname when 'MAY' then theval else 0 end) as MAY,
    sum (case monthname when 'JUN' then theval else 0 end) as JUN,
    sum (case monthname when 'JUL' then theval else 0 end) as JUL,
    sum (case monthname when 'AUG' then theval else 0 end) as AUG,
    sum (case monthname when 'SEP' then theval else 0 end) as SEP,
    sum (case monthname when 'OCT' then theval else 0 end) as OCT,
    sum (case monthname when 'NOV' then theval else 0 end) as NOV,
    sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    minus
    select
    itemtype,
    jan,feb,mar,apr,may,jun,jul,aug,sep,oct,nov,dec
    from (
    select
    itemtype,
    sum (case monthname when 'JAN' then theval else 0 end) as JAN,
    sum (case monthname when 'FEB' then theval else 0 end) as FEB,
    sum (case monthname when 'MAR' then theval else 0 end) as MAR,
    sum (case monthname when 'APR' then theval else 0 end) as APR,
    sum (case monthname when 'MAY' then theval else 0 end) as MAY,
    sum (case monthname when 'JUN' then theval else 0 end) as JUN,
    sum (case monthname when 'JUL' then theval else 0 end) as JUL,
    sum (case monthname when 'AUG' then theval else 0 end) as AUG,
    sum (case monthname when 'SEP' then theval else 0 end) as SEP,
    sum (case monthname when 'OCT' then theval else 0 end) as OCT,
    sum (case monthname when 'NOV' then theval else 0 end) as NOV,
    sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    where ( oct = 0 and nov = 0 and dec = 0 and jan = 0 and feb = 0 and mar = 0
    and apr = 0 and may = 0 and jun = 0 and jul = 0 and aug = 0 and sep = 0
    order by itemtype
    {code}
    Edit again... Ok, I guess I'm answering my own question here, but I think using a WITH clause to write the main query once and then selecting * from it twice using the MINUS operator in between where the second query has where (oct = 0, etc.) is what I need. If anyone else has better suggestions, please do let me know! Here's the pseudo logic for what I've come up with so far...
    {code}
    WITH mainquery as (select everything)
    select * from mainquery
    minus
    select * from mainquery where (oct = 0, nov = 0, etc...)
    {code}
    Thanks again!
    Mark
    Edited by: user455268 on Mar 1, 2012 7:13 PM
    Edited by: user455268 on Mar 1, 2012 7:16 PM

    Hi,
    You can do that with a HAVING clause:
    select
      itemtype,
      sum (case monthname when 'JAN' then theval else 0 end) as JAN,
      sum (case monthname when 'FEB' then theval else 0 end) as FEB,
      sum (case monthname when 'MAR' then theval else 0 end) as MAR,
      sum (case monthname when 'APR' then theval else 0 end) as APR,
      sum (case monthname when 'MAY' then theval else 0 end) as MAY,
      sum (case monthname when 'JUN' then theval else 0 end) as JUN,
      sum (case monthname when 'JUL' then theval else 0 end) as JUL,
      sum (case monthname when 'AUG' then theval else 0 end) as AUG,
      sum (case monthname when 'SEP' then theval else 0 end) as SEP,
      sum (case monthname when 'OCT' then theval else 0 end) as OCT,
      sum (case monthname when 'NOV' then theval else 0 end) as NOV,
      sum (case monthname when 'DEC' then theval else 0 end) as DEC
    from mytable
    group by itemtype
    HAVING      MIN (theval)     != 0
    OR      MAX (theval)     != 0
    order by itemtype
    ;If the values are all 0, then the MIN and the MAX will both be 0.
    If either the MIN or the MAX is not 0, then the values are not all 0.
    This assumes that the combination (itemtype, monthname) is unique, as it is in your sample data.
    If that's not the case, start with a subquery that GROUPs BY itemtype, monthname, so that, when you get to the main query, that combination will be unique.

Maybe you are looking for

  • Modify "standard view" settings for an ALV in a WD4A view

    Hi fellow developers I have placed an ALV on  WD4A view. In the WDMODIFYVIEW I try to manipulate the ALV settings but somehow the settings of the "standard view" overrule my commands. The settings of the "standard view" are not modifiable from within

  • Homesharing not working

    Homesharing not working I

  • Should I swap computer with my father?

    So. My father recently got the mid 2012 13" Macbook Pro (the more powerful model with 2.9ghz http://support.apple.com/kb/SP649). He merely uses it to surf the web, check emails and store photos. He also thinks the display is a tad too small. I on the

  • Connection object as a key in a hashtable

    Hi, I am debugging some code where a Connection object is used as a key in a hashtable. Is this ok? Will the equals() and hashCode method be defined properly for a Connection object? Appreciate your help. Thanks!

  • Recent Security Update 2014-002 Causing Finder Crash - QuartzComposer Plugin

    Hello, Recently updated Mavericks with the Security Update 2014-002 and now getting Finder crashes on login. Seems to relate to the QuartzComposer plugin. No task bar at the top of the screen, just desktop wallpaper and looping Finder crash that can'