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

Obsolete FM, FI_DOCUMENT_READ_SINGLE

Former Member
0 Likes
1,317

Hi,

We are upgrading our SAP system from 4.6C to ECC 6.0.

The FM, FI_DOCUMENT_READ_SINGLE doesnt exist in ECC 6.0. Is anybody aware of a replacement for this FM?

Please share your inputs on this.

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,119

The New function Module in ECC 6.0 is

'FAGL_GET_ARCH_FI_DOCUMENT'.

For Examples Please look at note 928034.

Thanks

Saurabh.

Hi,

We are upgrading our SAP system from 4.6C to ECC 6.0.

The FM, FI_DOCUMENT_READ_SINGLE doesnt exist in ECC 6.0. Is anybody aware of a replacement for this FM?

Please share your inputs on this.

Thanks in Advance.

5 REPLIES 5
Read only

Former Member
0 Likes
1,119

Hi,

FM FI_DOCUMENT_READ_SINGLE is obsolete Function module.

The replacement FM is FAGL_GET_ARCH_FI_DOCUMENT.

Please look at note 928034

Example 1:

  • call function 'FI_DOCUMENT_READ_SINGLE'

  • exporting

  • i_bukrs = FI_BUKRS

  • i_belnr = FI_BELNR

  • i_gjahr = FI_GJAHR

  • i_group_xread = l_group_xreadall

  • i_xuse_database = space

  • i_xsuppressdialog = ON

  • tables

  • c_abkpf = l_archbkpf

  • c_bseg = T_BSEG

  • exceptions

  • others = 99.

CALL FUNCTION 'FI_DOCUMENT_READ1'

EXPORTING

i_docno = it_bsik-belnr

i_byear = it_bsik-gjahr

i_compy = it_bsik-bukrs

IMPORTING

e_bkpf = wa_bkpf

TABLES

t_bseg = it_bseg

t_bsec = it_bsec

t_bset = it_bset

EXCEPTIONS

not_found = 1

OTHERS = 2.

IF sy-subrc <> 0.

call function 'FAGL_GET_ARCH_FI_DOCUMENT'

exporting

i_bukrs = fi_bukrs

i_belnr = fi_belnr

i_gjahr = fi_gjahr

tables

t_bseg = t_bseg

exceptions

others = 99.

*>>>> END OF INSERTION <<<<<<

Example 2 :

  • call commented with Note# 928034

  • call function 'FI_DOCUMENT_READ_SINGLE'

  • exporting

  • i_bukrs = FI_BUKRS

  • i_belnr = FI_BELNR

  • i_gjahr = FI_GJAHR

  • i_group_xread = l_group_xreadall

  • i_xuse_database = space

  • i_xsuppressdialog = ON

  • tables

  • c_abkpf = l_archbkpf

  • c_bseg = T_BSEG

  • exceptions

  • others = 99.

  • call commented with Note# 928034

call function 'FAGL_GET_ARCH_FI_DOCUMENT'

exporting

i_bukrs = fi_bukrs

i_belnr = fi_belnr

i_gjahr = fi_gjahr

tables

t_bseg = t_bseg

exceptions

others = 99.

*>>>> END OF INSERTION <<<<<<

*********************

Regards,

Syed

Read only

Former Member
0 Likes
1,120

The New function Module in ECC 6.0 is

'FAGL_GET_ARCH_FI_DOCUMENT'.

For Examples Please look at note 928034.

Thanks

Saurabh.

Read only

Former Member
0 Likes
1,119

hi.....



FI_DOCUMENT_PP_READ
FI_DOCUMENT_READ1

FI_DOCUMENT_READ

FI_DOCUMENT_ARCH_READ_CUST
FI_DOCUMENT_ARCH_READ_CUST_TXT

FI_DOCUMENT_ARCH_AS_ITEMS_READ
FI_DOCUMENT_ARCH_READ_PACKAGE

FI_TEXTS_DOCUMENT_READ_TMP

FI_WT_ARCHIVE_DOCUMENT_READ

Arunima

Read only

Former Member
0 Likes
1,119

I have replaced the FM, FI_DOCUMENT_READ_SINGLE with FM, FAGL_GET_ARCH_FI_DOCUMENT.

With the same input value for FAGL_GET_ARCH_FI_DOCUMENT like

FI_DOCUMENT_READ_SINGLE, the FM, FI_DOCUMENT_READ_SINGLE returns values

for T_BKPF,T_BSEG,T_BSEC,T_BSET,T_BSED whereas these tables are not populated for FM, FAGL_GET_ARCH_FI_DOCUMENT.

Please let me know if anybody has faced a similar issue.

Thanks.

Read only

0 Likes
1,119

hello,

please check the table RODIR for Obsolete function modules.

u can get there.

thank u

santhosh