We have SAP CRM 7.0 integrated with SAP ISU 6.17.
We have requirement to create a custom FM to create service contract which will be called by external system.
In CRM 7.0 we see some new classes have been introduced e.g. CL_CRM_ISU_ORDER_CHANGE to create the service contract which can be used in our custom program.There are different methods to set the data individually. E.g. to set the header we have CREATE_HEADER method, we have SET_DATES methods for dates etc. And each of the methods calls CRM_ORDER_MAINTAIN internally. So using these methods will lead to multiple calls to CRM_ORDER_MAINTAIN.
Also we have another approach to populate the data using custom code as required for CRM_ORDER_MAINTAIN and make single call to CRM_ORDER_MAINTAIN with all the required data.
So need to know which approach should be followed to create the service contract and what is the SAP recommended way.
1) Using the class methods? (With this approach multiple calls are made to CRM_ORDER_MAINTAIN)
2) Populate the required data using custom code for CRM_ORDER_MAINTAIN ? (With this approach will not be adapting to the new standard code/classes provided by SAP).
Also any ideas on other approaches are welcome.