Skip to Content
-3

Is there any way to track changes for a custom table through a program.

I want to log the changes of a table i.e. track the operations such as Insert, Update, Delete through a program on selecting options on selection screen. I have also made the use of standard tables CDHDR and CDPOS. Also created the object of Change Document.

I have referred the following link. But the program is not working.

{ https://wiki.scn.sap.com/wiki/display/ABAP/ABAP+-+Data+Change+Tracker+for+Custom+Tables }

Short dump saying Function module was called incorrectly is being displayed.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    May 03 at 07:12 PM

    See transaction ST22 for the full short dump text. If that information answers your question (it should IMHO) then please close it. Otherwise share the relevant information from the short dump (full error, where it occurs, etc.).

    Add comment
    10|10000 characters needed characters exceeded

  • May 03 at 12:41 PM

    Hi Siddhi,

    If you are facing dump means, please share the screenshot.

    "I have referred the following link. But the program is not working.
    https://wiki.scn.sap.com/wiki/display/ABAP/ABAP+-+Data+Change+Tracker+for+Custom+Tables

    If you followed the same document, and error CX_SY_DYN_CALL_PARAM_NOT_FOUND triggered means, do check whether LV_OPT parameter is added in the WRITE_DOCUMENT functional module(as per shared link).

    Regards

    Rajkumar Narasimma

    Add comment
    10|10000 characters needed characters exceeded

    • I have given LV_OPT in function module YTEST_TABLE_CNG_WRITE_DOCUMENT. But when I try to save or activate this FM, it says, "Reference parameters are not allowed in the update task." And also when I see the same function module in new session, the function module does not have import parameter LV_OPT.