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

Which table contains - FI Document Changes?

Former Member
0 Likes
7,484

Team,

Which table contains - FI Document Changes?

Please be specific; For example:

CDHDR:

OBJECTCLAS ?

*****

CDPOS:

BJECTCLAS?

ABNAME

ABKEY

HNGIND

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,003

Hello

The OBJECTCLAS is BELEG.

Use FM CHANGEDOCUMENT_READ_HEADERS

with objectclass = 'BELEG'

objectid = (concatenate client + company code + doc no + fiscal year)

Then loop at the header and use FM

CHANGEDOCUMENT_READ_POSITIONS

to get the CDPOS values

Hope this helps

Shounak

Message was edited by: Shounak Mukherjee

7 REPLIES 7
Read only

Former Member
0 Likes
3,004

Hello

The OBJECTCLAS is BELEG.

Use FM CHANGEDOCUMENT_READ_HEADERS

with objectclass = 'BELEG'

objectid = (concatenate client + company code + doc no + fiscal year)

Then loop at the header and use FM

CHANGEDOCUMENT_READ_POSITIONS

to get the CDPOS values

Hope this helps

Shounak

Message was edited by: Shounak Mukherjee

Read only

0 Likes
3,003

Hi

The tables are CDHDR e CDPOS, the object type is BELEG.

see the program MF01ABLN.

Max

Read only

0 Likes
3,003

Header table is - CDHDR with 'object class' of "BELEG" and 'object id' of client/comp code/document no/fisc year.

Detail table is - CDPOS for each lien item change.

Read only

0 Likes
3,003

I get the following error in SE38 for 'MF01ABLN':

"Call up the change documents using the menu

Message no. F4125"

Any Idea...

Read only

0 Likes
3,003

In the initialization event of this program, there is a piece of code that prevents you from running this program from SE38 or SA 38. It will be submitted through probably the FI document display transaction.

Read only

0 Likes
3,003

Here is that piece of code


  if sy-tcode = 'SE38'
  or sy-tcode = 'SA38'.
    message s125.
    leave to transaction sy-tcode.
  endif.

Read only

Former Member
0 Likes
3,003

Hi,

Table is BSEG.

Regards,