2008 Jan 11 4:24 AM
Hi,
Could you please tell me how to use BAPI "BAPI_FIXEDASSET_OVRTAKE_CREATE" for Asset COnversion??
Please give me code.
Thanks,
Prashant
If you are required to do the intial legacy data transfer of the fixed assets, I'm afraid your approach is incorrect.
Instead of calling BAPI_FIXEDASSET_OVRTAKE_CREATE in a Z program to create legacy assets you should use LSMW radiobutton option Business Object Method (BAPI). The Business Object to use is BUS1022, Method to use is CREATEINCLVALUES and Message Type/Basic Type will default automatically. Then you just map your source data to the structures provided in the Message Type FIXEDASSET_CREATEINCLVALUES. This will be much faster, error free and best of all you don't have to code an entire ABAP report then test it etc.
Hope this helps.
Cheers,
Sougata.
2008 Jan 11 4:48 AM
Hi Prashanti
Hope this code will help you.
Reward if help.
CALL FUNCTION 'BAPI_FIXEDASSET_OVRTAKE_CREATE'
EXPORTING
key =
REFERENCE =
CREATESUBNUMBER =
CREATEGROUPASSET =
TESTRUN = ' '
GENERALDATA =
GENERALDATAX =
INVENTORY =
INVENTORYX =
POSTINGINFORMATION =
POSTINGINFORMATIONX =
TIMEDEPENDENTDATA =
TIMEDEPENDENTDATAX =
ALLOCATIONS =
ALLOCATIONSX =
ORIGIN =
ORIGINX =
INVESTACCTASSIGNMNT =
INVESTACCTASSIGNMNTX =
NETWORTHVALUATION =
NETWORTHVALUATIONX =
REALESTATE =
REALESTATEX =
INSURANCE =
INSURANCEX =
LEASING =
LEASINGX =
IMPORTING
COMPANYCODE =
ASSET =
SUBNUMBER =
ASSETCREATED =
TABLES
DEPRECIATIONAREAS =
DEPRECIATIONAREASX =
INVESTMENT_SUPPORT =
EXTENSIONIN =
CUMULATEDVALUES =
POSTEDVALUES =
TRANSACTIONS =
PROPORTIONALVALUES =
RETURN =
.
Reward if help,
2008 Jan 11 5:08 AM
If you are required to do the intial legacy data transfer of the fixed assets, I'm afraid your approach is incorrect.
Instead of calling BAPI_FIXEDASSET_OVRTAKE_CREATE in a Z program to create legacy assets you should use LSMW radiobutton option Business Object Method (BAPI). The Business Object to use is BUS1022, Method to use is CREATEINCLVALUES and Message Type/Basic Type will default automatically. Then you just map your source data to the structures provided in the Message Type FIXEDASSET_CREATEINCLVALUES. This will be much faster, error free and best of all you don't have to code an entire ABAP report then test it etc.
Hope this helps.
Cheers,
Sougata.
2008 Jan 11 5:35 AM
Check this link. U can get some idea.
http://www.sapfans.com/forums/viewtopic.php?t=246354
Regards,
Maha
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |