cancel
Showing results for 
Search instead for 
Did you mean: 

Change document

Former Member
0 Kudos

Hi,

i have a specific table and i want to follow changements made to his data (who, when, field, old & new value). I used change document and it has generated some function module. In my bsp page, when i save data, i have to call some functions to update change documents. But when i make an include in event OnInitialisation, it says that "table with header ar no longer supported in the OO context". How can i use change documents ? Does it work in a bsp application or does i have to manage it with a class which contains method ans store changements in some specifics tables ?

Thans

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Ok, thanks. To resovle my problem, i rewrite what is in the include but i've declare tables in Page Attributes

Thanks

former_member181879
Active Contributor
0 Kudos

The error message is already the clue to the problem. A BSP is translated into ABAP source code and placed inside one temporary ABAP (OO) class.

And with the new world of ABAP OO, old forms of tables with header lines are not supported anymore. This is not a BSP problem. You will have to look at the ABAP documentation, and see how tables are handled, and what is allowed in OO context or not. (Start transaction SE38, any simple report, enter line like READ TABLE, and then press F1. Reading everything within a circle of 500meters.)

++bcm