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 Pointers to trigger Idoc for Custom Table (z table)

Former Member
0 Likes
4,125

We have a requirement where changes or insertion to a record in a ZTABLE should trigger an IDoc to the external system. For which we have done the following steps :

1) We have created the transparent table and in the data elements of the fields created in the table have the

change document check box checked.

2) We have created the message type, idoc type and the segments required to generate the idoc.

3) We have created the object in the SCDO for the above-said table

4) In BD61, we activated the change pointers globally

5) In BD50, we have activated the checkbox of message type for change pointers.

6) In BD60, we have attached the function module to the message type.

7) In BD52, we have maintained change documents items for the message type.

😎 We have distributed the model and generated the partner profiles from the distribution model.

Besides this what I read from the documentation of the Change Documents is that you need to include the generated programs for the change object in your application program, but we do not intend to create any application program for maintaining this custom table and we want to use the table maintenance functionality for updating the table? Thus our concern is that will this create the change document in the BDCP table ? If not is there a way to achieve the same?

Thanking all in anticipation.

Regards

Advait Gode

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,640

Hi Advait,

Standard process to generate change documents is to include change document programs in application program. But in your case you want to Trigger change document whenever you enter data into your custom table. You can do this in two ways.

1 - Modify the table maintenance program that system has generated automatically and call generated programs form there.

2 - Create your own simple dialog program for maintaining table and call the generated program.

Regards,

Rajesh.

We have a requirement where changes or insertion to a record in a ZTABLE should trigger an IDoc to the external system. For which we have done the following steps :

1) We have created the transparent table and in the data elements of the fields created in the table have the

change document check box checked.

2) We have created the message type, idoc type and the segments required to generate the idoc.

3) We have created the object in the SCDO for the above-said table

4) In BD61, we activated the change pointers globally

5) In BD50, we have activated the checkbox of message type for change pointers.

6) In BD60, we have attached the function module to the message type.

7) In BD52, we have maintained change documents items for the message type.

😎 We have distributed the model and generated the partner profiles from the distribution model.

Besides this what I read from the documentation of the Change Documents is that you need to include the generated programs for the change object in your application program, but we do not intend to create any application program for maintaining this custom table and we want to use the table maintenance functionality for updating the table? Thus our concern is that will this create the change document in the BDCP table ? If not is there a way to achieve the same?

Thanking all in anticipation.

Regards

Advait Gode

3 REPLIES 3
Read only

Former Member
0 Likes
1,641

Hi Advait,

Standard process to generate change documents is to include change document programs in application program. But in your case you want to Trigger change document whenever you enter data into your custom table. You can do this in two ways.

1 - Modify the table maintenance program that system has generated automatically and call generated programs form there.

2 - Create your own simple dialog program for maintaining table and call the generated program.

Regards,

Rajesh.

Read only

0 Likes
1,640

Hi,

Although I don't want to use IDOCs, I want to track changes to a ZTABLE. I believe I should have to do something similar, right?

I will still have to configure the change document object, activate change pointers, modify the table maintenance program, etc.

Then I have another program which processes pending change pointers and marks them as processed.

Is this correct?

Are there any other ways to track changes on a ZTABLE?

Thanks!

Nuno

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,640

U NEED TO RUN PROGRAM rbdmidoc TOO