Skip to Content
author's profile photo Former Member
Former Member

Asset BAPI

Hi everyone,

I faced a problem while testing 'bapi_fixedasset_create1' and 'bapi_asset_acquisition_check' <b>in sequence</b> via SE37. Once the asset created via 'bapi_fixedasset_create1' is passed to 'bapi_asset_acquisition_check' it throws the error 'Asset has no main asset number record'. However, if i do a bapi_transaction_commit immediately after calling 'bapi_fixedasset_create1' then the acquistion check bapi throws no error. Pls tell me how to solve this issue.

Thank you very much

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 30, 2005 at 07:16 AM

    Hello,

    think that's the way to do it.

    'bapi_fixedasset_create1' creates the master data of the asset. Without commitung, there is no asset you could book a acquisition on.

    So the logic would be:

    'bapi_fixedasset_create1'

    commit

    'bapi_asset_acquisition_check'

    if ok

    'bapi_asset_acquisition_post'

    commit

    Regards Wolfgang

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.