Fonction SAP BAPI_FIXEDASSET_GETDETAIL - Display Detailed Information on a Fixed Asset

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ASSET BAPI1022_1-ASSETMAINO C 12 Main Asset Number
COMPANYCODE BAPI1022_1-COMP_CODE C 4 Company Code
EVALUATION_DATE BAPI1022_5-EVAL_DATE D 8 '00000000' X Report Date (Default = Today's Date)
SUBNUMBER BAPI1022_1-ASSETSUBNO C 4 Asset Subnumber

Paramètre Reférence Type Long. Description
BASIC_DATA BAPI1022_2 u 143 General Data
ORGANIZATIONAL_DATA BAPI1022_3 u 38 Allocations to Org. Structures and CO Objects
RETURN BAPIRETURN u 452 Information about Errors which Occurred
SPECIAL_CLASSIFICATIONS BAPI1022_4 u 36 Evaluation Groups / Further Assignments

Functionality
This method displays the most important master data for anfixed asset in Asset Accounting.
With this method, data which is valid on the report date is selectedfrom the time-dependent data for an asset (for example cost center).You can enter the report date as a parameter when you call up themethod. If you do not specify a report date, the method uses thecurrent date.

Notes

  • In order to display asset data, you require display authorization for
  • the objects A_S_ANLKL ("normal" asset) and A_S_ANLGR (group asset).
    • Messages are returned in the RETURN parameter. You will find the return
    • value and its significance in the documentation for the parameters.

      Description
      General data concerning the asset (for example the description, quantityor capitalization date) are returned in this parameter.

      Description
      Organizational structures (for example business area) and Controllingobjects (for example cost center) which are assigned to the asset arereturned in this parameter.

      Description
      Information on any errors which occured while searching for assetinformation are returned in this parameter.

      Value range
      The parameter can contain the following values:
      RETURN TYPE RETURN CODE Meaning
      blank blank Method executed without errors
      E AA001 Asset does not exist
      E AA048 No authorization

      Description
      The evaluation groups and super number of an asset are returned in thisparameter.

      Description
      In this parameter you enter the main asset number. This number isrequired for the correct identification of the asset.

      Default
      None

      Description
      In this parameter, you enter the company code to which the assetbelongs. This is required for the correct identification of the asset.

      Default
      None

      Description
      In this parameter you can enter a report date. Time-dependent datawhich is valid for the asset on the report date is returned in theparameter ORGANIZATIONAL_DATA.

      Default
      Current date

      Description
      In this parameter you enter the asset sub-number. This is required forthe correct identification of the asset.

      Default
      None