‎2005 Nov 02 3:28 PM
Team,
Which table contains - FI Document Changes?
Please be specific; For example:
CDHDR:
OBJECTCLAS ?
*****
CDPOS:
BJECTCLAS?
ABNAME
ABKEY
HNGIND
Thanks
‎2005 Nov 02 3:38 PM
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
‎2005 Nov 02 3:38 PM
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
‎2005 Nov 02 3:56 PM
Hi
The tables are CDHDR e CDPOS, the object type is BELEG.
see the program MF01ABLN.
Max
‎2005 Nov 02 3:56 PM
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.
‎2005 Nov 02 4:36 PM
I get the following error in SE38 for 'MF01ABLN':
"Call up the change documents using the menu
Message no. F4125"
Any Idea...
‎2005 Nov 02 4:40 PM
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.
‎2005 Nov 02 4:40 PM
Here is that piece of code
if sy-tcode = 'SE38'
or sy-tcode = 'SA38'.
message s125.
leave to transaction sy-tcode.
endif.
‎2005 Nov 02 3:42 PM