Bapi for technically complete of service order

Hi all,
I need to call a bapi to technically complete a service order.
I dono what are the values to be passed into the bapi..
please provide the passing parameters of the bapi.
Thanks and Regards,
Vidhya

Hi vidhya,
  You can use the BAPI 'BAPI_ALM_ORDER_MAINTAIN' for technical complete of service order.
  Pass below parameters as input.
IT_METHODS :
Populate the values to methods
  wa_methods-refnumber  = '00001'.
  wa_methods-objecttype = ''HEADER'.
  wa_methods-method     = ''TECHNICALCOMPLETE'
  wa_methods-objectkey  =  v_aufnr. "Order number
  APPEND wa_methods TO  it_methods.
  CLEAR : wa_methods.
Populate the values to methods
  wa_methods-refnumber  ='00001'.
  wa_methods-objecttype = space.
  wa_methods-method     = 'SAVE'.
  wa_methods-objectkey  =  v_aufnr. "Order number
  APPEND wa_methods TO  it_methods.
  Afetr calling this BAPi call BAPI_TRANSACTION_COMMIT to commit the chnages to data base.
  Hope this may be helpful.
  Regards,
Sravanthi.V

Similar Messages

  • Batch job for technically completing a production order

    Is there a way I can run COHV in batch mode for TECO ing orders
    thanks a lot

    Hi
    I assume you mean have a program run at pre-defined intervals to TECO your production orders.
    Easiest is to use SM36 --> batch job creation wizard to setup your batch job.
    The ABAP program you want to execute is PPIO_ENTRY (create a variant for the program first via SE38).
    Rgds

  • Manual Technical completion of Calibration Order

    Hi,
    When I schedule planned calibration order, record results and as soon as when I take usage decision, order becomes technically completed automatically and takes reference date as planned date that is shown on IP10 against each call.
    Is there any possibility to take technically completion manually, specially for calibration order (Order type PM05)?
    Or Is it possible to set default reference date exactly on the date when I perform or take usage decision?
    Regards,

    This is because automatic Technical Completion of Maintenance Order has been configured in your system. To Change it follow the path as specified below:
    SPRO>Quality Management>Quality Inspection>Inspection Lot Completion>Define Follow up Actions
    In follow up actions select QM_PM and double click on Function Modules. Now Uncheck the Sync Update and the AfterPosting Indicator to manually Complete the Order.
    For the reference date to be derived from Usage Decision Date, the following user exit IWO10004 might be helpful in catering your requirement.

  • [SAP WM] Cancel Transfer Order after Technical complete of prodution order

    Hi gurus,
    i have this problem.
    In my SAP WM implementation, i have customizing the PP-WM interface to create automatically the TO from central warehouse to Production supply aera after releasing of production order. The steps are:
    - Release production order
    - Creation of TR  - automatically
    - Ceration of TO to be confirmed (red light) from central warehouse (001) to production supply area (100) - automatically
    Now i would that after technical complete of production order, automatically the TO to be confirmed is cancelled. There is a way to do it?
    thanks and regards.

    Allesio
    I am confused as to why you would want to CANCEL the TO. Surely if the order is complete (technically or otherwise) then the stock has been moved from its source to the order and therefore you would want to CONFIRM it and not CANCEL it.
    As I said if the TO is to take 100 of material A from bin 1111111111 to prod order 9999999999 and you cancel the TO the stock will stay in 1111111111 when in fact it has gone to 9999999999 .
    If your order is to say create 100 pieces of Z and to do this you need 100 pieces of A then you want to CONSUME 100 pieces of A  and GR 100 pieces of Z.
    If you cancel the TO the consumption will fail as the stock is not in 9999999999 but has gone back to 1111111111.
    The other problem is that you will be showing 100 pieces of A in bin 1111111111 which is NOT THERE as the order has used it.
    I hope that this helps
    Frenchy.

  • FM or BAPI for Create/cancel  stock transfer order invoice

    FM or BAPI for Create/cancel  stock transfer order invoice
    Thanks and Regards,
    Srinivas P

    Hi,
    use BAPI_PO_CREATE, po_header-doc_type = 'UB'
    Thanks,
    Reward If Helpful.

  • Business Completion of Service orders collectively

    Hi Gurus,
    Is there anyway I can do the business completion of service orders/work orders collectively? I have around 1000 orders which needs to be business completed.
    Regards,
    Prase

    This can be possible from IW38, the range of orders which needs to be ‘Business Completed’ should be given in the selection, and then execute. Once the report displays the orders then go to ORDER > COMPLETION > COMPLETE BUSINESS.

  • 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

  • BAPI For Inbound Delivery using Purchase Order Number

    Hi All,
    Is there any BAPI for posting Inbound Delivery (VL31N) using Purchase Order as reference.
    thanks
    bobby

    Not sure what it has to do with enhancements and modifications, but there is no such BAPI:
    http://tech.groups.yahoo.com/group/ABAP/message/38307
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/bapi-for-inbound-delivery-creation-and-update-vl31n-1201265
    FYI all BAPIs may be viewed in BAPI transaction.

  • BAPI for material documents by production order

    I'm looking for a BAPI that will provide the list of material documents for a given production order. This is similiar to the functionality provided by the COOIS transaction using: "Documented Goods Movements" as the list type. I've looked at BAPI_GOODSMVT_GETITEMS. However this BAPI does not contain a method to select by production order.
    Message was edited by:
            Glenn Doherty

    HI
        Check this link it wuld be helpful to you
    'BAPI_ALM_ORDER_MAINTAIN' for change in service order.

  • Technical completion of Maintenance Order Dates or Reference Dates Settting

    Hi,
    My client has two requirements
    1- In standard, system allows us to take technical completion on previous date, how should I restrict / stop this completion in past? Could I set technical completion possible after atleast 1 month?
    2- Can I stop technical completion before goods movement or set error message while technical completion before goods movements?
    Regards,
    Edited by: PROCESSES EXPERT on Aug 31, 2010 11:01 AM

    For both of the above requirement you can use the user exit IWO10004 Maintenance order: Customer check for order completion
    You have develop a logic on what basis you have to reject the TECO of the order, please consult your ABAPer and discuss with him for more clarification on this.
    Praveen

  • Check Notification Fields at technically completion of the Order

    Hi All,
    i want to check at the technically completion of the PM-Order, if a field in the notification is filled out (for example the cause). If this field empty, the user should not be able to finish the order. Now i tried to use the exit QQMA0014, but he dont run at the completion. In the Exit "Customer Check for order completion" i cant get the notification-fields. I also cant set the field in the notification as a required field.
    Any idea?
    Thanks a lot for any help!

    Thank you for your support, but its not very user-friendly.
    In normal case the user jump into the order and will complete it. After push the button "complete" a small window comes up.
    In best case the user should insert the cause in this window, but i couldnt find a way to check this field in this window. If i use your idea, the user have to insert the cause before using the complete-button. After this he have to save the order at first and he must jump into the order a second time to complete it.
    I hope i explain it clearly. Any possibility to check the cause in the second small window and not before?

  • Report for Material Issued against Service Orders But not Billed.

    Hi Experts,
    For CRM Service Orders Based on the Reservation number generated in CRM we will make the Goods issue document in ECC.
    My Question In CRM Do we have any standard report to see Material issued against CRM Service orders but not billed. i.e. Work in progress.
    Thanks in Advance,
    Abhinesh

    Hi Vivek,
    What I wanted to say that you won't get information from VAV about billing since as far as I know it doesn't contain any relevant table.
    You should try create a query using LIKP-LIPS-(joint type: left outer)-VBRK. This will connect deliveries to billing document, you can also get SO number. Please try this.
    (Sorrowully I don't know which logical database would be good for you)
    BR
    Csaba

  • "No transaction type is available for creating a transaction" service order

    Hi all,
    I am new in IC .
    I try to create service order or service ticket for incoming calls
    We are using CRM 7.0
    After I confirm the account I try to create service order
    But no screen displayed and error "No transaction type is available for creating a transaction" occurs
    in customizing there is a transaction type SRVO, also I copied it to ZRVO
    But here how can I define that this transaction type is assigned to this application??
    Please reply in detail steps.
    Thank you.

    Hi Rupesh,
    Thanks for your reply..
    I made a lot of controls but I can't find where I am wrong..
    My senario is, taking phones, create interaction record and create order for further investigation.
    I copied IC_AGENT role.
    I copied transaction type 0010 to Z010
    I create business transaction named ZBTP for transaction type Z010
    I made Define Transaction Types for Navigation for Z010
    Then Define Business Role -> Assign Function Profiles
    Here I assign my business transaction ZBTP to IC_BT function profile
    But when I connect tot the system with user having this business role
    I can create interaction record with type Z010, it is ok.
    When I press Service Order it gives this error.
    Work center id for Service order is : IC_UIU_SVO
    I copied my business role from IC_AGENT, and here this work center id was not active
    In my business role I made it active.  Is this work center can't used in IC senario
    Also how can I understand which transaction type is needed for it??
    If I know which transaction type is needed to create service order or service ticket under IC, then I will control it of course..
    I also copied transaction type TSVO(service IC) to ZSVO and do the above things for this type too..
    But nothing changed..
    Please help !!

  • Transaction code for list of pending service orders

    Hi All,
    Could any body tell me what is the tcode for pending service orders?
    Ex:  I have a service PO with one line item and 10 services under that line item in service tab of the PO item details.
    I have made service entry for 8 items. And I have such type of serveral POs.
    Through which TCode I can get the list of pending service orders (partial and fully pending)?
    Thanks in advance
    Ram

    Hi dear,
    You can use ME2L,ME2M,ME2N with Purchasing Organisation as SERV & selection criteria as WE101.
    You can also use T codes MSRV3,MSRV6,here you can make use of Order quantity and Quantity released.
    You can also use ME2S make use of Entered Qty , Entered Value and Accpted Quantity and Accepted value fields in the report.
    Edited by: Deepak Kulkarni on Mar 21, 2011 3:53 PM

  • COPA derivation for Technician field of Service Order

    Hi All,
    I have created a character field WW001 for populating COPA documents from "Technician" field of "Service Order". I have checked and found that AFRU table is having Service Order No. (AUFNR) as well Technician (PERNR). But my problem is while creting AFRU "Table Lookup" using T-Code KEDR, the corresponding COPA character is not coming in the origin, hence I am unable to get the charcter value of said Technician field from Service Order to COPA document.
    Is there any other table availabe in the system for KEDR setup or shall I need to go with User Exit?
    Thanks in advance. 
    Rupali
    Edited by: Rupali Sinha on Mar 11, 2009 2:57 AM

    Hi Rupali,
    I am very much sure that when there is WW characteristics, you need to go with Table Lookup under KEDR. But, if the desired combination of source/ origin and targets are not available there, we need to go with user exit. Take a help of your ABAP Consultant for user exit.
    Thanks & Regards,
    Robin

Maybe you are looking for

  • AppleTV2: Airplay no longer working

    I've had no issues with airplay, but admittedly have not used it recently, the last time was probably sometime during iOS7.1.2  I find that tonight I am unable to airplay from my iphone5s, iPad Mini on iOS8.0.2, or my 3GSphone on iOS6.1.3.  On the iP

  • Library error when configuring PHP with OCI8

    I'm running into a problem running the configure command to include OCI8 in our Linux PHP in order to connect to a remote Oracle database. I've been following the instructions on the page: http://www.oracle.com/technology/pub/notes/technote_php_insta

  • How to collect profiling information

    I try to use -Xrunhprof:cpu:old to collect some profiling information. However I got the following information: HPROF ERROR: thread local table NULL in method exit 08990B84 HPROF ERROR: thread local table NULL in method exit 08990B84 HPROF ERROR: thr

  • Mac calendar and contacts won't sync with iPhone 5 since upgrading to Mavericks.

    Please,please, help, My mac calendar and contacts (and who know what else) won't sync with my iPhone 5 since updating to Mavericks. I have lost new medical appointments on my mac which never synced to my iPhone. I am completely frazzled as I am a ver

  • Cursor taking time

    For our project,we have a cursor defenition as shown below. For opening this cursor the CPU time required is quite high. Can someone suggest and alternative approach to reduce the time taken for the query to execute. We would prefer to get rid of the