Function Module to Create Service Order (IW31)

Hi All
Kindly let me is there any function Module or BAPI to create Service order (Transaction IW31).
Thanks

Found Solution

Similar Messages

  • 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

  • Need a function module to create production order with reference

    Hi
    I need a function module to create a production order with reference to an existing order. There is no BAPI available for SAP 4.7 release. I found that the function module CO_ZF_PRODUCTIONORDER_CREATE does not create with reference to an existing order.
    Any help will be rewarded.
    Pavan

    Dear Pavan,
    Unfortunately there is no FM for this..
    Cheers
    Nitesh

  • A function module to create service confirmation

    Hello,everyone
    I need your help.
    I'm looking for a function module to create crm service confirmation.
    Can you give me some help.
    Thanks.

    Hi,
    You can find a very simple example of function module CRM_ORDER_MAINTAIN at SDN WIKI:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/crm/creation%252bof%252bquatation%252bsample%252bcode
    Cheers,

  • Function module to get Service Order details created with a Sales Order

    Hi,
    Could anyone tell me if there is any function module to get the details of the Service order that is created automatically for a line item in a sales order. Let me explain my requirement clearly.
    When a sales order is created with specific line item, a service order is automatically created for that line item. I need to get the information about the associated service order. I can't find this information in VBAK, VBAP or VBEP tables obviously. But, i can see the link between the service order created and related Sales document # and item #  in the DB view  CAUFV. But, the key field here is Service order #. But my requirement is to get the service order details from the key field of Sales document.
    I tested the FM SD_SALES_DOCUMENT_READ_POS that reads the sales document header and item material tables, but this doesn't help me in getting the service order details associated with the material line item.
    Your early response is greatly appreciated.
    Thanks in advance,
    venu

    Hi Akshay,
    I actually saw this , but surprisingly, there is nothing stored in this field in either of the tables VBAK or VBAP. I mean, even for the sales orders which have associated service orders, nothing is stored in either of the above tables.
    Can you please tell me if there is anyother way.
    Thank you,
    venu

  • Function module to create combination order

    Hello Experts,
    We are implementing with IS Mill combination order functionality. We wanted to create combination order when a set of original orders are CIFed from APO. The original orders to be combined will be identified using a unique key (We plan to use a unused field in order for that).
    How can we achieve this. Can we trigger an exit in CIF on ECC side and call a function module or BAPI to create combination order?. If yes. Which BAPI should we use to create combination order.
    Thanks in advance
    Prathib

    Hi Prathib,
    Unfortunatley there is no BAPI available to create a combined order.
    Furthermore I want to point you to SAP Note 1820289 which clearly states that Order Combination for APO planned material is not supported.
    I would rather recomment to explore the option to create a trim order (also an order type which is specific to DIMP) instead of a combined order.
    Regards
        Stefan

  • Function module to create Inbound delivery with reference to Purchase Order

    Hi experts,
    I want to create Inbound delivery with refernce to Purchase Order. But I want to create item wise. For example If one purchase order is there with 10 line items. 10, 20, 30, 40, 50......100.
    If I am showing report for Purchase Order with select option and if I select first 5 line items 10, 20, 30, 40, 50 then my program should be create one Inbound delivery for selected line items only. I have tried BDC for Tcode VL31N, but its not worked. Is there any Function module to create Inbound delivery with reference to Purchase Order for selected line items????????

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • Bapi or function module to create a sales order in CRM 5.1 system

    Hi experts,
    Anyone knows any Bapi or function module to create a Sales order in CRM 5.1 system directly.
    Thanks.
    regards.
    Ruchi.

    hi ruchi,
    sory for the late respond, got a lot works to be done.
    based on my experience, you need several more information such as currency, uom for quantity, sales organization, etc.
    and honestly, i have never tried to create an order by just using 3 information ( sold to party, item, and quantity ),
    but i think it is possible because some of the information can be determined using configuration, but still some information is missing and the order that you create will have an error and you can't do next process of the order unless somebody fix / fill the information needed.
    just an idea, perhaps you need some z-tables to put your certain information needed for order creation and the information is maintained for each sold to party ( sold to party is a key of z-tables ) and each time order is created, all information will be query in this tables.
    and for this tables may be you can create an offline maintainance scenario using an adobe document. by this way, the sold to party can maintained all his/her/their information by them self.
    and by using this scenario, you can still maintain / create the order by programming ( perhaps using function module CRM_ORDER_MAINTAIN or else ).
    actually i want to implement in my company but don't have a chance becuase all has been set up and the management will think twice for implementing this scenario.
    hopes it hels
    cheers

  • Function Module to create a Sales Order in CRM

    Hi Experts,
    I want to create a function module which creates a Sales Order in CRM.
    As of now, I'm making use of the function module 'BAPI_BUSPROCESSND_CREATEMULTI'.
    I have product ID and Quantity.
    Please let me know what all rest of the fields are mandatory to create a Sales Order using this function module.
    Thanks in Advance,
    lakshman.

    Depending upon the configuration many things could be mandatory. Assuming no such things in your system, Process type (order type) is required and it is good to give the Sold-To business partner and the Org Details, for the Header information. For the item information, you need the Product and Quantity.
    In theory, in CRM, you can create a transaction and "save" it with lot of errors. So, even if you don't give enough information, you will have a transaction with error. You can later fix it the input to fix the errors.
    Best way to know is to use your SAPGUI (CRM Online) version crmd_order and find for your implementation.
    Easwar Ram
    http://www.parxlns.com

  • Function module to create messages for Purchase order

    Hi All,
    I am writing a BDC and recording steps to create Messages for a Purchase order(ME22N).
    For an existing PO, go to Messages and create a message with output type for EDI. Already there are existing Output types for Print and Fax,
    How do I default my cursor at the 3rd record if Print, and Fax are already there, and when I run this BDC for several PO's How do I know how many messages are there and where to place cursor to create message for EDI.
    Is there any Function module or Bapi available wherein I can directly give the PO number and create the message.
    Please suggest
    Thanks-

    I have a list of PO's in the internal table, I need to put a loop and for each PO, I need to create a message with output type for EDI. as I am not sure if there are already messages available for Print, Fax, and Email. I have an issue placing the cursor on the Messages window.
    So i thought if there is any function module to create message without going to message window, I can avoid those complications.
    How to do this. any suggestions?
    Thanks-

  • Function Module to create AFS Outbound delivery for sales order

    Guys,
    I am looking for a function module to create deliveries for a sales order IN IS-AFS.
    I cannot make BAPI_DELIVERYPROCESSING_EXEC work. Also, if I use the IDOC type /AFS/DELVRY03 via message type WHSCON and function module IDOC_INPUT_DELVRY it doesn' work either.
    Does anyone know which function module I could use? I need to select specific AFS schedule lines though, but at this point I am not able to make any work.
    Thanks
    Leonardo

    This will not help .
    Edited by: Amit Khare on Aug 7, 2008 3:49 AM

  • 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

  • How to create  Service Order  and then Invoice    using   IW31

    I  have  problem  to create   Service Order  and  then Billing,
                   could  anyone tel me ,what is process  flow.
    Thanksa in Advance.

    Hi Suniel,
    PLease take a look at:
    Re: Problem  to create  Service Order  using   IW31 and  then Invoice  for that
    Best regards,
    demas

  • 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

  • ABAP dump Error while creating service order in PCUI.

    Hi Experts,
                     We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
    Runtime Errors         RAISE_EXCEPTION
    Date and Time          02.01.2008 14:55:38
    Short text
    Exception condition "TYPE_NOT_FOUND" raised.
    What happened?
    The current ABAP/4 program encountered an unexpected
    situation.
    What can you do?
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
    exception
    condition "TYPE_NOT_FOUND".
    Since the exception was not intercepted by a superior
    program, processing was terminated.
    Short description of exception condition:
    For detailed documentation of the exception condition, use
    Transaction SE37 (Function Library). You can take the called
    |    function module from the display of active calls.     
    We have added custom fields in the service application. these custom fields with Z-structure & data elements  are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
    This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
    How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
    Helpful answers would be rewrded max points as it is high priority issue.
    Regards,
    Basavaraj Patil

    Hi Thirumala,
    Thnaks for the reply.
                I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields)  created while doing  EEWB is not included in BSP structure.
    I f transports are missed to move to target system, Is there any other alternative to solve this problem?
    Regards,
    Basavaraj Patil

