09-19-2014 8:53 AM
Hi everyone,
I am searching for a BAPi which covers the transaction AS01.
I have found two, but I am not sure which one to use.
BAPI_FIXEDASSET_CREATE or BAPI_FIXEDASSET_CREATE1 (where is the difference here)
and
CREATE_ASSET
Looking forward to hear from you.
Regards
Markus
09-19-2014 9:10 AM
Hi Markus,
BAPI_FIXEDASSET_CREATE1 is the "new" version of BAPI_FIXEDASSET_CREATE. Usually with more options.
Regards.
JCD
09-19-2014 9:10 AM
Hi Markus,
BAPI_FIXEDASSET_CREATE1 is the "new" version of BAPI_FIXEDASSET_CREATE. Usually with more options.
Regards.
JCD
09-19-2014 9:59 AM
Thank you,
BAPI_FIXEDASSET_CREATE1 seems to be the right one for me. Just run a quicktest in se37 includinng "transaction_commit" and got a good result. Everything I want is shown in AS02.
Regards
Markus
09-19-2014 9:35 AM
HI Markus,
For what reason are you searching for BAPI.
If you explain your requirement, may be it will be easier for our experts to help you out.
The FM BAPI_FIXEDASSET_CREATE uses the method CreateFromData that will not be supported in the future. Method CreateFromData1 will take over its functions on the same object type where BAPI_FIXEDASSET_CREATE1 is newer with more functionalities and uses the method CreateFromData1. FIXEDASSET_CREATE is the message type for BAPI_FIXEDASSET_CREATE. I do not think there is a BAPI CREATE_ASSET...
Below is a link for creating asset with AS01:
Creating the Asset Master Record - Financial Accounting (FI) - SAP Library
Regards,
Ashvin
09-19-2014 10:00 AM
Hi Ashvin,
I just want to create an asset with basic data and "BAPI_FIXEDASSET_CREATE1" does everything I need.
Regards
Markus
09-19-2014 10:13 AM
Markus,
Yes with the method CreateFromData1 in BAPI_FIXEDASSET_CREATE1, you are sure not to have any problem in future.
Regards,
Ashvin