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

SAP Standard BAPI for Posting Document Using FB01 Transaction code

Former Member
0 Likes
2,416

Hi

Is there any SAP Standard BAPI for Posting Document in FI/CO through FB01 Transaction code.

Regards,

Nikhil.B

8 REPLIES 8
Read only

former_member404244
Active Contributor
0 Likes
1,166

Hi,

Chek the below BAPI....

BAPI_ACC_DOCUMENT_POST.

Regards,

Nagaraj

Read only

Former Member
0 Likes
1,166

How Do!

Try BAPI_ACC_GL_POSTING_POST

Andy

Read only

Former Member
0 Likes
1,166

Hi,

use this BAPI_ACC_INVOICE_RECEIPT_POST

regards,

sreevani

Read only

Former Member
0 Likes
1,166

Hi

Please check this Function module

BAPI_ACC_GL_POSTING_POST

Regards

Read only

Former Member
0 Likes
1,166

Hi,

Have a look..............

CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
EXPORTING
documentheader = it_hdr
TABLES
accountgl = it_gl
ACCOUNTRECEIVABLE = act_rec
currencyamount = it_curr
return = t_result.

LOOP AT t_result WHERE ( type = 'E' OR
type = 'A' ).
EXIT.
ENDLOOP.

IF sy-subrc <> 0.
REFRESH t_result.

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = it_hdr
TABLES
accountgl = it_gl
ACCOUNTRECEIVABLE = act_rec
currencyamount = it_curr
return = t_result.

*
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.

Thanks.
If this helps you reward with points. 
Vasanth
Read only

0 Likes
1,166

HI,

I Want to post FB01 Posting Document Type AB.

I am using BAPI, BAPI_ACC_DOCUMENT_POST.

But I want to post 'Calculate Tax Automatically'(XMWST) Field also.

That field is not available in above BAPI.

Can any one give me solution.

Read only

Former Member
0 Likes
1,166

Hi Nikhil ,

Give a try to these Bapi's

BAPI_ACC_GL_POSTING_CHECK Accounting: General G/L Account Posting

BAPI_ACC_GL_POSTING_POST Accounting: General G/L Account Posting

BAPI_ACC_EMPLOYEE_EXP_POST Accounting: Post G/L account assignment for HR posting (OAG:POST JOURNAL)

Regards,

Ashwini

Read only

Former Member
0 Likes
1,166

Yes,

If you have manual step by step pls let me know the link to there