on 2017 May 11 8:33 AM
Hi All,
Kindly help. Its urgent. I am trying to update my material master by adding the Accounting view through a BAPI BAPI_MATERIAL_SAVEDATA. My excel sheet would contain material number, plant, valuation class and standard price. I am receiving success message. But unable to see the Accounting view for that material.
Below views have been selected.
bapimathead-basic_view = 'X'.
bapimathead-account_view = 'X'.
bapimathead-cost_view = 'X'.
bapimathead-warehouse_view = 'X'.
The BAPI used:
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = bapimathead
clientdata = it_bapi_mara "BAPI_MARA1
clientdatax = it_bapi_marax "BAPI_MARAX
plantdata = it_bapi_marc
plantdatax = it_bapi_marcx
valuationdata = it_bapi_mbew
valuationdatax = it_bapi_mbewx
IMPORTING
return = it_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Request clarification before answering.
| User | Count |
|---|---|
| 23 | |
| 12 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.