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

BAPI for reading an Accouting Document

Former Member
0 Likes
16,384

Hi There,

I am looking for a BAPI to read an Accounting Document Details from ECC system. I checked the BAPI transaction code under the component 'Accounting - General' but couldnt find a suitable one. All I see are BAPIs for Check and Post functionality. Could you please pass on the BAPI name if you have it?

Thanks,

Chan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
8,273

Hi,

it's no BAPI but you can try fm FI_DOCUMENT_READ.

Regards,

Klaus

10 REPLIES 10
Read only

Former Member
0 Likes
8,273

Hi Chan,

Check this FM: BAPI_ACC_DOCUMENT_DISPLAY.

Thanks,

Shree

Read only

0 Likes
8,273

Hi Shreekant,

The BAPI you mentioned is a Dialog one. I need a BAPI which should export details in Tables/Exporting parameters.

Thanks,

Chan

Read only

RaymondGiuseppi
Active Contributor
0 Likes
8,273

AFAIK there are only BAPI for AP/AR items, the BAPI[AP,AR]_ACC_GET[BALANCED,OPEN]ITEMS or BAPI_[AP,AR]_ACC_GETSTATEMENT ?

Regards,

Raymond   

Read only

Former Member
0 Likes
8,273

Hi Shreekant,

please see bapi - BAPI_ACC_DOCUMENT_CHECK

it might help you..

thks nilesh.


Read only

0 Likes
8,273

This BAPI is associated to BAPI_ACC_DOCUMENT_POST, it checks validity of parameters before trying to post a document.

Regards,

Raymond

Read only

Former Member
0 Likes
8,275

Hi,

it's no BAPI but you can try fm FI_DOCUMENT_READ.

Regards,

Klaus

Read only

0 Likes
8,273

BAPI is usually used for posting transaction, you should use FM as Klaus's suggestion.

Read only

0 Likes
8,273

As not GET_DETAIL/GET8LIST BAPI available, the RFC enabled FM suggested by is a good option.

Regards,

Raymond

Read only

Former Member
0 Likes
8,273

Thanks everyone for your input. I found a lot of POST and CHECK BAPIs but they will not solve my purpose. My document is already posted in the system and I want to read it. As Klaus suggested, I will use the RFC enabled function module.

Read only

0 Likes
8,273

Hi

If you need to read FI document from remote system probably FI_DOCUMENT_READ is the best fm just as Klaus has suggested you...I don't believe there's a specific BAPI, there are several BAPI to get the details of Items, but not for a single document.

...but you can create a your own BAPI of course

Max