ORDER BY FORMAT(Date, 'mmmm')

i wonder how can i order my statement interm of "ORDER BY FORMAT(Date, 'mmmm')" with using this it will order by alphabethical but i want it order by month... i had try "ORDER BY FORMAT(Date, 'mm')" but due to at the begining i have "SELECT FORMAT(Date, 'mmmm')FROM TABLE"
my actual statement will look like this
"SELECT FORMAT(Date, 'mmmm')AS DateMonth, COUNT(x) AS CounterX FROM Table WHERE FORMAT(Date, 'mmmm') BETWEEN 'January' AND 'August' GROUP BY FORMAT(Date, 'mmmm') AND ORDER BY FORMAT(Date, 'mmmm')ASC"...
i want it order by month not alphabetical....
pls adviced... thanks in advanced.

SQL> select a, cnt
  2  from (
  3  select to_char(hiredate, 'month') a, to_char(hiredate, 'mm'), count(*) cnt
  4  from emp
  5  group by to_char(hiredate, 'month'), to_char(hiredate, 'mm')
  6  order by 2
  7  );
A               CNT
january           2
february          2
april             1
may               1
june              1
september         2
november          1
december          4
8 ñòðîê âûáðàíî.
SQL> 

Similar Messages

  • Issue with using formatted date value column in order by clause...

    Hi,
    1) Through a function I am listing all the months in a year.
    like JAN-2007, FEB-2007,MAR-2007......
    2) i am comparing these values against a date value column in a table.
    And if there are no values in a particular period it will return a null value (simply to say, i am using an outer join)
    3) The issue.....
    When join both the queries then the order of the dates is not mainted .....
    My requirement is......
    Jan-2007 = 3
    Feb-2007 = 5
    Mar-2007 = null
    etc.....
    should be acheived.
    But I end up in the alphabetical order of the months....
    like
    Apr-2007 = 5
    Aug-2007 = 10
    etc.....
    Can anybody let me know how can i acheive my resultant output to be ordered by the date and not by character.
    When I use the date column in the order by I run into an error....
    saying....
    ORA-01858: a non-numeric character was found where a numeric was expected
    Its a kind of urgent...
    Any help is appreciated....
    KK

    When I use a outer join as follows....
    "and upper(to_char(a.task_planned_start_date,'mon-rrrr')) = d.period_name(+)"
    All the null periods are ending at the bottom.It's standard behavoiur.
    Seems, you need to sort by a.task_planned_start_date.
    Look below:
    SQL> select e.ename, ec.ename from emp e, emp_copy ec
      2  where e.empno = ec.empno(+);
    ENAME      ENAME
    SMITH      SMITH
    ALLEN
    WARD       WARD
    JONES
    MARTIN     MARTIN
    BLAKE
    CLARK      CLARK
    SCOTT
    KING       KING
    TURNER
    ADAMS      ADAMS
    JAMES
    FORD       FORD
    MILLER
    14 rows selected.
    SQL> select e.ename, ec.ename from emp e, emp_copy ec
      2  where e.empno = ec.empno(+)
      3  order by ec.ename
      4  /
    ENAME      ENAME
    ADAMS      ADAMS
    CLARK      CLARK
    FORD       FORD
    KING       KING
    MARTIN     MARTIN
    SMITH      SMITH
    WARD       WARD
    JAMES
    TURNER
    ALLEN
    MILLER
    BLAKE
    JONES
    SCOTT
    14 rows selected.
    SQL> select e.ename, ec.ename from emp e, emp_copy ec
      2  where e.empno = ec.empno(+)
      3  order by e.ename
      4  /
    ENAME      ENAME
    ADAMS      ADAMS
    ALLEN
    BLAKE
    CLARK      CLARK
    FORD       FORD
    JAMES
    JONES
    KING       KING
    MARTIN     MARTIN
    MILLER
    SCOTT
    SMITH      SMITH
    TURNER
    WARD       WARD
    14 rows selected.Rgds.

  • Find Sales Order Item Basic Data by Elements query fails

    I am trying to consume Find Sales Order Item Basic Data by Elements in .NET 3.0.
    Every thing appears to be working fine -- I could query by PO number, Creation time, SalesOrganisationID etc.
    However, the most basic query is mysteriously failing. I just want to query by Sales order number, and have given a valid sales order number 6718 that exists in SAP.
    It fails giving the following errors:
    (in Log.LogItem.Note variable):
    <b>"Conversion failed: Invalid input format"</b>
    (in Log.LogItem.TypeID variable):
    <b>"701(SFB)"</b>
    Code is pretty simple, and I am just trying to query Saler Order number 6718. Of course there is nothing wrong with its format.
    From the ESOA site, all I could get was:
    <i>----
    QUOTE -
    The following values are optional selection criteria for restricting the search result:
    SelectionByID – Document number range
    INCLUSION_EXCLUSION_CODE
    INTERVAL_BOUNDARY_TYPE_CODE
    LOWER_BOUNDARY_ID
    Value
    UPPER_BOUNDARY_ID Value
    Value
    UNQUOTE -
    </i>
    I could not even have any  documentation on what to put in InclusionExclusionCode, and IntervalBoundaryTypeCode. They apper to be some Global Data Types for which I couldn't find any documentation. By sifting through Wiki, I just guessed a couple of values praying that it may work. I am a bit new to ESOA, but have expertise in .NET 3.0. Would someone guide me where to find the documentation for that, where are the error codes listed, so that I make the queries with little better preparation.
                querydata.SelectionByID = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID[1];//Single element array is good enough
                querydata.SelectionByID[0] = new SalesOrderERPItemBasicDataByElementsQueryMessage_syncSalesOrderERPItemBasicDataSelectionByElementsSelectionByID();
                querydata.SelectionByID[0].InclusionExclusionCode = "E";
                querydata.SelectionByID[0].IntervalBoundaryTypeCode = "6";
                querydata.SelectionByID[0].LowerBoundaryID = new SalesOrderID();
                querydata.SelectionByID[0].LowerBoundaryID.Value = "6718";
                querydata.SelectionByID[0].UpperBoundaryID = new SalesOrderID();
                querydata.SelectionByID[0].UpperBoundaryID.Value = "6718";

    How do you test with a SOAP Client  - I am trying to use same dataset as provided?
    I did with WSDL Test - SAP, SOAP Client and got the following error:
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Body>
          <nr1:SalesOrderERPBasicDataByElementsResponse_sync xmlns:nr1="http://sap.com/xi/APPL/Global2">
             <Log>
                <MaximumLogItemSeverityCode>1</MaximumLogItemSeverityCode>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
                <Item>
                   <TypeID>701(SFB)</TypeID>
                   <SeverityCode>1</SeverityCode>
                   <Note>Conversion failed: Invalid input format</Note>
                </Item>
             </Log>
          </nr1:SalesOrderERPBasicDataByElementsResponse_sync>
       </soap-env:Body>
    </soap-env:Envelope>
    Thanks..
    Vikas

  • Error in outputting xml formatted data

    Hello,
    I'm trying to output xml formatted data using apex.
    At about 70% into the formatted output I get this in the browser:
      <descript>punct= & > < /,() &</descript>
      </row>
    - <row The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
    Only one top level element is allowed in an XML document. Error processing resource 'http://apex.oracle.com/pls/otn/f?p=158...
    <script language="JavaScript1.1" type="text/javascript">
    -^
    m">>
    <DIVI have a 600 row table (dml below) with identical string in each row of the descript column. (I put in some special characters just to push it through the escape function for html. It is displaying the text correctly.)
    The page has one report region (plsql below).
    The page template is stripped down.
    My local results are identical to the otn hosted workspace.
    I did dump the table in xml format and displayed the dump file in browser without a problem, so I'm missing something in the code.
    Thank you.
    Albert
    On OTN webspace, go to http://apex.oracle.com/pls/otn/f?p=15866:1:1291425545573680200:::::
    plsql
    declare
    xdescript varchar2(4000);
        begin
        -- xml preface is in the page template
        -- htp.p('<?xml version="1.0"?>');
        htp.p('<rowset>');
        begin
            for item in
            (select descript,cid from receipts order by cid)
            loop
            htp.p ('<row>');
            xdescript := htf.escape_sc(item.descript);
            htp.p('<cid>' || item.cid || '</cid>');
            htp.p('<descript>'|| xdescript || '</descript>');
            htp.p('</row>');
            end loop;
        end;
        htp.p ('</rowset>');
    end;
    dml
    CREATE TABLE  "RECEIPTS"
       (     "CID" NUMBER,
         "AMOUNT" NUMBER NOT NULL ENABLE,
         "CLEARED" DATE,
         "DESCRIPT" VARCHAR2(80),
         "DATEENTERED" DATE DEFAULT SYSTIMESTAMP,
         "CHECKNBR" NUMBER,
         "CLEARSEQ" NUMBER DEFAULT 0,
          CONSTRAINT "RECEIPTS_PK" PRIMARY KEY ("CID") ENABLE
    CREATE SEQUENCE   "RECEIPTS_SEQ"  MINVALUE 1 MAXVALUE 999999999999999999999999999
    INCREMENT BY 1 START WITH 4319 CACHE 20 NOORDER  NOCYCLE
    CREATE OR REPLACE TRIGGER  "BI_RECEIPTS"
      BEFORE INSERT ON "RECEIPTS"
      FOR EACH ROW
    BEGIN
        SELECT "RECEIPTS_SEQ".NEXTVAL INTO :NEW.CID FROM DUAL;
    END;
    ALTER TRIGGER  "BI_RECEIPTS" ENABLE
    /

    May be it helps you. I use SQL/XML and APEX Application Process to generate XML succesfully
    Here is the result:
    http://htmldb.oracle.com/pls/otn/f?p=9774:101:0:APPLICATION_PROCESS=RSSNEWEVENTS
    and here is the Process Text source:
    declare
    a clob;
    begin
    owa_util.mime_header( ccontent_type => 'text/xml', bclose_header => TRUE, ccharset => 'utf-8');
    htp.prn('<?xml version="1.0" encoding="UTF-8"?>');
    select
    XMLTYPE.getStringVal(
    XMLElement("rss",
    XMLAttributes('2.0' as version),
    XMLElement("channel",
    XMLConcat(
    XMLElement("title",'iActiveLife - novinky'),
    XMLElement("link",'http://www.iactivelife.cz/'),
    XMLElement("description",'iActiveLife - Zajímavý život snadn&#283;ji'),
    XMLElement("language",'cs'),
    XMLElement("pubdate",''),
    XMLAgg(
    XMLElement("item",
    XMLConcat(
    XMLElement("title",event_name),
    XMLElement("link",'http://htmldb.oracle.com/pls/otn/f?p=' || v('APP_ID') || ':37:' || v('SESSION') || '::NO::P37_EVENT_ID:' || event_id),
    XMLElement("description",'')
    ) into a
    from (
    select event_id,event_name,issue_date, last_update_order
    from (
    select events.event_id, events.event_name, events.issue_date, rank () over (order by events.issue_date desc) as last_update_order
    from events
    where exists ( select * from opportunities where events.event_id=opportunities.event_id and opportunities.user_id is not null)
    order by events.issue_date desc)
    where last_update_order<=10
    htp.prn(a);
    end;

  • Sapscript for purchase order - wrong format

    HI all,
      I am looking at a custom zmedruk form.  In the MAIN, there is a line "IL "  ",,Deliv. Date &EKET-EINDT&,,,<B> " etc..
    The question is the delivery date (Eket-eindt).  In the purchase order, sometimes the date format comes in 5/17/2010 or 17.05.2010.     Also, i have declared a global variables &Tot_po(12.2)& which is used in the form.  This is a packed dcimal.
    Sometime this Tot-Po comes out as,for ex, $35.100,50  instead of  $35,100.50.
      Where i can find out ?    English is used. Can anyone pls let me know what is wrong ?
    thanks
    Joyce

    do you get differing formats for the same user? or do different users see different formats?
    meaning, if 1 user always sees 1,234.50 and another users always see 1,234,50 it's most likely a setting in their User Data.

  • Formatted Data Labels in CFCHART

    Is there a way to format data values in CFCHART?
    All my values in database are stored as 99.9 See below). These are percentages that I need to display on a bar chart. Everything works fine except when displaying 76.0, it shows as 76. All other values that have a number besides zero after the decimal point show up fine except for zero. I want the numbers to be consistent. I am already using custom XML file for formatting but unable to display the "zero" after the decimal point.
    Let's assume, StartYear = 2007 and EndYear = 2008, and the data in Influencer_Data table looks like this:
    ID      Poll_Year     Company    Influence_ID      Pulse      Goal
    96      2008            XYZ            842                  59.6      59.6
    97      2008            XYZ            839                  80.8      80.8
    98      2008            XYZ            838                  86.9      86.9
    99      2008            XYZ            841                  67.1      67.1
    100    2008            XYZ            840                  66.3      66.3
    101    2008            XYZ            470                  54.5      54.5
    102    2007            XYZ            842                  56.5      56.5
    103    2007            XYZ            839                  81.5      81.5
    104    2007            XYZ            838                  85.5      85.5
    105    2007            XYZ            841                  71.2      71.2
    106    2007            XYZ            840                  76.0      76.0
    107    2007            XYZ            470                  54.2      54.2
    108    2008            XYZ            843                  82.6      82.6
    And the data in influencers table looks like this:
    Influencer_ID Influencer_Type
    470      Regulators
    838      Financial Community
    839      Community Leaders
    840      Media
    841      Government
    842      Advocates
    843      Mexico
    <cfloop index="i" from="#StartYear#" to="#EndYear#" step="1">
         <CFQUERY NAME="GetInfluenceData#i#" DATASOURCE="#RMIDSN#">
              Select     ID.*, I.Influencer_Type
              From     Influencer_Data ID
                   INNER JOIN Influencers I ON ID.Influencer_ID = I.Influencer_ID
              Where     ID.Poll_Year = <cfqueryparam value="#i#" cfsqltype="CF_SQL_INTEGER">
                   AND ID.Company = 'XYZ'
              Order     By I.Influencer_Type
         </CFQUERY>
    </cfloop>
    The custom XML file (TLRIS.xml) looks like this:
    ?xml version="1.0" encoding="UTF-8"?>
    <frameChart isInterpolated="false">
              <frame xDepth="4" yDepth="5" outline="black" isVGridVisible="true"/>
              <xAxis>
                   <labelFormat pattern="#0.0"/>
              </xAxis>
              <yAxis>
                   <labelFormat pattern="#0.0"/>
                   <labelStyle orientation="Horizontal"/>
              </yAxis>
              <dataLabels style="Value" font="Arial-12" isMultiline="true">
              <![CDATA[ $(value) ]]>
              </dataLabels>
              <legend allowSpan="true" equalCols="false" isMultiline="true"/>
              <elements drawOutline="false">
                   <morph morph="Grow"/>
              </elements>
              <popup decoration="Round"/>
              <paint palette="Fiesta" paint="Plain" isVertical="true" min="47" max="83"/>
              <insets right="5"/>
    </frameChart>
    And the code for the graph is below:
    <cfoutput>
    <cfchart format="#ChartType#"
         chartheight="300"
         chartwidth="750"
         scalefrom="0"
         scaleto="100"
         foregroundcolor="##000000"
         databackgroundcolor="##ffffff"
         font="Arial"
         fontsize="10"
         labelformat="number"
         style="TLRIS.xml"
         show3d="yes"
         showlegend="yes"
         tipstyle="mouseOver"
         tipbgcolor="##FFFF00">
         <cfloop index="i" from="#StartYear#" to="#EndYear#" step="1">
              <cfset LoopCount = LoopCount + 1>
              <cfset WhichColor = ListGetAt(colorlist, LoopCount)>
              <cfchartseries     
                          type="bar"
                         serieslabel="#i#"
                         seriescolor="#WhichColor#"
                         datalabelstyle="pattern">
                         <cfloop query="GetInfluenceData#i#">
                                    <cfchartdata item="#Influencer_Type#" value="#Pulse#">
                         </cfloop>
              </cfchartseries>
         </cfloop>
    </cfchart>
    </cfoutput>

    mohadi wrote:
    I have already done that with no success.
    I am beginning to believe this may be a bug.
    Even if you try something as simple as the following, the decimal points that have zeroes don't show
    <cfchart style="beige">
    <cfchartseries type="pie">
    <cfchartdata item="New car sales" value="50.0">
    <cfchartdata item="Used car sales" value="55.0">
    <cfchartdata item="Leasing" value="56.5">
    <cfchartdata item="Service" value="76.2">
    </cfchartseries>
    </cfchart>
    Well that is the wrong kind of chart and it is not using the xml style.  But it works perfectly with a bar chart, using a custom style. The values display exactly as you have them above.
    <cfchart style="myPatternStyle.xml">
        <cfchartseries type="bar">
            <cfchartdata item="New car sales" value="50.0">
            <cfchartdata item="Used car sales" value="55.0">
            <cfchartdata item="Leasing" value="56.5">
            <cfchartdata item="Service" value="76.2">
        </cfchartseries>
    </cfchart>
    <!--- snippet from xml styles --->
    .... other xml ....
    <yAxis scaleMin="0">
          <titleStyle font="Arial-12-bold"/>
          <dateTimeStyle majorUnit="Year" minorUnit="Month"/>
          <labelFormat style="Pattern" pattern="#,##0.0#######"/>
    </yAxis>
    .... other xml ....

  • How to print formated data/report on client's printer (Web Application)

    Hi All
    I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
    Application is web based
    Technology used are Java - jsp - servlets
    i want functionality like...
    when user click on print button/link, data is fetched from server and all pages (it is formated data so i want alignment on page while printing) should be printed one after another.
    Also printer selection dialog should displayed one time when user click on print button/link.
    Questions:
    1. How i will transfer all data to client (web browser) from the server ??
    2. And how i can print that data on user's printer ??
    There is requirement (or limitation) that I can not use applet for this purpose.
    And also it is not fix that we must use java tech., we can use any othere tech. but condition is that it must support multiple platform (in short platform indipendant)
    There is solution like ...
    I can use window.print() function of DOM/JavaScript,
    but it prints only one page which is displayed on browser.
    I don't want to display any page. and want to print all pages.
    if any one done or have idea then let me know.
    Thanks in Adv.
    Shailesh Koradiya

    thanks linxpda for reply,
    we can use ActiveX component for windows platform for printing purpose, same way we can use platform specific component for printing... (for linux, unix, sun solaris etc...)
    if it is possible then let me inform.
    Thanks,
    Shailesh Koradiya

  • Load a sales order with delivery date in the past

    Hi,
    We want to load in the system a sales order with delivery date in the past, and maintain the schedule delivery date in the past. To do that, in the customizing Sales And Distribution / Basic Functions / Delivery Scheduling and Transportation Scheduling / Define Scheduling By Sales Document Type, I selected the flag Blackwards. But the problem is that the rest of the dates in the scredule line: goods issue date, loading date, material avail.date and transportation Plan Date, are in blank and you cannot enter any data because the system deletes it.
    How can I have these dates informed with dates in the past?
    Thanks in advance,

    You can control this using the "Message Control" in the SAP IMG.
    Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Message Control>Influence Message Control
    Using this you convert Error to Warning or even swith off this message.
    Please refer this thread for complete steps:
    Re: How to change an error message to a warning message in SRM
    Note: you need to suppress the messages relevant to your case here.
    Regards
    Kathirvel

  • Sales order schedule confirmed date will consider Production capacity load

    As we know about schedule confirm delivery dates of sales order will consider based on material master lead time ,shiping point etc
    How to consider production capacity plan on sales order's delivery date.
    Say for example :
    Production workcenter capacity to produce the XYZ material 10qty in a Day.
    today i have created the sales order XYZ materail qty of 100. lead days has give based of MMR 21 days 17-07-2010( 3 sundays)
    and in same day i have created other sales order XYZ material qty 5000 ,the lead days again it will came 17-07-2010.
    Now my client requiremnt is when the schedule days is confirming in the sale order it sholud also consider the production capacity planning also(CR01,CR02)
    Even though my work centers are overloaded it is confirming the sales order on 17-07-2010 (based on leads days in MMR)
    Need your Inputs on issue

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • Complete MRP status according to Sales order schedule line data

    Dear All,
    Please help me to get technical configuration releted to
    "complete MRP status according to Sales order schedule line data"
    or MRP w.r.t. Schedule line
    Please send fields and table and logic specification .
    Thanks & Regards,
    Ashish Gautam

    You can use following Fm for change sales order
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = p_vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
        schedule_lines    = i_sched
        schedule_linesx   = i_schedx.

  • How to print formatted data / report on user's printer in Web Application

    Hi All
    I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
    application is web based and tech. used are Java - jsp - servlets
    now prob. is ...
    how i will transfer all data to client (web browser) from the server and how i can print that data on user's printer ...??
    there is requirement that I can not use applet for this purpose.
    if any one done or have idea then let me know.
    thanks
    Shailesh Koradiya

    Hi
    Its simple, first of all break ur data in terms of pages. Write the logic in one JSP.
    suppose i have jsp PrintReport.jsp , for page 1 url will PrintReport.jsp?page=0 ... so on
    get the page parameter in JSP
    String page="";
    if(request.getParameter("page")!=null)
    page=request.getParameter("page");
    get the rowcount from the Result and assume records per page is 100
    if u have 1000 rows then 10 pages u have to serve
    StartRowNumber=page*recordsPerPage
    EndRowNumber=StartRowNumber+recordsPerPage
    Execute a SQL query , select * from table where rownum between
    StartRowNumber and EndRowNumber
    Provide google like pageNumbers in ur HTML page
    ie 1 2 3 4 5 6 ..10
    Regarding printing , Create HTML button called 'print' and add Javascript ' window.print()' on clicking it.
    Hope it would solve ur problem
    Cheers
    Rajendra Bandi

  • How can I find out the date of a movie I am trying to pre-order if the date is not available/showing in the "manage pre-order" section?

    How can I find out the date of a movie I am trying to pre-order if the date is not available/showing in the "manage pre-order" section?

    Thanks so much for your reply King_Penguin. No, sadly there is not indication of the expected release date on the film, it's no where to be found. I have also tried to look in other places online, but no luck. I guess your latter statement jives more with my situation, that  being the studio/rights-holder hasn't feel inclined to provide the date.

  • Error When Refresh Formatted Data inside Excel Analyzer

    I have build a Excel template and load up this to the BI Publisher Server. When I call this template after the log in works fine. When I refresh the data normal it works also fine, but when I try to refresh formatted Data I get the error "Error: This report does not support HTML as an output format." I will not use html output inside Excel, I will use the original Excel template with refreshed data.

    Hi Tim,
    The Refresh Formatted Data works on MS Excel 2003.
    May need to check if its really supported on MS Office 2002.
    Btw another question, is it possible to create an excel template without using Excel Analyzer?
    Also when I used the generated excel file of Excel Analyzer as template, when the report is generated the data sheet sometimes is not filled with correct data or sometimes there is no data at all, even if the parameters used is the same as the one used in generating the original excel file using Excel Analyzer. This happens most of the time for reports with Concatenated Queries or SQL Queries using "CURSOR" to group a set of data. Note that on initial generation of excel file using Excel Analyzer, correct set of data is displayed. It is only when it is used as template and viewed/exported in Excel format that data is not properly loaded.
    Please advise.
    Thanks!
    Uniz

  • Creation of Z reports for client adding two more column that is Purcahse order and delivery dates with Internal order wise

    HI Experts,
    Can any one help me to add two more column for standard report that is purchase order and delivery dates for Internal order wise.
    But here problem is when i checked with ABAP team they said there is no standard functional module to add two column.
    Please note below :
    Selection criteria is: 1) controlling area
                                  2) Fiscal Year
                                  3) From date and To date
                                  4) Plan Version
                                  5) Order Group.
    My client suggested : S_ALR_87012993 this tcode to run, but we suggested with S_ALR_87013019 as in this tcode we can get all the details
    That is required output fields, as it is showing all details but on yearly basis, he wants this to be period wise and also Abap team is not able to find standard functional module in the second tcode as well.
    Out Put fields to Pop up
    1) Orders.
    2) Budget
    3) Actual
    4) commitment
    5) Alloted
    6) Available
    These are two additional column
    7)Purchase order
    8) Delivery date.
    Require your help to know which all tables are included to extract above out put fields please help me.
    Thanks in Advance.
    Regards,
    Sudesh

    Hi Preeti,
    Thanks for reply, can you please let me know is there any other way to show the output fields.
    As my client is very specific to run the report on period wise, i also tried to execute the standard tcode S_ALR_87013019 and were we are getting all the required outputs to pop up but this is on year wise, but we can also check by period basis by clicking on order number and actual period basis where we can see period basis.
    Also one more question,what is the commitment table which is popping up in this, please advise.
    Thanks in advance.
    Regards,
    Sudesh

  • Reg.Creation of production order in past dates

    Hi all,
      Tell me that is there any possibility to create production order in Past dates.Let me explain my requirement.
    I create Production order mannually in CO01.By creating using this transaction code i need to save the production order on past dates,say
    Today's date - 06/04/2010
    my requirement is i will create production order on 06/04/2010 with the basic start date of production as 04/04/2010(I.e.Past Dates).And the system should schedule the order in past dates only after saving it.
    This is what i need
    To get this what are the configuration aspects i have to taken care.
    Thanks in advance,
    M.Badrinarain.

    hi ,
    for configuration you can go to OPU3 as suggested by by Mr. Kumar.
    also for a particular process order you can do it by :
    process order >settings> scheduling parameters in menu bar of process order.
    there you can give no. of days in past .
    regds
    satish

Maybe you are looking for