bw_create_rkf
Create a reusable Restricted Key Figure (RKF) on an InfoProvider by restricting a base key figure with characteristic restrictions. Validates values and writes consistently in one step.
Instructions
Create one reusable Restricted Key Figure (RKF, TLOGO ELEM) on an InfoProvider. Built for mass creation: one RKF per call — the agent loops. The RKF is created from a base key figure plus one or more characteristic restrictions; each restriction value is validated against the InfoProvider and mapped to its internal key before the write. The RKF is written consistent (no separate activation step). All names must be technical names (e.g. "PROVIDER_NAME", "RKF_NAME", "KYF_NAME", "IOBJ_NAME").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | No | Development package. Defaults to the local package (e.g. "$TMP"). | |
| info_area | No | Optional InfoArea (technical name). When omitted, no InfoArea is set. | |
| description | Yes | RKF description text. | |
| restrictions | Yes | Characteristic restrictions applied to the base key figure. At least one is required. | |
| provider_name | Yes | Technical name of the InfoProvider the RKF is built on (e.g. "PROVIDER_NAME"). | |
| technical_name | Yes | Technical name of the RKF to create (e.g. "RKF_NAME"). Convention is typically PROVIDER_SUFFIX, but the name is free. | |
| base_key_figure | Yes | Technical name of the base key figure to restrict (e.g. an amount key figure "KYF_NAME"). | |
| transport_request | No | Transport request number (e.g. DEVK900123). Only needed when package is transportable; omit for the local package. |