I am using BAPI BAPI_ACC_DOCUMENT_POST to create a JE.
My requirement is, i have change the posting Key based on the Doc type. I think i may have to use Extension 1/Extension 2 for Posting Key.
Can any one suggest me how to use these,
If Document type SA (GL Account Posting)
elseif Document type AA (Asset Posting)
Even more, I have to post 3 more Non existing fields in BAPI ( Sinking Fund [ZZSINK], Sinking Fund No [ZZSINKNO], Audit Flag[ZZAUDIT])
Please give some idea, how we can post these...
Thanks in advance.