‎2010 Apr 02 3:23 PM
Hi all,
I want to post FI document with BAPI_ACC_DOCUMENT_POST . But i could not change Posting key. I want to pass Posting key with 25, but by default taking 21.
Best regards,
Munur
‎2010 Apr 02 3:57 PM
Hi,
There is a BADI for the BAPI which can be used to change the posting key. In the structure T_ACCIT structure, if you change the posting key, it reflects in your document.
Hope this answers your query.
Regards,
Hari
‎2010 Apr 02 4:54 PM
‎2010 Apr 02 6:59 PM
Hi Munur,
Enhancement Spot BADI_ACC_DOCUMENT
BAdI Definition BADI_ACC_DOCUMENT
Interface IF_EX_ACC_DOCUMENT
Classes CL_EXM_IM_ACC_DOCUMENT
Object ACC_DOCUMENTmethod FILL_ACCIT has parameters you need
FLT_VAL Type AWTYP Importing Parameter FLT_VAL of Method CHANGE_BAPI_ACCIT
I_ACCHD Type ACCHD Importing Interface to Accounting: Header Information
C_BAPI_ACCIT Type ACCBAPIFD5 Changing ACC BAPIs: Surplus Amount of Accounting Document Line Items
C_ACCIT Type ACCIT Changing Accounting Interface: Item InformationRegards,
Clemens
‎2010 Apr 03 5:49 AM
You can change posting key using the "business Transaction event" implementation of "RWBAPI01".
Regards
Vinod
‎2010 Oct 01 8:06 AM
‎2010 Oct 01 8:06 AM