Application Development 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: 

BAPI or FM or Class for Customer open items CLEAR (F-32)

Former Member

Hi Everyone,

Is there any BAPI or FM to CLEAR customer open items (F-32).

Thanks,

NK

5 REPLIES 5

Former Member
0 Kudos

Hi,

BAPI_AR_ACC_GETOPENITEMS.

Thanks,

Krishna

0 Kudos

Thanks for your response. I think this FM BAPI_AR_ACC_GETOPENITEMS is to get open items, but I'm looking for FM or BAPI to CLEAR Customer OPEN ITEMS. Basically a FM POST with CLEARING cutomer individual open items.

kesavadas_thekkillath
Active Contributor
0 Kudos

POSTING_INTERFACE_CLEARING

Check the documentation

Former Member
0 Kudos

Hi. Please see this thread:

It uses BDC, but in such a way that it does not have the usual BDC problems. In fact, standard SAP uses the same BDC on transaction F.13.

Regards,

Dave.

Former Member
0 Kudos

Hi,

For clearing open items you can use BAPI_ACC_DOCUMENT_POST.

but need to write extra code in BTE

check this function module SAMPLE_INTERFACE_RWBAPI01.

need to update below four fields of table accit.

REBZG (document no against u want to clear)

REBZJ (fiscal year)

REBZZ (line item)

REBZT

to update these field use BTE.

Thanks,

Avadhut.