2010 Jan 29 1:25 AM
Hi,
i have an error message in using bapi_acc_document_post with asset
error message is "Enter a transaction type"
occurs error even though i input it_accountgl-cs_trans_t = '100',
my coding...
Header bus_act = 'RFBU'.
AP
=====================================================
....
GL
=====================================================
DATA : lv_anln1 LIKE anla-anln1,
lv_anln2 LIKE anla-anln2.
IF gs_item-anln1 NE space.
SPLIT gs_item-anln1 AT '-' INTO lv_anln1 lv_anln2.
it_accountgl-asset_no = lv_anln1.
it_accountgl-gl_account = '0012570101'.
it_accountgl-sub_number = lv_anln2.
it_accountgl-acct_type = 'A'.
it_accountgl-cs_trans_t = '100'.
it_accountgl-asval_date = sy-datum.
2010 Jan 29 3:27 AM
Hi,
the SAP code is asking for asset transaction type. But it looks like there is no field for passing this value to BAPI. The field CS_TRANS_T is something else. The transaction 100 corresponds to external asset acquisition. Have you tried to use BAPI BAPI_ASSET_ACQUISITION_POST for your purpose?
Cheers
Hi,
the SAP code is asking for asset transaction type. But it looks like there is no field for passing this value to BAPI. The field CS_TRANS_T is something else. The transaction 100 corresponds to external asset acquisition. Have you tried to use BAPI BAPI_ASSET_ACQUISITION_POST for your purpose?
Cheers
2010 Jan 29 3:27 AM
Hi,
the SAP code is asking for asset transaction type. But it looks like there is no field for passing this value to BAPI. The field CS_TRANS_T is something else. The transaction 100 corresponds to external asset acquisition. Have you tried to use BAPI BAPI_ASSET_ACQUISITION_POST for your purpose?
Cheers
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |