I need to create the document flow in CRM to link leased contracts to its SPM. So far, i tried CRM_ORDER_MAINTAIN and BAPI_ACTIVITYCRM_CHANGEMULTI but i still can't create the document flow. I also tried CRM_CREATE_DOC_FLOW. It creates the doc flow but in the wrong 'Role' field.
Any idea how?
PS: I am very new to CRM. :P