‎2014 Apr 10 2:07 PM
Hi,
To post a Journal using BAPI_ACC_DOCUMENT_POST, I could't able to figure it out the below fields in the BAPI Tables (BAPIACGL09, BAPIACAR09,
BAPIACAP09, BAPIACTX09, BAPIACCR09, BAPIACKEC9, BAPIACKEV9, BAPIACEXTC, BAPIRET2, BAPIACPC09, BAPIACCAIT, BAPIPAREX,
BAPIACRE09, BAPIACWT09)
The Fields are PROJK - WBS Element and SMENR - Rental Unit, REBZG - Invoice Reference.
Can any one assist me in this.. Thanks in advance
‎2014 Apr 10 2:16 PM
Hi Ramesh,
Open the BAPI in SE37 transaction. Click on Documentation on top-right corner. You will see one pop-up with the explaination about the BAPI and its fields. Click on above tables from the documentaion and u will see information abt this.
Thanks,
Sachin
‎2014 Apr 10 5:23 PM
Hi.
for REBZG, depending on bapiache09-DOC_TYPE and the configuration on your system
Some times, you may require for credit notes to have the reference to the original invoice that this note is referring to.
Also you'll need REBZJ and REBZZ
Hope this helps.
‎2014 Apr 10 5:34 PM
Most SAP BAPI do have documentation, so refer them first.
BAPIACGL09
BAPIACAR09
BAPIACAP09
BAPIACTX09
BAPIACCR09
BAPIACKEC9
BAPIACKEV9
BAPIACEXTC
BAPIRET2
BAPIACPC09
BAPIACCAIT
BAPIPAREX
BAPIACRE09
BAPIACWT09
this all are strcture (some are optional) this helps to know which values are to be passed in which table.
Even you can manually pass require values to BAPI_ACC_DOCUMENT_POST -> execute in SE37 -> then call function module -> BAPI_TRANSACTION_COMMIT.
Hope this helps!