Fonction SAP BAPI_COSTESTIMATE_DELETE - Delete Cost Estimate

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COSTESTIM_ID BAPICOSTRE u 29 Reference Object
TESTRUN BAPIREORGANIZATION-TESTRUN C 1 SPACE X Execute Test Run

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

Functionality
With the method BAPI_COSTESTIMATE_DELETE you can delete a costestimate based on the costing key.
The costing key is determined by the following parameters inCOSTESTIM_ID:

  • REFERENCEOBJECT (reference object)

  • COSTINGNUMBER (costing number)

  • COSTINGTYPE (costing type)

  • COSTINGDATE (costing date)

  • COSTINGVERSION (costing version)

  • VALUATIONVARIANT (valuation variant)

  • ENTEREDMANUALLY (additive cost estimate)

  • This information uniquely identifies the cost estimate to be deleted.

    Further information
    This function corresponds to the functionality of transaction CKR1Delete Test Data for exactly one cost estimate.
    For more information, see transaction CKR1 under Help ->Application Help.
    The test program SAPBAPITESTDELETING2 contains 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
      Object key of the cost estimate.
      For more information, see Execute Test Run.