Skip to Content
avatar image
Former Member

Change document

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Jun 09, 2004 at 02:25 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 10, 2004 at 09:38 AM

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

    Thanks

    Add comment
    10|10000 characters needed characters exceeded