To create follow up : Service Confirmation document
Hi Experts,
My requirement is to create a Service Confirmation document as a follow up document of an existing service order. Kindly let me know about the procedure and information regarding mandatory fields that i need to pass from Serivce Order to the Service confirmation document. Also the information about some standard fields that needs to populate while creating the Confirmation document.
Will definetly rewards points for useful answers !!
Thanks,
Sunil
Hi sunil,
Configure the following steps in SPRO
1.Create Ztransaction types(SRVO,SRVC) and Z item catogories(SRVP,SRVM,SVCP,SVCM) by copying std Tx types and Item catogories
Path: IMG-> CRM-> Transactions -> Basic Settings ->Define transaction types
--> Define item catogories
2.Maintain the copying control for the above transactions as source and target transactions.
Path: IMG-> CRM-> Transactions -> Basic Settings -> Copying cotrol for Business Transactions -->Define Copying cotrol for transaction types.
3.Define the Item categories and maintain the copying control
for copying use the std item categories
For Service Order
Service Product Item SRVP
Service Material Item SRVM
For Service Confirmation
Service Product Item confirmation SVCP
Service Material Item Confirmation SVCM
Path: IMG-> CRM-> Transactions -> Basic Settings -> Copying cotrol for Business Transactions -->Define Copying cotrol for Item catogories
4.Maintain Item catogory determination when copying
Maintain as follows( use zcatogory and ztransaction which are created)
Source catogory; Target Tx type ; Item Cat.By
SRVP ; SRVC ; SVCP
SRVM ; SRVC ; SVCM
Path: Path: IMG-> CRM-> Transactions -> Basic Settings -> Copying cotrol for Business Transactions -->Define Item Category determination when copying
I hope the above will helpful to you.
Let me know if you have any difficulties.
Reward points if it is helpful.
Regards,
Madhu
Similar Messages
-
How to create approval for service type document
Hello,
I am trying to create a Approval Query wherein if a Patricular User creates a SERVICE Type AP Invoice then it should go for approval.
I used the query :
SELECT distinct 'TRUE' FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.[DocEntry] = T1.[DocEntry] WHERE T0.[DocType] ='S'
But the problem is that when the above user is making ITEM Type AP Invoice then also its going for approval.
Please advise.
Kind Regards,
RaviHi,
Please find below the query :
SELECT distinct' true' FROM OPCH T0 INNER JOIN OUSR T1 ON T0.UserSign = T1.USERID WHERE $[$3.0.0] = 'S' and $[user] = '9'
This user 9 was taken from OUSR table.
Regards,
Ravi -
How to cancel and redo a service confirmation?
Here is the scenario (Service management):
A Service confirmation has been created with status "Completed".
As a result the status of the originating service order is set to "Confirmed" (standard behavior).
Say the confirmation data was wrong and postings in R/3 needs reversing (for example for a spare parts goods issue).
Standard SAP allows you to Cancel the items in the Service confirmation which will automatically reverse all the postings in R/3. So far so good!
The problem is that I can't see how to recreate a new service confirmation. The status "Confirmed" on the Service order prevents you from creating any new follow up service confirmation.
Does anybody know the answer to this puzzle?
Thanks in advance for help !Hi
to redo the service confimation, you need to change the status of the service order to "released'.
Permanent solution:
The way service oder status changes automatically when service item is confirmed,trigger a action when a service cofirmation is cancelled so that the status of that service item changes back to released. -
Error in Service Confirmation in sapcrm 2007
Hi Experts,
I had created Service order with a Spare Part and then did the service confirmation as a followup process
as part of Sap Best Practices Scenario C69 Service Order Management in integration with SAP R/3
I am getting the below error in Service Confirmation document
Fld selectn for mvmt type 291 / acct 608000 differs for Commitment item(020) (Notification E M7 093)
Please suggest the solution for the same.
Thanks in advance
PavanHi,
This error is encountered if there are difference in the Field Selection of the GL account group and the movement type. This both have to be similar.
Made changes in R3 field settings
Tcode: OBC4
Select 0001 and click on Field status groups
Select G004 and click on Field Status button
From the list displayed select Additional account assignments
The fields Commitment item (Radio Button)
Check if this field is marked as Opt Entry
Check fields for movement type 291 in tcode OMJJ
Regards,
PP -
Service Confirmation Confirmed Quantity
Hi,
I am using CRM 5.0 and have configured my own Service Order and Service Confirmation. I am able to create a Service Order for my product and create a follow-on Service Confirmation which I have completed.
My question is how to I change the "Confirmed Qty", in the schedule line of the item it shows quantity 1 and confirmed quantity 0. I am not distributing this Service Confirmation to ECC since this is standalone process, but I cant find how to confirm the quantity within CRM.
Thanks,
SamHi Imthiyaz,
I have checked and it does not work that way too . I am looking for some literature where SAP says it is not possible.
Thanks and regards
Iftekhar Alam -
FM BAPI To Create Service Confirmation
Hi Friends,
Kindly suggest me FM \ BAPI to create Service Confirmation.
Regards,
Narendra GoyalHi,
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. -
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 BhowmickHello 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 -
Newly created follow-up document is inactive
Hi Forum,
I have just created a follow-up document for my service order and created a target transaction as another serv order document through copy control.
The target Service order is showing in the create follow up documents in the main menu, but it is inactive, rest other follow up documents for the source service order transaction are active.
Please help me by letting me know how to make this follow up document active.
Another workaround that i have checked in SAP help is that we have made this in the same organisation unit.
Regards,
AmitHi,
Have you maintained all the copy control settings like
1. copy control for transaction types
2. copy control for item categories
3. copy control for target transaction and item categories
Also check whether the permitted channels is not maintained for the target transaction.
Hope this will help
Regards,
Rekha Dadwal
<b>You gain a point for every point that you reward. So reward helpful answers generously</b> -
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
NickI am going to pop this thread into General ABAP forum too.
Nick -
SUS Confirmation Document not Created MM-SUS scenario
Hello Team,
I am facing lots of issues regarding GR document is not found in SUS system.
We are creating the GR document in MM system and transfer this document using report RPODDELVRY.
I have checked IDOC generted and transferred correctly.Subsequent XML is also there in SUS system using SXMB_MONI transaction.
But system has not created SUS confirmation document.
I have also checked the table Item table backend specific BBP_PDBEI entries are there for that material dcoument, corresponding header enteries are not found in backend specific BBP_PDBEH.We are using plan driven procument scenario.
Can you please help me in resloving this issue, why system has not generated the SUS confirmation no.What have to be done in resolving this.
Regards
Shailendra TiwariHello Team,
I am facing lots of issues regarding GR document is not found in SUS system.
We are creating the GR document in MM system and transfer this document using report RPODDELVRY.
I have checked IDOC generted and transferred correctly.Subsequent XML is also there in SUS system using SXMB_MONI transaction.
But system has not created SUS confirmation document.
I have also checked the table Item table backend specific BBP_PDBEI entries are there for that material dcoument, corresponding header enteries are not found in backend specific BBP_PDBEH.We are using plan driven procument scenario.
Can you please help me in resloving this issue, why system has not generated the SUS confirmation no.What have to be done in resolving this.
Regards
Shailendra Tiwari -
How to create 'service confirm order' through bapi?
I want to create service confirm order,
pls help me some bapiYudomg
Try this BAPI: <b>BAPI_BUSPROCESSND_CREATEMULTI</b>
Thanks
Jack
<b>Allot points if mys post helps !!!!!</b> -
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, -
Service Ticket : Create Follow-Up Transaction
Hi everybody,
I'm facing a problem in creating a follow up transaction in Interaction Center Web UI.
I'm working with Service Tickets, I made the customizing for the copy control to Service Order, and I'm able to create follow-up transaction from SAP GUI. But on IC Web UI , when I click on Create Follow-Up button on Service Ticket's view , I get an info message that tells me the operation has been created, that's non true!
Please help, thanks in advance,
Paolo F.C.Hi Sreekanth,
thank you very much for your reply!
I'm still not able to produce the follow up Service Order from Service Tiket, I don't see it in the Business Context.
But you helped me anyway, because there I saw the Interaction Record , I tried to create a follow up Service
Order from it, and it works!
So probably I made some mistake in customizing, I'll try to compare the copy control of Interaction Record
the one for Service Tiket to underdstand.
So the question is not answered yet, but I'll give you some points 'cause you helped me!
Greetings,
Paolo F.C. -
How to read all material documents created for a service order /maint.order
Hello,
in my Z-Program i need to read all material documents which are created for a service order or maintenance order.
Is there a function module which could be used or do you have some other hinds for this requirement?
Thanks a lot.
Kind regards
ManfredHI,
Have you tried BAPI_ALM_ORDER_GET_DETAIL for fetching components details. Actually we have used it to get some other details.
Regards
Shakti -
Problem in creating follow-on document (RFQ) for a bid invitation.
Hi Experts,
We have an issue while creating follow-on document(RFQ) for a bid invitation.
Process is as follows :
We have a bid invitation and sent it to two vendors. After this, created two responses one is accepted and another one is rejected.
Now the accepted bid is ready to "Create follow-on Document(RFQ)". But when we do this, the bid with rejected vendor also including in the follow-on document. This should not be the case.
The follow-on document should include only the accepted bid, but not the rejected bid.
Could anyone tell me how to achieve this ?
Thank you very much in advance.As far as I understand, what you described is the standard behavior. ALL undeleted vendors are copied over to the follow-on RFQ regardless if their bids have been rejected or not. What you can do is to implement BBP_DOC_CHANGE_BADI for BUS2200 and explicitly remove the vendors which created rejected bids. Make use of the header field "copy_of_guid" to identify the originated RFQ.
Maybe you are looking for
-
User exit - VA01 - Adding new line items while Sales Order Creation
Hi All , I have a requirement where : in VA01 , i have to add new line items using USER EXIT or BADI. The scenario is : we maintain Characteristics for Material. When we select a particular characteristics, Factor and length will be displayed in a Po
-
Cant find iphoto..
i tried putting some picture on my computer today and i could not find iphoto..some how got deleted off my computer..my computer came with 2 cds.would i need to use those to have i photo back?
-
Japanese rubi in English InDesign
Hi, I've downloaded English InDesign CS4 trial but still there seems to be no support for 'Rubi' as in the Japanese version - is that correct? Is there a way to enable it? We have to use the Japanese version to do Chinese as we need Rubi to place pro
-
Mandatory fields for plant address in SPRO
How do we set the mandatory fields when entering plant address in SPRO, i.e. in path : Enterprise Struct->Definition->Logistics general->Define plant?
-
Arabic Characters data is retrieved ??? from database
Hello on entering Arabic Characters data is retrieved ??? from database 10G 2 any suggestions pls my pc lang is Arabic default my nls_lang is ARABIC_SAUDI ARABIA.AR8MSWIN1256 both for : KEY_DevSuiteHome1 and the : KEY_OraDb10g_home1 Regards, Abdetu