Application Development 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: 

Query about XVBAP

Former Member
0 Kudos

Hi,

In output types configuration we have something called changeoutput section, where in we can give a program name and a change routine. Now what I want to know is, before the data is saved to database tables, does sap have some mechanism to capture data which is changed in a transaction, before it is saved. Could anyone provide me with such a method or an FM.

2 REPLIES 2

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Vijay!

There is no general capture mechanism before DB changes. Nevertheless, there are often explicit exits in transactions.

E.g. in sales order creation / change, you can implement some coding in routine USEREXIT_PREPARE_SAVE (my system is currently down, just scroll at the end) of include MV45AFZZ.

Regards,

Christian

Former Member
0 Kudos

What is your requirement, assuming you find an answer to this question? Your title says "query about xvbap" and I don't see xvbap here in your question. For most of the standard SAP transactions, SAP does keep track of the changes.

Srinivas