2014 Apr 22 6:16 AM
Hi,
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)
Debit: 40
Credit: 50
elseif Document type AA (Asset Posting)
Debit: 70
Credit: 75
endif.
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.
Hi,
Posting keys are determined by document type and sign of the amount (but it is possible to change it in code using extentions) .
To fill additional fields you can implement badi BADI_ACC_DOCUMENT (Extension2) or use BTE (check how to implement RWBAPI01).
2014 Apr 22 9:27 AM
Hi,
Posting keys are determined by document type and sign of the amount (but it is possible to change it in code using extentions) .
To fill additional fields you can implement badi BADI_ACC_DOCUMENT (Extension2) or use BTE (check how to implement RWBAPI01).
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |