Fonction SAP BAPI_CTR_GETACTIVITYQUANTITIES - Rad plan activity/capacity/scheduled activity for cost center/acty type

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACTTYPEFROM BAPI0012_6-ACTTYPE C 6 X Activity type
ACTTYPETO BAPI0012_6-ACTTYPE C 6 X To activity type
COAREA BAPI0012_6-CO_AREA C 4 Controlling area
COSTCENTERFROM BAPI0012_6-COSTCENTER C 10 X Cost center
COSTCENTERGRP BAPI0012_6-COST_CENTER_GRP C 15 X Cost center group
COSTCENTERTO BAPI0012_6-COSTCENTER C 10 X To cost center
FISCYEAR BAPI0012_6-FISC_YEAR N 4 Fiscal year
PERIODFROM BAPI0012_6-PERIOD N 3 X From Period
PERIODTO BAPI0012_6-PERIOD N 3 X To Period
VERSION BAPI0012_6-VERSION C 3 '000' X Version

Paramètre Reférence Long. Facultatif Description
ACTQUANTITIES BAPI0012_ACTQUANTITIES 63 Return table (activity quantities)
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN BAPIRET2 548 Return table (errors)

Functionality
This method returns the planned activities for the cost center /activity type combinations.
The system returns the following fields for the periods selected:

  • ACT_QUANTITY Planned activity

  • ACT_CAPACITY Capacity

  • ACT_SCEDULED_QTY Scheduled activity

  • ACT_UNIT Activity unit

  • ACT_UNIT_ISO Activity unit (ISO)

  • OUTPUT_UNIT Output unit

  • OUTPUT_UNIT_ISO Output unit (ISO)
  • Use
    You must enter the following parameters:

    • COAREA Controlling area

    • FISCYEAR Fiscal year

    • VERSION Version

    • PERIODFROM From period (To period is optional)

    • You can restrict the number of cost center/activity type combinationsthrough the optional entry of a cost center, a cost center interval ora cost center group or an activity type or an activity type interval.
      DEFINE &BELEG& = "an activity type"

      Definition
      INCLUDE 'STAMM' OBJECT DOKU ID TX LANGUAGE EN
      Activity types represent the activity produced by a cost center and aremeasured in units of time or measure (quantities).
      Within activity type planning you can set control data to specifywhether the price for activity type valuation is to be set manually orcalculated iteratively using price calculation.

      Definition
      Upper limit for an activity type interval

      Use
      When the ACTTYPETO is filled, the two activity type parameters definean interval. The system then selects all the activity types existingwithin this interval.

      Definition
      Key that uniquely identifies a controllingarea.
      The controlling area represents the highest organizational unit inControlling.

      Use
      For both a 1:1 as well as for a 1:n relationship between controllingarea and company code, the number of postingperiods of the controlling area and of the company code(s) must beidentical. A variance in the special periodsis allowed by the R/3 System.

      Definition
      Key uniquely identifying a cost center.

      Definition
      Organizational unit for the summarization of multiplecost centers.

      Use
      You can create any number of cost center groups independently of thestandard hierarchy.
      You can summarize the cost center groups into additional cost centergroups to create a cost center hierarchy.
      You can use a cost center group, for example, to create reports formultiple cost centers or to process multiple cost centers in onebusiness transaction.

      Definition
      Upper limit for a cost center interval.

      Use
      If the COSTCENTERTO field is filled, the two cost center parametersdefine an interval. The system then selects all the cost centersexisting within this interval.

      Definition
      INCLUDE 'FI_GJAHR' OBJECT DOKU ID TX

      Definition
      Period, for which the processing is to be executed.

      Definition
      Upper limit of the period interval if processing is to be executed formultiple periods.

      Definition
      Controlling-area-related summary of fiscal-year-dependent indicatorsfor plan data, such as:

      • Delta version

      • Lock version

      • Integrated planning

      • Copying allowed

      • Iterative prices

      • Average prices

      • Exchange rate type

      • Value date
      • Use
        Within a controlling area there exists precisely one actual- and planversion (version 0). The SAP system creates these automaticallywhen you set up the controlling area. For plan version 0 you only needto maintain the fiscal-year-dependent version data.
        As well as version 0, you can then create any number of additional planversions and plan using the planning transactions.
        You are not able to enter a version in the request screen for actualpostings. Postings are made automatically in version 0 by the system.
        You can use the prices of the activity types for version 0 to carry outactual allocation. This means that price planning within activity typeplanning should be either:

        • Executed only within version 0 or

        • You need to copy the alternative version on version 0 before the first
        • actual posting if these prices are later to be used for direct activityallocation.
          To carry out planning you must maintain the followingfiscal-year-dependent parameters:
          Fiscal-Year-Dependent Parameters
          IF &DEVICE& = "PRINTER"
          INCLUDE "SIMG_XXCONCKP93PVPAR" OBJECT DSYS ID CHAP
          ENDIF
          In Activity-Based Costing you also have the option of working with adelta version. To do this you must specify a valid version to which youwant to make reference to. As soon as you specify a reference version,the system indicates the current version as the delta version. When youuse a delta version, you must specify the business transactions to beadded to the delta version in "User-defined business transactions for adelta version".

          Description
          Return table with the planned activities for the cost center/activitytype combinations
          The following fields are returned

          • COSTCENTER Cost center

          • ACTTYPE Activity type

          • PERIOD Period

          • ACT_QUANTITY Planned activity

          • ACT_CAPACITY Capacity

          • ACT_SCEDULED_QTY Scheduled activity

          • ACT_UNIT Activity unit

          • ACT_UNIT_ISO Activity unit (ISO)

          • OUTPUT_UNIT Output unit

          • OUTPUT_UNIT_ISO Output unit (ISO)

          • INCLUDE ACC_NO_BAPI_EXTENSION OBJECT DOKU ID TX
            INCLUDE ACC_NO_BAPI_EXTENSION OBJECT DOKU ID TX

            Definition
            Return table containing any errors messages that may have occurred.