Hi, everyone, I´m working with follow ups and I have a doubt about the follow up process. I have a process flow where i have one original order with one follow up document, this follow up document may have his follow up document too, the thing is that I need to save in the third follow up document the orginal document id that iniciate the process flow, I´m thinking in the CRM_COPY_BADI to track this, any suggestion about this solution will be appreciated,
Edited by: Isaac Mena on Sep 15, 2011 9:32 PM
You can use copy control badi, action or event. What ever appoach you will use, you will have to code it, to read 1st document of 2nd document and write his reference to the 3rd document. You can use fm CRM_DOC_FLOW_MAINTAIN_OW.
Hi, thanks for your reply, I already test a local report with a loop and a CRM_ORER_READ logic, I´ll see if the ORDER_FLOW FM, will help me to clean up my code. Thanks a lot, then I decide to set in the CRM_ORDER_SAVE badi and make sure every new document will have this reference.
hi you can use CRM_ORDER_READ or CRM_DOC_FLOW_READ_DB to read current docflow details from one transaction to another. you can use CRM_ORDER_MAINTAIN to maintain docflow as well as fields. you can write entire code in ORDER_SAVE badi so that every thing will work when you save third or someother linked transactions. hope this helps you.