Want to display no. of ser. orders closed with in 1 day and outside 1 day

Hi Experts,
Im displaying a summary report for Closed call.
I want to display the Number of Service Orders Closed With in 1 day and Out side 1 day.
For example:
Brand......ASP...................With in 1day...............................Outside 1 day
ABC1........ALPHA Tec...........24................................................5
BCD2..........BETA Tec.............76................................................7
The difference of days I have brought using 2 variables (1. is for closed date and 2. is for service order created date)
In the Formula Variable I have (Subscrated Closed date - Created Date)
I'm not very sure how to bring the count of the service order that are closed with in 1 day and outside 1day.
Please help.
Thanks

Hi,
This could be achieved through Data model level as well:
1. By assuming you have two date char Created date and closing date.
2. Create a char (On-time) flag and populate flag by ABAP coding if Closing - Created = 1 then field should be Check ("X").
3. Restrict your report with this Flag to find out number of Service orders on-time.
4. Define a counter KYF in your data model and maintain fixed value = 1 in your cube / ODS.
This is one approach let me know if any further information is required.
Regards,
Venkat

Similar Messages

  • I want to buy a iPad2 to go along with my mac desktop and iPhone, do I have to purchase the same apps. to put on my iPad

    i want to buy a iPad2 to go along with my mac desktop and iPhone, do I have to repurchase the same apps. to put on my iPad?

    You can use most of the apps that you bought for your iPhone on the iPad as well. Sometimes the apps are not optimized for the iPad's larger display. Sometimes the apps are limited to the iPhone and you must purchase a separate iPad version. As with your iPhone, Mac apps cannot be used on an iOS device.

  • In scripts i want to display the total puchage order amount in text format

    Hi to all,
    Here my requirement is to display puchage order number,date,amount for individual order and total purchage order amount in same window in decimal format and i want to display this purchage order total amount in text format in another window ,is it possible or not
    please give solution asap urgent.
    regards,
    surya.

    Hi Surya
    It is possible ....jst call the routine in script..
    /:PERFORM SPELL_AMOUNT IN PROGRAM ZXYZ
    /:USING &REGUD-SWNES&
    /:USING &REGUD-WAERS&
    /:CHANGING &WORDS&
    /:CHANGING &DECIMAL&
    /:CHANGING &WAERS&
    /:ENDPERFORM
    P1 <C1>&WORDS& AND &DECIMAL&
    ....and write the code in  tht routine program....
    data: it_spell like spell.
    data: swnes type regud-swnes,
          waers type regud-waers,
          var1(20) type c,
          var2(20) type c.
    *&      form  spell_amount
          text
         -->input      text
         -->output     text
    form SPELL_AMOUNT  tables  input structure itcsy
                               output structure itcsy.
      read table input index 1.
    input = swnes.
      replace all occurrences of '*' in input-value with space.
      shift input-value left deleting leading space.
      translate input-value using ', '.
      condense input-value no-gaps.
      split input-value at '.' into var1 var2.
      condense: var1, var2.
      swnes = input-value.
      read table input index 2.
      waers = input-value.
      call function 'SPELL_AMOUNT'
       exporting
         amount          = swnes
         currency        = waers
      filler          = ' '
         language        = sy-langu
       importing
         in_words        = it_spell
       exceptions
         not_found       = 1
         too_large       = 2
         others          = 3
      if sy-subrc eq 0.
        refresh: output.
        output-name = 'WORDS'.
        condense waers.
        case waers.
          when 'USD'.
            concatenate it_spell-word 'DOLLARS' into
             it_spell-word separated by space.
          when 'EUR'.
            concatenate it_spell-word '' into
             it_spell-word separated by space.
           concatenate var2 'euros' into var2 separated by space.
          when others.
        endcase.
        output-value = it_spell-word.
        append output.
        output-name = 'WAERS'.
        output-value = waers.
        append output.
        condense waers.
        case waers.
          when 'USD'.
            concatenate var2 'CENTS***' into var2 separated by space.
          when 'EUR'.
            concatenate var2 'EUROS' into var2 separated by space.
          when others.
        endcase.
        output-name = 'DECIMAL'.
        output-value = var2.
        append output.
      endif.
    endform.                    "spell_amount
    this will give output as TEN DOLLARS & 20 CENTS....
    u can change the code as per ur requrement...
    Reward if Helpful....
    thnx
    Rohit

  • CRM :B2B: Want to display Message in the Order Basket: at Item Level

    Hi all
      I wanted to add some Message for every Product(item) being added into the Order Basket of the B2B (E-Commerce) application.
    Hopefully i found a Badi at the ABAP Layer (CRM_ISA_BASKET_ITEMS) and implemented the interface CHANGEITEMS_BEFORE_IL(code added to display a sample text).
    I am successful in adding TExt at the Top of the Basket. But my requirement is to add the Text for every Product present in the Basket !!!!!
    Any Help please !!!!! 
    Many Thanks
    KK
    Message was edited by: KK

    Hi
      Go to COMM_PCAT_ADM.Select Catalog type Both and choose details screen.Select S5 Text determination procedure for items.
      SPRO>CRM>BASIC FUNCTIONS>TEXT MANAGEMENT>DEFINE TEXT DETERMINATION PROCEDURE>SELECT THE ROW WITH A TEXT OBJECT>PCAT_CTY>DIALOG STRUCTURE CALL UP THE PROCEDURE AREA.Select the row with text determination procedure s5 ,In the dialog strurcture ,call up the definiton of procedure area.Select text type.
    I hope it helps

  • Wanted To Channge The Standsrd Purchase Order Template with Customized Temp

    Hi ALL,
    I m using oracle 11.5.10.2. I want to change the template attached with the Standard Purchase Order(PO_STANDARD_XSLFO) which is in XSL-FO Formatt.I want to use my customized template for printing Purchase order.I attached one template with the same Data definition which the standard template is having.
    But still it is taking the standard template not the customized one. Can u tell me how i can attch the customized template with the standard Purchase Order. And one thing more if i want to update the exisiting Standard template then how i can update it bcoz the update is disabled for that template.
    Thanx
    Ravi

    Hi Klause,
    Thanx, for ur Reply. I did the same thing.....i copied the xsl-fo for standard template and i just removed the braces from there, which was for printing purpose only. this is the change what i did....
    <fo:inline xsl:use-attribute-sets="legal_details_style">
    <xsl:value-of select="TOTAL_AMOUNT" />
    <fo:leader leader-pattern="space" leader-length="2.0pt" />
    ( --------------i removed this brace
    <xsl:value-of select="CURRENCY_CODE" />
    ) --------------i removed this brace
    </fo:inline>
    and the rest is similar to the standard template.. But it has given me that error....
    Error while generating the PDForacle.apps.xdo.XDOException genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null java.lang.Exception: Error while generating PDF :null java.lang.Exception: Error while generating PDF :null at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2084) at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:302) at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
    Thts the error...which i m getting..... Can u help me out.....
    Thanx
    Ravi

  • Sales order BOm with Both Header material and line item delivery

    Hi,
           We have one requirment   we have two products  Products  A  and B, when we are salling only product B we have some amount for that e.g 1000  rupees   but when we are salling product A  along with this product B is free of cost   so as in SO it is not accepting the 0 amount  thats why while making SO for product A  we reduce 1 rupee from product A   and that 1 rupee we are adding for the Free item B   but now every time we have to add both material in SO
      So is there any way  when we make the So for product A  automatically product B should come in So and price of product A is from VK11  but price of B should always be 1 and while creating delivery with VL01 both material we want to delivery and do the PGi  in the same way we required billing doucment for both the material and in case we are salling only product B price  should be from VK11.
      How to customize the system for above requirement.
    regards,
      zafar

    Hi Zafar,
    Free goods determination is not supported in SAP for structured material like BOM.
    For your requirement, you need not have to create a BOM materiall, simple free goods determination is suitable.
    You can create an Exclusive free goods condition record where material A will be the main item and material B will be the sub item (free of charge).
    So create the Condition record for Exclusive free goods in VBN1.
    When you will create the Sales order for material A, system will take the above materials "A" as Main item (Item category TAN) and "B" Sub-item (Item category TANN) respectively.
    When you will create DELIVERY , both the items will be delivered and you can do PGI.
    As and when required you can also sell material B separately.
    Regards
    Pradyumna

  • Sales order report with Net value (NETWR) and Tax amount (MWSBP)

    Hi all,
            I would like to know if somebody know if exist a report of sales order where it can see the Net value and the Tax amount per sales order.
    Regards,
    Mariano.

    You can read those details directly in the table VBAP.
    There are fields for COST, Subtotal1, to subtotal 6, which carries values for netvalue, discounts etc. Depending on the system pricing procedure sub total set-up you can read the tax from one of the sub-total fields.
    You can develop an ABAP query by joining tables VBAK and VBAP, to get the required outputs if needed. Or you can download the VBAP values into an Excel application, where user can manipulate the details.
    Regards,

  • Finding Order Lines with only top model and no child items

    Hi All,
    Can you please help me in finding out the Order lines which are having only top model and no child item and the lines total is zero. I framed a query for this but it takes too long time to retrieve such lines. the query is:
    select top_line_id, header_id,flow_status_code ,line_type_id
    from (select count(*) lines, top_model_line_id top_line_id, header_id,flow_status_code ,line_type_id
    from oe_order_lines_all
    where flow_status_code in ('BOOKED','ENTERED')
    and line_type_id IN (<line_type_id>))
    group by top_model_line_id,header_id,flow_status_code,line_type_id)
    where oe_totals_grp.get_order_total (header_id,top_line_id,'ALL')<=0
    and lines <=1
    order by line_type_id desc;
    Can you please help me in this case?
    Thanks
    Himanshu

    Hi,
    You can try including the condition top_model_line_id is not null. I think that would make the query faster because it would allow the use of an index. The query would look like:
    select top_line_id, header_id,flow_status_code ,line_type_id
    from (select count(*) lines, top_model_line_id top_line_id, header_id,flow_status_code ,line_type_id
    from oe_order_lines_all
    where flow_status_code in ('BOOKED','ENTERED')
    and top_model_line_id is not null
    and line_type_id IN (<line_type_id>)
    group by top_model_line_id,header_id,flow_status_code,line_type_id)
    where oe_totals_grp.get_order_total (header_id,top_line_id,'ALL')<=0
    and lines <=1
    order by line_type_id desc;Hope it helps.
    Regards.

  • Service Order Management with External ResourceProc.Presentation Req???????

    Hello All
    I want presentations about the scenario u201CService Order Management with External Resource Procurementu201D and if some one have implemented this scenario it will be much better if I got a detailed scenario
    Please send me the presentations and the documents to
    Jacopo.fransoice"at"live.com
    Thanks in advance
    Jacopo Fransoice

    i need these presentations urgently

  • Display list of sales orders for one particular customer using BAPI in WD

    Friends,
    i want to display list of sales orders for one particular customer, the materials ordered, quantity ordered, goods issue date of that particular order and contact information about that particular customer, using Webdynpro.
    Please somebody send me related info,blogs,help links , to complete this task, this is very urgent.
    Please help
    Peter

    Find the WD tutorials here...
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/web%20dynpro%20sample%20applications%20and%20tutorials.htm">Tutorials</a>

  • How do I install the new "unified series Beta driver with OpenAL support" driver?

    Hey guys, I'm going to reformat later today and I need instructions on how to install these latest drivers.
    Once I reformat, I will install Windows 2000 SP4.
    When I reboot, I will insert the CD that came with my Audigy 2 and I will select "Custom Install" and I will select to install everything EXCEPT the driver.
    Then when I have installed all the Creative software from the CD that came with my Audigy 2, I will reboot.
    Now I will install the "unified series Beta driver with OpenAL support" driver and then reboot.
    Is that the correct procedure? If not PLEASE tell me!

    My game music always (now I've asked for it!!!) seems to work; have you tried disabling cthelper in your config as that seems to ?$!&^ everything up; on my system it was causing crashes and also meant my system was taking 0 minutes to shut down!
    And while we're at it, maybe someone from Creative could expand on the really useful info the guys above have given (thanks guys!).
    Oh yeah, one last suggestion for Creative; maybe make the installation of "cthelper" optional in the installation program and/or have a check box in the Creative config software to turn it on off with an explanation as to why people may want to do this (ie may cause problems on some systems)...
    G

  • Why cant I drag and drop my pictures into an order I want to display them

    Why can't I drag and drop my pictures into an order that I want to display them ? The 'manual sort' option does not seem to be 'lit' nor does the 'reset manual sort' what am I doing wrong please.
    ps
    Beginning to wish I had stuck with a PC !

    If you prefer a PC use it. No one here cares one bit
    As to iPhoto, unless you take a few minutes to actually learn how to use it then you will never be happy. Same with any new PC program that you do not understand. Or a new car for that matter
    A great place to start your education is here. http://www.apple.com/support/iphoto/
    As to your specific issue, trivial. Make an album of the photos and manually drag them to the order you want. Events simply do not work that way
    Try to drive your car in Park and you get nowhere because that is not how it works. Any time you use a product incorrectly you will have poor results
    LN

  • I want arabic and engilish keyboard in MacBook Pro with retina display how can i order that ??, i want arabic and engilish keyboard in MacBook Pro with retina display how can i order that ??

    i want arabic and engilish keyboard in MacBook Pro with retina display how can i order that ??, i want arabic and engilish keyboard in MacBook Pro with retina display how can i order that ??

    If you haven't found an answer yet. I know for a fact that this can be ordered directly from Apple at no extra cost
    You can either ask for this when buying a new MBP at a "physical" Apple store, or as in my case in the UK the online Apple store allows such keyboard configuration in addition to 3 other languages like Spanish, German and French

  • Want to display the item in MDM2 but dont want the customer to order it

    Hi
    I want to display the item in the catalog but i want to block the material from being orderd. how do i do that?

    Hi,
    SRM-MDM Catalog has somthing like display mode. You can set it in UI customizing. If you want to block order for only some of items, please create custom filed like "display only=X" and check the value in the BADI BBP_CATALOG_TRANSFER.
    Regards,
    Masa

  • Service order is on product deliver status ,then i want to display product delivery status date and time on result list ?

    Hi Team,
    service order is on product deliver status ,then i want to display product delivery status date and time on result list ?My requirement is i want to display product delivery status date and time based on delivery status we need to display the date and time .how to do it.? basically i have created the productu delivery status field in search and result through AET.
    Now the fields will be available in BTADMINH.
    how to set based on status delivery to get the date and time .
    Thanks
    Kalpana

    HI Ajay,
    I have added code in BT116h_srvo,attributes - LCSTATUS,method -  SET_LCSTATUS.but after change status f8 ..but the value is not filled in result list..so i need to write the logic in EH_ONSAVE or some other..could you please help here..what change i need to do..
    IF
    <nval> = 'E0004'.
    DATA : lv_date TYPE dats.
    DATA : lv_time TYPE tims.
    lv_date = sy-datum.
    lv_time = sy-uzeit.
    DATA : lr_parent TYPE REF TO cl_crm_bol_entity,
    lr_adminh TYPE REF TO cl_crm_bol_entity,
    lr_root TYPE REF TO cl_crm_bol_entity,
    lv_process_type TYPE crmt_process_type,
    lv_parent_name TYPE crmt_ext_obj_name,
    lr_current TYPE REF TO cl_crm_bol_entity.
    lr_current ?= current.
    lr_parent ?= lr_current->get_parent( ).
    CHECK lr_parent IS BOUND.
    CALL METHOD lr_parent->get_parent
    RECEIVING
    rv_result = lr_adminh.
    CHECK lr_adminh IS BOUND.
    TRY.
    CALL METHOD lr_adminh->set_property
    EXPORTING
    iv_attr_name = '/itcit/F0010'
    iv_value = lv_date. "value.
    CATCH cx_sy_conversion_error .
    ENDTRY.
    TRY.
    CALL METHOD lr_adminh->set_property
    EXPORTING
    iv_attr_name = '/itcit/F0011'
    iv_value = lv_time.
    CATCH cx_sy_conversion_error .
    ENDTRY.
    ENDIF.
    Thanks
    kalpana

Maybe you are looking for

  • Bootcamp 5 & Windows 7 install

    Hello. I wanted to put this out there after getting terrible phone support from Apple over my bootcamp installation. After my harddrive died and was replaced by AppleCare, I had been attempting to install Windows 7 Home Premium on my iMac for over a

  • IPod crashes and wont turn on

    Hello all, I got mine about 1 week ago. This already happened three times already since I purchased the 8gb touch. The most recent one was when I was on the subway, I double clicked home for music control while on hold, the screen went dark and the s

  • I'm using an external hard drive to run tiger

    do to the fact that my internal drive seems to be busted and the computer sayss it's not even there. (if you know what's wrong with that, please tell!!!) Anyways, my problem is that the whole thing will freeze for no reason once in a while and I am f

  • Switch/case limit

    I am encountering a very strange problem.. after 39 cases in my switch case statement the 40th case does not get executed.. the code is in my go button and there are like 1000+ lines of code in there.. if I replace my 39th case with the 40th it works

  • Two times and dates show on the first page with an old set under the correct set.

    I have a second tine and date showing on the first display page, like a shadow under the correct date and time.  This is happenong on my iphone5, but was also there on my 4.  Any ideas?