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 to reverse the CO Document Number

Former Member
0 Likes
1,749

Hi,

   I did Posting through "BAPI_ACC_MANAUAL_ALLOC_POST". After posting if i want to reverse the posting for that I want to retrive the header and line items values from that document.kindly suggest is there any FM or BAPI to retrive the document header and line item values of a particular document or any direct BAPI to reverse the document itself.

   Reply me if anyone know the solution.

Thanks in advance,

Benson

Hi,

   I did Posting through "BAPI_ACC_MANAUAL_ALLOC_POST". After posting if i want to reverse the posting for that I want to retrive the header and line items values from that document.kindly suggest is there any FM or BAPI to retrive the document header and line item values of a particular document or any direct BAPI to reverse the document itself.

   Reply me if anyone know the solution.

Thanks in advance,

Benson

2 REPLIES 2
Read only

iftah_peretz
Active Contributor
0 Likes
896

Hi,

The BAPI you need to use for this purpose is:

BAPI_ACC_ACT_POSTINGS_REVERSE

Tell me how that turned out for you,

Best,

Iftah

Read only

0 Likes
896

Hi

Check this function module

BAPI_ACC_DOCUMENT_REV_POST