08-16-2005 6:04 AM
Hi All,
Can I use workflow concept for handling masterdata in the case of EDI.I think we can go with message control for transactional data only.My requirement is I need to generate an IDOC whenever there is changes in the Vendor details(XK02 application).If we go with change pointers they will contain only the changed details but i need all the information which is not changed also.Is it possible to generate an IDOC if a vendor is deleted through XK06 transaction code.
Please help me regarding this.
08-16-2005 6:28 AM
Hi,
I'm pretty sure this could be achieved with workflow not knowing the specific requirements. You would have to trigger the said workflow whenever a vendor is changed or flagged for deletion, pick up all the vendor information and then generate the IDoc in the workflow.
The tricky part is the triggering of the workflow. I checked the event receiving object (on 4.6c) and there are no events defined for changed or deletion flags. What this means is that you would have to first configure the events and then raise (~= call) them whenever a vendor is changed/deleted. The call would thus have to be incorporated in a vendor creation/change user exit.
For the user exit lookup, please see thread
Hope this helps,
Mikko
08-16-2005 11:27 PM
I believe this should also be possible using change pointers (a delete is a change after all). I think for a delete it will send all data (since all is technically changing) but unfortunately I cannot test at the moment.
08-17-2005 9:46 AM
Hi,
The IDOC generated from change pointer will have all the current information about the vendor. It is not true that the IDOC will contain only the changed details. So it should serve your purpose.
Sudhir