CALL TRANSFORMATION id
OPTIONS value_handling = 'accept_data_loss'
SOURCE XML mi_xml_doc
RESULT (lt_rtab).
[x] SELECTION-TABLE
SUBMIT (lv_report) WITH SELECTION-TABLE lt_params AND RETURN.
[x] LET
COND string(
LET current_count = initial_bottles_count - i
new_count = current_count - 1
IN
WHEN current_count = 1 THEN |{ current_count } bottle of beer on the wall, { current_count } bottle of beer.|
WHEN new_count <= 0 THEN |No more bottles of beer on the wall, no more bottles of beer.|
ELSE |{ current_count } bottles of beer on the wall, { current_count } bottles of beer.|
)
[x] LISTBOX VISIBLE
[x] ENHANCEMENT, ENDENHANCEMENT
[x] STABLE
[x] DECIMALS
[x] BY DATABASE GRAPH WORKSPACE, LANGUAGE SQL,
[x] LANGUAGE GRAPH, USING
[x] DDL, CDS SESSION CLIENT REQUIRED
[x] AMDP, CDS SESSION CLIENT CURRENT
[x] RESULT
[x] SELECTION-TABLE
[x] LET