Hi All,
we are creating the Task as the follow up activity for thr Service request.Our requirement is to bring the date ( to-do-by date ) from the service request to the Task. so, we are using the BADI "CRM_APPOINTMENT_BADI" restricting with transaction type of task.In that badi we are trying to get the Preceding document( Service request )of the task ( current transaction ) to achieve this we are using the Function module CRM_DOC_FLOW_READ_OB and CRM_ORDER_READ. but both are not giving the document flow of the current transaction (Task ).
Which FM will give me the Preceding Document.
Regards
Raja