‎2008 Feb 27 3:13 PM
Hi friends,
I have to post the accounting document using background transaction FB01 , and I am working on 4.6 C version. I am using a bapi BAPI_ACC_GL_POSTING_POST
but I am not able to pass the tax code field (Mwsks) and also the posting key field (Bschl) without which the posting cannot be done.
Please suggest me the name of some Bapi which suffices my requirements.
Also the bapi 'BAPI_ACC_DOCUMENT_POST' dosent exist in my system.
Please help me through this.
Regards
Siddharth
‎2008 Feb 27 3:24 PM
Hi Siddharth,
From my experience on posting accounting documents I recommend you an alternative way instead that BAPI:
Call function POSTING_INTERFACE_START
Fill corresponding accounting document fields for FB01 and call function POSTING_INTERFACE_DOCUMENT. This function adapts de BCD screens accordingly to the customizing. Check FM document to know how fill its parameters and tables.
Finally call function POSTING_INTERFACE_END.
I can ensure that this works fine.
Reward points if helps
Roger
‎2008 Feb 27 3:24 PM
Hi Siddharth,
From my experience on posting accounting documents I recommend you an alternative way instead that BAPI:
Call function POSTING_INTERFACE_START
Fill corresponding accounting document fields for FB01 and call function POSTING_INTERFACE_DOCUMENT. This function adapts de BCD screens accordingly to the customizing. Check FM document to know how fill its parameters and tables.
Finally call function POSTING_INTERFACE_END.
I can ensure that this works fine.
Reward points if helps
Roger
‎2008 Mar 25 3:23 PM
Hi it was better to run bdc for Fb01 .
All other function modules didnt suffice the requirements.
‎2008 Mar 25 4:09 PM
HI,
the easiest way to post financial document is to use standard SAP program RFBIBL00
Please reward points if helpfull.