BAPI or FM to create Service Order type SM01 in Plant Maintanence

Hi All,
Can anyone help me in searching for a BAPI or a function Module to create a Service Order of type SM01(Service Order). This is usually done through transaction IW31. I have written a BDC as of now but it is acting cranky as a lot of things depend on User Settings I wanted to have a generalised way of doing this rather than a BDC.
Regards,
Sudhi

Hi Sudhi,
There does not seem to be a BAPI available for Service Order Creation (at least in 6.20). One option you can consider is create the order with minimum required fields using BDC and then immediately change it using the Order Maintain BAPI.
Is your BDC executed as part of a dialog transaction or in background job? If it is always executed in background you should not worry about user settings as you can schedule the job to always run with the same id. The same applies if your data comes in as an idoc.
Gareth is correct. I did not see the BAPI docu.
Cheers,
Ramki Maley.
Message was edited by: Ramki Maley

Similar Messages

  • How to create Service Order using bapi BAPI_ALM_ORDER_MAINTAIN

    Hi,
    I want to create the Service Order with multiple Operations & Components.
    I am using this bapi BAPI_ALM_ORDER_MAINTAIN.
    But this BAPI creates the service order with only one Operation at a time. Can multiple operations be created using this bapi.
    If not could any one please guide to use this or other BAPI to create Service Order with multiple Operations & Components?
    Thank's in advance,
    Chetan

    Read the Documentation of the BAPI.
    Operations and Components are table parameters, you can pass multiple data. did you check that....

  • Problem Creating Service Order SM03 from Repair order RAS type

    Hi All,
    While performing "Repair" action in repair order, we are triggering service order type-SM03
    If the return material (serviceable material) is having Individual requirement settings in MRP4 screen, system proposing POP up screen for PO creation-
    This POP up we need to restrict (even though as per present setting it is not effecting our business process)
    This is because the serviceable material is copying as item "0000" in component tab.
    Any inputs?
    Thanks
    Chidambaram

    .

  • Function module for Create service order with reference to sales doc (RAS )

    Hi All,
    I have to create a service order (type SM03) with reference to sales document (doc type RAS, in other way it is called as repair order).
    I have used function module 'ALM_ME_ORDER_CREATE' && 'CO_ZV_ORDER_POST' to create service order and its working fine but problem is that i am not able to create linking between repair order and service order.
    Can anyone suggest me function module, BAPI to create service order with reference as sales document (RAS) so that all related details of sales document will automatically reflect to service order..
    Sumit

    Try this function module BAPI_ORDER_MAINTAIN. Just search with BAPI_ORDER* in SE37 you will get some more functions.
    Regards
    Kathirvel

  • Service order type creation

    Hi,
    I want to create a service order type. We dont have any requirement to create any service notification for it.
    Could any one please tell me is it necessary to create a service notification before a service order.
    Thanks and Regards

    Hi
    No there is no nedd to create service notification before order creation but in real time this logic will not apply before you have to craete the notification.
    But if u want to just check this concept then u can eaisly create a order without creating notification
    Thank & Regards

  • Auto Create service order from incoming email

    Hi,
    We have a requirement that we want to create service order with a default transaction type automatically from an incoming email. Also we want to route this service order to a specific service group on creation an above.
    How can we handle this? I know we can create a rule policy with an action to auto create a service order. My question is how do we set up that this service order is of a particular transaction type and has the default routing to the specific service group..
    Thanks
    Dan

    Hello Dan,
    You can specify the transaction type (for ERMS auto-created Service Orders/Tickets) via IMG configuration. In transaction CRMC_ERMS_SM_PROF you select the DEFAULT service manager profile and open the folder "Indirectly Called Services". Then you can specify the transaction type for each of the relevant service IDs: AH_CREATE_SO and AH_CREATE_SR.
    Best regards,
    John

  • New service order type...

    hi all,
    i copied a new service order type from sm02 (customer service). i am creating a new service order and confirming for activity. but activity cost is not appeared on service order. what will be the reason?
    (when i use sm02 with the same data, there is no problem)

    Hello,
    I believe your thread has been answered by Mr. Thyagarajan in PLM forum and you are satisfied with the answer.
    Please close this thread.
    Prase

  • Service order type from repair orde

    Hi,
    Is there any custo  to define the service order type from a sales order type.
    Thanks in advance for
    Regards

    Hi,
    If u want to create service order from sales order,then some prerquisits for this are as.
    MRP strategy group is - 84 in material master,
    Fill all the data in t-code OISD
    Now create sales order >> put material & enter >>>system automatically create's service order, you can latter view it by in shedule line tab at item level or By t-code IW32.
    Kapil
    Edited by: Kapildev Farakte on Dec 28, 2009 11:22 AM

  • Service order type

    Hi,
    I want to create a service order type. We dont have any requirement to create any service notification for it.
    Could any one please tell me is it necessary to create a service notification before a service order.
    Thanks and Regards

    Birendra,
    I think this question has been posted earlier also.
    You may create a service order directly using transaction IW31.
    But in normal practice, the service order will be created after creating notification (IW21 / IW51).
    It is not mandatory to create notification before raising a serivce order.
    Prase

  • Number range creation for new service order type

    Hi,
    Could anyone please tell me how can we create service order number range if we have done a new service order type creation, and what should we do: should we create the number range in development and then transport it to the production or we should directly create it in production.
    Thanks and Regards

    HI,
    You just define number range in tcode VN01, but remember that number ranges are not transportable.
    Once you define number ranges in development, do the same in quality & production client.
    Then attach number ranges in document type & transport this config to quality & production
    Please see that before transportating, the number ranges must have been created in quality & production thru VN01.
    Hope this helps you
    Regards
    Dhananjay

  • Service/maintenance order type SM01 not completely maintained in plant 1001

    Dear All,
    Am trying to configure Service Management where there is a scenario in which , when the user creates a Sales order for a installation item say TV or Fridge, automatically Service order has to be generated.
    I have checked all the item Category Settings but am getting an error
    Service/maintenance order type SM01 not completely maintained in plant 1001
    Message no. IW216
    Diagnosis
    For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
    Procedure
    A check control must be maintained for this combination of order type and plant.
    Can anyone throw some light on this as i know you would have faced this problem.
    Satish

    Nothing

  • Revenue Account Determination based on Sales Order Document Type & Service Order Type

    Hi Expert,
    I have Customer Service Module with Resource Related Billing for services attached with SD.
    When DP90 runs sales document debit memo request is created & then debt memo is created.
    I need to configure Revenue Account Determination based on Sales Order Type and also based on Service Order Type.
    I did not see any field catalogue in revenue account determination for order type, For communication structure KOMKCV Header and KOMPCV Item level there is no field for sales order type nor service order type.
    Is it possible to bring in both order types? Can ABAP person do it?
    How to bring these fields?
    Is it possible & recommendd to have service order type filed AURAT for service order into this sturcture?
    Is this configuration is OK acceptable by SAP? If so is there any chnace for issues errors & wrong determination from FI CO view?
    Your valued input is highly appreciated.
    Thanks
    Prakash Parikh

    Hi Prakash,
    Yes, you can certainly add new table fields into the field catalog KOMKCV and KOMPCV and use it during account determination. You will also have to add these new fields in the user exit RV60AFZZ for it to work. I believe you will need ABAPer's help to make this work. The abaper will have to crate a ZZFIELD (ZZAUART for example) and put it in the structure and use the same in the user exit to pass the values.
    In your case, what I am not sure is, are you looking to modify the existing standard tables or creating new ones. My suggestion is to create the new condition tables with these new fields (like document type) after adding it to the field catalog. Only modify the access sequence (KOFI) in such a way that your new tables are access first before it goes into standard tables (or you can adjust it according to your scenario.
    We have done it in our company and it is working fine. Basically what we have done is to create new tables instead of modifying the standard ones. We have adjusted the access sequence in such a way that some of our custom tables are accessed first before the standard SAP tables (C001 to C005).
    I found a similar requirement on SCN. This might help.
    Adding New Field in Account Determination
    Hope this helps.
    Regards,
    Mukund S

  • Automatic Rule Determination Based on Service Order Type

    Hi Experts,
    I have a requirement to determine the rule based on the custom service order type.
    I have created 2 custom rules which are then assigned to 2 different org units as needed.
    Now the thing is i want to avoid putting condition step if else based on various order types.
    Is there any way by which i can directly determine which rule to be used by passing the Order type.
    If there is any FM then please suggest and also how to use the same.
    If no FM exists then is there a possibility of having only 1 if else condition and assign rule number in local container variables and pass it thought out the workflow to all the manual validation workitems. Please suggest how this can be achieved.
    Thanks,
    Jessica

    Hi,
    only 1 if else condition and assign rule number in local container variables and pass it
    thought out the workflow to all the manual validation workitems
    Create a workflow container element lets say with probably 15 characters length...
    Now create a background step in which you determine the rule based on the order type.
    data: lv_Rule(10) type c.
    if order_type eq 'X'.
      lv_Rule = '1234567890'.
    else.
       lv_Rule = '0123456789'.
    endif.
    " export the rule concatenated with 'AC' which indicates a rule...
    concatenate 'AC' lv_rule into ev_rule. "ev_rule size may be lets say 15 characters.
    condense ev_Rule.
    "export the EV_RULE to workflow and store it in WF cotainer element.
    In the step where you want to give the rule, select the Agent type as Expression and select the container element.
    Hope this would solve your issue.
    Regards
    Narin

  • Which FM/BAPI is used for creating repair orders

    Hi,
       Please tell me which FM / BAPI is used for creating service notifications,Repair/Service order and Delivery Docs.How to find out??
    Please someone help me.
    Thanks,
    Neelima

    For service notification you can try using this.
    'BAPI_ALM_NOTIF_CREATE'

  • Need to create service order in one system with SO from other sys

    Hi,
    i need to create a DTO program to copy service order from one system to other system. Both systems are SAP systems.
    My requirement is to create service order with same number as it was in the existing system.
    Service order type : SM03
    Now standard SAP automatically create a service order of type SM03 when i add repair qty within the repair tab of IRPA line within a RAS order.
    Can you please let me know if there is a way by which i can change the service order number while creating it from a RAS order??
    Thanks,
    Willban

    Hi!
    In the customizing, you have to set its numbering to
    external in the receiver system for the SM03 order type. And of course you have to set its range the same, as in the sender system. 
    It's working fine here.
    Regards
    Tamá

Maybe you are looking for