Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>AssetRetirement



Index

AssetRetirement

AssetRetirement


The Business Object AssetRetirement is an object that is
responsible for consistent updating of an asset retirement in Accounting. It provides simplified initial access for updating the
retirement to the general ledger.



Integration



This object is particularly responsible for determining the Accounting
components, in which the asset transactions are to be updated. It
makes consistency checks possible, and also the initiation of the corresponding update in the given components (delegation).









11-Dec-2005


Methods

Available Methods


  • Check : Check asset retirement [ BAPI_ASSET_RETIREMENT_CHECK ]
  • Post : Post asset retirement [ BAPI_ASSET_RETIREMENT_POST ]

11-Dec-2005


Check

Check


When you use the "Check" method, you can simulate an asset retirement,including the creation of the FI/CO document to be posted, in Asset Accounting.

On the Asset Accounting side, the system goes through all of the same checks as it does for the "Post" method.


However, there is no check of the document that is created.

Notes

To use the BAPI, you need authorization for

  • posting to the asset class to which the asset belongs
  • posting using the transaction type used (for more information on this
    point, see the documentation for the GENERALPOSTINGDATA parameter).
  • Messages are returned in the parameter return. The parameterdocumentation shows the return codes and their meanings.

    Further Information


    11-Dec-2005


    Post

    Post


    When you use the "Post" method, you can post an asset retirement inAsset Accounting, and use the resulting document to trigger the update posting in Financial Accounting.

    The document contains the same postings as a document that was postedmanually using the non-integrated acquisition posting transaction
    (retirement without customer) in Asset Accounting. The system does not create customer postings or control postings.

    Notes

    It is absolutely necessary that you perform a COMMIT WORK following each call of this BAPI!

    To use the BAPI, you need authorization for


  • posting to the asset class to which the asset belongs
  • posting using the transaction type used (for more information on thispoint, see the documentation for the GENERALPOSTINGDATA parameter).
  • Messages are returned in the parameter return. The parameter
    documentation shows the return codes and their meanings.


    11-Dec-2005