FM/Class for creating service confirmation from service order

Hello Gurus,
Does anyone know a FM/BAPI/Class to create service confirmation from service order ?
With warm regards,
Kallol Bhowmick

Hello Kallol
You can trigger a confirmation from service order using action profile.
Here is how to define action profile:
IMG > CRM > Basic Functions > Actions > Actions in Transaction
Dialog Stucture> Action profile:
Object type = BUS2000116
Context class = CL_DOC_CONTEXT_CRM_ORDER
Dialog Stucture> Action Definition:
Processing time: Processing using selection report
Check box schedule automatically, Changeable in dialog and executable in dialog.
Dialog Stucture> Processing types
Permitted processing types of actions: Select - Method Call
Settings method call: Method - COPY_DOCUMENT (you can also try COPY_DEF_ITEMS)
Processing Parameter:
-Select change icon a new window opens - container editor
-select create icon another window opens - display container editor
Here enter following:
Element = PROCESS_TYPE
Name = PROCESS_TYPE
short desp = PROCESS_TYPE
Tab > Dtype:
Structure = CRMC_PROC_TYPE
Field = PROCESS_TYPE
Tab> initial value
Here maintain the transaction type of your confirmation.
save your action profile. Now assign action profile to Service oder transaction type.
I hope this info helps.
Regards
Rupesh Patil

