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

Similar Messages

  • 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

  • BAPI-To create production orders with reference to sales order & item

    Hi,
    Can anyone tell me which is the best method to create open production orders?
    Is there any BAPI available for creating production orders with reference to sales order & item.
    I tried this BAPI "BAPI_PRODORD_CREATE".
    I am getting pop up to enter serial number while executing the custom program.
    Which table contains the serial number(effectivity parameters)?.

    I have custom screen fields on notification service!
    i think a bdc is better.

  • 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

  • Program for Creating Purchase Order with reference to purchase requisition

    Hi ,
    I need to Create purchase Order with reference to  Purchase requisition,
    in my case i need to automize the Process which is happening in MD04,
    Can you please suggest me ?
    Thanks ,
    Murali

    Hi,
    Plz check this link. It will be helpful to you.
    Purchase order creation with reference to PR
    We can also create the PO Using the BAPI_PO_CREATE1 function module.
    In this function module fill up the all necessary Details.
    With details in Item Table we haveto give the Fields PREQ_NO and PREQ_ITEM for each item .
    then it will creates the PO with PREQ.
    Thanks & Regards,
    Sarita Singh Rathour
    Edited by: Sarita Rathour on Aug 3, 2009 7:01 AM

  • Creating an order with reference to another doc

    I want to create an Order with reference to another document.....in other words it should be a copy of the other document...
    Any ideas of what function modules we have to use and how we can acheive it...

    Hi Vin
    Creating a Sales Order from a Sales Order Quotation is SAP Standard so really should not be an issue for you.
    You do need to maintain the Copy Control Configuration as per my previous reply.
    Define Copying Control for Transaction Types
    Define Item Category Determination when Copying
    Effectively the details of your Transaction Type for Sales Order Quotation will copy into your Sales Order transaction.
    I'm used to working in an environment where the user manually decides to then continue with a follow-up transaction, therefore I'm not too sure which Function Modules you need to use in order to do this automatically.
    But you are on the right track.
    Regards
    Arden

  • Create purchase order with reference to Sales order Line item

    Hi All,
    i had a requirement that i need to create the Purchase order with reference to sales order line item...
    In T.code me27 client requied a input field for sales order no and with that order reference he want the data of line item to PO creation line item screen.....
    please sujjust......how to proceed......
    regards,
    Ravi Nemani

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sri

  • 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

  • BAPI or FM for creating transfer order with reference to reservation

    hi
    i need a BAPI or FM to create a transfer order with reference to a reservation. I tried BAPI_GOODSMVT_CREATE but the problem is it does not support movement type '311'. is there any FM or BAPI to use movement type '311' and create a transfer order with reference to a reservation? pls help

    Hi,
    Try Using WM_CREATE_GOODS_MOVEMENT first use this and later use any of the TO create FM.
    Thanks & Regards,
    YJR

  • Service Order with reference to sales order

    Hi all,
    My client is selling finish material and services to finish material my client requirement is Once we save the sales order, line item with service material system should generate Service order for serves which we are selling to customer
    can any one guide me how to configure in SAP the movement we sales order system should generate the Service order
    Thanks
    Ram

    Hi Ram
    Say your finish material sales order is ZFIN and service order is ZSER.
    Create a BDC program to create ZSER type sales order.(Take help of ABAPer).
    Create new output type ZCRE. Assign this BDC program to ZCRE output type, such that when ZCRE triggers ZSER sales order creates.
    Now assign ZCRE output type to ZFIN sales order type.
    So conclusion, when you save ZFIN sales order, automatically ZCRE output type will trigger.
    ZCRE internally calls VA01 for ZSER sales order. So ZSER get created when you save ZFIN.
    try and revert

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

  • Function Module for creating Functional Location BOM and Equipment BOM

    Hi All,
    Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???

    Hi,
    Tables for Eq., BOM: EQST, STKO, STPO.
    Tables fro Fun., Loc., BOM: TPST, STKO, STPO.
    You can use FMs: CS_BOM_EXPL_TPL_V1, CS_BOM_EXPL_EQU_V2 & CS_BOM_EXPL_MAT_V2 for extracting the appropriate BOM related data.
    And for the Alternatives please check the customizing or check with your respective Module experts for the appropriate configuration.
    Hope this helps.
    Best Regards, Murugesh AS

  • Create one order with reference to multiple quotations

    Hi gurus,
      Is it possible in standard SAP to create one sales order with multiple quotations, or to create one order with reference to multiple orders, if yes what is the procedure.
    Regards,
    kishore.

    Hi Kishore,
    Yes, You can create a Sales Order with reference to multiple quotes or Sales Orders.
    The Procedure is as follows
    1. Goto T. Code VA01 (CREATE SALES ORDER)
    2. Give Sales document type and Sales Area
    3. After entering into the Create Sales Order screen, click on top left menu which is "Sales Document"
    4. In that list, you have an option " Create With reference", in that again you have two options "To Sales Document" and "To Serial Number"
    5. Select "To sales Document", then a window will be opened which has all the tabs like "Inquiry, Quotation, Order, Contract, Shc. Agg, Billing doc"
    6. Select any one tab which you want to copy (say quotation), give the quotation number there and click on copy.
    7. Then all the line items and Header data will be copied from quotation to that sales order.
    8. Like this you can do for any number of times.
    Hope this is clear
    Reward if helpful
    Thanks
    Praveen

  • Any BAPI/Function Module for adding new record with dates in PA0027

    Hi all,
    I am tryig to find is there any BAPI/Function module for updating new record with Start Date and End date for specified Personal Number in PA0027 Table.
    In PA0027 table i will be passing start date and end date for selected personal number, it needs to add new record with this details in the table checking the condition that this start date and end dates should not be between any of of start date and end dates for the specified personal number.
    thanks for ur time.
    Murali

    Hi Raj/Suresh thanks for ur answers.
    but i am having a problem,i gave this values.
    INFTY               -
                0027
    NUMBER              -
                00000010
    SUBTYPE             -
                010
    OBJECTID
    LOCKINDICATOR
    VALIDITYEND         -
                03/12/2006
    VALIDITYBEGIN       -
                03/01/2006
    RECORDNUMBER        -
                000
    RECORD              -
                P0027
    OPERATION           -
                CHK
    TCLAS               -
                A
    DIALOG_MODE         -
                0
    NOCOMMIT            -
                Y
    VIEW_IDENTIFIER
    SECONDARY_RECORD
    i am getting short dump saying that
    The source field is too short.
    The current program, "SAPLHRMM", tried to assign a field to a field symbo
    However, the field is shorter than the type of the field symbol, which
    is not allowed.
    The statement in question is in the form ASSIGN f TO <fs> CASTING or
    ASSIGN f TO <fs> with a field symbol that was created using the
    STRUCTURE addition.
    I tried  operation - Chage,Create (same thing for all inputs)
    is this correct funtion moduel for my requirment?
    what ever i am passing the start and end dates this should check in the table records with this personal number and if this start date and end dates are not between of any start and end dates then it should add new record with this dates.
    Thanks for ur time.
    Murali.

  • BAPI for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

Maybe you are looking for

  • How to get the values of a selected row and edit it

    hi all, i am using a table component.I am populating it from the database.i used static text to display the data .i have a edit button in the last column. when i click on it that particular rows data should be shown in a text field in that row itself

  • ALSA - sound with multiple programs at the same time

    Well, I followed the wiki page about this, (http://wiki.archlinux.org/index.php/Allow_multiple_programs_to_play_sound_at_once#dmix_-_Alsa.27s_software_mixing_system.), and it worked. Well, for starters at least. But then it stopped working, just like

  • I am having trouble with a photo book when I preview

    I am having trouble submitting a photo book because the images are showing up funny when I preview.  Can you help me to fix this problem?  I spent weeks making this as a gift.  Am so disappointed.

  • To add new feilds in HR payslip

    I want to add leave details of previous month in standard  HR payslip. please can any one help me out giving steps to do it Moderator Message: Please put some effort from your end first. Edited by: kishan P on Oct 6, 2010 5:45 PM

  • Command line call of sqlplus with system-privileges

    Hello, I have the following problem: I like to run a sqlplus-command on sun-solaris with a 8.1.7 database which needs system-privileges. It works with every other user. When I use system I'll get an ORA-01017 (Invalid username/password). When I start