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 F-02.

Former Member
0 Likes
1,602

Hello Abapmates,

i have found two bapis for transaction F-02.

1.BAPI_ACC_GL_POSTING_POST

2.BAPI_ACC_DOCUMENT_POST

i have choosen bapi BAPI_ACC_DOCUMENT_POST but i stucked at bussiness object type( obj_type)

which BO type i have to specify

secondly in the bapi interface i didn't find fields for posting key and special G/L indicator.

please guide me for the same.

With Regards,

Janakiram.

Hello Abapmates,

i have found two bapis for transaction F-02.

1.BAPI_ACC_GL_POSTING_POST

2.BAPI_ACC_DOCUMENT_POST

i have choosen bapi BAPI_ACC_DOCUMENT_POST but i stucked at bussiness object type( obj_type)

which BO type i have to specify

secondly in the bapi interface i didn't find fields for posting key and special G/L indicator.

please guide me for the same.

With Regards,

Janakiram.

8 REPLIES 8
Read only

0 Likes
1,444

hi,

Do BDC for F-02 .

Regards,

Surendar Reddy.

Read only

0 Likes
1,444

According our requirement i should not use BDC

Read only

0 Likes
1,444

Hi , can you please let me know , have to got some solution ?

Read only

0 Likes
1,444

OBJ_TYPE would be either

BKPF

BKPFF

Read only

0 Likes
1,444

You can use this BApi BAPI_ACC_EMPLOYEE_PAY_POST. it is for a to post Vendor Line Items & G/L Account Line Items .

By using this Bapi you can post Accounting documents. here you can pass the posting key as well.

Thank you,

BBL

Read only

0 Likes
1,444

Hi Thank you so much... in this BAPI , i checked all the parameters , but i didnt find the 'posting key' in any of them... can you plz let me know ..how do i pass 'posting key'...

Regards ,

Uma

Read only

Former Member
0 Likes
1,444

Hi ,

I also have same functionality to be implemented , i have the posting key to be passed which is not present in the BAPI interfaces, can you please let know the solution you got .. Please suggest any solution

Regards,

Uma

Read only

shadab_maldar
Active Participant
0 Likes
1,444

Hi janaki,

Refer this link, here you can modify posting key's pre-posting.

http://http://wiki.sdn.sap.com/wiki/display/ABAP/Business+Transaction+Event+-+RWBAPI01+-+For+Account...