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

Changes in tables

Former Member
0 Likes
1,184

Hi all,

I need to notify a non-SAP system of every change made in some customizing and master data SAP tables. The system must be notified on-line as soon as the change is saved (without XI). Any ideas?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,127

Hi!

It depends on how these tables are maintained. If it is SM30 see tip above. If it is using "real" transactions consider finding a BAdI or User Exit or Enhancement Point to implement your notifications. Worst case you could think about a modification.

Change pointers as outlined above can also be used but I think you will spend much more effort on implementing this variant. And for SM30/SM31 maintenance you can forget this alternative.

Regards,

Volker

10 REPLIES 10
Read only

Former Member
0 Likes
1,127

Yes its possbile. For standard check if there is any Change Document Object Defined. For Custom you will have to define the Change document thru SCDO Tcode.

Once the change documents are generated You need to create the change pointer tables thru BD52 transaction, again for Custom table you will have to write change pointers manually by Using Change pointer function modules like CHANGE_POINTERS_CREATE, Then schedule the RBDMIDOC to create the IDOC from change pointers.

Refer [this|https://help.sap.com/saphelp_nwmobile71/helpdata/en/2a/fa018f493111d182b70000e829fbfe/content.htm] for more information.

There are significant efforts achiving it all.

Regards

Shital

Read only

0 Likes
1,127

Hi Shital,

Can you please give me more detials on SCDO. I have created a change doc object. Everything I will beed to do is custom.

What are the rest of the steps I need to preform?

I will I know the IDOC structure?

Read only

Former Member
0 Likes
1,127

Hi..

Also explore using the table maintenance events like AFTER_SAVE , BEFORE_SAVE etc by creating custom views..

Read only

0 Likes
1,127

Hi,

Where can I explore these events?

Thanks

Read only

0 Likes
1,127

Thanks,

BUT, what can I do if the event already exists in a standard manner? I need a specific event (AFTER_SAVE 02 ) so if the event has been created for the table I need I can not create a new entry for my code.

Read only

0 Likes
1,127

As per 3rd screen of the document you have to specify the FORM name for 02 i.e. save and write code there to write change pointers.

Read only

0 Likes
1,127

Hi Shital,

it is not possible to save and create your own form for an event that already exists.

Read only

Former Member
0 Likes
1,128

Hi!

It depends on how these tables are maintained. If it is SM30 see tip above. If it is using "real" transactions consider finding a BAdI or User Exit or Enhancement Point to implement your notifications. Worst case you could think about a modification.

Change pointers as outlined above can also be used but I think you will spend much more effort on implementing this variant. And for SM30/SM31 maintenance you can forget this alternative.

Regards,

Volker