‎2010 Nov 12 3:58 PM
Hi,
We have a requirement to trigger IDOC for SO if some set of fields are changed . I have checked the feasibility for this but was not able to find the SMD function module MASTERIDOC_CREATE_SMD* for ORDERS in TBDME table, without which the IDOC will not be created.
Please suggest a way out how can I achieve this.
‎2010 Nov 12 6:41 PM
Hi,
One thing is sure that you can not use change pointer technique for message type ORDERS. Change Pointer method is used only to distribute the changes in the master data whereas the ORDERS is the message type for transactional data.
I am not sure how can we distribute the changes in the transactional data. Once I had used the message type ORDERS to distribute the Purchase Order. Whnever user used to create a new PO, or used to change the already existing PO, a set of fields were used to be sent to third party. It means that even a single field was changed, a given set of fields were used to be sent.
So you can discuss with your functional person that you would send the a given set of fields whenever a PO is changed or created. He can give you this set of fields.
Although it does not answer your question, but I think that it might help you.
Regards,
Raveesh
‎2010 Nov 12 7:18 PM
One thing is sure that you can not use change pointer technique for message type ORDERS. Change Pointer method is used only to distribute the changes in the master data whereas the ORDERS is the message type for transactional data.
That's not true at all...you can use change pointers to distribute transactional data. I use it that way for contracts and orders sometimes, though I usually prefer output determination with requirements sometimes. For change pointers, you simply need to configure it accordingly in the change pointer setup by message type/object/table/field. You may need to filter the change pointer creation as well in the change pointer BADI, BDCP_BEFORE_WRITE, as well.
‎2010 Nov 15 2:26 PM
Can you please elaborate on how can I trigger Change pointers for ORDERS, I have already done the required settings. DO i need to write SMD function module to trigger through BD21