|
Reading WBS elements via cost center / Profit Center |
|
READ_ASSIGNED_PR
* as of ProCED-Version 3.0 (expanded in 3.3)
When calling ProCED with the object type KS, the data of the respective WBS elements can be called in as well. Optionally, the selection of the WBS-data can also be made via the Profit Center to which the cost center is assigned. (as of version 3.2 also with direct start via Profit Center PC).
For the selection of the relevant WBS elements, customer specific criteria (e.g., the processing status), in addition to the assignment to a Profit Center, can be important. In order to be flexible in this regard, a selection variant with the appropriate criteria can be saved for WBS elements. All criteria for the WBS element entered there are then taken into account in ProCED; only the cost center or Profit Center itself is replaced by the current value set when ProCED is called.
In the field Value from for the constant READ_ASSIGNED_PR, you can enter how the called object should be included when selecting an order. The following options are available (the corresponding fields of the master record table PRPS are shown in brackets):
• X = Default (treated like V for KS, like P for PC)
• P = Read via the Profit Center of the cost center (PRCTR)
Additional options when starting via a cost center KS:
• V = Responsible cost center (KOSTV)
• A = Requesting cost center (AKSTL)
• B = Actually posted cost center (CYCLE)
• P = Read via the Profit Center of the cost center (PRCTR)
In the field Value to, you must enter the name of a selection variant, with which the data are to be read (assigned via the transaction CJ8V). The entry of the constant is made without the usual period (.) at the beginning. Alternatively, or additionally, a WHERE condition can be entered (see note below).
Important: At the moment, only the fields of table PRPS are taken into account when interpreting the entered WBS selection variant.
|
Note: |
The constant must be saved in the settings for KS or PC. The assignment of the fields, on the other hand, is always read from the constants for PR object types. Do not simultaneously use the constants SORT_BY_KSTAR and MULTIPAGE_MODE! An equivalent function is also available for the reading of internal orders (see constant READ_ASSIGNED OR).
|
* new as of ProCED-Version 3.2
The selection of the posting combinations can also be taken into account by 1:n groups of Allevo (see the Allevo constant ONETON_PROCED).
* new as of ProCED-Version 3.3
In addition to or instead of a selection variant, any WHERE condition can be entered in Value to for selection (as appropriate ABAP-coding, i.e. AND WERKS = 1000). The first three characters must be AND in order to switch into this mode. If both are used (a selection variant and a selection condition), separate these with a comma.