‎2007 Mar 02 11:03 AM
Hi
Is there any SAP Standard BAPI for Posting Document in FI/CO through FB01 Transaction code.
Regards,
Nikhil.B
‎2007 Mar 02 11:08 AM
Hi,
Chek the below BAPI....
BAPI_ACC_DOCUMENT_POST.
Regards,
Nagaraj
‎2007 Mar 02 11:10 AM
‎2007 Mar 02 11:17 AM
‎2007 Mar 02 11:18 AM
Hi
Please check this Function module
BAPI_ACC_GL_POSTING_POST
Regards
‎2007 Mar 02 11:19 AM
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
‎2011 Nov 26 5:37 PM
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.
‎2007 Mar 02 11:20 AM
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
‎2007 Jul 19 10:58 AM
Yes,
If you have manual step by step pls let me know the link to there