bw-modeling-mcp

v2.1.1
bw-modeling-mcp Checked 2 hours ago Published 4 days ago

MCP server for agentic AI-assisted development in SAP BW/4HANA

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

bw_read Read a BW object

Read the definition of one BW object. type selects the object type, name is its technical name. The type enum lists every operation with what it requires; bw_describe(tool: "bw_read", type: "…") gives the complete parameter definition of one.

ParameterTypeDescription
name *stringTechnical name of the object (for a DataSource together with source_system).
type *stringObject type — one of: adso: Read an aDSO (Advanced DataStore Object) structure — fields, settings, version. | iobj: Read an InfoObject definition (must already exist in the system). | area: Read a…
formatstringDefined per operation — bw_describe(tool: "bw_read", type: "…") gives each definition. [15 of 27 operations]
hierarchy_namestringHierarchy to read. [hierarchy]
include_contentbooleanReturn the file as base64 (default false). [afo_workbook]
include_variant_detailsbooleanIf true (default), fetches variant configuration detail for each step automatically and includes it inline. [rspc]
kindstringcurrency or unit; omit to try both. [conversion_type]
nodestringView node to show the fields and inputs of (e.g. "J1"); defaults to the default node. [hcpr]
overwritebooleanReplace an existing file at save_path (default false). [afo_workbook]
process_typestringProcess type technical name from the chain step (e.g. "ABAP", "DTP_LOAD", "ADSOACT", "ADSOREM", "PLSWITCHL",… [process_variant]
save_pathstringLocal file or directory to save the workbook to. [afo_workbook]
source_systemstringLogical source system name (e.g. "LSYS_NAME"). [rsds]
versionstringA = active (default where it exists), M = revised version. [hierarchy]

bw_find Find BW objects and relations

Find BW objects and their relations: search by name, cross references, folder contents, data flows, source systems and DataSources, roles and their queries, metadata tables, system profile. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_find", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: search: Universal search for BW objects by name or description. Requires search_term. | xref: Find where-used / dependencies for a BW object. Requires object_type, object_name. |…
apco_path_filterstringOptional APCO hierarchy filter. [datasources]
changed_fromstringOnly workbooks last changed on or after this date or timestamp (ISO, UTC). [afo_workbooks]
changed_tostringOnly workbooks last changed on or before this date or timestamp (ISO, UTC). [afo_workbooks]
directionstringDirection to traverse: "upwards" (towards BW target objects: ADSO, TRFN, TRCS, IOBJ), "downwards" (towards so… [dataflow]
formatstringDefined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [dataflow, datasources]
levelsnumberNumber of levels to expand in each direction. [dataflow]
max_resultsnumberHow many workbooks to show (default 100, at most 1000); the total is always reported. [afo_workbooks]
namestringWorkbook technical name or pattern with * (e.g. "WORKBOOK_*"). [afo_workbooks]
object_namestringDefined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [4 of 13 operations]
object_typestringDefined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [5 of 13 operations]
pathstringRepository path to list. [contents]
result_sizenumberMaximum number of rows to return (default 200). [remote_entities]
rolestringOnly workbooks placed in the menu of a matching role: the role name, or a pattern with *, matched in full, or… [afo_workbooks]
role_filterstringOptional prefix to filter results. [roles]
role_namestringOptional. [role_queries]
search_patternstringWildcard pattern filtering on technicalName (default "*" for all). [remote_entities]
search_termstringSearch string. [search]
source_systemstringDefined per operation — bw_describe(tool: "bw_find", operation: "…") gives each definition. [4 of 13 operations]
source_system_typestringOptional source system type filter. [source_systems]
used_objectstringOnly workbooks that use this object: a query name, planning function, planning sequence, aggregation level or… [afo_workbooks]
userstringOnly workbooks last changed by this user. [afo_workbooks]

bw_monitor Monitor loads and process chains

Monitor loads and runs: requests, process chain runs and their steps, remodeling requests, query statistics. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_monitor", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: requests: List the recent load requests of an InfoProvider from the runtime request monitor, with decoded request status, record counts and timestamps. Requires target. | request…
chain_idstringProcess chain technical name (e.g. "CHAIN_NAME"). [chain_run_detail]
chain_namestringOptional process chain technical name to restrict to runs of a single chain (e.g. "CHAIN_NAME"). [chain_runs]
created_fromstringOptional server-side lower time bound, ISO 8601 with milliseconds and Z (24 chars, e.g. "YYYY-MM-DDTHH:MM:SS.… [requests]
date_fromstringOptional lower bound for run start date (ISO format, e.g. "YYYY-MM-DD" or "YYYY-MM-DDTHH:MM:SS"). [chain_runs]
date_tostringOptional upper bound for run start date (ISO format). [chain_runs]
formatstringDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [request, remodeling_request]
fromstringStart of the window, ISO date or timestamp (UTC unless an offset is given). [query_statistics]
hoursnumberWindow length when from is not given (default 24). [query_statistics]
include_logbooleanInclude the application log messages (default true). [remodeling_request]
include_warningsbooleanAlso show long text, variables and program location for warnings, not only for errors (default false). [chain_run_detail]
info_providerstringDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [remodeling_requests, remodeling_request]
last_start_fromstringOptional lower bound for last run start date (ISO format, e.g. "YYYY-MM-DD"). [chain_last_status]
last_start_tostringOptional upper bound for last run start date (ISO format). [chain_last_status]
limitnumberDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [chain_runs, chain_last_status]
log_idstringRun log ID from bw_list_process_chain_runs or bw_list_process_chain_last_status (logId field). [chain_run_detail]
providerstringInfoProvider queried directly, as bw_query_data with is_provider does (e.g. "PROVIDER_NAME"). [query_statistics]
query_namestringQuery whose executions to read (e.g. "QUERY_NAME"). [query_statistics]
remodeling_rulestringRemodeling rule ID, from bw_list_remodeling_requests output. [remodeling_request]
request_numberstringOptional request GUID from bw_list_remodeling_requests output. [remodeling_request]
request_tsnstringInternal request TSN from bw_list_requests output. [request]
slowestnumberHow many of the slowest executions to break down (default 3, at most 10, 0 for none). [query_statistics]
statusstringDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [4 of 8 operations]
step_uidstringOne navigation step, as shown in an earlier answer. [query_statistics]
storagestringDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [requests, request]
targetstringTarget InfoProvider technical name (e.g. "OBJECT_NAME"). [requests]
target_typestringTarget object type (default "ADSO"). [requests]
tostringEnd of the window (default now). [query_statistics]
topnumberDefined per operation — bw_describe(tool: "bw_monitor", operation: "…") gives each definition. [requests, remodeling_requests]

bw_query_data Run a query or read a provider

Run a query or read a provider and return its data. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_query_data", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: run: Execute a BW query or preview data from a provider (CompositeProvider, aDSO, etc.) via the BICS reporting endpoint. Requires comp_id.
comp_idstringBEx Query name or InfoProvider name (ADSO, HCPR, etc.) to query.
drill_operationsarrayOptional. Full definition: bw_describe(tool: "bw_query_data", operation: "run").
formatstring"text" (default): structured human-readable output. "raw": raw XML response body.
from_rownumberStart row for pagination (default 0).
is_providerbooleanSet to true when comp_id is an InfoProvider name (CompositeProvider, aDSO, etc.) rather than a BEx Query name. Adds the required "!" prefix to the compid URL parameter.
stateobjectAxis layout and optional per-characteristic filters. Full definition: bw_describe(tool: "bw_query_data", operation: "run").
to_rownumberEnd row for pagination (default 1000). The text answer says whether more rows follow and from which from_row to continue.
variablesarrayVariable values to fill. Full definition: bw_describe(tool: "bw_query_data", operation: "run").
with_statisticsbooleanAppend the timing of the call and the BW statistics of its navigation step: BW runtime by layer (OLAP, cache, authorizations, database, transfer), top events,… Full definition: bw…

bw_data Read and write provider data

Work with data rather than definitions: filter values, DataSource preview, push into a write-interface aDSO, selective deletion, save an Analysis for Office workbook. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_data", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: filter_values: Look up valid characteristic values for use in query filters or variable inputs. Requires characteristic_name, search_string. | preview_datasource: Fetch a live da…
adso_namestringDefined per operation — bw_describe(tool: "bw_data", operation: "…") gives each definition. [push, delete_selective]
characteristic_namestringInfoObject technical name to get values for (e.g. "IOBJ_NAME"). [filter_values]
conditionsarrayAt least one condition. [delete_selective]
content_base64stringThe workbook as base64, instead of file_path. [save_afo_workbook]
datasource_namestringDataSource name (e.g. "DS_NAME"). [preview_datasource]
descriptionstringWorkbook text, at most 60 characters. [save_afo_workbook]
file_pathstringLocal .xlsx/.xlsm file to save. [save_afo_workbook]
folderstringFolder path inside the role menu, separated by "/" (e.g. "Planning/Prices"); default the top level. [save_afo_workbook]
force_deletionbooleanForce the deletion where BW otherwise refuses it (default false). [delete_selective]
info_providerstringOptional. [filter_values]
job_namestringName of the background job (default: BW-generated). [delete_selective]
max_rowsnumberMaximum number of values to return (default 201). [filter_values]
modestringPush mode. [push]
namestringTechnical name to save under (e.g. "WORKBOOK_NAME"). [save_afo_workbook]
overwritebooleanReplace an existing workbook of the same name (default false). [save_afo_workbook]
propagate_deletionbooleanThe cockpit option "Propagate deletion" (default false). [delete_selective]
recordsnumberDefined per operation — bw_describe(tool: "bw_data", operation: "…") gives each definition. [preview_datasource, push]
rolestringRole whose menu the workbook is added to (e.g. "ROLE_NAME"). [save_afo_workbook]
search_stringstringWildcard search pattern. [filter_values]
simulatebooleanOnly count the matching records, delete nothing (default true). [delete_selective]
source_systemstringLogical source system name (e.g. "LSYS_NAME"). [preview_datasource]

bw_activate Check and activate objects

Activate an object with the lock handle a write returned, check it without activating, release a lock, or activate a process chain. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_activate", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: activate: Activate one BW object (aDSO, Transformation, DTP, InfoObject, InfoSource, DataSource, CompositeProvider, or Aggregation Level). Requires object_type, object_name, lock…
lock_handlestringLock handle from bw_update_adso or bw_update_transformation. [activate]
namestringProcess chain technical name (e.g. "CHAIN_NAME"). [activate_process_chain]
object_namestringDefined per operation — bw_describe(tool: "bw_activate", operation: "…") gives each definition. [activate, check, unlock]
object_typestringDefined per operation — bw_describe(tool: "bw_activate", operation: "…") gives each definition. [activate, check, unlock]
source_systemstringSource system name. Required when object_type is "rsds" (e.g. "LSYS_NAME"). [activate, check]
transportstringTransport request number. [activate]

bw_delete Delete objects

Delete a BW object permanently. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_delete", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: delete: Delete a BW object permanently (aDSO, InfoObject, Transformation, DTP, Query, etc.). Requires object_type, object_name.
object_namestringTechnical object name (e.g. "OBJECT_NAME").
object_typestringBW object type: adso, iobj, trfn, dtpa, query (alias elem), etc.

bw_run Run loads and processes

Execute: run a DTP, start a process chain or repeat a failed step, activate or delete a request, run a remodeling request. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_run", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: dtp: Start (execute) a run of an existing, active DTP. Requires dtp_name. | process_chain: Start a process chain once, now, as the BW/4HANA Cockpit does with "Execute" (asynchron…
actionstringAction to perform (default "execute"). [remodeling]
all_requestsbooleanDelete every request of target in one run (default false): roll back the activations, then delete what is lef… [delete_request]
chain_idstringProcess chain technical name (e.g. "CHAIN_NAME"). [restart_chain_step]
dtp_namestringTechnical name of the DTP to run (e.g. "DTP_..."). [dtp]
info_providerstringInfoProvider technical name the rule belongs to. [remodeling]
log_idstringLog ID of the run, from bw_list_process_chain_runs or bw_list_process_chain_last_status. [restart_chain_step]
namestringProcess chain technical name (e.g. "CHAIN_NAME"). [process_chain]
process_idstringStep number as bw_get_process_chain_run_detail shows it (e.g. "8-1"). [restart_chain_step]
remodeling_rulestringRemodeling rule ID, from bw_list_remodeling_requests output. [remodeling]
request_numberstringOptional request GUID from bw_list_remodeling_requests output. [remodeling]
request_tsnstringDefined per operation — bw_describe(tool: "bw_run", operation: "…") gives each definition. [activate_request, delete_request]
startstringStart time for "execute" and "restart": "immediate" (default) or an ISO 8601 timestamp to schedule the backgr… [remodeling]
storagestringDefined per operation — bw_describe(tool: "bw_run", operation: "…") gives each definition. [activate_request, delete_request]
targetstringTarget InfoProvider technical name (e.g. "OBJECT_NAME"). [delete_request]
target_typestringTarget object type (default "ADSO"). [delete_request]
wait_secondsnumberWait up to this many seconds for the run to end before answering (0 = answer right after the start, the defau… [process_chain]

bw_write_adso Create and change aDSOs

Create or change an aDSO: structure, keys, settings, planning mode. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_adso", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: create: Create a new aDSO shell. Requires adso_name, label, info_area. | update: Add/remove fields, change aDSO type/settings, manage key fields, or update individual field prope…
actionstringDefined per operation — bw_describe(tool: "bw_write_adso", operation: "…") gives each definition. [create, update]
adso_namestringDefined per operation — bw_describe(tool: "bw_write_adso", operation: "…") gives each definition.
adso_typestringaDSO type preset for action "empty" (default "standard"). [create]
change_fieldsarrayFor update_structure: changes to fields that are not based on an InfoObject. [update]
criteriaarrayFor update_structure: the complete list of criteria — per field the value or range of values the aDSO holds,… [update]
dimensionstringField group ("Feldgruppe") to place the field in, given as the bare group name — e.g. "__KEYFIGURES" for the… [update]
field_groupsobjectFor update_structure: changes to the field groups. [update]
field_namestringField name to modify (only for action "update_field_properties"), e.g. "FIELD_NAME" or "AMOUNT_P". [update]
fieldsarrayPure field definitions for action "add_pure_field". [update]
hash_fieldsarrayFor update_structure: the complete list of hash partitioning fields of an aDSO without a key (a data mart, or… [update]
indexesarrayFor update_structure: the complete list of secondary indexes on the table of active data, up to 16; [] remove… [update]
info_areastringInfoArea to create the aDSO in (e.g. "AREA_NAME"). [create]
infoobject_namestringInfoObject name or comma-separated list to add or remove (e.g. "IOBJ_NAME" or "IOBJ_A,IOBJ_B"). [update]
initialize_fieldsarrayFor update_structure: how fields that are new since the last activation are filled from the data that exists. [update]
key_fieldsarrayList of field names that should be key fields (only for action "manage_keys"). [update]
labelstringDescription / label for the new aDSO. [create]
modestring"planning" for interactive planning, "loading" for staging/loading. [set_planning_mode]
packagestringDevelopment package (default "$TMP"). [create]
partitioningobjectPartitioning to write (only for action "manage_partitions"). [update]
propertiesobjectField properties to update (only for action "update_field_properties"). [update]
settingsobjectSettings to apply (only for action "update_settings"). [update]
source_systemstringSource system name of the DataSource. [create]
template_namestringTemplate object to propose fields from (action "from_template" only). [create]
template_typestringType of the template object for action "from_template": "ADSO" (default) to copy from an existing aDSO, or "R… [create]
transportstringTransport request number (e.g. DEVK900123). [update]
write_interfacebooleanEnable write interface (pushMode="true"). [create]

bw_write_infoobject Create and change InfoObjects

Create or change an InfoObject and its hierarchies. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_infoobject", operation: "…") gives the complete parameter definition of one.

bw_write_infosource Create and change InfoSources

Create or change an InfoSource. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_infosource", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: create: Create a new InfoSource (TRCS) shell. Requires name, description, info_area. | update: Change an InfoSource: description, the aggregation and DataStore-like switches, fie…
aggregationbooleanSwitch "Aggregation" of the InfoSource: records with the same key are aggregated. [update]
change_fieldsarrayChanges to existing fields, one entry per field. Full definition: bw_describe(tool: "bw_write_infosource", operation: "update"). [update]
copy_from_object_namestringTechnical name of the source object to copy fields from. Required when copy_from_object_type is set. [create]
copy_from_object_sub_typestringSubType for IOBJ only: ATTR (Attribute), TEXT (Text), HIER (Hierarchy). [create]
copy_from_object_typestringType of the source object: ADSO (aDSO), HCPR (CompositeProvider), RSDS (DataSource), IOBJ (InfoObject), TRCS (another InfoSource). [create]
copy_from_source_systemstringSource system name (required when copy_from_object_type is RSDS, e.g. "PC_FILE"). [create]
datastore_likebooleanSwitch that makes the InfoSource behave like a DataStore object. Turning it on adds the record mode field if it is missing; that field cannot be removed while the switch is on. [update]
descriptionstringDefined per operation — bw_describe(tool: "bw_write_infosource", operation: "…") gives each definition.
field_orderarrayField names in the order they are to come first; fields not named follow in their present order. [update]
fieldsarrayFields to add at the end of the field list. Full definition: bw_describe(tool: "bw_write_infosource", operation: "update"). [update]
info_areastringInfoArea to create the InfoSource in (e.g. "AREA_NAME"). [create]
key_fieldsarrayThe complete key in key order; an empty list removes the key. [update]
namestringInfoSource name (e.g. "INFOSOURCE_NAME").
packagestringDevelopment package (default "$TMP"). [create]
remove_fieldsarrayField names to remove from the InfoSource (e.g. FIELD_NAME). Other existing fields are preserved. [update]
transportstringTransport request number (e.g. DEVK900123). Only required if the BW system requires transport assignment. [update]

bw_write_composite_provider Create and change CompositeProviders

Create or change a CompositeProvider. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_composite_provider", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: create: Create a CompositeProvider (HCPR). Requires composite_provider_name, label, info_area. | update: Change a CompositeProvider (HCPR): its fields, its source providers, thei…
actionstringDefaults to "add_field". [update]
aggregation_behaviourstringupdate_settings. [update]
cardinalitystringupdate_join: defaults to "CN_N". [update]
composite_provider_namestringDefined per operation — bw_describe(tool: "bw_write_composite_provider", operation: "…") gives each definition.
copy_fromstringCopy the structure of this existing CompositeProvider. view_type, inputs and stackable are then irrelevant — they come from the template. [create]
default_nodestringupdate_settings: path reference to the default view node (e.g. "#///U1"). [update]
dimensionstringField group name (e.g. "GROUP_NAME"). add_field / add_input / update_mapping: group for the fields the call creates, defaults to CHARACTERISTICS or KEYFIGURES. [update]
enabledbooleanupdate_navigation_attributes: true (default) switches the attributes on, false switches them off. [update]
field_descriptionstringupdate_fields: the description of the listed fields in this CompositeProvider. [update]
filter_expressionstringupdate_filter: the SQL condition every record of the view node has to meet, written over the fields of the CompositeProvider in double quotes (e.g. "FIELD_NAME" = 'VALUE'); an emp… [update]
info_areastringInfoArea to create it in (e.g. "AREA_NAME"). [create]
info_object_namestringadd_field / remove_field / update_fields: field name or comma-separated list (e.g. "IOBJ_NAME" or "IOBJ_A,IOBJ_B"). [update]
input_aliasstringremove_input / replace_input / update_mapping: alias of the input (e.g. "U1.ADSO.1"). [update]
inputsarraySource InfoProviders to attach right away. Required in practice for a Join node. [create]
join_typestringupdate_join: "inner" (default), "leftOuter", etc. — lowercase first letter. [update]
key_date_fieldstringupdate_temporal_join, with input_alias: the date field of that input the time-dependent inputs are read for; an empty text removes it. [update]
key_pairsarrayupdate_join: the join key field pairs, named as they appear on each side's own source. Full definition: bw_describe(tool: "bw_write_composite_provider", operation: "update"). [update]
labelstringDefined per operation — bw_describe(tool: "bw_write_composite_provider", operation: "…") gives each definition.
left_aliasstringupdate_join / remove_join: alias of the left input. [update]
mappingsarrayadd_input / update_mapping. Full definition: bw_describe(tool: "bw_write_composite_provider", operation: "update"). [update]
name_usagestringHow an InfoObject-bound field is exposed. Full definition: bw_describe(tool: "bw_write_composite_provider", operation: "update"). [update]
navigation_attributesarrayupdate_navigation_attributes: attributes to switch, by attribute name ("ATTR_NAME") or as "<FIELD_IOBJ>__<ATTR_NAME>". [update]
new_dimension_namestringupdate_group: rename the group to this name; its fields move along. [update]
new_field_namestringupdate_fields: a new name for the one field named in info_object_name. Its mappings and the references of other fields follow. [update]
nodestringName of the view node the action works on (e.g. "J1"), for a CompositeProvider with more than one; defaults to the default node. remove_node: the node to remove. [update]
node_typestringinsert_node: kind of the new view node. [update]
packagestringDevelopment package (default "$TMP"). [create]
provider_namestringadd_input / replace_input: technical name of the source InfoProvider to attach, or a SAP HANA view as "<package>::<view>". [update]
provider_typestringadd_input / replace_input: TLOGO-style suffix used in the generated alias (e.g. "ADSO"). Defaults to "ADSO". [update]
right_aliasstringupdate_join / remove_join: alias of the right input. [update]
source_providersstringadd_field only. Comma-separated part provider names or aliases (e.g. "PROVIDER_NAME" or "U1.ADSO.1") to restrict which inputs get a mapping. [update]
stackablebooleanDefined per operation — bw_describe(tool: "bw_write_composite_provider", operation: "…") gives each definition.
temporal_joinbooleanupdate_temporal_join: true (default) writes the temporal join, false switches it off. [update]
time_dependent_fieldsbooleanupdate_temporal_join, with input_alias of a characteristic that has time-dependent attributes: true (default) joins over its validity, false reads its attributes as of a key date. [update]
transportstringOptional transport request (e.g. DEVK900123). Omit for local objects. [update]
valid_from_fieldstringupdate_temporal_join, with input_alias of an aDSO: the date field a record is valid from (e.g. "FIELD_NAME"). Goes with valid_to_field; both empty remove the interval. [update]
valid_to_fieldstringupdate_temporal_join, with input_alias of an aDSO: the date field a record is valid to. [update]
view_typestringView node type. Defaults to "Join". [create]

bw_write_transformation Create and change transformations

Create a transformation, change the rule of a field, and set or remove its routines and runtime. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_transformation", operation: "…") gives the complete parameter definition of one.

bw_write_dtp Create and change DTPs

Create or change a DTP, including its filters and a filter routine. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_dtp", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: create: Create a new DTP (Data Transfer Process) for an existing Transformation and activate it. Requires source_name, source_type, target_name, target_type. | update: Update DTP…
batch_classstringBatch manager: job priority (class A, B or C). [update]
delta_init_without_databooleanRequest selection, delta only: perform the delta initialization without data transfer (INITSIMU). [update]
descriptionstringDefined per operation — bw_describe(tool: "bw_write_dtp", operation: "…") gives each definition. [create, update]
dtp_namestringDefined per operation — bw_describe(tool: "bw_write_dtp", operation: "…") gives each definition. [update, set_filter_routine]
extract_all_green_requestsbooleanRequest selection: extract all green requests (ignore the overall status). [update]
extraction_modestringSwitch the DTP extraction mode. [update]
field_namestringFilter field name as it appears in the DTP XML fields element. [set_filter_routine]
filter_clear_fieldsstringComma-separated list of field names whose value selections are removed. [update]
filter_excludingbooleanIf true, all values of filter_value are excluded instead of included. Default false. Applies to filter_value only; filter_selections carries a sign per entry. [create, update]
filter_fieldstringFilter field to set. Use the exact field name from bw_get_dtp; a name that does not exist is rejected. Requires filter_value or filter_selections. [create, update]
filter_selectionsarrayFull selection vocabulary for one filter field, equivalent to an ABAP RANGE table. Full definition: bw_describe(tool: "bw_write_dtp", operation: "create"). [create, update]
filter_valuestringOne or more values for an Equal selection, comma-separated (e.g. "VAL1,VAL2,VAL3"). Full definition: bw_describe(tool: "bw_write_dtp", operation: "create"). [create, update]
get_all_new_data_request_by_requestbooleanRequest selection, delta only: get all new data request by request (SINGLEREQUEST). [update]
global_codestringOptional global declarations for the routine. [set_filter_routine]
hana_executionbooleanRuntime: execute the DTP in SAP HANA. [update]
level_of_detailstringRuntime: level of detail of the temporary storage (trace by package, erroneous records, or by record). [update]
number_of_errors_per_packagenumberError handling: maximum number of errors per package before the request is cancelled. [update]
only_get_delta_oncebooleanRequest selection, delta only: only get the delta once (DELTAONLYONCE). [update]
only_retrieve_last_requestbooleanRequest selection: only retrieve the last request (ONLYLASTREQUEST). [update]
overall_request_statusstringExecution: how the overall request status is set. [update]
packagestringDevelopment package (default "$TMP"). [create]
package_sizenumberExtraction: package size in records (at least 1). [update]
parallel_extractionbooleanExtraction: extract data packages in parallel. [update]
parallel_processesnumberBatch manager: number of parallel processes (1..99). [update]
repeat_red_requests_in_process_chainbooleanExecution: automatically repeat red requests when the DTP runs in a process chain. [update]
request_handlingstringError handling: what happens to a request with errors. [update]
retrieve_until_no_more_new_databooleanRequest selection: retrieve until no more new data (FETCHUNTILEOF). [update]
routine_codestringABAP routine code (plain text, without FORM/ENDFORM wrapper). [set_filter_routine]
semantic_group_fieldsstringComma-separated list of field names that form the semantic group (e.g. "FIELD_NAME,/BIC/FIELD_NAME"). [update]
server_namestringBatch manager: the server group or host name for server_type "group" or "host"; an empty string clears it. [update]
server_typestringBatch manager: where the parallel jobs run; with "group" or "host", pass server_name. [update]
source_namestringSource object name (e.g. "SOURCE_NAME"). [create]
source_systemstringSource system name of the DataSource. [create]
source_typestringSource object type (e.g. "ADSO", "TRCS", "RSDS"). [create]
target_namestringTarget object name (e.g. "TARGET_NAME"). [create]
target_object_subtypestringInfoObject sub-object to load into. [create]
target_typestringTarget object type (e.g. "ADSO"). [create]
technical_request_statusstringExecution: technical status of a request with warnings. [update]
track_recordsbooleanError handling: track records after a failed request. [update]
transportstringTransport request number. [update]
transport_lock_holderstringTransport lock holder. [update]
trfn_namestringSingle transformation of a direct connection. [create]
trfn_name_2stringSecond transformation of a two-step path, together with trfn_name. [create]
trfn_namesarrayTechnical names (UUID-like keys) of every transformation on the path from source to target — one entry for a… [create]

bw_write_datasource Create and change DataSources

Create a DataSource, set its fields, change its delta process. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_datasource", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: create: Create a DataSource (RSDS) on top of a remote entity from the server's field proposal, leaving it inactive. Requires datasource_name, source_system, application_component…
application_componentstringApplication component (APCO) to file the DataSource under (e.g. "APCO_NAME"). [create]
datasource_namestringDefined per operation — bw_describe(tool: "bw_write_datasource", operation: "…") gives each definition.
delta_processstringTarget delta process code (e.g. "FIL0"), or empty string for no delta. [change_delta]
descriptionstringDataSource description (default: the hana_entity value). [create]
fieldsarrayFields to change and their target transfer flag. [set_fields]
hana_entitystringRemote entity technical name (technicalName from bw_list_remote_entities), bound as the adapter externalObjec… [create]
language_fieldstringSet to a field name (e.g. "FIELD_NAME") to designate the segment language field, set to "" to clear the desig… [set_fields]
source_systemstringDefined per operation — bw_describe(tool: "bw_write_datasource", operation: "…") gives each definition.
transportstringTransport request (e.g. DEVK900123). [set_fields]

bw_write_open_hub Create and change Open Hub Destinations

Create or change an Open Hub Destination. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_open_hub", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: create: Create an Open Hub Destination (TLOGO DEST) from a template object: the server copies the fields and key of the given aDSO, CompositeProvider or query and gene… Require…
connection_typestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
db_connection_namestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
descriptionstringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
destination_typestringTAB = database table, FILE = flat file. Default "TAB". [create]
directorystringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
dtp_external_programbooleanThe DTP into this destination is started by an external program. [update]
external_format_offarrayFields to switch back to internal format. [update]
external_format_onarrayFields to switch to external format; output type and length follow the modeling tools (CHAR with the display length, STRG for strings). [update]
fieldsarrayFields to add; existing fields are kept. Full definition: bw_describe(tool: "bw_write_open_hub", operation: "update"). [update]
file_namestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
file_on_app_serverbooleanDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
file_typestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
info_areastringInfoArea to create the destination in (e.g. "INFOAREA_NAME"). [create]
key_fieldsarrayTable only, without technical key. The complete semantic key in order, by field name as bw_get_open_hub lists it (including any $BIC$ prefix); an empty array clears the key. [update]
logical_file_namestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
open_hub_namestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
packagestringDevelopment package (default "$TMP"). [create]
remove_fieldsarrayField names to remove, including from the key. [update]
rename_fieldsobjectFields to rename, as an object of current field name to new field name. A new name has at most 16 characters, starts with a letter and consists of letters, digits and underscores. [update]
rfc_destinationstringRFC destination for the notification. [update]
send_notification_rfcbooleanNotify an RFC destination after a load; needs rfc_destination. [update]
separatorstringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
server_namestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
template_object_namestringTechnical name of the object whose fields and key are copied (an aDSO, a CompositeProvider or a query). [create]
template_object_typestringType of the template object. Full definition: bw_describe(tool: "bw_write_open_hub", operation: "create"). [create]
transportstringTransport request to record the change on. [update]
use_technical_keybooleanDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.
write_modestringDefined per operation — bw_describe(tool: "bw_write_open_hub", operation: "…") gives each definition.

bw_write_query Create and change queries

Create or change a query and its reusable components: layout, filter, key figures, characteristics, cells, exceptions, settings, restricted and calculated key figures, structures, variables, role assignments. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_query", operation: "…") gives the complete parameter definition of one.

bw_write_planning Create and change planning objects

Create or change planning objects: aggregation levels, planning functions, sequences, filters, conversion types. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_planning", operation: "…") gives the complete parameter definition of one.

bw_write_process_chain Create and change process chains

Create or change a process chain: steps, edges, DTP and program steps, error links, decision variants. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_write_process_chain", operation: "…") gives the complete parameter definition of one.

bw_manage Manage transports, locks and settings

Repository management: InfoAreas, moving objects, package and transport assignment, transport tasks. The operation enum lists every operation with what it requires; bw_describe(tool: "bw_manage", operation: "…") gives the complete parameter definition of one.

ParameterTypeDescription
operation *stringOperation — one of: create_infoarea: Create a new InfoArea. Requires name. | move_object: Move a BW object (aDSO, InfoObject, InfoArea, …) to a different InfoArea. Requires object_type, object_nam…
descriptionstringDescription text for the InfoArea. [create_infoarea]
include_objectsbooleanInclude the objects contained in each task (default false). [changeable_transports]
modifiable_onlybooleanOnly modifiable requests, i.e. status "D" (default true). [changeable_transports]
namestringInfoArea name, max 12 characters (e.g. "AREA_NAME"). [create_infoarea]
object_namestringDefined per operation — bw_describe(tool: "bw_manage", operation: "…") gives each definition. [move_object, change_package]
object_typestringDefined per operation — bw_describe(tool: "bw_manage", operation: "…") gives each definition. [move_object, change_package]
own_onlybooleanOnly the caller's own requests (default true). [changeable_transports]
packagestringDefined per operation — bw_describe(tool: "bw_manage", operation: "…") gives each definition. [create_infoarea, change_package]
parent_info_areastringParent InfoArea name. [create_infoarea]
positionstring"child" (default): into the target InfoArea. [move_object]
source_systemstringSource system — required only for object_type "RSDS" (a DataSource is identified by DataSource name plus sour… [change_package]
target_info_areastringTechnical name of the target InfoArea (e.g. "AREA_NAME"). [move_object]
transportstringTransport request number (e.g. DEVK900123). [change_package]
transport_requeststringParent workbench transport request number (e.g. DEVK900123). [create_transport_task]
userstringTarget user the task is created for (task owner), e.g. "USERNAME". [create_transport_task]

bw_describe Describe the tools and their operations

Describe the focused tools: without arguments the catalogue of every tool and its operations; with tool and the operation value (type for bw_read, operation otherwise) the complete parameter definition of that operation.

ParameterTypeDescription
operationstringFor every other tool: the operation.
toolstringA focused tool name, e.g. "bw_write_query".
typestringFor bw_read: the object type.