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

Help needed with BAPI

Former Member
0 Likes
467

Hi experts,

I am trying to implement BAPI for simulating tcode. FBS1.

As a first step, I have implemented the BAPI -> BAPI_ACC_GL_POSTING_POST

I did not find any holder where i can give the reversal date. But I could find reason_rev for reversal reason.

Now as a second step. I am trying to use the BAPI -> BAPI_ACC_GL_POSTING_REV_POST.

I am trying to pass the following values from the first BAPI

reversal-obj_type = obj_type.

reversal-obj_key = obj_key.

reversal-obj_sys = obj_sys.

reversal-obj_key_r = 'AWREF_REV'.

I am not sure if i have to pass the reversal date in reversal-pstng_date

Can some one please let me know if I am missing something here.

Also please let me know if I am going in the correct way to implement BAPI for FBS1

thanks alot.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
431

There is no BAPI for FBS1 and BAPI_ACC_DOCUMENT_POST does not do it despite having the reversal reason as a header segment field! helpful... I think not.

The options are either BDC or RFBIBL00.

Regards

Neha

2 REPLIES 2
Read only

Former Member
0 Likes
432

There is no BAPI for FBS1 and BAPI_ACC_DOCUMENT_POST does not do it despite having the reversal reason as a header segment field! helpful... I think not.

The options are either BDC or RFBIBL00.

Regards

Neha

Read only

Former Member
0 Likes
431

hi

you can try out bapi's like

BAPI_ACC_GL_POSTING_POST and BAPI_ACC_GL_POSTING_REV_POST.

you can use FM as well which is POSTING_INTERFACE_DOCUMENT

you can check out this link for all the bapi's -http://planetsap.com/Bapi_main_page.htm

hope this helps

regards

Aakash Banga