Fonction SAP BAPI_COSTESTIMATE_DELETE_MULTI - Delete Cost Estimates

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COSTINGCATEGORY1 BAPICOSTINGCATEGORY1 u 4 X Cost Categories 2
COSTINGCATEGORY2 BAPICOSTINGCATEGORY2 u 4 X Cost Categories 1
TESTRUN BAPIREORGANIZATION-TESTRUN C 1 SPACE X Execute Test Run

Paramètre Reférence Long. Facultatif Description
IN_COMP_CODE BAPICOMPANYCODE 11 X Ranges Table for Organizational Unit Company Code
IN_COSTINGRUN BAPICOSTINGRUN 19 X Costing Run
IN_COSTINGRUNDATE BAPICOSTINGRUN_DATE 19 X Costing Run Date
IN_COSTINGVARIANT BAPICSTGVA 11 X Ranges Table for Costing Variant
IN_COSTING_STATUS BAPICSTGST 7 X Ranges Table for Costing Status
IN_COSTING_VERSION BAPICOSTINGVERSION 7 X Ranges Table for Costing Version
IN_MATERIAL BAPIMATERIAL 39 X Ranges Table for Material
IN_PLANT BAPIPLANT 11 X Ranges Table for Organizational Unit Plant
IN_VALID_FROM BAPIVALIDI 19 X Ranges Table for "Valid from"
IN_VALUATIONTYPE BAPIVALUATIONTYPE 23 X Ranges Table for Valuation Types
OUT_LIST BAPIDELETEMULTI 141 X Structure for Output List Marking
RETURN BAPIRET2 548 X Return Parameters

&FUNCTIONALITY&
The method BAPI_COSTESTIMATE_DELETE_MULTI can be used to deletemultiple cost estimates in the system.

Further information
This function corresponds to transaction CKR1 Delete Test Data.
For more information, see transaction CKR1 under Help -> ApplicationHelp.
The test program SAPBAPITESTDELETING1 contains an examplescenario.

Description
For more information, see the documentation for the following dataelements:

  • Automatic Cost Estimates

  • Additive Cost Estimates

  • Cost Estimates with Quantity Structure

  • Cost Estimates Without Quantity Structure
  • Description
    For more information, see the documentation for the following dataelements:

    • Cost Estimates Not Marked or Released

    • Future Standard Cost Estimates

    • Profit Center Valuation

    • Previous Standard Cost Estimates

    • For more information, see Execute Test Run.

      Description
      Selection conditions for the company code (ABAP ranges table).

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

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

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

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

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

      Description
      Selection conditions for the material (ABAP ranges table).

      Description
      Selection conditions for the plant (ABAP ranges table).

      Description
      Selection conditions for the valid-from date (ABAP ranges table).

      Description
      Selection conditions for the valuation types (ABAP ranges table).

      Description
      List of deleted cost estimates.

      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