Bapi for Process service confirmation in transaction - CRMD_BUS2000117

Hi All,
   Is there any bapi for process service confirmation in CRM system.
   Tcode for service confirmation - CRMD_BUS2000117.
Points will be awarded.
Regards,
Vinoth.

Hello Vinoth,
please ask that kind of questions in the SAP CRM: Webclient UI - Framework Forum.
What's about using CRM_ORDER_MAINTAIN? You can find many examples of it's use using the SDN search.
Regards
Gregor

Similar Messages

  • Bapi for CRM service confirmation

    Hi All,
      Is there any bapi for CRm service confirmation which done trhough the transaction - CRMD_BUS2000117.
    Its urgent.
    Points will be awarded.
    Reagrds,
    vinoth.

    Hello Vinoth,
    please ask that kind of questions in the SAP CRM: Webclient UI - Framework Forum.
    What's about using CRM_ORDER_MAINTAIN? You can find many examples of it's use using the SDN search.
    Regards
    Gregor

  • BAPI For Process Order Confirmation

    Hi,
    For Process Order Confirmation we are using the following tcode. COR6N. in the t-code we are include a new field (Shift Field) with help of CONFPP07. and we made the field as mandatory also. in cor6n it is working fine.
    now we are using the bapi for same Process Order Confirmation. here the new field is not available. we want to include the new  ( Shift ) Field also. we are using the following
    BAPI Fm: BAPI_PROCORDCONF_CREATE_TT .
    Regards
    Sathis

    BAPI_PRODORDCONF_CREATE_TT to confirm a production Order
    Erwan

  • Need a BAPI/FM for process Order Confirmation

    Hi guys,
    I need a bapi or Fm for process Order confirmation.
    thnx in advance

    Checck
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    Better read the documentation of each BAPi using the tcode BAPI and proceed.
    I feel BAPI_PRODORDCONF_CREATE_HDR would do your purpose.
    Documentaion:
    <b>
    You can use this method to enter order confirmations for production orders.
    You can also transfer good movements, that are posted together with a confirmation. If no goods movements have been entered for a confirmation, they are determined using the standard logic for backflushing and automatic goods receipt for confirmations. </b>

  • BAPI For Procduction Order Confirmation

    Hi Expert,
    How to use the BAPI_PRODORDCONF_CREATE_TT for Process Order Confirmation
    I have to use two internal tables for order confirmation 
    GOODSMOVEMENTS
    LINK_CONF_GOODSMOV
    Please help.
    Thanks in advance.

    Hi Arpit,
    This BAPI is having Table parameter 'TIMETICKETS' as mandatory. You can use it as below:
      ls_timeticket-conf_no            = i_rueck. " confirmation number
      ls_timeticket-yield                  = i_erfmg. "Quantity   
      ls_timeticket-conf_quan_unit = i_erfme. " Unit
    ** propose goods movements
       ls_bapi_propose-goodsmovement = 'X'.
      CALL FUNCTION 'BAPI_PRODORDCONF_GET_TT_PROP'
        EXPORTING
          propose                      = ls_bapi_propose
        IMPORTING
          return                         = ls_bapi_return    
        TABLES
          timetickets                 = lt_timeticket
          goodsmovements     = lt_goodsmovements
          link_conf_goodsmov = lt_link_conf_goods_mov
          detail_return               = lt_detail_return.
    CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'
          IMPORTING
            return             = ls_bapi_return
          TABLES
            timetickets        = lt_timeticket
            goodsmovements     = lt_goodsmovements
            link_conf_goodsmov = lt_link_conf_goods_mov
            detail_return      = lt_detail_return.
    If you already have data for internal tables GOODSMOVEMENTS and LINK_CONF_GOODSMOV, you can skip the propose goods movements BAPI  'BAPI_PRODORDCONF_GET_TT_PROP'.

  • FM  BAPI To Create Service Confirmation

    Hi Friends,
    Kindly suggest me FM \ BAPI to create Service Confirmation.
    Regards,
    Narendra Goyal

    Hi,
    Find the code below:
            creation of header guid for service confirmation
              CLEAR v_head_ref_guid.
              CALL FUNCTION 'GUID_CREATE'
                IMPORTING
                  ev_guid_16 = v_head_ref_guid.
              CREATION OF THE ITEM GUID
                CLEAR v_item_ref_guid.
                CALL FUNCTION 'GUID_CREATE'
                  IMPORTING
                    ev_guid_16 = v_item_ref_guid.
              CREATION OF SCHEDULING LOGICAL GUID.
                CLEAR v_sched_logical.
                CALL FUNCTION 'GUID_CREATE'
                  IMPORTING
                    ev_guid_16 = v_sched_logical.
              values for it_pricing
                CLEAR wa_pricing.
                CLEAR it_pricing.
                wa_pricing-ref_handle = c_ref_handle2.
                wa_pricing-ref_guid   = v_item_ref_guid.
                wa_pricing-ref_kind   = c_b_kind.
                INSERT wa_pricing INTO TABLE it_pricing.
              values for product_i-UOM
                CLEAR wa_product.
                READ TABLE it_product INTO wa_product INDEX 1.
                IF sy-subrc = 0.
                  CLEAR wa_fieldname.
                  CLEAR it_fields.
                  wa_fieldname-fieldname = c_process_qty_unit_field.
                  INSERT  wa_fieldname INTO TABLE  it_fields.
                  CLEAR wa_input_field.
                  wa_input_field-ref_handle   = c_ref_handle2.
                  wa_input_field-ref_guid     = v_item_ref_guid.
                  wa_input_field-ref_kind     = c_b_kind.
                  wa_input_field-objectname   = c_product_i_input.
                  wa_input_field-field_names  = it_fields.
                  INSERT wa_input_field INTO TABLE it_input_field.
                  CLEAR wa_product_i.
                  wa_product_i-ref_guid         = v_item_ref_guid.
                  wa_product_i-ref_handle       = c_ref_handle2.
                  wa_product_i-process_qty_unit = wa_product-process_qty_unit.
                  INSERT  wa_product_i INTO TABLE it_product_i.
                ENDIF.
              values for service_i
                CLEAR wa_input_field.
                wa_input_field-ref_handle   = c_ref_handle2.
                wa_input_field-ref_guid     = v_item_ref_guid.
                wa_input_field-ref_kind     = c_b_kind.
                wa_input_field-objectname   = c_service_i.
                wa_input_field-field_names  = it_fields.
                INSERT wa_input_field INTO TABLE it_input_field.
                CLEAR wa_service_i.
                wa_service_i-ref_guid   = v_item_ref_guid.
                wa_service_i-ref_handle = c_ref_handle2.
                INSERT wa_service_i INTO TABLE it_service_i.
              fieldnames for quantity
                CLEAR wa_schedul.
                READ TABLE it_schedul INTO wa_schedul INDEX 1.
                IF sy-subrc = 0.
                  CLEAR wa_fieldname.
                  CLEAR it_fields.
                  wa_fieldname-fieldname = c_logical_key.
                  INSERT  wa_fieldname INTO TABLE  it_fields.
                  CLEAR wa_fieldname.
                  wa_fieldname-fieldname = c_quantity.
                  INSERT  wa_fieldname INTO TABLE  it_fields.
                  CLEAR wa_input_field.
                  wa_input_field-ref_handle   = c_ref_handle2.
                  wa_input_field-ref_guid     = v_item_ref_guid.
                  wa_input_field-ref_kind     = c_b_kind.
                  wa_input_field-objectname   = c_schedlin_input.
                  wa_input_field-logical_key  = c_log_key_item.
                  wa_input_field-field_names  = it_fields.
                  INSERT wa_input_field INTO TABLE it_input_field.
                  CLEAR wa_quantity.
                  CLEAR it_quantity.
                  wa_quantity-guid          = v_sched_logical.
                  wa_quantity-item_guid     = v_item_ref_guid.
                  wa_quantity-quantity      = wa_schedul-quantity.
                  wa_quantity-logical_key   = c_log_key_item.
                  wa_quantity-handle        = c_ref_handle0.
                  INSERT wa_quantity INTO TABLE it_quantity.
                valus for quantity
                  CLEAR wa_schedulin.
                  wa_schedulin-ref_guid   = v_item_ref_guid.
                  wa_schedulin-ref_handle = c_ref_handle2.
                  wa_schedulin-schedlines = it_quantity.
                  INSERT wa_schedulin INTO TABLE it_schedulin.
                ENDIF.
              fieldnames for product
                CLEAR wa_orderadm.
                READ TABLE it_orderadm INTO wa_orderadm INDEX 1.
                IF sy-subrc = 0.
                  CLEAR wa_fieldname.
                  CLEAR it_fields.
                  wa_fieldname-fieldname = c_itm_proc_ident.
                  INSERT  wa_fieldname INTO TABLE  it_fields.
                  CLEAR wa_fieldname.
                  wa_fieldname-fieldname = c_mode_input.
                  INSERT  wa_fieldname INTO TABLE  it_fields.
                  CLEAR wa_fieldname.
                  wa_fieldname-fieldname = c_ordered_prod.
                  INSERT  wa_fieldname INTO TABLE  it_fields.
                  CLEAR wa_fieldname.
                  wa_fieldname-fieldname = c_number_int.
                  INSERT  wa_fieldname INTO TABLE  it_fields.
                  CLEAR wa_fieldname.
                  wa_fieldname-fieldname = c_prog_id.
                  INSERT wa_fieldname INTO TABLE it_fields.
                  CLEAR wa_input_field.
                  wa_input_field-ref_handle   = c_ref_handle2.
                  wa_input_field-ref_guid     = v_item_ref_guid.
                  wa_input_field-objectname   = c_orderadm_i_input.
                  wa_input_field-field_names  = it_fields.
                  INSERT wa_input_field INTO TABLE it_input_field.
                values for product
                  CLEAR wa_orderprp_i.
                  CLEAR v_itemno.
                  v_itemno = v_itemno + v_line_incr.
                  wa_orderprp_i-guid          = v_item_ref_guid.
                  wa_orderprp_i-header        = v_head_ref_guid.
                  wa_orderprp_i-number_int    = v_itemno.
                  wa_orderprp_i-ordered_prod  = wa_orderadm-ordered_prod.
                  wa_orderprp_i-description   = wa_orderadm-description.
                  wa_orderprp_i-handle        = c_ref_handle2.
                  wa_orderprp_i-number_int    = wa_orderadm-number_int .
                  wa_orderprp_i-zzprogram_id  = wa_orderadm-zzprogram_id.
                  INSERT wa_orderprp_i INTO TABLE it_orderprp_i.
                ENDIF.
              ENDIF.
            field names for header
              CLEAR wa_fieldname.
              CLEAR it_fields.
              wa_fieldname-fieldname = c_mode.
              INSERT  wa_fieldname INTO TABLE  it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_process_type_field.
              INSERT  wa_fieldname INTO TABLE  it_fields.
            input field values for header
              CLEAR wa_input_field.
              wa_input_field-ref_guid     = v_head_ref_guid.
              wa_input_field-ref_kind     = c_a_input.
              wa_input_field-objectname   = c_orderadmh_input.
              wa_input_field-field_names  = it_fields.
              INSERT wa_input_field INTO TABLE it_input_field.
            Clearing buffer
              CALL FUNCTION 'CRM_ORDER_INITIALIZE'
                EXPORTING
                  iv_initialize_whole_buffer = c_x
                EXCEPTIONS
                  error_occurred             = 1
                  OTHERS                     = 2.
              CHECK sy-subrc = 0.
            values for header
              CLEAR wa_orderadm_h.
              wa_orderadm_h-guid          = v_head_ref_guid.
              wa_orderadm_h-mode          = c_a_mode.
              wa_orderadm_h-process_type  = c_process_type.
              INSERT wa_orderadm_h INTO TABLE it_orderadm_h.
            values for comp _date
              CLEAR it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_dominant_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_duration_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_rule_name_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_show_local_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_timestamp_from_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_timestamp_to_fiel.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_timezone_from_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_timezone_to_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_fieldname.
              wa_fieldname-fieldname = c_time_unit_field.
              INSERT wa_fieldname INTO TABLE it_fields.
              CLEAR wa_input_field.
              wa_input_field-ref_handle   =   c_ref_handle0.
              wa_input_field-ref_guid     =    v_head_ref_guid.
              wa_input_field-field_names  =    it_fields.
              wa_input_field-ref_kind     =    c_a_input.
              wa_input_field-objectname   =   c_appointment.
              wa_input_field-logical_key  =    c_log_key_appointment.
              INSERT  wa_input_field INTO TABLE  it_input_field.
              CLEAR v_time.
              v_time = sy-uzeit.
              CLEAR v_timestamp.
              CLEAR wa_appointment.
              CONCATENATE wa_record-comp_date v_time INTO v_timestamp.
              wa_appointment-ref_guid       = v_head_ref_guid.
              wa_appointment-ref_kind       = c_a_input.
              wa_appointment-appt_type      = c_appt_type.
              wa_appointment-timestamp_from = v_timestamp.
              wa_appointment-timezone_from  = c_timezone.
              wa_appointment-timezone_to    = c_timezone.
              wa_appointment-ref_handle     = c_ref_handle0.
              INSERT wa_appointment INTO TABLE it_appointment.
              to create a service confirmation as a follow up document
                CALL FUNCTION 'CRM_ORDER_MAINTAIN'
                  EXPORTING
                    it_product_i      = it_product_i
                    it_service_i      = it_service_i
                    it_pricing        = it_pricing
                    it_schedlin_i     = it_schedulin
                    it_appointment    = it_appointment
                  CHANGING
                    ct_orderadm_h     = it_orderadm_h
                    ct_orderadm_i     = it_orderprp_i
                    ct_input_fields   = it_input_field
                  EXCEPTIONS
                    error_occurred    = 1
                    document_locked   = 2
                    no_change_allowed = 3
                    no_authority      = 4
                    OTHERS            = 5.
                IF sy-subrc = 0.
                  CLEAR it_objects_to_save.
                  CLEAR it_saved_objects.
                  INSERT v_head_ref_guid INTO TABLE it_objects_to_save.
                fm to save the service confirmation
                  CALL FUNCTION 'CRM_ORDER_SAVE'
                    EXPORTING
                      it_objects_to_save = it_objects_to_save
                      iv_no_bdoc_send    = c_x
                    IMPORTING
                      et_saved_objects   = it_saved_objects
                    EXCEPTIONS
                      document_not_saved = 1
                      OTHERS             = 2.
                  CHECK sy-subrc = 0.
                  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                    EXPORTING
                      wait = c_x.

  • Bapi 4 process order confirmation??

    hi abapers.............
    can ne1 tell me wt is the BAPI  4 process order confirmation.
    thanx in advance .
    anil

    Hi
    BAPI_PRODORDCONF_CANCEL
    BAPI_PRODORDCONF_CREATE_ACT
    BAPI_PRODORDCONF_CREATE_HDR
    BAPI_PRODORDCONF_CREATE_TE
    BAPI_PRODORDCONF_CREATE_TT
    BAPI_PRODORDCONF_EXIST_CHK
    BAPI_PRODORDCONF_GETDETAIL
    BAPI_PRODORDCONF_GETLIST
    BAPI_PRODORDCONF_GET_HDR_PROP
    BAPI_PRODORDCONF_GET_TE_PROP
    BAPI_PRODORDCONF_GET_TT_PROP
    BAPI_PRODORDCONF_PDC_UPLOAD_TE
    BAPI_PRODORDCONF_PDC_UPLOAD_TT
    Regards
    Kathirvel

  • BAPI for creating service entry

    Hi all,
    Please let me know if there is a BAPI for creatuing service entry. Please provicde sample code.
    Thanks,
    Rajan

    Hi,
    Try this BAPI " BAPI_SERVICE_CREATE ".
    Regards
    Milan

  • Are there any standard Idocs or Bapis for posting the data into transaction

    Hi,
    Are there any standard Idocs or Bapis for posting the data into transactions ME42N and IK11?
    Thank You.

    Thank you.
    Any idea of the other one?

  • 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

  • Problem using BAPI to create Service Confirmation in CRM

    Good afternoon all.
    I have raised this is CRM forum too, just thought it best to ask the broader ABAP community the question too.
    We are encountering a problem using a BAPI to create a transaction in CRM, specifically:
    I am trying to create a Service Confirmation (BUS2000117) in a CRM system using the BAPI BAPI_BUSPROCESSND_CREATEMULTI.
    The BAPI succeeds in creating the header of the transaction, but I cannot make the BAPI create any other data in the transaction such as partners or items.
    Just want to be sure that I am not being foolish...has anyone succeeded in using this BAPI to create an error-free Service Confirmation?
    Regards
    Nick

    I am going to pop this thread into General ABAP forum too.
    Nick

  • BAPI for Purchase Order Confirmation and update EKES table

    Hi all,
    I have a requirement to update the PO confirmation soon after successful creation of PO in an IDOC.
    I have used BAPI_PO_CHANGE function module which didnt serve the purpose as it cannot update confirmations.
    I tried using ME_CONFIRMATION_UPDATE where I was able to add a confirmation entry in EKES table but that is not being reflected in ME23N transaction when I display the PO.
    Please help me out on this.
    Thanks & Regards
    Pavan

    NB: Never use a standard update FM (check attributes of ME_CONFIRMATION_UPDATE) its often only a SQL statement collector without any check, logging of changes or database consistency, if you perform a where-used you should find it is never called alone but with a bunch of other update FM after checks and other update preparation.
    Get back to the BAPI and table parameter POCONFIRMATION, also use BAPI_PO_GETDETAIL1 to get current data for the call of BAPI_PO_CHANGE.
    Regards,
    Raymond
    PS: If it is not in 197958 - BAPIs for purchase orders: Missing functions, you should be able to do it

  • BAPI for Process order change

    Hi,
    Can any buddy tell me the Bapi used for Process order change
    with following scenarios:
    Quantity change
    Resource change
    Rescheduling
    Control key change
    RM Change
    Recipe change
    TECO
    REVOKE
    Material shortage check
    Best Regards,
    Sheetal.

    Hi,
    BAPI_PROCORD_CREATE for process order create
    BAPI_PROCORD_CHANGE - Change Process Order
    BAPI_PROCORD_CLOSE - Close Process Order
    BAPI_PROCORDCONF_CANCEL for Cancel Process Order
    Confirmation.
    BAPI_PROCORD_COMPLETE_TECH - Complete Technically
    BAPI_PROCORD_RELEASE - Release Process order
    BAPI_PROCORD_SET_DELETION_FLAG - Deletion Flag
    BAPI_PROCORD_REVOKEUSERSTATUS - Cancel User Status
    BAPI_PROCORD_SCHEDULE - Carry Out Scheduling
    pls refer below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b78dfa
    http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
    Regards,
    Sankaran

  • BAPI for customer Block/Unblock through transaction code : XD05

    Hi Gurus,
    I want to block/unblock customer sales areas(Transaction code : XD05) through program. Could you please suggest any BAPI for the same. As writing BDC will not be a good choice.
    Please help.
    Thanks,
    Bhupender

    Hello Bhupender,
    the best and easies solution is the MASS maintenance transaction as proposed above.
    For the BAPI question, sorry but there is NO BAPI to maintain a customer master data.
    The function module provided by my predecessor, even if it has the perfect look like is definitively not the one to use.
    Despite the name, this FM is designed to support only the maintenance of CONSUMERs.
    Moreover it is not an RFC enabled function module.
    It might work in your case, as the data to maintain is quite simple and limited but you still may face several troubles like NO change documents and change pointers created and/or no synchronisation with TREX, CRM, ...
    There is also a BAPI with a nice name, but in fact it is designed to be used only with SAP Online Store and SAP Product Catalog.
    The only reliable path for investigation is described within [note 384462|https://service.sap.com/sap/support/notes/384462].
    A other path for investigation is the class CMD_EI_API which has been introduced with ECC 2005 (6.00).
    You could wrap method MAINTAIN_BAPI inside of a bapi function module you would have written.
    Otherwise, but still with limited functionality there are some eSOA webservices to find, read, maintain customer master data.
    Hope this helps.
    BR
    Alain

  • BAPI for Process order creation (COR1)

    Hi All,
    Can any please help me to find a BAPI for creating a process order which is done normally by transaction code u201CCOR1u201D.
    Thanks in advance.
    Kind Regards,
    Abhi.

    Try this BAPI - BAPI_PROCORD_CREATE.
    there are many BAPIs in Fuinction group 0001_BAPI realted with Process Order
    Thanks,
    rajinikanth G

Maybe you are looking for

  • Convert Fiscal Period to Month and day in HR/FI

    HI Experts, i am dealing now with an issue in HR for actual and plan Data. I have two cubes one for actual and one for plan. The actual cube is just using the satndard BI extractor and the plan cube is loaded per flatfile with fiscal/year Period. We

  • Some AVI files not working?

    OK, let me try and sum this up. using a cannon power shot i have filmed time lapse footage before and brought it into an older version of imove and gotten it to open on my old (white edged) imac. I now have imove11 and a new imac. these same timelaps

  • Processing type/time type class

    Hi All, I have 10 attendance type of which 5 productive hrs and 5 non productive hrs and 5 absence type. I have assigned all these in V_554S_E, but i dont know what we have to assign in (Processing type/time type class) and one more thing T555Y wht i

  • How to download files from the internet??

    I am a new Mac user, and I am soooo befuddled by downloading files, and what to do with them once they are on the desktop/under devices in Finder. Would someone here be kind enough to explain how to do this, please, or show me in the forum where this

  • Weird Can not access class from outside package problem

    Hi, I have this problem and it seems the error message is very clear what the problem is but I did make the GeneralTestResult class PUBLIC already. What could be wrong? I did search for it but this is too general and didn't find any solution. Anyone