2006 Nov 28 10:43 AM
The description field of Asset Master Creation cannot be uploaded using the BAPI-Bapi_fixedAsset_Create1.What to do in this case?
2006 Nov 29 9:02 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
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
2006 Nov 28 10:47 AM
u need to use create_text & commit_text for description fields in SAP...
2006 Nov 28 11:49 AM
I am also using the above BAPI_FIXEDASSET_CREATE1 to upload the asset master data. But the description field is not getting uploaded. There is a parameter DESCRIPT in this BAPI which I am using to pass the asset description. can you please suggest where to use the above 2 function modules CREATE_TEXT and COMMIT_TEXT in this context ?
2006 Nov 29 9:02 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
2008 Jan 08 11:48 AM
Hi,
I am using the same FM for Asset Upload and was successfull in creating an Asset but the field URJHR (Original Acquisition year) is not getting updated eventhough I marked the ORIG_ACQ_YEAR field in Originx structure to 'X'.
Can you please help me regarding this?
Thanks in Advance!!!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |