Need functional module for service order

hello,
while creating service notification i want to create service order automatically.for that i need a functional module which is the key funtion to process creation of transaction in the background. i want the name of that functional module to create iw31 service order automatically  and that of functional group so that i can assign in the action box.
Regards,
Rajesh Kumar Raju
9900311069

Hi,
unfortunately there is no such "official" BAPI available - not even in ERP2005! There is a BAPI called BAPI_ALM_ORDER_MAINTAIN but this is for changing an already existing service order.
But, you can use what the "SAP CRM group" developed for their integration to the backend R/3 system. This FM is called CRM_CS_API_ORDER_CREATE and is part of FUGR CRM_CS_API_ORDER. This FM is acting in the same way as a "normal" BAPI although you can not find this FM in transaction BAPI.
Hope this can help!
Best regards, Johan

Similar Messages

  • Need function module for Sales order overall status

    Dear Team,
    Our requriement is we need to capture sales orders overall status 'compleated' in header and item datat details.
    Could you please let me know what are function modules available for to get the over all status for sales orders, (header and item)
    Thanks & Regards,
    MK.

    Hi MK,
    Use any of this FMs.
    C1CE_VBUK_READ
    SD_VBUP_READ_WITH_VBELN
    WCB_VBUK_READ
    Note that the values are in table VBUK and you can do a select statement from that table to get what you need.
    Regards,
    Peter

  • Is there any function module for purchase order change

    Hi Experts,
    Is there any function module for purchase order change or i need to do new recording in me22n.
    Thanks,
    Senthil

    Hi
    Function module <b>BAPI_PO_CHANGE</b> enables you to change purchase orders. The Change method uses the technology behind transaction ME22N.
    Regards,
    Viven

  • Need Function Module for convertion of  Foreign currency to Indian currency

    hi friends,
    i need function module for converting amount from
    Foreign currency to Indian currency
    thanks

    hi Venkat,
    Please use the function module CONVERT_TO_LOCAL_CURRENCY
    <b><u>Sample code:</u></b>
          call function 'CONVERT_TO_LOCAL_CURRENCY'
            exporting
              date             = p_alv_tab-begda
              foreign_amount   = p_alv_tab-kkost_p_person
              foreign_currency = p_alv_tab-kwaer                 " foreign currency
              local_currency   = l_ev_waer                           " Indian currency
            importing
              local_amount     = p_alv_tab-kkost_p_person
            exceptions
              no_rate_found    = 1
              overflow         = 2
              no_factors_found = 3
              no_spread_found  = 4
              others           = 5.
    Hope this helps,
    Sajan Joseph.

  • Function module for Process order status

    Hi techies,
    I want to know the function module for process order status , idoc type is liopro01 and message type is liopro, my requirement is that based on the different status received in IDoc SAP should update the process order status, separate user status will be defined as "MO START" and "MO end" using status profile.also it has change the process order status to "TECO" also it should check the user status for "MO Abort".
    Thanks in Advance

    Hi ross,
    Try this function module.
    STATUS_CHECK_MULTI
    May be helpful.
    Lincon

  • Function module for submitting order in CRM B2B

    Hi Experts,
    we are customizing the CRM B2B functionality. as per our reqruirement, we have 3 types of orders (docuemnts) to submit. for each order we have differnt  extra fields data need to be sent to the back end system in the Header level and item level.
    In this case still we  can not use the standard function module to submit the document.
    need to use the same standard functiona module or need to create the z function module for submitting all three orders.
    Please advice.
    I have another question. What the standard functiona module name for submitting the order?
    Adavance Thanks

    HI
    We need not create any custom FM to send in extension data. Just extend the class which is called on save and overirde the
    customer exits available there.
    From the sales document object  get header and itemlist.
    ItemList itemsData                = salesDocument.getItems();
    HeaderData header                = salesDocument.getHeaderData();
    header.addExtensionData();
    ItemSalesDoc[] items = itemsData.toArray();
    for (int k = 0; k < items.length; k++) {
      ItemSalesDoc item = new ItemSalesDoc();
      item = items[k];
      item.addExtensionData();
    The header and item extension datas will be available in the respective place holders in the methods in BADI
    CRM_ISA_BASKET_ITEMS   CHANGEITEMS_BEFORE_ORDER  IT_EXTENSION
    CRM_ISA_BASKET_HEAD    CHANGEHEAD_BEFORE_IL         IT_EXTENSION
    The method name and place holder in backend also given above.
    Hope this helps
    Regards
    Antony

  • Function Module for creating order in CRM

    Hi ,
    I want to create order in crm. i have tried the function module given in SDN but all are for R/3. I have tried BAPI_SALESORDER_CREATEFROMDAT and  CRM_SERVICE_ORDER_CREATE  , L_TO_CREATE_MOVE_SU but all are for R/3. So please tell me function module which create order in CRM.
    Thanks
    Abhiiesh

    Sales Order      
    BAPI_BUSPROCESSND_CREATEMULTI->BAPI_BUSPROCESSND_SAVE and BAPI_TRANSACTION_COMMIT must be used.
    CRM_ORDER_MAINTAIN-> CRM_ORDER_SAVE and COMMIT WORK must be used.
    check this report program in se38
    CRM_TEST_ORDER_MAINTAIN
    Regards,
    Keshav

  • Function Module for PM Order Change?

    Hello Everyone,
    I want to change a plant maintenance Order's Header Data, operations list  and object list.
    Is there any existing function module for this.
    R/3 version which I am using is 4.6c.
    I have found a function module 'ALM_ME_ORDER_CHANGE' but unable to change any of the order's data using this.
    Thanks & Regards,
    Swati

    Hi,
    Here is  the Function Module  :  BAPI_ALM_ORDER_MAINTAIN
    Reward  Points if it is usefull..
    Girish

  • Function module for sales order VC characteristics

    Hi All,
    Is there any function module for fetching sales oder VC characteristics.
    Regards

    Please use FM: VC_I_GET_CONFIGURATION.
    Please pass "VBAP-CUOBJ"  in the exporting parameter INSTANCE and it should return you configuration in the Table parameter 'CONFIGURATION'.
    Let me know if this works.
    Thanks,
    Neeraj

  • BAPI / Function Module for Sale order updation

    Hi,
         I need to update sale order details(Reason for rejection)..Can you please tell me any of the existing BAPI's / Function modules to do the same.

    hi,
      try bapi_salesorder_change
        <b>allocate points if useful</b>
    regards,
    pavan

  • Function Module for Production order configuration

    Hi,
    I have variant configuration scenario.
    I have to run the transaction CO01 in the background.
    Is there any Function module, by which i can configure the production order in the back ground.
    As of now, when i am doing it manually but not able to find any BAPI for that.
    any help will be highly appreciated !!
    Thnx in Advance
    Ashish

    Hi,
    try BDC
    Pls refer below link
    http://www.sap-img.com/bdc.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/309cb157-738d-2910-7691-b74c4ddba3c7
    Regards,
    Sankaran

  • Need Function Module for Printing Rates,Discounts and Taxes in Invoice.

    Hi All,
    For our Invoice printing I need to get a function module which will provide me the rates,discounts and taxes against each item line of the Invoice No.
    Finall it will be printed accordingly.
    Can anyone help me regarding this with input parameter example.
    Thx in Adv.

    Hi,
    As far as I know there is no fun module to print all this stuff.
    You have to get this data from KONV table by passing the VBRK table KNUMV field.
    Then check for all the Rates and amount KBETR and KWERT fields for the respective condition Types.
    You have to loop the KONV internal table and write all the condition rates and amounts in the script driver program.
    see any Std script for this.
    Regards,
    Anji

  • Functional module for production order operation standard values

    Hi,
    Is there any functional module/BAPI available where I can get the 'Standard Valuse' (Setup/Machine/Labor) from production order operations directly?
    Regards,

    Hi Caetano,
    Thank you for your reply.
    I checked suggested BAPI BAPI_PRODORD_GET_DETAIL, it gives me the operation details like control key, Activity name (like KMCH, KMOD) but not its standard values (values for: Setup/Machine/Labor).
    Could you please check and confirm?
    The FM: PM_ORDER_DATA_READ gives me all details but as name start with PM, I am not sure if its only related to 'Plant maintenance' orders and if its ok to use this FM for PP production orders.
    Please suggest.
    Regards,

  • Need function modules for the following...

    Hello experts,
    Is there an function module that I can use for:
    1. get the last date for a given year
    2. get the exchange rate for a given document number in a span of 5 years -
    for example, I need to get the exchange rate of doc. number 0000000123
    for the year 2000, 2001, 2002, 2003, 2004 and 2005(maximum of 5 years)   
    Help would be greatly appreciated.
    Again, thank you guys and take care!

    Hi,
    To use CALCULATE_EXCHANGE_RATE_N, you just have to pass the required parameters like foreign amount/currency and local amount/currency, instead you can query the table TCURR for the same data, remember to convert the 'DATE' to internal format before sending it in to the fm/table, you can refer the following code, this might help,
    WRITE  V_date TO  LV_DATUM USING EDIT MASK '__.__.____'.
         CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT'
           EXPORTING
             INPUT         = LV_DATUM
          IMPORTING
            OUTPUT        = LV_DATUM.
    Retrieve the Exchange rate from Custom table for the Exchange
            select ukurs from tcurr
            into tcurr-ukurs
            up to 1 rows
            where kurst = 'M'
            and   fcurr = komk-waerk
            and   tcurr = komk-HWAER
            and   gdatu >= LV_DATUM.
            endselect.
    Rgds,

  • Function Module for Sale  order BOM

    Hi
    What is the function module to retrieve sale order BOM ?
    thanks in advance
    krishna

    Hi, Your thread has been moved to SD Forum.

Maybe you are looking for