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

want to log changes for a table using standard function

Former Member
0 Likes
399

Hi,

We have a requirement of calling change log functionality for table /RPM/FIN_B_PLAN. It has following structure :


1.   CLIENT		CLNT                
2.   GUID		RAW
3.   PLAN_TYPE	        NUMC
4.   PERIOD	        DATS
5.   CHANGED_ON	        DEC
6.   AMOUNT		CURR
7.   CURRENCY	        CUKY

Here first 4 fields form key for this table . But when I call standard function 'DD_GET_NAMETAB' to get structure of this table it marks only 'currency' field (with flag2 value = 04) for logging changes. That means even if I make changes to amount, it will not be logged.

Does anyone has any idea to resolve this problem?

Thanks....

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
321

I Guess your requirement is to capture changes to Table fields.

if so, you can do so in TCODE SCDO ( Change Documents).

System generates change document function mdoule which can be called in your application program to log changes.

Check SAP help:-

http://help.sap.com/saphelp_46c/helpdata/en/2a/fa0b1a493111d182b70000e829fbfe/frameset.htm

2 REPLIES 2
Read only

Former Member
0 Likes
322

I Guess your requirement is to capture changes to Table fields.

if so, you can do so in TCODE SCDO ( Change Documents).

System generates change document function mdoule which can be called in your application program to log changes.

Check SAP help:-

http://help.sap.com/saphelp_46c/helpdata/en/2a/fa0b1a493111d182b70000e829fbfe/frameset.htm

Read only

Former Member
0 Likes
321

Hi,

set table log on check on in se11 technical settings

for table.

use table dbtablog,

standard report RSTBPROT

Fm nametab_get.

Regards

Amole