Service order creation based on counter reading assigned to the Ibase.

Hi All,
I've created a service contract (ZXXX) with the item category (ZIT1) of service plan.
In the item category (ZIT1) definition i've copied the standard item cat. of service plan (SPLA) and assigned the standard date profile SERVPLAN to the item category.
Requirement - Service order has to be created automatically if the counter reading assigned to the Ibase is greater than counter reading that is maintained in the service plan template that is assigned to the service plan product(Item) in the service contract transaction.
Master Data -
Service Interval Template - Created service plan template for counter based interval and maintained the interval as 100HR.
Assigned the template to service plan product(item) which is assigned in the service contract.
Created a counter ID and assigned the counter to the Ibase.
In the item date profile SERVPLAN , I've assigned the date rule (Planned time based on the counter reading) to 'Release date' date type.
In the item action profile ., Action is defined as it should create a service order (ZSER) with the template defined in the item if the (Release date =< today's date) as start condition.
I've maintained the complete master data.
Now Release date should be picked based on the counter reading of the Ibase assigned to the service plan item in the service contract.
If Ibase counter reading > counter reading maintained in the interval the release date = todays date.
If Ibase counter reading < counter reading maintained in the interval the release date = future date.
which is not happening now in my case. service order is getting created even the counter reading of Ibase is less than the interval.
Please let me know if further more changes to be done to map the scenario.
Thanks
Syam

Hello,
I found the following:
If you fill someting in the fields REFOBJ_IBASE, this value is being converted into a GUID internally
This happens in function CRM_BSP_OIC_1O_SEARCH_FROM_RF
So you have to make sure that the search field REFOBJ_IBASE points towards the field CRMD_SRV_REFOBJ~GUID_OBJECT ( via table CRMC_REPDY )
And even then I have the impression it only works when you only fill the Ibase in the order. When you fill the component there is a different GUID.
In my case I found out it is even more complex, so I will need to create my own search field (extend search structure )
Regards,
Erwin

Similar Messages

  • Automatic creation InternalOrder inECC after Service Order creation in CRM

    Hi,
    After Service Order creation in CRM,  the automatic creation of Internal Order in ECC not happening, needs to be do the related settings. Can anybody share the stepts for the same to do the settings.
    rgds,
    balu

    Hello balu,
    Have you released all items?
    Also,please make sure that against the item category "Assign BW/CO" is set to Service.
    Hope this helps!
    Thanks and Best Regards,
    Shanthala Kudva.

  • Credit block should not prevent service order creation

    An upgrade from 4.7 to  ECC6, without any changes made to the configuration or program change, has lead to the following issue. ECC6 is not creating a service order connected to a sales order, when the customer has exceeded the credit limit. The sales order of custom order type is getting saved with a warning message that credit limit has exceeded. However, earlier in 4.7, the message would not stop creating subsequent service order. What could be different, that prevent ECC6 environment to hold on to service order creation? A subsequent release of the credit block through VKM1 however triggers the service order being created.

    Are you using credit card processing in SAP to get the authorization?
    If you are then the authorization should not block the order.
    Or are you using credit card as a form of payment (without authorization) in which case this needs to be put on the customers account as a payment and then the order entered.
    Where are you holding the credit card details?

  • BAPI for Service order creation

    Hi ,
    Please tell me if any Bapi for service order creation  , T-code : IW31
    regards,
    Prakash

    Hi Prakash,
    Have a look on the following BAPIs:
    BAPI_ISUSMORDER_CREATEMULTIPLE - Create Service Orders
    BAPI_ALM_CONF_CREATE - Create confirmation for maintenance/service order
    WTY04_CREATE_SERVICE_ORDER - Create Service order via function module.
    Hope this will help.
    Regards,
    Nitin.

  • Replace equipment/assembly based on counter reading

    Dear PM gurus,
                        I have a scenario wherein based on counter reading we have to replace an equipment/assembly. Please help me counter the scenario,
    Thanks,
    Sunanth V.Narayan

    Hi,
    you need to attch serial no. profile to assign to the material master. you can not attach equipment in the component tab, only materials are allowed to select. so make your equipment an instance of a material first (by either generalistaion- construction type and assigning serial no. profile) and then assign it to the component tab, it will work.
    Regards,
    Lucky
    Edited by: lucksoni87 on Nov 18, 2011 2:49 PM

  • Service Order Creation through Sales Order...

    Hello,
    I got one requirement it is , we need to copy the account assignment (WBS element ) from sales order line item to service order line item . Morever same wbs element should be used to create automatic settlement rule in service order.
    This should also work even if user changes the WBS element later. i.e, updated WBS element should again update service order and settlement rule automatically.
    I tried to use Exit MV45AFZB and routine USEREXIT_MOVE_FIELD_TO_COBL, but still i am not able to see the data in service order Location tab, Object tab.
    I checked the table ILOA, its not getting updated when creating Service order via sales order.
    I am not able to see any fields value coming on Service order screen when creating through sales order.
    Regards,
    Sujeet Mishra

    Hi ARC,
    Here the issue is that, Sales Order is getting created but while sending the Order num. to Webpage through web service then rasing below Exception.
    Runtime Error UNCAUGHT_EXCEPTION
    Except. CX_SOAP_CORE
    Date and Time 07.05.2008 20:13:24
    ShrtText
    An exception that could not be caught occurred.
    What happened?
    The exception 'CX_SOAP_CORE' was raised but was not caught at any stage in the
    call hierarchy.
    Since exceptions represent error situations, and since the system could
    not react adequately to this error, the current program,
    'CL_SOAP_TRANSPORT_EXTENSN_ROOTCP', had to
    be terminated

  • Service Order Creation through IC Web client

    Hello Experts,
    I am facing some problem for service order creation in IC Web client.
    Description: "ISUSRV" is the new BOL component in CRM 7.0 for service order creation in ISU System. BOL Object is given in this component is "IsuserviceOrder" for service order creation.
    Through this component in BOL i am able to search service order.
    Problem: When i am trying to create new Service Order it gives error Massage creation failed.
    (1) How to create service order through this BOL Root Object "IsuServiceOrder" which field are required to fill the data before create order.
    (2) I found ORDER_CODE field in BOL Root Object "IsuServiceOrderu201D when trying to create order what value fill in this field.
    (3) I have create one view Using BOL Root Object "IsuServiceOrder" with Save button how to save the service order through this button. What code is required for Save the View data?

    Hi Gagan
    Could you please share with your solution, i am kind looking help in same are. We are using CRM 7.0, but i can not find BOL component which is ISUSRV.
    My requirement is to create Service Order from Webclient, example meter problem reporting, etc
    Please kindly reply or by email shankar no dot vangari at gmail com
    regards
    shankar

  • Block sales order creation based on material qty

    Hi,
      In my scenario i want to block the sales order creation based on material qty , how i can do this?
    Example:
    Material qty below 100 = able to create sales order
    Material qty above 100 = not able to create SO
    Thanks,
    Arun

    Hi
    For restricting the order if it is less than a specified qty, you can maintain the 'min order qty' in material master.
    But your requirement is the other way round - Restrict order if it is more than specified qty.
    In this case, you need to use the following sales order exit  in progran MV45AFZZ
    u2022     USEREXIT_SAVE_DOCUMENT_PREPARE
    Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
    The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
    Hope this helps.
    Regards
    Madhu

  • Automatic Service Order creation and OBD line item creation - Repair Order

    Hi ALL,
    I tried to run the Repair process based on the help document of SAP:
    Configs Followed:
    1) In Material master MRP3 view, strategy group is assigned as 84 (service orders). By default this str.grp is linked with Requirement type SERA and Requirement class 203.
    2 ) Requirement class is assigned with appropriate Service order type.
    SPRO>Sales and Distribution>Basic Functions>Availability Check and Transfer of Requirements>Transfer of Requirements-->Define Requirements Classes (OVZG)
    Actual Assignment:
    Reqt. Class Service Order Type
    039 SM01
    203 SM01
    3) Task list is assigned to your Service material - Service product - OISD
    Actual Assignment:
    Service Pdt Work Centre Plant B Area Gen TL Group Counter Task List Type
    R-1001 PC-SERV 1200 8000 62 1 A
    4) Check the Requirement class setting indicator for configuration (cnfg)
    Actual Assignment:
    = mandatory
    5) SPRO>Sales and Distribution>Basic Functions>Availability Check and Transfer of Requirements>Transfer of Requirements-->Define Requirements Classes --> Determination Of Requirement Types Using Transaction
    Actual Assignment:
    Item Category Reqt class Reqt. Type
    IRRS 039 SE
    IRRE 203 SERP
    IRRP 203 SERP
    IRAL 040 KE
    6) Sales and Distribution>Sales>Sales Document Item-->Assign Item Categories for determining the item category based on usage
    Actual Assignment:
    Sal. Doc. Type Item Cat. Group Item Usage H. L . Item Cat Item Category
    RAS NORM IRRS
    RAS NORM R101 IRRS IRRE
    RAS NORM R102 IRRS IRRP
    RAS NORM R103 IRRS IRAL
    Errors Faced:
    1. Service Order is not getting created automatically.
    Error in SAP - IDES :"A service order has not been found for action 'Repairs'"
    2. Also im not getting the automatic creation of the 4th line item(Item Category - IRAL) in the repair order, which in turn stops me from creating the Outbound delivery.
    Please HELP !
    Regards

    Hi PeteA,
    Sorry, here it is...
    Let me explain the process that has been followed:
    1) Initially to start with Service Notification was created with IW51 T-code.
        In that, Sold to party and material # were entered. Then from there directly i go for Create Repair Order from the Action Box.
        Order type for repair order - RAS, and when i save both Service Notification and the Repair gets saved.
        Now, in the repair order, two line items were getting created automatically and the requirement Types for those line items are:
        Line Item I : SE
        Line Item II: SERP
    2) After that i take the material in with the help of t-code VRRE.
    3) Then, i do the acceptance of the stock ( Technical Check) with t-code QA11.
        Once i do that, i get the Third line item in the Repair Order and the requirement Type for that line item is:
        Line Item III: SERP
    Now my query is, Once i do the QA11 transaction i need to get a Service Order automatically but thats not happening.
    Also if i create a Service Order manually, and do the repair and do the technically completion of the service order, then i need to get a third line item (IRAL) in the repair order automatically and thats also not happening.
    Regards

  • Service order creation using bapi with repair order number

    Hi experts,
    Pls suggest me a BAPI to create a service order for those repair orders where a PGR has been done(for return delivery type : LR).
    The plant should be 0260 with storage location wh01 and item category ZRRE
    Creation of a service order with repair order type SM03 is not allowed in iw31.
    thanks and regards,
    Vijayb.

    Hi prakash,
    Thank u for the BAPI
    But an error is being displayed saying that the REFURBISHMENT ORDERS CANNOT BE PROCESSED USING BAPI.
    ERROR DURING PROCESSING OF BAPI METHODS.
    This is while u pass the order type as either ZM03 or SM01or SM02 or SM03.
    pls help me on that.
    thanks and regards,
    Vijayb.

  • Settlement Rule for service order created based on sales order

    Hello,
    I am creating a sales order and entering  WBS as an cost object.
    After creation of sales order the Service order is created.
    For service order type in the settlement profile  WBS is maintained.
    But the system is not copying the WBS in Service order which is maintained in sales order.
    Can any body have an idea on this?
    Regards
    Abhijit

    Hi,
    As far as my understanding when service order is created through sales order then settlement rule is SDI and its item number
    Not what you maintained in account assignment tab of sales order
    When you settle service order then cost will settle on sales document and its item and then latter you settle sales order then settlement receiver is WBS element which you maintained in account assignment tab
    Kapil

  • Service Order Creation from a Repair Order - Reg

    Hi,
    I have a situation where a batch of 100 Pieces of a serialized Serviceable Material has been delivered by a Customer. I have to carry out repair and treat each piece as unique. i.e., a Job Order for each Piece of the Material.
    I created a Repair Order, Delivery and perform PGR to inward the incoming Serviceable Material. Now each Serial Number is in stock.
    Now, is it possible to automatically create 100 different Service Orders (based on Repair procedure) for each Piece and assign Serial Number to each of these Service Orders ? Or should I have to enter 100 line items one after another manually ?
    Thanks.
    Raj

    Raj,
    No, if you want to stay within standard, then you need to create 100 items on the repair order each for one unit, then do 100 seperate goods recipts which will then create 100 seperate orders..
    PeteA

  • Help with validation of service order creation

    Dear All,
    I am working with creation of service order under service professional and got a requirement where
    1) I need to validate the quantity from BOM table comm_il_momitm. and
    2) Same product (product id) should not be called more than once, that is if the user selects same product once again it must throw an error.
    Please find the screenshot below
    Regards,
    Naveenn

    Hi Benoit,
    I give you my exact requirement,
    i need to validate quantity field entry (in above table) based on compon_qty field in comm_il_bomitm table.
    I tried to implement it using eh_onsave method in component BT116H_SRVO but it is displaying error message even the quantity is equal the compon_qty whereas it should display error only when it exceeds compon_qty.
    Please help by providing sample code.
    Regards,
    Naveenn

  • Service order search based on IBASE is not working

    Hi All,
    I am facing one Issue in CRM web ui..when we search service order based on the referenced installed base id it's not returning the proper result..if we have multiple service orders for the IBASE id it's returning only few values some times even though if we have service order associated with IBASE id it's not returning any value..
    I am guessing it's returning wrong result..
    I wanted to check which logic has been written for this search result or is it using any search help table.. Could you please help me where we can find the logic written for this search criteria..
    Please find the screen shot for your reference..I appreciate your help in advance..
    Thanks,
    Susan.

    Hello,
    I found the following:
    If you fill someting in the fields REFOBJ_IBASE, this value is being converted into a GUID internally
    This happens in function CRM_BSP_OIC_1O_SEARCH_FROM_RF
    So you have to make sure that the search field REFOBJ_IBASE points towards the field CRMD_SRV_REFOBJ~GUID_OBJECT ( via table CRMC_REPDY )
    And even then I have the impression it only works when you only fill the Ibase in the order. When you fill the component there is a different GUID.
    In my case I found out it is even more complex, so I will need to create my own search field (extend search structure )
    Regards,
    Erwin

  • Sales Order creation with Ship to not assigned to Sold to

    Hi There,
    I have an issue that I am able to create an order with a Ship to which is not assigned to Sold to. i.e, The sold to accepts any ship to and not giving any error. I am giving both Sold to and Ship to together while order creation. Is it because of this? Should I enter sold to and then press enter for the list of Ship to's assigned to that? I dont find any issues in the Partner determination.
    Can you help?
    Thanks in advance,
    Renjith

    Hi Renjith,
    I agree with you that SAP allows you to enter any ship to(belonging to sales org of sold-to party) for a given sold to party.
    To meet your requirement, You may like to use the Userexit MV45AFZZ (Form USEREXIT_SAVE_DOCUMENT_PREPARE) to check the Ship-to while saving. Thus a comparison could be made with assigned Ship-Tos for the  given Sold-to party. In case there is a mismatch throw a error message before allowing committing of save.
    Your developer would be able to help you to achieve this
    Please let me know if this helps
    Warm regards
    Harpreet

Maybe you are looking for

  • How can I SCAN with the Dell photo aio 922 in my macbook?

    Basically Dell doesn't work for macs so  I installed the Lexmark X5270 driver and now I can print with my printer, the problem is... how do I scan? It just doesn't appear as a scaner (only as a printer): Can somebody help me please????

  • Error while deploying webdynpro applications on sdm

    hi all,we are having a server with ip address 172.25.5.115.but recently due to some reasons the is is changed to 172.25.4.114.earlier with previous ip we were able to use all the services like portal SDM...SDM for deploying web dynpro applications et

  • Boot drive no longer moves to the top?

    I just noticed that when I switch no another start up disk (CCC clone on external FW drive), that the active system HD icon no longer displays itself on the top right side on the desktop. It just stays were it was. Why would it no longer move to the

  • Generic BDC for VK11 - URGENT

    Hi Can any one tell me how to create <b>Generic BDC for  transaction VK11 (Creating condition records)</b> My actual requirement is like we need to create <b>condition record</b> for every material  with all the condition types exist for that materia

  • Updated WLC has strange error log and AP's not joining

    Hi we recently updated all of our WLC's to 7.098 and it all went smoothly, controllers rebooted and AP's updated their firmware and rebooted OK. One WLC (4402) which was working fine since the update now has no AP's associated. The AP's were all conf