GUI_UPLOAD adds nulls

Hello,
I'm using GUI_UPLOAD in 'BIN' mode to upload a file to a dictionary table field (type RAW(254)). Everything goes fine, except for the last line. Since my document is not a multiple of 254, the last line is not completely filled. The function module fills this line with zeroes, but when I download this file again, these zeroes are seen as an illegal character. Any ideas how to bypass this?

GUI_UPLOAD returns file size using import parameter FILELENGTH, use it as export parameter BIN_FILESIZE of GUI_DOWNLOAD.
Regards
Sridhar

Similar Messages

  • Add null rows in WDDOINIT  for fetching data from dynamically added rows..

    Hi,,
    I have to fetch data from a dynamically added rows of a table.
    I have followed / gone through many forums but they ddnot mention how to add null rows in the initialization method..
    I am using WD Abap..
    Can anyone help how to bind null rows in WDDOINIT method..?
    Thanks,
    Surya

    Discussed @ SDN lot of time before. Have a look at any of below threads:-
    Dynamic table in interactive form...
    Make dynamic tables in Adobe Interactive forms
    Adding Rows dynamically upon clicking the button
    How to get values to WebDynpro ABAP from dynamic table?
    Chintan

  • [svn:osmf:] 17935: Addition to fix for FM-936: Add null check when casting to NetStreamTimeTrait, since DVR elements will have a TimeTrait of a different type.

    Revision: 17935
    Revision: 17935
    Author:   [email protected]
    Date:     2010-09-29 13:07:07 -0700 (Wed, 29 Sep 2010)
    Log Message:
    Addition to fix for FM-936: Add null check when casting to NetStreamTimeTrait, since DVR elements will have a TimeTrait of a different type.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-936
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/net/NetStreamSeekTrait.as

    I had saved one copy as an .asp but then resaved it to .xhtml 
    I'm assuming this is a static web site.  Rename (F2) all your pages with .html or .htm extension. 
    .xhtml is not a valid extension.
    Nancy O.

  • What could cause "Internal error: java.lang.NullPointerException: can't not add null to SWF frame" when using compc?

    using flex sdk 4.6, and air sdk 15.0.0.356
    we get the following error when using compc in our ant build:
    [java] Internal error: java.lang.NullPointerException: can't not add null to SWF frame
    [java] at com.adobe.flash.swf.SWFFrame.addTag(SWFFrame.java:77)
    [java] at com.adobe.flash.compiler.internal.units.requests.SWFTagsRequestResult.addToFrame(SWFTagsR equestResult.java:114)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.addCompilationUnitsAndDependenciesToF rame(SWFTarget.java:398)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrame(SWFTarg et.java:838)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrames(SWFTar get.java:875)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.java:243)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:348)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.build(SWCTarget.java:128)
    [java] at com.adobe.flash.compiler.clients.COMPC.buildArtifact(COMPC.java:144)
    [java] at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:541)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:184)
    [java] at com.adobe.flash.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
    [java] at com.adobe.flash.compiler.clients.COMPC.main(COMPC.java:62)
    which seems to be rather vague, and offers no clue as to what caused the problem. so, my question is, what could cause this error?
    these are the compiler options we use in the build file:
    <java jar="${flex.compc.jar}" dir="." fork="true" failonerror="true">
          <jvmarg value="-Xmx512m" />
          <arg line="@{options} ${_compc.libpath} ${_compc.externspath} ${_compc.includespath}" />
          <arg value="+flexlib=${flex.frameworks.dir}" />
          <arg value="-load-config=@{config}" />
          <arg value="-source-path=@{src.dir}" />
          <arg value="-include-sources=@{src.dir}" />
          <arg value="-output=@{dest}" />
          <arg value="-swf-version=@{swf.version}"/>
          <arg value="-debug=${flash.debug}"/>
          <arg value="-advanced-telemetry"/>
    </java>
    assume that the properties resolve to correct values, since all projects (except one) call this task and compile successfully. the error must come from this one project that fails, but we don't know why.
    any ideas?

    You could be running out of memory, try increasing the -Xmx512m value to -Xmx1024m or another value that you prefer

  • I am trying to add a hard disk but keep getting an error message to add null disk

    I am trying to add a hard disk but keep getting an error message to add null disk. How do I fix this problem?

    When installing a new OSX, it is not unusual that some applications will not work.  You have to check with the developer to see if they have upgraded to the new OSX or find a substitute application.
    In regards to your new HDD, most of the time they come formatted for Windows, not Mac.  Connect the HDD to your MBP and open Disk Utility>Erase.  To make it compatible, select 'Mac OS Extended (Journaled)' as the format.  Click on the Erase button.  You then should be able to read and write to it.
    Ciao.

  • BUG? Create procedure adds null to procedure keyword.

    Either
    right-click on procedures in tree view and select create procedure
    or
    File | New | Database Object | PL/SQL Sub-Program
    Change the procedure name (or not) and click on OK with out adding any parameters.
    The generated ddl is as follows.
    CREATE OR REPLACE
    nullPROCEDURE ELX.PROCEDURE1 AS
    BEGIN
      NULL;
    END;

    Yes. Known issue listed in Release Notes/readme.txt. We will be fixing it before production.
    Procedures > Create Procedure - There will be an extra "null" before "PROCEDURE" in the defaulted DDL. Need to remove when editing content before compiling or compilation will fail.
    -- Sharon

  • Add null value

    I need to update several AD user accounts with the following:
    Get-ADUser -Filter * -SearchBase 'ou=Active,ou=Students,OU=People,dc=domainr,dc=com' -Properties userPrincipalName | foreach { Set-ADUser $_ -UserPrincipalName ("{0}@{1}" -f $_.name,"domain.com")}
    This works fine, but I only want to update the records that are empty/blank.  How do I apply a search/apply for only those with a null value?
    mdclem

    Fausto and Clayman2, thank you for replying.  I've added the changes:
    Get-ADUser -Filter * -SearchBase 'ou=Active,ou=Students,OU=People,dc=domain,dc=com' -Properties userPrincipalName -Filter "userPrincipalName -eq $null"| Set-ADUser -Whatif -UserPrincipalName ("{0}@{1}" -f $_.name,"domain.com")
    But now get the following error:
    PS C:\Windows\system32> Get-ADUser -Filter * -SearchBase 'ou=Active,ou=Students,OU=People,dc=domain,dc=com' -Properties userPrincipalName -Filter "userPrincipalName -eq $null"| Set-ADUser -Whatif -UserPrincipalName ("{0}@{1}" -f $_.name,"domain.com")
    Get-ADUser : Cannot bind parameter because parameter 'Filter' is specified more than once. To provide multiple values to parameters that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
    At line:1 char:114
    + ... rPrincipalName -Filter "userPrincipalName -eq $null"| Set-ADUser -Whatif -UserPr ...
    +                    ~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Get-ADUser], ParameterBindingException
        + FullyQualifiedErrorId : ParameterAlreadyBound,Microsoft.ActiveDirectory.Management.Commands.GetADUser
    Where did I mess this up?
    mdclem

  • Union two tables with diffrent count of fields with null and float value

    Hello,
    i want to union two tables, first one with 3 fields and second one with 4 fields (diffrent count of fields).
    I can add null value at end of first select but it does not work with float values in second table. Value form second table is convert to integer.
    For example:
    select null v1 from sessions
    union
    select 0.05 v1 from sessions
    result is set of null and 0 value.
    As workaround i can type:
    select null+0.0 v1 from sessions
    union
    select 0.05 v1 from sessions
    or simple change select's order.
    Is any better/proper way to do this? Can I somehow set float field type in first select?
    Best regards,
    Lukasz.
    WIN XP, MAXDB 7.6.03

    Hi Lukasz,
    in a UNION statement the first statement defines the structure (number, names and types of fields) of the resultset.
    Therefore you have to define a FLOAT field in the first SELECT statement in order to avoid conversion to VARCHAR.
    Be aware that NULL and 0.0 are not the same thus NULL+0.0 does not equal NULL.
    In fact NULL cannot equal to any number or character value at all.
    BTW: you may want to use UNION ALL to avoid the search and removal of duplicates - looks like your datasets won't contain duplicates anyhow...
    Regards,
    Lars

  • How can I add rows to a JTable based on an Abstract Table Model?

    I have done this ...
    public class myui extends JPanel {
    private AbstractTableModel jTable1Model;
    blah blah
            jTable1Model = new AbstractTableModel() {
                 String[] column = new String[]{"TID", "Name", "Address"};
                 Vector<Vector<Object>> table = new Vector<Vector<Object>>();
                 @Override
                 public int getRowCount() {
                      return table.size();
                 @Override
                 public int getColumnCount() {
                      return column.length;
                 @Override
                 public String getColumnName(int col) {
                      return column[col];
                 @Override
                 public Object getValueAt(int row, int column) {
                      return table.get(row).get(column);
                 @Override
                 public void setValueAt(Object value, int row, int column) {
                      table.get(row).set(column, value);
                      fireTableCellUpdated(row, column);
                 public void insertRow() {
                      Vector<Object> columns = new Vector<Object>();
                      columns.add(null);columns.add(null);columns.add(null);
                      table.add(columns);
                      fireTableRowsInserted(0, table.size());
    blah blah
        public synchronized void ImportVisitorDataToJTable1(Object value, int row, int col) {
            jTable1Model.InsertRow();  <-----///// This line not being recognised as a valid member function call
           jTable1.setValueAt(value, row, col);
    }I thought to insert a row I can define a function in the abstracttablemodel class and then instantiate the class and override or create new methods that I can use.
    But after instantiating the class and overriding appropriately and adding the insertRow function, when I try to use it in ImportVisitorDataToJTable1 as seen above its not being recognized as a funtion of jTable1Model

    1. respect naming conventions. Example: myui --> MyUI, ImportVisitorDataToJTable1 -->importVisitorDataToJTable1
    2. convert Anonymous to Member: AbstractTableModel --> MyTableModel
    3. row parameter makes no sense here as it depends on current row count:
        public synchronized void importVisitorDataToJTable1(Object value, int col) {
            int row = jTable1Model.getRowCount();4. here is a more adequate "fireTable.."-call for insertRow:
    fireTableRowsInserted(table.size() - 1, table.size() - 1);
    5. check if you can take advantage using DefaultTableModel as suggested by Maxideon.

  • How to add blank entry in PickListSearchConstraint?

    Hi MDM API experts,
    I and trying to add Pick List Search Constraint and want to include the blank entry also in the criteria. how to include this ?
    I have added NullSearchConstraint, but still does not return blank values. Please help.
    Thanks,
    Deepak

    Hi Sudhanshu,
    I think I have found the solution. For the benefit of others, let me explain the situation and the solution,
    Situation:
    I needed to perform search on table1 which looks like this,
    table1
    --- filed1 (lookuptable1)
    lookuptable
    --- lookupfiled1
    lookupfiled1 contains items ("allowedvalue1", "allowedvalue2", "allowedvalue3","allowedvalue4", "unallowedvalue1","unallowedvalue2"). 
    Default value is empty / blank / null.
    So in my PickListSearchConstraint I was adding the allowedvalues (which was working fine) but I must also
    include the default entry. This is where I was having issue.
    My Solution:
    Very Simple, I have added NullValue to the PickListSearchConstraint. Here is my method:
    private void addPickListSearchConstraint(Search search, String tableName,
                   String fieldName, int[] filterValue, boolean addNullValue){
         //field id
         FieldId filedid = null;
         try {
              filedid = getFieldId(tableName, fieldName);
         } catch (ConnectionException e2) {
              e2.printStackTrace();
         } catch (CommandException e2) {
              e2.printStackTrace();
         // Values     
         int valuesLength = filterValue.length;
         MdmValue[] mdmValues = null;
         if (addNullValue){
              mdmValues = new MdmValue[valuesLength + 1];
         } else {
              mdmValues = new MdmValue[valuesLength];
         for (int i = 0; i < filterValue.length; i++) {
              mdmValues<i> = new LookupValue(new RecordId(filterValue<i>));
         if (addNullValue){ //Add Null Value also in the PickListSearchConstraint
              mdmValues[valuesLength] = NullValue.NULL;
         // Add value constaint
         if (mdmValues != null) {
              PickListSearchConstraint tscMainTypeRoot =
                        new PickListSearchConstraint(mdmValues);
              if (filedid != null){
                   //Create a FieldSearchDimension for the entered field
                   FieldSearchDimension fsdMaintableType =
                        new FieldSearchDimension(filedid);
                   search.addSearchItem(fsdMaintableType, tscMainTypeRoot);
    If someone has a better approach then please let me know.
    Regards,
    Deepak

  • Date and null problem

    Hello Techies,
    I am using mysql 5.0 and trying to inserting couple of values in to a table called books.
    CREATE TABLE books(
        book_id   INT AUTO_INCREMENT PRIMARY KEY,
        author_id INT,
        title     VARCHAR(255),
        pub_date  DATE);when i insert null values in the pub_date thru jdbc,I am getting the following exception.
    SQLExceptionIncorrect date value: 'null' for column 'pub_date' at row 1But when tried from command prompt with the following query, values are inserted into the database.
    INSERT INTO books VALUES(2, 2, "java", null);Here is my code.
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    public class databaseTest {
         public static void main(String args[])
              Connection conn = null;
                 ArrayList  col = new ArrayList();
              //Collection  col = new ArrayList();
              try
              //DBBackupPM dd = new DBBackupPM();
                conn = getConnection();
                   col.add("1");
                   col.add("1");
                   col.add("java");
                   col.add("null");
              String query = "INSERT INTO books VALUES(?,?, ?, ?);";
              PreparedStatement ps = conn.prepareStatement(query);
              int j=0;
              for(int i =0;i<col.size();i++)
                   j++;
                   System.out.println(col.get(i).toString());
                   ps.setString(j,col.get(i).toString());
              ps.executeUpdate();
              System.out.println("Query Xcuted");
              catch (SQLException sqe) {
                   // TODO: handle exception
                   System.out.println("SQLException"+sqe.getMessage());
              System.out.println("collection size"+col.size());
              Iterator it = col.iterator();
              while(it.hasNext())
                   System.out.println("yyuy"+it.next());
         public static  Connection getConnection() {
              System.out.println("inside GetConnection()");
              Connection conn = null;
              try {
                   String driverName = "org.gjt.mm.mysql.Driver";
                   Class.forName(driverName);
                   String serverName = "localhost";
                   String mydatabase = "test";
                   String url = "jdbc:mysql://" + serverName + "/" + mydatabase +"?autoReconnect=true";
                   String username = "root";
                   String password = "xxx";
                   conn = DriverManager.getConnection(url, username, password);
                   System.out.println("connection established");
              } catch (ClassNotFoundException cnfe) {
                   // Could not find the database driver
                   System.out.println("classNotFoundExcpetion" + cnfe.getMessage());
              } catch (SQLException sqe) {
                   // Could not connect to the database
                   System.out.println("SQLException" + sqe.getMessage());
              return conn;
    }can u guys tell me why I am getting the xception .
    regards,
    krish

    public class databaseTest {
         public static void main(String args[])
              Connection conn = null;
                 ArrayList  col = new ArrayList();
              //Collection  col = new ArrayList();
              try
              //DBBackupPM dd = new DBBackupPM();
                conn = getConnection();
                   col.add("1");
                   col.add("1");
                   col.add("java");
                   col.add("null");You are not inserting a null value here. You are trying to insert the text "null" as the value for the pub_date field. That won't work because the string "null" is not a valid date. What you're actually doing is this:
    INSERT INTO books VALUES(2, 2, "java", "null");Note the quotes around "null".
    You should set the column to the value null, not to the string "null".

  • How to add elements to a list of Long Serializable

    I am currently writing a set of generic DAOs with generic signatures such as DAO<PK extends Serializable> (you've all seen the pattern).
    I am using Hibernate to persist to the database whose method is;
    public Serializable save(Object object)
    However, I am working in batches to save groups of Objects at a time & would like to save the returned Serializable types from this method to a list.
    List< ? extends Serializable> someList = new ArrayList< Long >
    for ( loop 0..n ) {
    someList.add( save( objectToPersist ) );
    This will not even compile as the IDE gives the error;
    The method add(capture-of ? extends Serializable) in the type List<capture-of ? extends Serializable> is not applicable for the arguments (Serializable)
    Ive obviously got the wrong end of the stick somewhere but I thought List<? extends Serializable> was a subclass of Collection<?> etc.
    Or am I trying to subclass a super type...
    Apologies for a stupid question as Ive just started using Generics & I've got the Tiger 5 book to read this weekend so Im sure itll make sense by then, but this is confusing me.
    Thanks

    As a side note
            List<? extends Serializable> someList = new ArrayList< Long >();
            someList.add(null);  //works
            someList.add(new Long(21));  //wont compilehttp://www.javabeat.net/articles/33-generics-in-java-50-3.html
    http://www.javabeat.net/articles/33-generics-in-java-50-4.html
    Came across these links discussing why the above wont compile

  • How to put the null value at the last of  a select list

    Hello,
    I have a select list with a null value, I want the null value to be the last value in the list. It always appears in the top of the list, Desc and Asc order is not working.
    Thank you in advance!
    Edited by: Najla on Apr 1, 2013 10:37 PM

    Hi,
    Edited by: Howard (... in Training) on Apr 2, 2013 1:xx PM
    The statement - I don't think it is possible to arrange the order of the null option in a select list.- is close. You can't control the order of the Null value if you add the Null value through the GUI. However, it can be added and controlled as part of a SELECT ...
    One way is to add NULL to the "SELECT". Here the Yes/No are hard-coded but they could have been selected from a table:
    select d, r from
    select 'YES' d, 'Y' r from dual
      union all
    select 'No' d, 'N' r from dual
      union all
    select Null d, '<Null>' r from dual
    ) order by 1 desc NULLS lastHoward

  • Htmldb_item(s) are null but return query values

    Hi,
    I have used the following query to create a region (I've done many like this).
    When I access the htmldb_application items in insert statements it works fine.
    But, when I try to do an update statement the htmldb_application items are null;
    even after returning & displaying the values on screen. Hope this makes sense.
    Region:
    Select x.establishment_name,
    x.hsd_insurance_policy_number,
    x.hsd_insurance_group,
    x.del
    from
    (Select
    htmldb_item.text(11,establishment_name,20) establishment_name,
    htmldb_item.text(12,hsd_insurance_policy_number) hsd_insurance_policy_number,
    htmldb_item.text(13,hsd_insurance_group) hsd_insurance_group,
    htmldb_item.hidden(14,hsd_person_insurance_id) hsd_person_insurance_id,
    htmldb_item.hidden(15,gen_establishment_id) gen_establishment_id,
    htmldb_item.hidden(16,gen_adr_id) gen_adr_id,
    htmldb_item.checkbox(20,gen_person_id) del
    from hsd_insurance_v
    where gen_person_id = :HSD_Per_Identifier
    union all
    Select
    htmldb_item.text(11,null),
    htmldb_item.text(12,null),
    htmldb_item.text(13,null),
    htmldb_item.hidden(14,null),
    htmldb_item.hidden(15,null),
    htmldb_item.hidden(16,null),
    htmldb_item.checkbox(20,null) del
    from all_objects where rownum < nvl(:P4300_ROWS3,2)) x
    Update Statement:
    Begin
    for i in 1..htmldb_application.g_f11.count
    loop
    If htmldb_application.g_f11(i) is not null Then
    Update HSD_PERSON_INSURANCE
    Set
    HSD_INSURANCE_POLICY_NUMBER = htmldb_application.g_f12(i),
    HSD_INSURANCE_GROUP = htmldb_application.g_f13(i),
    LAST_UPDATE_BY = :P4300_Updated_By,
    LAST_UPDATE_DATE = to_date(:P4300_Updated_Date,'DD/MM/YYYY')
    where
    hsd_person_insurance_id = htmldb_application.g_f14(i);
    Update Gen_Establishment_Entity
    Set
    ESTABLISHMENT_NAME = htmldb_application.g_f11(i),
    LAST_UPDATE_BY = :P4300_Updated_By,
    LAST_UPDATE_DATE = to_date(:P4300_Updated_Date,'DD/MM/YYYY')
    where gen_establishment_id = htmldb_application.g_f15(i);
    end if;
    end loop;
    end;

    Susan,
    In 1.5, htmldb_item.select_list_from_query didn't support "display extra values" behavior. Now it does and a tenth parameter (p_show_extra in varchar2 default 'YES') allows you to disable it with 'NO'.
    In your example, the query selects only non-null commisions, but setting p_show_null=>'YES' gives you the first null row and the default setting p_show_extra=>'YES' gives you the last null row, which is the "selected" option for rows where the comm column is null.
    Add ,NULL,NULL,'NO' to the function call to eliminate the unwanted row.
    Scott

  • Add cols to query

    I have this query:
    select state_name,sum(cnt_active) TotalActiveVouchers, sum(sum_active) TotalActiveValue,
    sum(cnt_inactive) TotalOtherVouchers, sum(sum_inactive) TotalOtherValue,
    sum(cnt_expired) TotalRedeemedVouchers, sum(sum_expired) TotalRedeemedValue
    from(select state_name,decode(mp.status,'12',1,0) cnt_active,
    decode( mp.status,'12',mh.chargesheet_name,0) sum_active,decode(mp.status,'18',1,0) cnt_inactive,
    decode( mp.status,'18',mh.chargesheet_name,0) sum_inactive,
    decode(mp.status,'',1,'5',1,'16',1,'17',1,0) cnt_expired,
    decode( mp.status,'',mh.chargesheet_name,'5',mh.chargesheet_name,'16',mh.chargesheet_name,'17',mh.chargesheet_name,0) sum_expired
    from mst_pindetails mp, mst_batchno mb,mst_chargesheet_hdr mh,
    mst_state ms where mp.swhbatchcode=mb.swhbatchcode and mb.chargesheetno = mh.chargesheet_code and trim(ms.state_id) = mb.statecode)
    group by state_name order by state_name
    This query displays results of statename,active count, active value,redeem count, redeemvalue, other count, othervalue
    I want two more columns to be displayed status and attribute_date which come from mst_pindetails table ... i dont want to use them in groupby
    I need these because if i add these two cols also to this query i can use it in an application where i can perform the search criteria based on these two... if they are in the query then only i will be able to use it in application

    it gives me 60740 rows .... actually i should get only 6 rows based on statename... only 6 states are there,.... but different status and attribute_date are there thats why iam getting more rows ... can i get only 6 states and can i make status and attribute date as null when results are displayed
    how to set a column value to null or zero in the results displayed..just use your original query and add null as status and null as attribute_date
    that will give you the columns with no value.
    /* Formatted on 7/6/2011 10:25:39 AM (QP5 v5.149.1003.31008) */
      SELECT state_name,
             NULL status,
             NULL attribute_date,
             SUM (cnt_active) TotalActiveVouchers,
             SUM (sum_active) TotalActiveValue,
             SUM (cnt_inactive) TotalOtherVouchers,
             SUM (sum_inactive) TotalOtherValue,
             SUM (cnt_expired) TotalRedeemedVouchers,
             SUM (sum_expired) TotalRedeemedValue
        FROM (SELECT state_name,
                     DECODE (mp.status, '12', 1, 0) cnt_active,
                     DECODE (mp.status, '12', mh.chargesheet_name, 0) sum_active,
                     DECODE (mp.status, '18', 1, 0) cnt_inactive,
                     DECODE (mp.status, '18', mh.chargesheet_name, 0) sum_inactive,
                     DECODE (mp.status,  '', 1,  '5', 1,  '16', 1,  '17', 1,  0)
                        cnt_expired,
                     DECODE (mp.status,
                             '', mh.chargesheet_name,
                             '5', mh.chargesheet_name,
                             '16', mh.chargesheet_name,
                             '17', mh.chargesheet_name,
                             0)
                        sum_expired
                FROM mst_pindetails mp,
                     mst_batchno mb,
                     mst_chargesheet_hdr mh,
                     mst_state ms
               WHERE     mp.swhbatchcode = mb.swhbatchcode
                     AND mb.chargesheetno = mh.chargesheet_code
                     AND TRIM (ms.state_id) = mb.statecode)
    GROUP BY state_name
    ORDER BY state_name

Maybe you are looking for

  • Do I use Service Catalogue or Business Services for this?

    Hi I'm just looking at implementing System Centre Service Manager - I'm an ITIL expert but not a Microsoft techie so bear with me! I need to represent 130ish Services within SCSM which are different products we sell and support for our clients. Incid

  • How can you tell if a PDF is RGB or CMYK?

    From the screeshto below I am finding the only way to tell if a PDF I receive is RGB or CMYK, is by the transparency blending space. Are there any other ways? The drop shadow on the chip is showing cyan, along with the yellow arrow. The original file

  • Access Snow Leopard Folders from Boot Camp running Vista

    Hi. I have a MacBook with a three partitioned hard drive. 2 partitions are HFS+, 1 for Snow Leopard and 1 for storage of my music, photos and video files etc. The 3rd is a Boot Camp partition on which I have Windows Vista installed. I find that I can

  • Was any wifi range issues of ios5 fixed in ios5.1?

    hi all... not really that dumb, neither am i blond..., but lately i feel like one........ when i had ios3.3 to 4.3 on my iphone 3gs, my wifi signal level and range was fantastic... i had strong wifi signal and impressive range too. when i updated to

  • HT4097 iTunes wont recognize my iPad error code 50????

    i have restored my ipad using itunes but now itunes wont regonise my ipad gives me an error code 50...???? HELP!!!!!!!!