2008 Jul 24 8:20 AM
hi experts,
I m posting AR Transaction data using bapi_acc_document_post.
I populated all the fields in bapi except two fields, one is amount in local currency(DMBTR) and the other one is tax amount in local
currency (MWSTS).
The reason is, those two fields are not in that bapi table currencamount.
i tried to use bapi extension , but the structure acccr is not having those two fields.
Functional people want those two fields to be updated .
How to populate those fields?
Pls give the solution. It is urgent.
thanks,
hi experts,
I m posting AR Transaction data using bapi_acc_document_post.
I populated all the fields in bapi except two fields, one is amount in local currency(DMBTR) and the other one is tax amount in local
currency (MWSTS).
The reason is, those two fields are not in that bapi table currencamount.
i tried to use bapi extension , but the structure acccr is not having those two fields.
Functional people want those two fields to be updated .
How to populate those fields?
Pls give the solution. It is urgent.
thanks,
2008 Sep 10 9:06 AM
at table currencyamount (at FM BAPI_ACC_DOCUMENT_POST),
after insert a doc currency and amount value, add for local currency,
sample :
lt_curr-itemno_acc = ld_itemno.
lt_curr-curr_type = '10'.
lt_curr-currency = t_itab-waers1.
lt_curr-amt_doccur = t_itab-dmbtr.
IF t_itab-shkzg = 'H'.
lt_curr-amt_doccur = lt_curr-amt_doccur * -1.
ENDIF.
APPEND lt_curr. CLEAR lt_curr.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |