SLA for service request\service order  without create a service contract

Hello Experts,
We are using CRM 7
Is there a possibility to determine SLA for service request\service order  without create a service contract?
We have defined:
1. Trasaction Code: CRMD_SERV_SLA-  Response Profile / Response Times
2. In Customizing we have defined our date profile with the relevant duration
3. In  Customizing for transaction types  we defined  SLA Prof. Det. Proc= IT000001
4. we assign the Service Profile and Response Profile to BP (from "service levels" block) .
Everthing seems ok but the SLA time is not determined automatically.
Hope you can help me out.
Thanks,
Tal

Hi Tal Tal
Your steps are correct and i hope you did these too
a) In the SLA determination procedure ,you have defined the access sequence for service product item or org
b) If service product item ,take any service product for ex INVESTIGATION assign the two Service and response profile in the service tab
c) if org the above two profiles can be assigned to org attributes.
d) In my opinion the date profile you should have assigned it to item category as I think the SLA date calculation is done at the item level
e) You should assign the SLA det prof to the transaction type in the service process business category - customizing header.
f) when you create a transaction type sla dates will be determined as follows
    a) you have to enter service product entered in the item ,then dates will be visible,and also if your access sequence is based on service product,the respons profile and service profile will be determined.
    b) if you have given indicators as all these three "category,priority,codes' in your response profile, then you have to enter all three and then hit enter
   c) After hitting enter,the response profile determined above,will use the above 3 inputs of category,priority etc and determine the duration times ,which should be maintained in your date profile.hence the durations determined will be used in the dates calculation.
Let me know if you have any other questions.

Similar Messages

  • Display Service Request Detail screen when saving a Service Request

    I have created a weblink that creates a new service request with the Contact field already populated.
    Is it possible to stop the application from returning to the contact detail page when I save the Service Request. Ideally I would like to display the service request detail page when I save a service request.
    Thanks.

    The first button option is useful if the table to maintain is a "Customizing" type, and you need to transport easily its values. If the table is of type "Master Data" or even "Transactional data" then  the data has not to be copied between environments.
    Sample :
    T001 - Customizing => Transport requests
    MAR - Master Data => No transport
    I think that your table as no client "MANDT" fields, so the program asked for a "workbench" request and not a "Customizing" one.
    Regards

  • Block For billing when sales order is created

    Hi experts,
                   I have a requirement in which i want to block the sales documrnt for billing when the sales order is created with particular discount value.
    for this i have checked the condition of discount first it works fine no i want to block it for billing.
    My SD consultant told open the sales doc in change mode(VA02) and then go to Billing Block field (FAKSK)  and then give 02 Compl confirm missing and save the doc
    So for this i have writen a method.
    SET Parameter ID 'VBELN' Field OBJECT-KEY.
    Call Transaction 'VA02' and SKIP FIRST SCREEN.
    SET Parameter ID 'FAKSK' Field '02'.
    in this it is calling the VA02 screen but i am not able to pass the billing block value and save.
    Please give me a solution how to do this.
    for blocking i have also used the standard method in BUS2032  SetDefaultBillingBlock
    it is not blocking the billing.
    Or should i use some bapi for this.
    Regards,
    Hari

    Hi Hari,
    SET parameter ID only sets the value to an input field. It wont saves to the database. More over i don't find any parameter ID for billing block in VA02.(May be because it is a drop down).
    Use BAPI BAPI_SALESORDER_CHANGE Pass the sales order number, ORDER_HEADER_IN-BILL_BLOCK = ur blocking code, ORDER_HEADER_INX-BILL_BLOCK = X.
    After calling the BAPI call BAPI_TRANSACTION_COMMIT.
    Above procedure is to programativally.
    If u want to do it manually then directly open VA02 and change the billing block and save.
    I dont think we can set parameter ID for billing block
    Thanks,
    Vinod.

  • Can i create a communication channel without creating a service?

    I have a scenario in which i have to create a sender SOAP channel through which i can receive messages that have to be routed to different receivers.
    So i want to create a standalone SOAP adapter communication channel that receives all messages that it receives irrespective of the service name. Is there a possiblity to do this.
    Please ask me if you want more clarifications
    thanks
    Shakthi

    Hi,
    Unfortunately, you cannot create a SOAP(any) channel without business service/system. Channel has to be there inside a Service.
    If you want to use that channel to receive diff. messages, set query string as true and can explicitly pass the Interface Name and namespace you want to invoke via that channel. This will override whatever you have given in Default Message Interface Name and Namespace provided in the SOAP Sender Channel.
    Reward points if find useful
    Thanks
    Amit

  • How to create iTune or App Store without credit card for my existing Apple ID without create new Apple ID or email?

    I got 2 Apple ID and the first time to I use it to iTune or App Store, a box will pop out and telling me this:
    "This Apple ID has not yet been used with the i Tunes Store. Please review your account information."
    Then, I click on the button, "Review". Bla bla... but ended up, I must provide a credit card in order to complete it.
    I do not have credit card, so I search 'How to create iTune or App Store without credit card', same link and same tactic only valid for New Apple ID.
    So, it seem no other option to create iTune or App Store without credit card for existing Apple ID, right?

    The same thing is happening to me!

  • Issues in Web service created for updating the Sales Order

    Hi All,
    We created a Web service using the Web service tool in CRM 7.0 ( Using the Component WS_DESIGN_TOOLS )
    Web service was created for three modes such as READ, CREATE and CHANGE Modes.
    READ Web Service we tested and its working fine as we were able to see the data for an existing Sales Order in the Web Service.
    We expect that the Change Web Service will update the data of an existing Sales Order.
    Through our Web service we are passing the Order GUID ,Order ID and some Header Fields as well as Item Fields but  the in the Web Service we are getting a message that Web service executed successfully but the CRMD_ORDERADM_H Table isnot getting updated.
    What could be problem.
    Any suugestions will be highly appreciated.
    Regards,
    Sijo

    Hi Gourav,
    I checked in SICF for the Webservice name created.
    this is the service path
    /default_host/sap/bc/srt/rfc/sap/ for the corresponding Web Service created in DEV 200 Client.
    I checked in SOAMANAGER and saw  that the  endpoitnts were zero.
    the Search Operation for Webservice have got three query fields mainly
    Object Id, Posting Date,Procees Type
    If we give Process Type
    sign - blank
    option - blank
    low - YPO ( Custom )
    High - blank we are getting 126 entries.
    and if we check for the Process Type YPO (Custom ) in CRMD_ORDERADM_H Tbale also we are getting the same no of entries.
    but only for option BT , for Posting Date issue is thr..
    Any inputs to move forward will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Mar 5, 2010 10:52 PM

  • Service request being created in CRM WEB IC

    When an user creates an Interaction Record and then viewed any service request from the view Last five interactions from webIC the system is automatically creating an additional service Request.
    Steps we follow
    1. Open the Interction centre
    2. Search (preferable who has previous service requests created)
    3. Confirm employee.
    4. SC interaction record screen is displayed
    5. Bottom of the page, you see interaction history
    6. Click on any of the service requests
    7. Service request would be displayed
    8. Go back using breadcrumbs
    ---> Problem, in activity clipboard of SC interaction, you would noticean employee request created.
    Can any one help with a solution for this on an urgent basis, the business is being affected very seriously and SAP says they can't help
    Note: Maximum points would be rewarded
    Regards
    Ravi

    Yes,
    The steps you mentioned are correct
    1) Account Indentification
    2) Interaction Record created and displayed
    3) Select Service request from the Last 5 interactions from bottom on page
    4) Selected one of the Service request
    5) In Breadcrumbs dropdown I see
    1) Employee(Service) Request(XXXXXXX) --- the one I selected from Interaction history and being displayed
    2) Interaction Record (XXXX)*
    3) Interaction Record (XXXX)*
    4) Identify Employee
    I click on breadcrumbs to go back or I press END without pressing SAVE
    NEXT
    Open the Interaction Record by searching for the same from INBOX
    The NEW Employee Request (Service request) created is there
    If I use breadcrumbs to go back and repeat steps 1--3 (account Identification to select Service request), it does not create one, it is for only the first time the additional request is created.
    I hope I am clear....
    Regards
    Ravi
    Edited by: Ravi Kakkereni on May 30, 2008 10:19 AM

  • How can I create Service Request ?

    Hi,
    I registered oracle account in order to create a service request. And the Customer User Administrator responsived 'Approved'.
    But now I can't see 'Create SR' button. I'm just able to access SR List.
    How can I access 'Create SR' button ? Help me !

    Make sure that in your role (step 2) is checked "Can Create" for Service Request.

  • Unable to Create Service Request Template in CRM

    Hello,
    I need to create a service request template in crm web ui,
    Following are the steps followed.
    I have identified the transaction type as SRQT screen shot attached below
    However when I click on on the work center link groups of the service pro role, I am not able to find the same for the service request template
    As per the post below it says that you need to go navigation bar profile and add the SM-SUPPORT work center and the work center link group as SM-SRQT-CR
    How to customize service request templates
    The error appears when I try to add the logical link id,
    Because of the above error I am not able to create service request template in sap crm, please advice which logical link ID, I need to use so that the service request template can be created in the system.
    Kind Regards
    Atul

    Hi Atul,
    1. Screen shot 1 is correct
    2. Screen shot 2 - You are at end of all work centers in your custom role which you might have copied from standard or Z role. If you look in standard role SERVICEPRO, navigation bar profile SRV-PRO, work center - SRV-ORD, you will find service request template
    In Cases work Center in standard SERVICEPRO role you can create service request template.
    Try copying this to your custom role in your required work center. It should work.
    Regards,
    Niraj

  • Create a view - All Service Requests that contain a Completed Review Activity

    In the Service Manager 2012 console, is it possible to create a view that displays Service Requests, with the view criteria being something like as follows:
    Service Request status is In Progress
    Service Request contains a Review Activity where the Review Activity status is In Progress
    My intent is to provide a way for Service Desk Operators to be able to identify requests that are ready for implementation.
    From what I'm seeing in the console, this sort of view is not possible as it appears that any view criteria must be derived from the view's target class.

    Nothing like a bit of thread necromancy in the morning.
    It turns out the solution to this question was quite straight forward (once you know where to look...)
    The trick is creating a view based on one of the Service Request combination classes rather than the basic class itself, and then rephrasing my requirement after realising that what I was really after was a view containing Requests that have an In Progress
    Manual Activity.
    So...open the console, go to Work Items, right click on
    Service Request Fulfillment and select Create View
    On the General tab, give your view a name and select a Management in which it will be stored.
    On the Criteria tab, click Browse to select a specific object class.  Change the
    Frequently used basic classes filter to Combination classes then enter 'Service Request' in the filter field.
    Pick the Service Request and Activity class.
    Now when configuring the criteria, you'll notice a little arrow next to the
    Service Request class. Click on this arrow to expand the node, and select the
    Contains Activity class.
    Under the Available properties box, enter 'Status' in the search field. In my environment, I got two Status fields. Each corresponds to a specific Activity class. Select both of them and click
    Add.
    One of the Criteria will look like 'Contains Activity[Activity]Status'. Keep this one and delete the other from the Criteria box. Change the value to 'Completed'
    While we're at it, select the Service Request class and add a criteria for the Service Request Status = 'In Progress'.
    Click on the Display tab and select whatever fields you want to display in this view.  Click
    OK to save this view.
    Now go to the Administration workspace and select the
    Management Packs node. Export your management pack that contains your view and open the management pack in a text file viewer. Notepad++ works for me...
    First search for the string that you used to name your view. It will be found towards the bottom of the MP in a DisplayString element in the LanguagePacks XML element. This element will have an ElementID.
    Select the ElementID and search the entire file for this string. You want the instance that resides within a Presentation | Views | View element. From this point, scroll down until you get to a Criteria element. Within the Criteria element you will find
    the two Expressions that were entered via the GUI. One of the Expressions corresponds to the Service Request.Status=In Progress criteria, the other corresponds to the Activity.Status=In Progress criteria. We will be changing the Activity criteria so that it
    explicitly refers to a Manual Activity.
    Identify the Expression that has the Property containing the string 'System.WorkItemContainsActivity'. We will be changing the TypeConstraint attribute of this criteria.
    In this line, Replace the string 'System.WorkItem.Activity' with 'System.WorkItem.Activity.ManualActivity'
    Save this file and import the management pack into SCSM

  • Difference between service request and service order

    hi all,
    What is the differnce between service request and service order? when to use what?
    Thanks
    Raghav

    Service Order -> "You use service orders to record the details of a one-off service agreed upon by a service provider and a service recipient. Service orders contain all the information needed to plan, execute, and bill for a service."
    Service Request -> "You use service request management to reliably submit, dispatch, approve, monitor, and fulfill requests for service by your customers. Service requests can be used internally by companies where a department delivers services, for example, in shared service center scenarios, as well as in external customer-facing scenarios.
    Service requests can be logged through a service desk, directly by the service personnel, or by the users themselves into the system and then, if necessary, can be dispatched to the appropriate personnel for service delivery."
    Taken from http://help.sap.com/
    Rg,
    Harshit

  • Error  while creating a Service PO using BAPI_PO_CREATE1

    Hi,
    Im facing Error as "In case of account assignment, please enter acc. assignment data for item" while creating Service PO using BAPI_PO_CREATE1.
    Header Data
          w_poheader-comp_code = w_src-bukrs.  "Company Code
          w_poheader-doc_type = w_src-bsart.   "Document type
         w_poheader-delete_ind = w_src-vrtkz. "Deletion Indicator
          CLEAR: lv_date.
          CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
            EXPORTING
              date_external            = w_src-aedat
            IMPORTING
              date_internal            = lv_date
            EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
          w_poheader-creat_date = lv_date.    "Creation Date
          w_poheader-created_by = sy-uname.    "Creator Name
          w_poheader-vendor = w_src-lifnr.     "Vendor
          w_poheader-pmnttrms = w_src-zterm.   "Payment Terms
          w_poheader-purch_org = w_src-ekorg.  "Purchase Organization
          w_poheader-pur_group = w_src-ekgrp.  "Purchase Group
          w_poheader-ref_1    = w_src-ihrez.   "OLD PO
          w_poheaderx-comp_code = 'X'.  "Company Code
          w_poheaderx-doc_type = 'X'.   "Document type
         w_poheaderx-delete_ind = 'X'.      "Deletion Indicator
          w_poheaderx-creat_date = 'X'.    "Creation Date
          w_poheaderx-created_by = 'X'.
          w_poheaderx-vendor = 'X'.
          w_poheaderx-pmnttrms = 'X'.   "Payment Terms
          w_poheaderx-purch_org = 'X'.  "Purchase Organization
          w_poheaderx-pur_group = 'X'.  "Purchase Group
          w_poheaderx-ref_1 = 'X'.
    Item Data
          w_poitem-po_item = w_src-ebelp.
          IF NOT w_src-elikz IS INITIAL.
            w_poitem-delete_ind = w_src-elikz.
          ENDIF.
          IF NOT w_src-txz01 IS INITIAL.
            w_poitem-short_text = w_src-txz01.
          ENDIF.
          IF NOT w_src-werks IS INITIAL.
            w_poitem-plant = w_src-werks.
          ENDIF.
    Material group
          IF NOT w_src-matkl IS INITIAL.
            w_poitem-matl_group = w_src-matkl.
          ENDIF.
    Open or Partial Qty
          IF w_src-opqty IS  NOT INITIAL.
            w_poitem-quantity = w_src-opqty.
          ELSEIF NOT w_src-paqty IS INITIAL.
            w_poitem-quantity = w_src-paqty.
          ENDIF.
          IF NOT w_src-meins IS INITIAL.
            w_poitem-po_unit = w_src-meins. "Base Unit of Measure
          ENDIF.
          IF NOT w_src-netpr IS INITIAL.
            w_poitem-net_price = w_src-netpr.  "Net Price
          ENDIF.
          IF NOT w_src-mwskz IS INITIAL.
            w_poitem-tax_code = w_src-mwskz.
          ENDIF.
          IF NOT w_src-pstyp IS INITIAL.
            w_poitem-item_cat = w_src-pstyp.
          ENDIF.
          IF NOT w_src-knttp IS INITIAL.
            w_poitem-acctasscat = w_src-knttp.
          ENDIF.
          IF NOT w_src-vrtkz IS INITIAL.
            w_poitem-distrib = w_src-vrtkz.
          ENDIF.
    Package No
          IF NOT w_src-packno IS INITIAL.
            w_poitem-pckg_no = w_src-packno.  "Package no
          ENDIF.
          IF w_poitem-delete_ind IS INITIAL AND
             w_poitem-short_text IS INITIAL AND
             w_poitem-plant IS INITIAL AND
             w_poitem-matl_group IS INITIAL AND
             w_poitem-quantity IS INITIAL AND
             w_poitem-po_unit IS INITIAL AND
             w_poitem-net_price IS INITIAL AND
             w_poitem-tax_code IS INITIAL.
            CLEAR lv_item.
          ELSE.
            APPEND w_poitem TO i_poitem.
            CLEAR: w_poitem.
            lv_item = 'X'.
          ENDIF.
          w_poitemx-po_item = w_src-ebelp.
          w_poitemx-delete_ind = 'X'.
          w_poitemx-short_text = 'X'.
          w_poitemx-plant = 'X'.
          w_poitemx-matl_group = 'X'.
          w_poitemx-quantity = 'X'.
          w_poitemx-po_unit = 'X'.
          w_poitemx-net_price = 'X'.
          w_poitemx-tax_code = 'X'.
          w_poitemx-item_cat = 'X'.
          w_poitemx-acctasscat = 'X'.
          w_poitemx-distrib = 'X'.
          IF NOT w_src-packno IS INITIAL.
            w_poitemx-pckg_no = 'X'.
          ENDIF.
          IF lv_item = 'X'.
            APPEND w_poitemx TO i_poitemx.
            CLEAR: w_poitemx,
                   lv_item.
          ENDIF.
    PO Deliery Address
          w_poaddrdelivery-po_item = w_src-ebelp.
          IF NOT w_src-adrn2 IS INITIAL.
            w_poaddrdelivery-addr_no = w_src-adrn2.
            APPEND w_poaddrdelivery TO i_poaddrdelivery.
            CLEAR w_poaddrdelivery.
          ENDIF.
    POschedule
          w_poschedule-po_item = w_src-ebelp.
          CLEAR: lv_date.
          CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
            EXPORTING
              date_external            = w_src-eindt
            IMPORTING
              date_internal            = lv_date
            EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
          IF NOT lv_date IS INITIAL.
            w_poschedule-del_datcat_ext = 'D'. "Delivery Date in Day Format
            w_poschedule-delivery_date = lv_date.
            w_poschedule-quantity = w_src-menge.
            APPEND w_poschedule TO i_poschedule.
            CLEAR w_poschedule.
            lv_schd = 'X'.
          ENDIF.
          w_poschedulex-po_item = w_src-ebelp.
          w_poschedulex-del_datcat_ext = 'X'.
          w_poschedulex-delivery_date = 'X'.
          w_poschedulex-quantity = 'X'.
          IF lv_schd = 'X'.
            APPEND w_poschedulex TO i_poschedulex.
            CLEAR : w_poschedulex,
                    lv_schd.
          ENDIF.
    PO Account Assignment
          w_poaccount-po_item = w_src-ebelp.
          w_poaccount-serial_no = w_src-zekkn.
    Distribution Indicator is 1
          IF w_src-vrtkz EQ '1'.
            w_poaccount-distr_perc = w_src-vproz.
            IF NOT w_src-menge IS INITIAL.
              CLEAR lv_menge.
              lv_menge = w_src-menge.
            ENDIF.
            lv_acct_qty = lv_menge * w_src-vproz / 100.
    Get Round value of Quanity
            frac = FRAC( lv_acct_qty ).
            IF frac EQ 0.
              lv_acct_qty = FLOOR( lv_acct_qty ).
            ELSE.
              lv_acct_qty = CEIL( lv_acct_qty ).
            ENDIF.
            w_poaccount-quantity = lv_acct_qty.
          ELSEIF w_src-vrtkz IS INITIAL.
            w_poaccount-quantity = w_src-menge.
          ENDIF.
          w_poaccount-gl_account = w_src-saknr.
          w_poaccount-costcenter = w_src-kostl.
          w_poaccount-asset_no = w_src-anln1.
          w_poaccount-wbs_element = w_src-wbs.
          w_poaccount-network = w_src-nplnr.
          w_poaccount-tax_code = w_src-mwskz.
          w_poaccount-activity = w_src-vornr.
          APPEND w_poaccount TO i_poaccount.
          CLEAR w_poaccount.
          w_poaccountx-po_item = w_src-ebelp.
          w_poaccountx-serial_no = w_src-zekkn.
          IF w_src-vrtkz EQ '1'.
            w_poaccountx-distr_perc =  'X'.
          ENDIF.
          w_poaccountx-quantity = 'X'.
          w_poaccountx-gl_account = 'X'.
          w_poaccountx-costcenter = 'X'.
          w_poaccountx-wbs_element = 'X'.
          w_poaccountx-network = 'X'.
          w_poaccountx-tax_code = 'X'.
          w_poaccountx-activity = 'X'.
          APPEND w_poaccountx TO i_poaccountx.
          CLEAR w_poaccountx.
    PO Services
          w_poservices-pckg_no = w_src-packno.  "Package no
          w_poservices-line_no = w_src-srv_line_no.    "Line item
          w_poservices-ext_line = w_src-extrow.    "External line
         w_poservices-outl_level = 0.
         w_poservices-outl_ind = 'X'.
          w_poservices-subpckg_no = w_src-sub_packno.  "Sub package no
          w_poservices-quantity = w_src-srqty.  "Service Quantity
          w_poservices-base_uom = w_src-srmeins.  "Service Basic unit of Measure
          w_poservices-price_unit = '1'.
         w_poservices-from_line = '1'.
          w_poservices-gr_price  = w_src-brtwr.  "GR Price
          w_poservices-short_text = w_src-sh_text1.    "Service Short Text
         w_poservices-matl_group = w_src-matkl.  "Material Group
          APPEND w_poservices TO i_poservices.
          CLEAR w_poservices.
    PO Service Access values
          w_posrvacc-pckg_no = w_src-packno.  "Package no
          w_posrvacc-line_no = w_src-srv_line_no. "Line item
          w_posrvacc-serno_line = w_src-zekkn.                  "'01'..
          IF w_src-vproz IS INITIAL.
            w_posrvacc-percentage = '100.0'.
          ENDIF.
          w_posrvacc-serial_no = w_src-zekkn.                   "'01'.
          w_posrvacc-quantity = w_src-srqty.  "Service Quantity
          w_posrvacc-net_value = w_src-srqty.  "Net value
          APPEND w_posrvacc TO i_posrvacc.
          CLEAR w_posrvacc.
        ENDIF.
    ***Create a NEW PO
        AT END OF ihrez.
    Call BAPI
          CALL FUNCTION 'BAPI_PO_CREATE1'
            EXPORTING
              poheader          = w_poheader
              poheaderx         = w_poheaderx
            IMPORTING
              exppurchaseorder  = gv_ebeln
            TABLES
              return            = i_return
              poitem            = i_poitem[]
              poitemx           = i_poitemx[]
              poaddrdelivery    = i_poaddrdelivery[]
              poschedule        = i_poschedule[]
              poschedulex       = i_poschedulex[]
              poaccount         = i_poaccount[]
              poaccountx        = i_poaccountx[]
              poservices        = i_poservices[]
              posrvaccessvalues = i_posrvacc[]
              extensionin       = i_extensionin[].
    Commit the Transaction
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT          = 'X'.
    Regards,
    Deepthi.

    1. If we get error as  "In case of account assignment, please enter acc. assignment data for item" than First cehck whetaher u have authorization to Tcode ME23n or not. In my case, I din't had authorization to Me23n tcode.
    2. If we get Error as "Please Mainatain Services or Limits". Please create a Service PO in the following Order.
    *& Internal Table Declaration
    DATA : i_intern         TYPE STANDARD TABLE OF alsmex_tabline WITH HEADER LINE,
           i_poitem         TYPE STANDARD TABLE OF bapimepoitem,
           i_poitemx        TYPE STANDARD TABLE OF bapimepoitemx,
           i_poaddrdelivery TYPE STANDARD TABLE OF bapimepoaddrdelivery,
           i_poschedule     TYPE STANDARD TABLE OF bapimeposchedule,
           i_poschedulex    TYPE STANDARD TABLE OF bapimeposchedulx,
           i_poaccount      TYPE STANDARD TABLE OF bapimepoaccount,
           i_poaccountx     TYPE STANDARD TABLE OF bapimepoaccountx,
           i_poservices     TYPE STANDARD TABLE OF bapiesllc,
           i_posrvacc       TYPE STANDARD TABLE OF bapiesklc,
           i_extensionin    TYPE STANDARD TABLE OF bapiparex,
           i_return         TYPE STANDARD TABLE OF bapiret2.
    *& Work Area Declaration
    DATA:
          w_poheader       TYPE bapimepoheader,
          w_poheaderx      TYPE bapimepoheaderx,
          w_poitem         TYPE bapimepoitem,
          w_poitemx        TYPE bapimepoitemx,
          w_poaddrdelivery TYPE bapimepoaddrdelivery,
          w_poschedule     TYPE bapimeposchedule,
          w_poschedulex    TYPE bapimeposchedulx,
          w_poaccount      TYPE bapimepoaccount,
          w_poaccountx     TYPE bapimepoaccountx,
          w_poservices     TYPE bapiesllc,
          w_posrvacc       TYPE bapiesklc,
          w_extensionin    TYPE bapiparex,
          w_return         TYPE bapiret2.
    START-OF-SELECTION.
    Header Data
      w_poheader-comp_code = '5791'.  "Company Code
      w_poheader-doc_type = 'Z0CM'.   "Document type
      w_poheader-creat_date = sy-datum.  "lv_date.    "Creation Date
      w_poheader-created_by = sy-uname.    "Creator Name
      w_poheader-vendor = '0005012343'.     "Vendor
      w_poheader-pmnttrms = 'Z004'.   "Payment Terms
      w_poheader-purch_org = 'P000'.  "Purchase Organization
      w_poheader-pur_group = '001'.  "Purchase Group
      w_poheader-ref_1    = '004500007671'.   "OLD PO
      w_poheaderx-comp_code = 'X'.  "Company Code
      w_poheaderx-doc_type = 'X'.   "Document type
      w_poheaderx-creat_date = 'X'.    "Creation Date
      w_poheaderx-created_by = 'X'.
      w_poheaderx-vendor = 'X'.
      w_poheaderx-pmnttrms = 'X'.   "Payment Terms
      w_poheaderx-purch_org = 'X'.  "Purchase Organization
      w_poheaderx-pur_group = 'X'.  "Purchase Group
      w_poheaderx-ref_1 = 'X'.
    Item Data
      w_poitem-po_item = '000010'.
      w_poitem-short_text = 'Z0CM - Default Appr. Test  '.
      w_poitem-plant = '5368'.
      Trackign no
      w_poitem-trackingno = ''.
    Material group
      w_poitem-matl_group = '119'.
      w_poitem-po_unit = 'EA'. "Base Unit of Measure
      w_poitem-net_price = '17500.00'.  "Net Price
      w_poitem-tax_code = 'I0'.
      w_poitem-item_cat = '9'.
      w_poitem-acctasscat = 'K'.
      w_poitem-distrib = space.
    Package must be given in item to create Service PO
      w_poitem-pckg_no = 0000000001.
      APPEND w_poitem TO i_poitem.
      CLEAR: w_poitem.
      w_poitemx-po_item = '000010'.
      w_poitemx-delete_ind = 'X'.
      w_poitemx-short_text = 'X'.
      w_poitemx-plant = 'X'.
      w_poitemx-trackingno = 'X'.
      w_poitemx-matl_group = 'X'.
      w_poitemx-quantity = 'X'.
      w_poitemx-po_unit = 'X'.
      w_poitemx-net_price = 'X'.
      w_poitemx-tax_code = 'X'.
      w_poitemx-item_cat = 'X'.
      w_poitemx-acctasscat = 'X'.
      w_poitemx-distrib = 'X'.
      w_poitemx-pckg_no = 'X'.
      APPEND w_poitemx TO i_poitemx.
      CLEAR: w_poitemx.
    PO Deliery Address
          w_poaddrdelivery-po_item = '000010'.
            w_poaddrdelivery-addr_no = '0000061208'.
            APPEND w_poaddrdelivery TO i_poaddrdelivery.
            CLEAR w_poaddrdelivery.
    POschedule
          w_poschedule-po_item = '000010'..
    DATA : LV_DATE TYPE SY-DATUM,
           lv_schd.
          CLEAR: lv_date.
          CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
            EXPORTING
              date_external            = '12/2/2009'
            IMPORTING
              date_internal            = lv_date
            EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
          IF NOT lv_date IS INITIAL.
            w_poschedule-del_datcat_ext = 'D'. "Delivery Date in Day Format
            w_poschedule-delivery_date = lv_date.
            w_poschedule-quantity = '1.000'.
            APPEND w_poschedule TO i_poschedule.
            CLEAR w_poschedule.
            lv_schd = 'X'.
          ENDIF.
          w_poschedulex-po_item = '000010'.
          w_poschedulex-del_datcat_ext = 'X'.
          w_poschedulex-delivery_date = 'X'.
          w_poschedulex-quantity = 'X'.
          IF lv_schd = 'X'.
            APPEND w_poschedulex TO i_poschedulex.
            CLEAR : w_poschedulex,
                    lv_schd.
          ENDIF.
    PO Account Assignment
      w_poaccount-po_item = '000010'.
      w_poaccount-serial_no = '01'.
      w_poaccount-distr_perc = ''.
      w_poaccount-quantity = '1.000'.
      w_poaccount-gl_account = '0000603064'.
      w_poaccount-costcenter = '0053680100'.
      w_poaccount-asset_no = ''.
      w_poaccount-wbs_element = ''.
      w_poaccount-network = ''.
      w_poaccount-tax_code = 'I0'.
      w_poaccount-activity = ''.
      APPEND w_poaccount TO i_poaccount.
      CLEAR w_poaccount.
      w_poaccountx-po_item = '000010'.
      w_poaccountx-serial_no = '01'.
      w_poaccountx-distr_perc =  'X'.
      w_poaccountx-quantity = 'X'.
      w_poaccountx-gl_account = 'X'.
      w_poaccountx-costcenter = 'X'.
      w_poaccountx-wbs_element = 'X'.
      w_poaccountx-network = 'X'.
      w_poaccountx-tax_code = 'X'.
      w_poaccountx-activity = 'X'.
      w_poaccountx-cmmt_item = 'X'.
      APPEND w_poaccountx TO i_poaccountx.
      CLEAR w_poaccountx.
    Extension for ZZSub
      w_extensionin-structure = 'BAPI_TE_MEPOACCOUNTING'.
      w_extensionin-valuepart1+0(5) = '00010'..
      w_extensionin-valuepart1+5(2) = '01'.
      w_extensionin-valuepart1+28(5) = ''.
      APPEND w_extensionin TO i_extensionin.
      CLEAR w_extensionin.
      w_extensionin-structure = 'BAPI_TE_MEPOACCOUNTINGX'.
      w_extensionin-valuepart1+0(5) = '00010'.
      w_extensionin-valuepart1+5(2) = '01'.
      w_extensionin-valuepart1+11(1) = 'X'.
      APPEND w_extensionin TO i_extensionin.
      CLEAR w_extensionin.
    Extension to add Expense Type only
      w_extensionin-structure = 'BAPI_TE_MEPOHEADER'.
      w_extensionin-valuepart1+10(4) = '0131'.
      APPEND w_extensionin TO i_extensionin.
      CLEAR w_extensionin.
      w_extensionin-structure = 'BAPI_TE_MEPOHEADERX'.
      w_extensionin-valuepart1+10(4) = 'X'.
      APPEND w_extensionin TO i_extensionin.
      CLEAR w_extensionin.
      EXPORT i_extensionin[] TO MEMORY ID 'SUB'.
    PO Services
    PO Services( One Line Iem)
    Assign the dummy no as Pacakage no
      w_poservices-pckg_no = 0000000001.  "(assign package no as a dummy number)
      w_poservices-line_no = 0000000001.      "Line item
      w_poservices-outl_ind = 'X'.
    Assign Dummy no as sub package no
      w_poservices-subpckg_no = 0000000003.   "(Dummy No.) "Sub package no
      w_poservices-from_line = '1'.
      APPEND w_poservices TO i_poservices.
      CLEAR w_poservices.
    PO Services(Second Line Item )
    Assign the same sub package dummy no which is mentioned above
      w_poservices-pckg_no = 0000000003.   "(Dummy No.) "Sub package no
      w_poservices-line_no = 0000000002.
      w_poservices-ext_line = '0000000010'.     "External line
      w_poservices-quantity = '17500.0'.    "Service Quantity
      w_poservices-base_uom = 'EA'.    "Service Basic unit of Measure
      w_poservices-price_unit = '1'.
      w_poservices-gr_price  = '1'.    "GR Price
      w_poservices-short_text = 'Z0CM - Default Appr. T'.      "Service Short Text
    w_poservices-matl_group = '119'.  "w_src-matkl.  "Material Group
      APPEND w_poservices TO i_poservices.
      CLEAR w_poservices.
    PO Service Access values
      w_posrvacc-pckg_no = 0000000003.  "w_src-sub_packno.  "Sub package no
      w_posrvacc-line_no = 0000000002.  "w_src-srv_line_no. "Line item
      w_posrvacc-serno_line = '01'.
      w_posrvacc-percentage = '100.0'.
      w_posrvacc-serial_no = '01'.
      w_posrvacc-quantity = '17500.0'.  "w_src-srqty.  "Service Quantity
      APPEND w_posrvacc TO i_posrvacc.
      CLEAR w_posrvacc.
      DATA : gv_ebeln TYPE ebeln.
    Call BAPI
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          poheader          = w_poheader
          poheaderx         = w_poheaderx
        IMPORTING
          exppurchaseorder  = gv_ebeln
        TABLES
          return            = i_return
          poitem            = i_poitem[]
          poitemx           = i_poitemx[]
          poaddrdelivery    = i_poaddrdelivery[]
          poschedule        = i_poschedule[]
          poschedulex       = i_poschedulex[]
          poaccount         = i_poaccount[]
          poaccountx        = i_poaccountx[]
          poservices        = i_poservices[]
          posrvaccessvalues = i_posrvacc[]
          extensionin       = i_extensionin[].
    Commit the Transaction
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
      WRITE:/5 gv_ebeln COLOR 5.
      SKIP 2.
      DATA : lv_msg TYPE string.
      LOOP AT i_return INTO w_return WHERE type = 'E'.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = w_return-id
            lang      = 'EN'
            no        = w_return-number
            v1        = w_return-message_v1
            v2        = w_return-message_v2
            v3        = w_return-message_v3
            v4        = w_return-message_v4
          IMPORTING
            msg       = lv_msg
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        WRITE:/10 lv_msg.
      ENDLOOP.

  • Reporting In Service Manager 2012 - How To Get A List Of All Service Requests Regardless of Status

    Within the Custom Reporting Options available to users of Ssystem Center Service Manager 2012, which would one use to create reports that do not contain any agregated data but are instead detail level info such as a list of all Service Requests reardless
    of status?  I want to include within the report the same data you see on the main page of a Service Request when you double-click a Service Request within Service Manager and it pops opne the details of the Service Request.
    I'm trying to get the following info for each Service Requests
    SR ID (i.e. SR1234)
    Affected User
    Title
    Description
    Priority
    Source
    Area
    Support Group
    Assigned To
    Created By and Created On
    I know the cubes w/Excel offer a great way to get data for a **piece meal report or for getting agregated data (I.E. counts, sums, avergares, Max's & Mins) but I need a report that has zero totals and no agregations. 
    Thanks
    ** A piece meal report is a report that has to be manually pieced together by combining data from others reports and other sources because no single report can be constructed to bring all the data togethere into a single report.  If you've ever
    worked with an accountant taht uses Excel for everything but who has no idea how SQL or databases in general are deisgned then chances are you've either been asked to create a piece meal report for them and or seen them do one them selves when they open a
    spreadshet and dump into it disperate data from a variety of sources and then ask you why you can't automate that same report for them.

    the following thread covers some good SQL queries to get details about the Incident Request, just amend them to cover the Service Request
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/e703641d-3e05-4df4-be2b-bf9bd62534f8/how-to-generate-incident-report-with-incident-description-field-in-scsm-2012-sp1

  • Report to show Service Requests that are open on a day selected by the user

    Dunno if I'm being thick, but I can't see how to do this in a report/dashboard...
    The user selects a day and the report pulls back all the Service Requests that were open on that day using the following logic...
    Service Request Opened Date <= Selected date & Service Request Closed Date >= Selected date
    Is this possible?

    You can do this with a report or a dashboard.
    For a report, create a report your subject ares, like Service Request. In Step 3, Create a prompt on your date and choose Column Filter Prompt. Give the prompt a caption ("Enter/Choose Date" for example). Choose the date field for the Filter on Column. Determine how you want the users to select the value and hit OK. My experience has been that you need to let users type in the date, as opposed to choosing from a drop-down list, because of the volume of data and performance reasons, but test it to determine what works best for your needs.
    For a dashboard, you would need to create a dashboard prompt for your dashboard report. You do this by creating a new report on your intended subject area, i.e. Service Request. Instead of creating the report as you normally do, you need to click on the Create Dashboard Prompt button at the top left, just below the Oracle logo. Choose the right reporting area, then complete the prompt details. Don't forget to allow for the prompt in your report.
    I always recommend that you consider purchasing a great book on reporting, written by Mike Lairson. It is an excellent resource for nearly all of your reporting questions. You can find it on amazon.com.
    http://www.amazon.com/Oracle-Demand-Reporting-Osborne-ORACLE/dp/0071593047/ref=sr_1_1?ie=UTF8&s=books&qid=1274893170&sr=8-1
    Good Luck,
    Thom

  • Service Request Aging Analysis

    Hello All,
    I am trying to create a report in Siebel off the canned aging report. It seems to give me the average age in calendar days which is fine, however I need to report on number of business days.
    The data I need specifically is:
    Service Request's (SR's) Average Age - This is default
    Average age of open SR's business days - This is the tough one, I need to have > 5 business days and < 5 Buisness days
    Average age if not closed on the first contact - Buisness and Calender days
    SR's open greater then 5 days - Buisness and Calender days
    If anyone has any advice if this is possible or how to go about having Siebel create the report for me, that would be great.
    Thanks in advance
    ~The Call Guy

    Okay, if your report is using the Service Request History subject area, use this code exactly:
    (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Closed Date and Time" )=1
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-2) /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time" )=7
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))+(2-WEEK("Service Request"."Closed Date and Time")) END)
    - (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Opened Date" )=1 THEN (DAYOFYEAR("Service Request"."Opened Date")-WEEK("Service Request"."Opened Date"))-(WEEK("Service Request"."Opened Date")-2) /* Convert Saturday to the Business Day Of the Year */ WHEN DAYOFWEEK("Service Request"."Opened Date" )=7
    THEN (DAYOFYEAR("Service Request"."Opened Date")-WEEK("Service Request"."Opened Date"))-(WEEK("Service Request"."Opened Date")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Opened Date")-WEEK("Service Request"."Opened Date"))+(2-WEEK("Service Request"."Opened Date"))
    END) + /* Adjust for Year Change */ (365 * (YEAR("Service Request"."Closed Date and Time")-YEAR("Service Request"."Opened Date")))
    If your report is using the Service Request subject area, use this code exactly:
    (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Closed Date and Time" )=1
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-2) /* Convert Saturday to the Business Day Of the Year */
    WHEN DAYOFWEEK("Service Request"."Closed Date and Time" )=7
    THEN (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))-(WEEK("Service Request"."Closed Date and Time")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Closed Date and Time")-WEEK("Service Request"."Closed Date and Time"))+(2-WEEK("Service Request"."Closed Date and Time")) END)
    - (CASE WHEN /* Convert Sunday to the Business Day Of the Year */
    DAYOFWEEK("Service Request"."Opened Date and Time" )=1 THEN (DAYOFYEAR("Service Request"."Opened Date and Time")-WEEK("Service Request"."Opened Date and Time"))-(WEEK("Service Request"."Opened Date and Time")-2) /* Convert Saturday to the Business Day Of the Year */ WHEN DAYOFWEEK("Service Request"."Opened Date and Time" )=7
    THEN (DAYOFYEAR("Service Request"."Opened Date and Time")-WEEK("Service Request"."Opened Date and Time"))-(WEEK("Service Request"."Opened Date and Time")-1) /* Convert Mon-Fri to the Business Day Of the Year */
    ELSE (DAYOFYEAR("Service Request"."Opened Date and Time")-WEEK("Service Request"."Opened Date and Time"))+(2-WEEK("Service Request"."Opened Date and Time"))
    END) + /* Adjust for Year Change */ (365 * (YEAR("Service Request"."Closed Date and Time")-YEAR("Service Request"."Opened Date and Time")))
    I have verified that both formulas are error free when used in the correct subject area... the column that you start with does not matter... just be sure to completely blank the existing formula before pasting in this one.
    Let me know how it goes.
    Mike L

Maybe you are looking for

  • Reply link does not work on ipad

    After logging in to this group, the reply link does not work on either my ipad 2  running IOS 8.1.3 nor my iphone 4 running 7.1.2. Not helpful really. I have had to switch on my old laptop.Also I never know which group to post a new question in, The

  • Error installing Oracle 10.2.0.4 on windows 2008 r2

    Hi, I am trying to installing SAP netweaver 7.01 server on  oracle 1.2.0.4 in Windows 2008 64-bit system. But when I try to install oracle I get this error. Checking operating system version: must be 5.1 or 5.2.    Actual 6.0 I did search on sdn at t

  • Problem with DECODE statement while migrating forms to 6i

    Hi, I'm migrating a form from 5 to 6i. When I compiled the form, I got this error witha decode statement. The error is Error 307 at line 15 column 7 too many declarations of "DECODE" match this call The trigger has this code: IF :PRUN_RECS_INSERTED =

  • Trouble Installing Java Add-In

    Hello, I am having trouble installing the Java Add-In to the existing ABAP Web AS 6.40. The installation fails during the step "SAP System Installation". When I check the log files, the error that occured involves a system service not starting. Upon

  • Which BAPI is implemented in a given Web Service?

    If I have a WSDL for an SAP web service, how can I determine what BAPI is being exectued on the back end? For example, given the Web Service name EmployeeBasicDataByEmployeeQueryResponse_In, how can I tell what BAPI(s) are used? Please be specific in