2012 Oct 02 9:52 PM
Hi,
I have made some changes for the Field ' ZTERM' ( payment terms ) through a BADI. But when we go to XD02 and see the Change Log it does not show any updates for this field. The 'Change Document' check box is already checked for the ZTERM fields and I was able to see the CDHDR and CDPOS entries . But how do we make this to come in the 'Environment - Account Changes- All fields ' ( log ) in XD02. Please help.
It is only recording the changes done in transactional level.
Thanks,
KP
2012 Oct 04 6:57 AM
Hi,
As per BC - ABAP Dictionary.
Using the logging flag you can define whether changes to the data records of a table should be
logged. If logging is switched on, each change to an existing data record (with UPDATE,
DELETE) by the user or application program is recorded in the database in a log table
(DBTABPRT).
To switch on logging, the R/3 System must be started with a profile containing parameter
rec/client. This parameter defines whether all clients or only selected clients should be logged.
The parameter can have the following values:
rec/client = ALL Log all clients.
rec/client = 000[,...] Log the specified clients.
rec/client = OFF Do not log.
Logging slows down accesses that change the table. First of all, a record must be
written in the log table for each change. Secondly, a number of users access this log
table in parallel. This can cause lock situations although the users are working with
different application tables.
Logging is independent of the update.
The existing logs can be displayed with Transaction Table History (SCU3).
Can you check where is your problem now?
Regards,
Nandha
2012 Oct 04 6:57 AM
Hi,
As per BC - ABAP Dictionary.
Using the logging flag you can define whether changes to the data records of a table should be
logged. If logging is switched on, each change to an existing data record (with UPDATE,
DELETE) by the user or application program is recorded in the database in a log table
(DBTABPRT).
To switch on logging, the R/3 System must be started with a profile containing parameter
rec/client. This parameter defines whether all clients or only selected clients should be logged.
The parameter can have the following values:
rec/client = ALL Log all clients.
rec/client = 000[,...] Log the specified clients.
rec/client = OFF Do not log.
Logging slows down accesses that change the table. First of all, a record must be
written in the log table for each change. Secondly, a number of users access this log
table in parallel. This can cause lock situations although the users are working with
different application tables.
Logging is independent of the update.
The existing logs can be displayed with Transaction Table History (SCU3).
Can you check where is your problem now?
Regards,
Nandha
2012 Oct 04 3:10 PM
I checked for SCU3 but it looks like it records customizing table log. Well For my problem I just went and did a simple BDC because I had to update only one field in XD02. Then only I could get the change log in place..There are some FM which will update the customer master and fill the change log.I tried Customer_Update but it did not fill the log. My requirement was just for Payment Terms so I just went for BDC and the log is showing now.Thanks for the Reply..SCN is not dead .
2012 Oct 04 3:33 PM
Good idea not to use Customer_Update, it is not more valid than direct open-sql update (this is an update task FM, called after check and with other FMs like DEBI_WRITE_DOCUMENT which create the change documents)
Better use BDC as you did or class/method CMD_EI_API=>MAINTAIN_BAPI (AFAIK there is no BAPI yet)
Regards,
Raymond
2012 Oct 10 9:33 PM
Hi Raymond,
I have a similar Problem with UKM_BP transaction. In this case we cannot do BDC recording and I am trying to update ukmbp_cms_sgm table- Credit Limit field by doing a Direct Modification ( modify statement ) . The client is asking for Log to be displayed once the Table is modified. I saw couple of FM but they are for mass updation. Any ideas on how to handle it .
Thanks,
Kamala
2012 Oct 11 8:19 PM
I don't have access to this transaction, try to look for class CL_UKM_FACADE (from thread UKM_BP)
Regards,
Raymond
2012 Oct 11 8:26 PM