Creating Service Order in SAP CRM.
My task is to create service order using fm:crm_order_maintain,crm_order_save but unable to pass data to fields to category and customer , sold to party .Kindly share any sample code do it or service order creating by FM: crm_service_order_create.
Awaiting for your response
Dharmakasi Thotakura replied
Have you added this code at the end?
ls_inputfields-objectname = 'SERVICE_OS'.
ls_inputfields-ref_kind = 'A'.
ls_inputfields-field_names = lt_fieldnames.
INSERT ls_inputfields INTO TABLE lt_input_fields.
If you are creating the subject entry, we should always pass the mode as A only.