Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Change pointer for message type ORDERS

Former Member
0 Likes
1,410

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.

3 REPLIES 3
Read only

Former Member
0 Likes
850

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

Read only

0 Likes
850

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.

Read only

0 Likes
850

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