Case number from the service order number

Hi,
I am doing a report where in when the user enters a service order number <b>or</b> case number (both are optional )the result list that he gets would include both case number <b>and</b> the service order number(of the service and case documents).
I would like to know the function module that i can use to get the case number for the given service order number.
Thanks and Regards,
Harish.

Pls use the FM CRM_PRIDOC_READ_OW. You can pass the header GUID.

Similar Messages

  • Net Price from the Service Order

    Hi Experts,
    I want to read the net price from the service order, in the order_read_ow FM I am getting the pricing conditions tab and getting the prices related to the conditions.
    Is there any way to get the net price directly.
    Thanks in Advance,
    Praveen

    Pls use the FM CRM_PRIDOC_READ_OW. You can pass the header GUID.

  • How to get the IObject from the service order number

    Hi Experts,
    I am implementing the CRM_ORDER_STATUS Badi, in that I am getting the Service Order number but I want to get the IObject number, how to get it, which FM to use or any other table.
    Please let me know.
    Thanks in Advance for your help,
    Praveen

    Hi Praveen,
    In the interface of the badi methods there is import parameter IS_STATUS_WRK with the field GUID
    use that one to call FM CRM_ORDER_READ with that GUID (check if the GUID is for ORDER by using update saved trnsaction).
    in the export parameter ET_ORDERADM_H you will find the object id (only after save unless it was customizing different)
    Amit.

  • Pricing procedure picked up from the service order not from the contract

    Hello, All
    I am working on CRM 5.0 service order and service contract,
    While creating a service order a popup screen shows that there is a contract which should be assigned, after assigning the contract an error message appears showing that a condition type is missing, the missing condition type is in the pricing procedure of the service order not in pricing procedure of the service contract
    Note: I set the copy control for the item category to copy all the condition
    Regards
    Jacopo François

    Hi Jacopo,
    Please check your pricing procedure settings and check for mandatory pricing condition.
    Secondly, check the pricing agreement in the contract.
    Best Regards,
    Pratik Patel.
    Reward with points if it is of any help to you!

  • How to know an order number from the service contracts table

    Hi all,
    I want to know how the order entry module and service contracts module are connected. I mean to ask if a service is placed as an order for purchase how do i get the information about the order_id or order_number from the service contracts table.
    please point me in a direction so as to which tables i should be lookling at.
    Thanks.

    Try OKC_K_REL_OBJS table. The column JTOT_OBJECT1_CODE contains values 'OKX_ORDERHEADER' or 'OKX_ORDERLINE' and the column RTY_CODE = 'CONTRACTSERVICEORDER'. The column OBJECT1_ID1 should store order HEADER_ID or LINE_ID based on JTOT_OBJECT1_CODE value. Hope this helps.

  • I need to get the service order number in the error message

    i need to display the error message with the service order number telling that
    "record does not exist for service order xxxxxxxxx"
    xxxxx-should be the service order number.

    you can define a error no. in message class se91.
    if the error is suppose 101.
       101 - Record does not exist for service &
    use & to concatenate ur variable with the message.
    if you want more than one just addon & to that
    like 4 varibles
       101 - Record does not exist for service & & & &
    in ur code, u can display the message like
    MESSAGE i(ZE)101 with variable
    ZE is ur message class

  • I plug my ipod into the computer, and its says itunes was unable to load data case information from sync services?

    I can't put any songs on my ipod without this error coming up: itunes was unable to load data case information from sync services. please reconnect or try again later. I've tried different cords, and restarting both the computer and the ipod. What should I do?

    Try these suggestions: iTunes for Windows: "Unable to load data class information from sync services" alert

  • Stopping the service order from further processing

    Hi Experts,
    According to my requirement, the service orders will be generated by the call centre agents , then they will release and the technicians will be determined . The pager messages will go to the technicians.
    But the service order whic are generated after 5 PM , we should not send the messages to the technicians althought the service orders are released.
    For this where should I do the coding , which is the exact place to stop the service order from further processing.
    Please help me out in this.
    Thanks in Advance,
    Praveen

    Hi,
    The best way would be to implement a ORDER_SAVE Badi..wherein u can stop a service order for further processing based on the status..
    Regards,
    PePe

  • Preventing the service order from further processing ????

    Hi Experts,
    According to my reks, I need to stop the service order processing based on the timings after releasing the service order, for this do I need to use the status badi and what is the procedure to follow.
    Please help me out in this.
    Thanks in Advance,
    Praveen

    Hi Praveen,
      Using status BADI set the status to 'Distribution Lock', so it will not trigger any changes to ECC.
    //Bhanu

  • Several service cofirmations can be possible from one service order Item

    Dear Experts,
    We create a service order with one service item and create a service confirmation via follow-up function.
    After saving the service confirmation, the status of the service order Item is changed from "Released" into "Confirmed".
    Even though the status of the service item is "Confirmed", we can create a new service confirmation
    for the same item again and again until we set the status "Completed" in the service order header.
    Is the system working as designed?
    Could anyone advise how we can prevent the users from creating a new service confirmation
    from the service item which has been already confirmed(the service order header status is still "Released")?
    Any information would be highly appreciated.
    F.T.

    Hi Fumi
    In standard process  , multiple confirmations are possible for a single service order. there are number of reasons for this
    1. Mutiple engg are working on single service order. and each engg post separate time and expenses in the confirmation
    2. in case of service order which cannot be completed  in a single day. and engg want to book the time daily
    you can still restrict the user to create multiple confirmations  using code.
    Regards
    Naresh

  • Error while releasing the service order .

    Hi,
    After creating sales order from service order (ZOR3), when I am trying to release the service order by clicking on the green flag it is giving me error 'WBS for the Variant Service Line selected does not exist'.
    Kindly advice a solution.
    regards,
    SDG

    What is the error message number ??  If it starts with "Z", then through some user exit, this control is applied which you have to check with your ABAPer on the coding.
    thanks
    G. Lakshmipathi

  • Date Error on the Service Order while using service product

    Hi PM experts,
    I am working on the scenario resource-related billing, using service product in the service order created from a service notification linked to a contract with service product as the line item.  service product is the material of DIEN material type.
    when i was trying to save the service order created using transaction code-IW31, i am getting the  Error Message:
    " *SYS:Date 00.00.0000 not expected*".
    This error started only yesterday, and it was not there before. Basis team has confirmed that they have not done any new
    updates to the system.
    Had anyone encounered this problem before, if yes kindly let me know the solution and the steps to resolve it.
    thanks for the help.
    regards,
    rajaraman

    Hi,
    Here is the error description with message number,
    SYST: Date 00.00.0000 not expected.
    Message no. FGV004
    As an update to this thread, while searching for the reasons for the problem, i found that the characteristics used in the
    warranty class were carrying default date value as 00.00.0000.  can this be a reason for getting this error as the service
    product number which is a DIEN material type is linked to the master warranty which is in turn assigned to the equipment.
    Hope this information helps.
    regards,
    rajaraman

  • Copy General Task List from one service order to another one

    Dear Guru,
    I have the following questions:
    1- From a service order in IW32, how can I see the link between the operations and components?
    2- I want to be able to copy all the operations and all the components contained in a service order into another service order for a similar type of equipment. Can someone help me step by step on what needs doing?
    KR
    Christian

    Hello Sebastian,
    Many thanks for your quick reply indeed on this.
    Now this is the catch: I know that I could create a new service order based on a previously created one using IW31, however in my department they are creating sales orders for equipments in the normal SAP SD flow.
    In one the material line they enter a service material which is converted into a ZC03 (Service order) when saving the normal sales order which creates automatically a Service Order number.
    Because they create a lot of those service order in that way, they want to be able to populate them with the same list of operations and relevant components all the time.
    If they would be using IW31 to make copies, they would have to cancel the previously generated service order deriving from the regular Sales Order in SD which we want to avoid simply because it alters the original sales document flow.
    Question:
    1- I tried to copy the description of the task lists present in my service order thinking that would also copy the list of relevant and subsequent components defined for each task. The system has only copied the description of the tasks but not the components.
    Is there a way we could copy a list of general tasks to automatically have those coming with the relevant components?
    Please advise
    KR
    Christian

  • How can we restrict users from marking service orders as deleted

    Hi,
    Please guide me :
    Is it possible to restrict users (who are having authorization of marking service orders as deleted) from marking some service orders as deleted, if they have not created these service orders?
    In other words, requirement is : only the person creating the Service Order should be authorized to delete.
    Please guide.
    Thanks and Regards

    There are many BADI and EXITS available, you have find the appropriate place to put your code.
    USER - EXITS
    CNEX0013  Order: Cust. enhancement: Default item category comp. assgmt
    CNEX0026  Customer enhancement for general inspection of material
    CNEX0027  Customer enhancement: Plant, storage loc. finding for comp.
    IWO10004  Maintenance order: Customer check for order completion
    IWO10005  Maintenance order: Cust.-specif. determination of profit ctr
    IWO10006  Maint. order: Fcode exclusion through cust. enhancement
    IWO10007  Maint.order: Customer enhancement - permits in the order
    IWO10008  Cust. enhancement: Determination of tax jurisdiction code
    IWO10009  PM Order: Customer Check for 'Save' Event
    IWO10010  Maint. order: Cust. enhancement for determining WBS element
    IWO10011  Maint. order: Customer enhancement for component selection
    IWO10015  Maintenance order: F4 Help for user fields on operation
    IWO10016  PM Order: Cust. enhancement to check operation user fields
    IWO10017  Determine external order number by customer logic
    IWO10018  Maintenance order: User fields on order header
    IWO10020  Maintenance order: Automatically include task list
    IWO10021  Automatic task list transfer when creating order from notif.
    IWO10022  Determine calendar from user exit
    IWO10023  Service order: Change header data for advance shipment doc.
    IWO10024  Service order: Changes to items for advance shipment
    IWO10025  PM/SM order: Finding responsible cost center
    IWO10029  Inclusion of bill of material in PM/SM order
    IWO10030  Preset Fields for Event Object
    IWO10031  Hide personnel number in PM/SM order
    BADI
    Name of a BAdI Definition
    ARC_PM_ORDER_CHECK
    ARC_PM_ORDER_DELETE
    ARC_PM_ORDER_PREPROCESSING
    ARC_PM_ORDER_WRITE
    ARC_PM_QMEL_CHECK
    ARC_PM_QMEL_DELETE
    ARC_PM_QMEL_PREPROCESS
    ARC_PM_QMEL_WRITE
    IWO1_ORDER_BADI
    IWO1_PREQ_BADI
    IWO1_SCREEN_MODIFY
    IWO1_TL_INTEGRATION
    IWO1_TL_INTEGRATION2
    Edited by: Manish  Bisht on Jul 11, 2009 9:27 AM
    Edited by: Manish  Bisht on Jul 11, 2009 9:28 AM

  • IMP: How to delete the service order

    Hey Experts,
    Can you tell me how to delete the service order which was created in IW31..? or we have any Functions Module to delete the service order?
    and one more question is I have more than 100 service order in the table ,but it will display only 50 order when i execute this Functions Module BAPI_ALM_ORDERHEAD_GET_LIST
    can you tell me how to solve this problem...?
    Thanking you in advance,
    Regards
    J Sarathi

    This is what the BAPI_ALM_ORDERHEAD_GET_LIST documentation says
    "You can use this method to determine a list of orders according to a list of selection criteria. The number of hits that are produced for the person calling up the list, can be specifically reduced; without further parameter transfers, the first 50 hits are displayed. A complete list of the hits is stored internally. If you call up the selection again within a Logical Unit of Work (LUW) without changing the selection parameters, but with other refurbishment parameters, then you receive further partial quantities of the selection result, as specified by you."
    and for deletion
    check whether you can set any deletion status through the fm BAPI_ALM_ORDER_MAINTAIN
    Also check the business objects BUS2007, BUS2088

Maybe you are looking for