SAP ABAP Data Element COO_RPRFN (CO obj. planning: FM name for reading resource prices)
Hierarchy
☛
BBPCRM (Software Component) BBPCRM
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ KPLA (Package) Cost Accounting, planning RK-S
⤷ CRM (Application Component) Customer Relationship Management
⤷ CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
⤷ KPLA (Package) Cost Accounting, planning RK-S
Basic Data
Data Element | COO_RPRFN |
Short Description | CO obj. planning: FM name for reading resource prices |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | FUNCNAME | |
Data Type | CHAR | Character String |
Length | 30 | |
Decimal Places | 0 | |
Output Length | 30 | |
Value Table | TFDIR |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 0 | |
Medium | 0 | |
Long | 0 | |
Heading | 0 |
Documentation
Definition
FUNCTION '<COO_RPRFN>'
IMPORTING
VALUE(I_KOKRS) LIKE TKA01-KOKRS
VALUE(I_RESRC) LIKE CCSS-RESRC
VALUE(I_KSTAR) LIKE CCSS-KSTAR
EXPORTING
VALUE(E_MESG) LIKE MESG STRUCTURE MESG
TABLES
T_PERIODS STRUCTURE PERIODS
CHANGING
VALUE(C_COSGA) LIKE COSGA STRUCTURE COSGA
- The function module parameter is optional. It only needs to entered if you want the application to support resource planning.
- You can freely define the function module name <COO_RPRFN>
- The function module must provide the appropriate resource prices for all periods.
- It has the following input parameters:
- Controlling area I_KOKRS
- Resource name I_RESRC
- Cost element I_KSTAR
- Object number C_COSGA-OBJNR
- Fiscal year C_COSGA-GJAHR
- Version C_COSGA-VERSN
- Origin C_COSGA-HRKFT
- Ledger number C_COSGA-LEDNR
- Period table T_PERIODS - The output parameters are:
- Currency key C_COSGA-WAERS
- Pices per period C_COSGA-PBG001 to 016
- Price units
per period C_COSGA-PBE001 to 016
- Optional: error message E_MESG
The prices per period refer to the number of price units in the specified currency.
(E.g.: 56 pieces cost $100 in period 1 -> WAERS = USD
PBG001 = 100
PBE001 = 56.
You can use any currency key, but it must be the same in all periods of the fiscal year. It must not correspond to the controlling area, object or transaction currency.
The prices and price units must only be recorded for the periods contained in the T_PERIODS table.
If no price can be determined, or another error occurs, a message must be recorded in E_MESG.
History
Last changed by/on | SAP | 19980325 |
SAP Release Created in |