Similar Messages

  • Problems for creating a delivery from a order with less items

    hye, I have created a delivery from a sales order and all is ok. So, If I put less quantity in severals items, the delivery is generated ok and the sales order is OPEN status.
    Now , I want to generate a delivery from sales order, but I don´t want to include in my delivery all sales order's items. For example, if I have in my sales order four items (Itm1,Itm2,Itm3,Itm4) with theirs quantity, by SDK I want to generate the Delivery with Itm2 and Itm3 only. I can't do that. I hate It,jajajajajaja.
    With the next FOR, I get do it with all Items but I don´t know to say it that when status = 0 "jump" this item.
             delivery.CardCode = Order.CardCode
             delivery.DocDueDate = Order.DocDueDate
             delivery.DocDate = Order.DocDate
             For i = 0 To Order.Lines.Count - 1
                 delivery.Lines.BaseType = 17
                 delivery.Lines.BaseEntry = Order.DocEntry
                 Status = 1
                  If Status <> 0 Then
                       delivery.Lines.BaseLine = place
                       If i <> Order.Lines.Count - 1 Then
                          delivery.Lines.Add
                          place = place + 1
                       End If
                  End If
              Next
         retval = delivery.Add
    Thanks and I hope to get a solution.

    What is "it" that you cannot do (+ hate)???
    What is "status"? LineStatus???
    What is your problem when you try to skip an item?
    PS: You should always use enums instead of hard-coded values e.g.: Use the BoAPARDocumentTypes Enumeration for delivery.Lines.BaseType

  • CRM- Find Service contract from Internal Order Number

    Hi Friends,
    I would like to know how to get service contract from internal oredr number.
    From service contract we can find internal order number by using CRM_ORDER_READ function module- table et_document_flow, but my requirement is how to find service contract from Internal order number.Any function module or BAPI available for this requierement ?
    Regards
    Vinayak Sapkal

    Hi,
      when the costs are transferred from CRM to R3, they are posted to an internal order. When a service order or incident is transferred to R3, we have to create an internal order for it, regardless of whether or not a contract has been assigned.
    This is all linked to the logic used in CO to find the appropriate internal order. It works as follows:
    The internal order is stored in the table IAOM_ASSIGNMENTS. This is accessed by a guid (the account assignment guid).
    To get this guid, there is a second table IAOM_EXT_OBJ_INF. This table links the GUIDs coming from CRM, dependent on the CO Customizing for CRM (Mass Controlling, Header level, item level controlling etc.)
    This is how we manage to link a service order to the internal order of a contract in the first place.
    When we call CO, CO first looks for an assignment for the object guid passed. If a service order has been linked to a contract, nothing will be found for the object guid. CO will then check for assignments to the reference guid and find the contract entry.
    If no contract has been assigned, CO will create an internal order based on the service order guid.
    From a CRM point of view, costs are assigned directly to an item, and so it makes no sense to have a reference guid for the costs or the possibility to change the guid via BADI.
    regards
    Waman

  • Deletetion of  service PR from maintenance order

    Hi Experts ,
    Is it possible to delete service PR from maintenance order. If it is created from order due to some problem I want to delete it ,so is it possible ?
    With best regards,
    AVI DDS.

    Hi
    Deletion of PR from Maintenance Order is not possible because the PR is created automatically
    This PR will get deleted automatically when you cancel//teco/complete the order
    Otherway around is you can always block the PRs
    Regards
    Kartik

  • How to get the service address from service address number

    Hi, IS-U Gurus:
    I got the service address number by passing business partner number to  BAPI 'BAPI_ISUPARTNER_GETDETAIL'
    On return table of "bapiisubpa", the first field is service number, but what we need is service address,
    How can I get the service address from service number ?
    Thanks in advance.
    Liang
    Edited by: Liang Ji on Apr 27, 2009 6:57 PM

    hi
    are u looking for business partner address?
    if so u can ref table but020, get its bp no. and then refer table but000 for its address.
    Regards,
    Sumedha

  • Passing 'Service Level' from Forwarding order to Freight order

    Hi All,
    If I create a Forwarding order with Service Level "XYZ" and create a freight order from it,
    the service level 'XYZ' is not passed on to the Freight order Service Level field.
    Instead of 'XYZ' it is empty.
    When investigated found out that, freight order will take Service Level defined in the corresponding Freight order type.
    In my case, the Service level in Freight order type is left Empty.
    Is there any workaround to bring the Service level from FWO to FO?
    Thanks & Regards,
    Michael.

    Hi Michael,
    It depends how you are creating a FO from forwarding order. Do you have FUs as linkage or you are creating FO directly by using FUBR?
    Thanks & Regards,
    Tarun Kumar

  • What is the class for creating the excel sheet in the java

    please say the class for creating the excel sheet in java (servlets,jsp)

    You can also cheat and rename a html file to xls.
    Just use standard html tables. Should be able to use google to find a working example.

  • Class for creating the container in web dympro like include INCLUDE OBJECT

    Hi how can we use the macros swc_container. swc_set*** .. etc in webdynpro . ??
    I have to pass some vaules to the event container .
    As we cant user includes in webdynpro is there a class to carry out the same task .
    i.e;Class for creating the container in web dympro like include INCLUDE <OBJECT> or INCLUDE <cntn01>.
    Thanks ,
    naval Bhatt

    Hi,
    You had the same question in worfklow forum. I suggest you to include your non-OO-compliant code to for example a function module. OR even better, you might want to take a look to function modules SAP_WAPI*. There are plenty of standard functions, which you can use to do the same things as the macros you are now trying to use. For example raising workflow events, etc.
    Regards,
    Karri

  • What is the prerequisite for creating two hierarchies from one fact table i

    Hi,
    what is the prerequisite for creating two hierarchies from one a single fact table.
    Rgds,
    Amit

    create global temporary table t1 as select * from trn_ordbase on commit preserve rows;You CANNOT use this syntax.
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/glob_tab.gif
    http://download-east.oracle.com/docs/cd/B19188_01/doc/B15917/cre_tabl.gif

  • Reg : class for creating table control

    hi everyone,
                 is there any class for creating table control?my requirement is
                  created 2 custom containers,one for alv display and other for table control display.
    For alv i used cl_gui_alv->set_table_first_display,likewise any class for creaitng table control?????????
    pleas find me a solution......
                      thanks in advance......

    Hi,
    You can use the class CL_TABLECONTROL for creating table control and the method SET_VALUES shall be used to fill values for tha tabcntrl.
    Else, you can use the Table Control Wizard to create the tabcntrl easily.
    Regards,
    Renjith Michael.

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • BAPI or FM to create outbound delivery from Sales order

    Hello All,
    My requirement is to create a outbound delivery from sales order. Also i need the batch number and texts to be updated in the delivery.
    For this i need a single FM. The catch is that we don't have the batch number and texts in the sales order. That i have to take from some other delivery. I can get all the information .
    The problem is that i can not find a FM through which i can create the delivery from the order and update the same.
    I should not use two FM.
    Could you please tell me some FM which does both in one go?
    Thanks and Regards,
    Rahul Sinha

    Hi
    Hi,
    You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC.
    Check this sample code..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
    vbeln LIKE vbap-vbeln,
    posnr LIKE vbap-posnr,
    kwmeng LIKE vbap-kwmeng,
    matnr LIKE vbap-matnr,
    werks LIKE vbap-werks,
    END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
    WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
    WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
    INTO TABLE t_vbap
    FROM vbap
    WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
    t_request-document_numb = t_vbap-vbeln.
    t_request-document_item = t_vbap-posnr.
    t_request-quantity_sales_uom = t_vbap-kwmeng.
    t_request-id = 1.
    t_request-document_type = 'A'.
    t_request-delivery_date = sy-datum.
    t_request-material = t_vbap-matnr.
    t_request-plant = t_vbap-werks.
    t_request-date = sy-datum.
    t_request-goods_issue_date = sy-datum.
    t_request-goods_issue_time = sy-uzeit.
    APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
    TABLES
    request = t_request
    createditems = t_created
    return = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
    MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    Write: / 'Delivery ', t_created-document_numb.
    Regards,
    Sreeram

  • Customisation settings for VC Configuration copy from Purchase order to GRN(Goods Receipt note)

    Hi Experts
    I was looking for Customisation settings for VC Configuration copy from Purchase order to GRN(Goods Receipt note),
    Please share.
    Regards
    Sandeep

    Hi Ritesh
    Thanks for your reply,
    I checked  both of these transaction  we need to select 3 option Characetrstics frm configuration(prio) and classification. I will check that, I had one more question
    In PO VC configuration is called for class type-300  and  in GRN VC configuration  is called for class type -023. How it will fetch the variant class configuration to Batch class configuration?
    Once we had faced some issues the copy from PO to GRN was happening for some batches & some batches it was not happening.
    yes we have activated Mill Functions in our ERP box.
    Regards
    Sandeep

  • Create Billing Document from Sales Order (Without Delivery)

    Dear Experts,
    Pls note, presently we are creating Billing Document (VF01) from Outbound Delivery Number after Post Good Issue. All sales Document like Billing Document, Output Type, Invoice Type has been configured for this process and we are doing this without any error. Fyki, we have configured lots of Z Order, Billing & Delivery type to do this processes.
    But for one of this order type we need not do any delivery. We want to create Billing Documents from sales order directly (without doing any Outbound Delivery).
    So, would u pls advise the steps how can we configure and assign Order Type, Billing Type or any other type  to meet above requirement.
    Thanks in advance.
    Best Regards.
    Ripon

    Hi
    There are two most important configuration:-
    1) In VOV8 for your Order Type maintain the Order Related Billing Document
    2) Maintain the Copy control setting in VTFA betwwen your Order Type and billing Type.
    Also note that if your line item is not require to be delivered then for your Item category maintain (in VOV7) not relevant for delivery and not relevant for scedule line.
    Regards
    Amitesh Anand
    Edited by: Amitesh Anand on May 24, 2010 5:09 PM

  • Change in document type while creating billing document from sales order

    While creating billing document from Sales order it is creating with document type RV which is standerd one but i want to change Document type.
    How can i change it?
    Regards
    Raj

    Hi
    If you use another existing document type, check that it has a number range suitable to you.  Else create a new 'z' type and assign an entirely new number range, not used in the other doc types.
    It is useful to make the FI document number the same number.  If I understand from the forums, the FI number range must be external.  Search the forum for this.  It is very useful for the Finance people.
    Kind regards
    Dawn
    Edited by: Dawn Verrell on Sep 9, 2010 4:10 PM

Maybe you are looking for