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 FB05

Former Member
0 Likes
5,318

Hi!

I'm new to BAPI programming, and I cannot find one to make clearing in FI, the same way FB05 does. For example, I post two documents using FB01, like this:

Document 1:
Item 1: Credit - account number: 1
Item 2: Debit  - account number: 2

Document 2:
Item 1: Credit - account number: 3
Item 2: Debit  - account number: 1 (the same account number from line 1/doc 1)

I'd like to make the clearing of line 1/doc 1 with line 2/doc 2, so they don't remain open on FI.

Hope I make myself clear.

Thank you very much,

Andre

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,705

I think <b>BAPI_ACC_DOCUMENT_REV_POST</b> will take care of ur requirements.

If it is billing related then it would be :

<b>BAPI_ACC_BILLING_REV_POST.</b>

5 REPLIES 5
Read only

Former Member
0 Likes
3,705

Have u tried the BAPI : <b>BAPI_ACC_DOCUMENT_POST</b>.

Read only

Former Member
0 Likes
3,706

I think <b>BAPI_ACC_DOCUMENT_REV_POST</b> will take care of ur requirements.

If it is billing related then it would be :

<b>BAPI_ACC_BILLING_REV_POST.</b>

Read only

andreas_mann3
Active Contributor
0 Likes
3,705

Hi,

try interface rfbibl00 (look documentation)

Andreas

Read only

0 Likes
3,705

Have you simple code  for z program

Read only

Former Member
0 Likes
3,705

Hi,

There is an Upload program RFBIBL00, you have to use that this instead of Bapi's, You can see this using transaction code BDBS

You need to fill the data as you mentioned in a internal tables/work area and submit the above program with the parameters

Thanks

Ramesh