Maybe you are looking for

  • How to install 32-bit libraries on Oracle VM Server (3.2.6)?

    Hi all, I need to install some packages on our Oracle VM server. But they require 32-bit libraries (like pam-devel.i868). I tried "yum install pam-devel.i686", and got message "No package pam-devel.i686 available. Nothing to do". How can I fix that?

  • Can i download an antivirus on my treo650?help please

    can i have an antivirus on my treo 650?i dont have any desktop to scan my phone..please somebody help me.. Post relates to: Treo 650 (Unlocked GSM)

  • No signal after standby status

    Dear All; i have problem in my iPhone 3G with the antenna signal, after turning the Phone on the standby mode the signal disappeared, and then when i turn it back to the active mode the phone start searching and then got the signal, and if the phone

  • Re-installed 2.1.4 and now won't open

    I recently had to a fresh OS install on my mac book pro and now after re-installing Aperture 2.1.4 whenever I go to open Aperture I start to get the app to open (see it start in the dock) and then it closes. This happens in about a second or so. I be

  • Utilisation de grille sur une image

    Bonjour à tous, je pose clairement ma question. J'affiche des images formées de plots à partir d'un fichier. Je voudrais poser sur les images une grille qui isole chaque plot de l'image. Ce qui me permettra d'extraire la moyenne des pixels de chaque