on 2008 Apr 08 7:43 AM
Hi,
can anybody help me how can I map / pass the following POSTING KEY in BAPI_ACC_DOCUMENT_POST?
Type Posting Key Positive or Negative
GL 40 +ve (debit)
GL 50 -ve (credit)
AP 21 +ve (debit)
AP 31 -ve (credit)
AR 01 +ve (debit)
AR 11 -ve (credit)
thank you in advance!!!
james evert lising
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi ,
No need to pass the posting key explicitly, since system will be determined automatically based on debit and credit data entries at item level.
IF ls_post-newbs = '40'.
ls_currency-amt_doccur = ls_post-dmbe2.
ELSEIF ls_post-newbs = '50'.
ls_currency-amt_doccur = ls_post-dmbe2 * -1.
ENDIF.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
21 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.