Fonction SAP BAPI_COSTESTIMATE_ALLOW_MA_GET - Determine Organizational Measures

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
VALUATION_VIEW BAPIVALUATION u 3 'XXX' X Valuation Views

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameters

Paramètre Reférence Long. Facultatif Description
IN_COMP_CODE BAPICOMPANYCODE 11 X Ranges Table for Organizational Unit Company Code
IN_COSTING_VARIANT BAPICSTGVA 11 X Ranges Table for Costing Variant
IN_COSTING_VERSION BAPICOSTINGVERSION 7 X Ranges Table for Costing Version
IN_POSTING_PERIOD BAPIPOSTINGPERIOD 9 X Ranges Table for Posting Period
IN_POSTING_YEAR BAPIPOSTINGYEAR 11 X Ranges Table for Fiscal Year
OUT_LIST BAPIORGMEASURELIST 44 Structure for Output List Cost Estimate

Functionality
With the method BAPI_COSTESTIMATE_ORG_MEAS_GET theorganizational measures can be determined for the following selectioncriteria:

  • Costing variant

  • Costing version

  • Company code

  • Posting period

  • Fiscal year
  • Further information
    This function corresponds to the subfunction Display OrganizationalMeasure of transaction CK24 Price Update.
    More information is available in transaction CK24 under Help ->Application Help.
    Test program SAPBAPITESTORGMEASUREGET provides an example scenario.

    Description
    The following parameters are returned:

    • Message type: S Success, E Error, W Warning, I Info, A Abort

    • Messages, message class

    • Messages, message number

    • Message text

    • Messages, message variable

    • Parameter name

    • Row in parameter

    • Field in parameter

    • System (logical system) where the message originated
    • Description
      Characterizes the valuation views:

      • Legal valuation

      • Group valuation

      • Profit center valuation
      • Description
        Selection conditions for the company code (ABAP ranges table).

        Description
        Selection conditions for the costing variant (ABAP ranges table).

        Description
        Selection conditions for the costing version (ABAP ranges table).

        Description
        Selection conditions for the posting period (ABAP ranges table).

        Description
        Selection conditions for the fiscal year (ABAP ranges table).

        Description
        Organizational measures performed in accordance with the selectionconditions.