2006 Nov 22 7:03 AM
I am trying to upload asset master data using bapi_fixedasset_create1.But am facing problems in uploading the description field of the asset although all other fields are getting uploaded.Please advise.
2006 Nov 29 9:03 AM
In the BAPI "BAPI_FIXEDASSET_CREATE1" pass the parameter GENERALDATAX also and set the description fields to 'X'. The fields in general data for which U need to update, the corresponding generaldata_x will be 'X' .
Here is the code script (for description and description 2, U cannt change account determination id). See the parameter documentation of the BAPI for more details
wa_gnrl_data-assetclass = wa_data-asstclass.
wa_gnrl_data-descript = wa_data-descript.
wa_gnrl_data-descript2 = wa_data-descript2.
wa_gnrl_data-acct_detrm = wa_data-acct_detrm.
wa_gnrl_datax-descript = 'X'."wa_data-descript.
wa_gnrl_datax-descript2 = 'X'."wa_data-descript2.
now call the BAPI, pass both generaldata as well as generaldatax
I am trying to upload asset master data using bapi_fixedasset_create1.But am facing problems in uploading the description field of the asset although all other fields are getting uploaded.Please advise.
2006 Nov 29 9:03 AM
In the BAPI "BAPI_FIXEDASSET_CREATE1" pass the parameter GENERALDATAX also and set the description fields to 'X'. The fields in general data for which U need to update, the corresponding generaldata_x will be 'X' .
Here is the code script (for description and description 2, U cannt change account determination id). See the parameter documentation of the BAPI for more details
wa_gnrl_data-assetclass = wa_data-asstclass.
wa_gnrl_data-descript = wa_data-descript.
wa_gnrl_data-descript2 = wa_data-descript2.
wa_gnrl_data-acct_detrm = wa_data-acct_detrm.
wa_gnrl_datax-descript = 'X'."wa_data-descript.
wa_gnrl_datax-descript2 = 'X'."wa_data-descript2.
now call the BAPI, pass both generaldata as well as generaldatax
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |