Semantic Page using Draft Indicator
This sample demonstrates the use of a DraftIndicator in the footer area.
Z2UI5_CL_SMPC_APP_166
Controls
sap.f
UI5 1.71
The facts
- Repository
- abap2UI5/samples-controls
- Class
Z2UI5_CL_SMPC_APP_166- Source file
z2ui5_cl_smpc_app_166.clas.abap↗- Library
- sap.f
- UI5 entity
sap.f.semantic.SemanticPage- Demo kit sample
sap.f.sample.SemanticPage- SAP's own sample
- running at sdk.openui5.org ↗
- Minimum UI5
- 1.71 — the floor abap2UI5 holds its samples to
- In the playground
- runs in the browser, with no system and nothing installed
Keywords: semanticpage, semantic, sap.f.semantic, title, text, horizontallayout, verticallayout, objectattribute, objectstatus, messagemanager, table, column
Controls it builds
- sap.f.semantic.DiscussInJamAction
- sap.f.semantic.FooterMainAction
- sap.f.semantic.MessagesIndicator
- sap.f.semantic.SemanticPage
- sap.f.semantic.SendEmailAction
- sap.f.semantic.SendMessageAction
- sap.f.semantic.TitleMainAction
- sap.m.Button
- sap.m.Column
- sap.m.ColumnListItem
- sap.m.DraftIndicator
- sap.m.MessageItem
- sap.m.MessagePopover
- sap.m.ObjectAttribute
- sap.m.ObjectIdentifier
- sap.m.ObjectStatus
- sap.m.Table
- sap.m.Text
- sap.m.Title
- sap.ui.core.mvc.View
- sap.ui.layout.HorizontalLayout
- sap.ui.layout.VerticalLayout
- z2ui5.cc.MessageManager
Read out of the builder chain by the abap2UI5 linter, not from the category this sample is filed under — which is what makes “which samples build one of these” a question the catalogue can answer at all.
Libraries
Run it here
The sample running, in this page — the app on its own, with no editor over it.
Switch to Playground with this code
Nothing is installed and nothing is sent anywhere: the ABAP is compiled to JavaScript in this browser and runs against abap2UI5 itself.
The ABAP
z2ui5_cl_smpc_app_166.clas.abap — 439 lines
Click a number to link to a line — shift-click for a range.
Read it on GitHub ↗
" @keywords semanticpage semantic sap.f.semantic title text horizontallayout verticallayout objectattribute objectstatus messagemanager table column
" @summary This sample demonstrates the use of a DraftIndicator in the footer area.
CLASS z2ui5_cl_smpc_app_166 DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_prod,
name TYPE string,
productid TYPE string,
category TYPE string,
suppliername TYPE string,
END OF ty_prod.
DATA productcollection TYPE STANDARD TABLE OF ty_prod WITH EMPTY KEY.
" The original splits header/object data into nested paths on one JSON model
" (objectDescription/*, titleSnappedContent/text ...). abap2UI5 keeps one
" default model; the nested paths are folded to flat fields (last segment
" identical, which structural-diff matches) so render-smoke mocks them by
" type. Both snapped/expanded subheadings carry the same text in the mock.
DATA title TYPE string VALUE `Products List`.
DATA text TYPE string VALUE `This is a subheading`.
DATA category TYPE string VALUE `Business`.
DATA center TYPE string VALUE `PI Products Sofia`.
DATA email TYPE string VALUE `office@piproucts.com`.
DATA status TYPE string VALUE `Success`.
DATA showfooter TYPE abap_bool VALUE abap_false.
DATA edit_visible TYPE abap_bool VALUE abap_true.
TYPES: BEGIN OF ty_s_message,
type TYPE string,
message TYPE string,
target TYPE string,
END OF ty_s_message.
DATA t_messages TYPE STANDARD TABLE OF ty_s_message WITH EMPTY KEY.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
METHODS view_display.
METHODS on_event.
METHODS model_init.
PRIVATE SECTION.
ENDCLASS.
CLASS z2ui5_cl_smpc_app_166 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
me->client = client.
IF client->check_on_init( ).
model_init( ).
view_display( ).
ELSEIF client->check_on_navigated( ).
view_display( ).
ELSEIF client->check_on_event( ).
on_event( ).
ENDIF.
ENDMETHOD.
METHOD view_display.
DATA(view) = z2ui5_cl_ui5_view_builder=>factory( ).
view->ele( n = `View` ns = `mvc`
)->a( n = `height` v = `100%`
)->a( n = `xmlns:mvc` v = `sap.ui.core.mvc`
)->a( n = `xmlns` v = `sap.m`
)->a( n = `xmlns:layout` v = `sap.ui.layout`
)->a( n = `xmlns:semantic` v = `sap.f.semantic`
)->a( n = `xmlns:z2ui5` v = `z2ui5.cc`
)->ele( n = `SemanticPage` ns = `semantic`
)->a( n = `id` v = `mySemanticPage`
)->a( n = `headerPinnable` v = `true`
)->a( n = `toggleHeaderOnTitleClick` v = `true`
)->a( n = `preserveHeaderStateOnScroll` v = `false`
)->a( n = `titleAreaShrinkRatio` v = `1:1.6:1.6`
)->a( n = `showFooter` v = client->_bind( showfooter )
)->ele( n = `titleHeading` ns = `semantic`
)->tag( `Title`
)->a( n = `text` v = client->_bind( title )
)->end(
)->ele( n = `titleSnappedContent` ns = `semantic`
)->tag( `Text`
)->a( n = `text` v = client->_bind( text )
)->end(
)->ele( n = `titleExpandedContent` ns = `semantic`
)->tag( `Text`
)->a( n = `text` v = client->_bind( text )
)->end(
)->ele( n = `headerContent` ns = `semantic`
)->ele( n = `HorizontalLayout` ns = `layout`
)->a( n = `allowWrapping` v = `true`
)->ele( n = `VerticalLayout` ns = `layout`
)->a( n = `class` v = `sapUiMediumMarginEnd`
)->tag( `ObjectAttribute`
)->a( n = `title` v = `Functional Area`
)->a( n = `text` v = client->_bind( category )
)->tag( `ObjectAttribute`
)->a( n = `title` v = `Cost Center`
)->a( n = `text` v = client->_bind( center )
)->tag( `ObjectAttribute`
)->a( n = `title` v = `Email`
)->a( n = `text` v = client->_bind( email )
)->end(
)->ele( n = `VerticalLayout` ns = `layout`
)->tag( `ObjectAttribute`
)->a( n = `title` v = `Availability`
)->tag( `ObjectStatus`
)->a( n = `text` v = `In Stock`
)->a( n = `state` v = client->_bind( status )
)->end(
)->end(
)->end(
" onInit: Messaging.addMessages( new Message({ message: 'Something wrong
" happened', type: Error }) ) - the app-authored message goes through the
" z2ui5.cc.MessageManager companion control (app 065 idiom), so the
" MessagesIndicator carries its count and the MessagePopover its content.
" It renders nothing, so it lives in the page's dependents - content
" takes exactly one child
)->ele( n = `dependents` ns = `semantic`
)->tag( n = `MessageManager` ns = `z2ui5`
)->a( n = `items` v = client->_bind( t_messages )
)->end(
)->ele( n = `content` ns = `semantic`
)->ele( `Table`
)->a( n = `id` v = `idProductsTable`
)->a( n = `inset` v = `false`
)->a( n = `items` v = client->_bind( productcollection )
)->a( n = `class` v = `sapFSemanticPageAlignContent`
)->a( n = `width` v = `auto`
)->ele( `columns`
)->ele( `Column`
)->tag( `Text`
)->a( n = `text` v = `Name`
)->end(
)->ele( `Column`
)->a( n = `minScreenWidth` v = `Tablet`
)->a( n = `demandPopin` v = `true`
)->tag( `Text`
)->a( n = `text` v = `Category`
)->end(
)->ele( `Column`
)->a( n = `minScreenWidth` v = `Tablet`
)->a( n = `demandPopin` v = `true`
)->tag( `Text`
)->a( n = `text` v = `SupplierName`
)->end(
)->end(
)->ele( `items`
)->ele( `ColumnListItem`
)->a( n = `vAlign` v = `Middle`
)->ele( `cells`
)->tag( `ObjectIdentifier`
)->a( n = `title` v = `{NAME}`
)->a( n = `text` v = `{PRODUCTID}`
)->tag( `Text`
)->a( n = `text` v = `{CATEGORY}`
)->tag( `Text`
)->a( n = `text` v = `{SUPPLIERNAME}`
)->end(
)->end(
)->end(
)->end(
)->end(
" the original controller handlers are reproduced: onEdit/onSave/onCancel
" drive showFooter and the Edit action's visibility (bound state, so the
" decision stays in ABAP), and onSave alerts like the original MessageBox
)->ele( n = `titleMainAction` ns = `semantic`
)->tag( n = `TitleMainAction` ns = `semantic`
)->a( n = `id` v = `editAction`
)->a( n = `text` v = `Edit`
)->a( n = `visible` v = client->_bind( edit_visible )
)->a( n = `press` v = client->_event( `EDIT` )
)->end(
)->ele( n = `discussInJamAction` ns = `semantic`
)->tag( n = `DiscussInJamAction` ns = `semantic`
)->end(
)->ele( n = `saveAsTileAction` ns = `semantic`
)->tag( `Button`
)->a( n = `icon` v = `sap-icon://add-favorite`
)->a( n = `text` v = `Save as Tile`
)->end(
)->ele( n = `sendEmailAction` ns = `semantic`
)->tag( n = `SendEmailAction` ns = `semantic`
)->end(
)->ele( n = `sendMessageAction` ns = `semantic`
)->tag( n = `SendMessageAction` ns = `semantic`
)->end(
)->ele( n = `footerMainAction` ns = `semantic`
)->tag( n = `FooterMainAction` ns = `semantic`
)->a( n = `text` v = `Save`
)->a( n = `press` v = client->_event( `SAVE` )
)->end(
)->ele( n = `footerCustomActions` ns = `semantic`
)->tag( `Button`
)->a( n = `id` v = `cancelAction`
)->a( n = `text` v = `Cancel`
)->a( n = `press` v = client->_event( `CANCEL` )
)->end(
)->ele( n = `messagesIndicator` ns = `semantic`
)->ele( n = `MessagesIndicator` ns = `semantic`
)->a( n = `id` v = `messagesIndicatorBtn`
" onMessagesButtonPress builds a MessagePopover over the message>
" model and opens it at the button - declared in dependents and
" opened roundtrip-free (app 066 idiom)
)->a( n = `press` v = client->follow_up_action( val = client->cs_event-control_by_id
t_arg = VALUE #( ( `messagePopover` )
( `toggleBy` )
( `$event.oSource.sId` ) ) )
)->ele( n = `dependents` ns = `semantic`
)->ele( `MessagePopover`
)->a( n = `id` v = `messagePopover`
)->a( n = `items` v = `{ path: 'message>/' }`
)->ele( `items`
)->tag( `MessageItem`
)->a( n = `type` v = `{message>type}`
)->a( n = `title` v = `{message>message}`
)->a( n = `description` v = `{message>description}`
)->end(
)->end(
)->end(
)->end(
)->end(
)->ele( n = `draftIndicator` ns = `semantic`
)->tag( `DraftIndicator`
)->a( n = `state` v = `Saved` ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
METHOD on_event.
CASE client->get_event( ).
WHEN `EDIT`.
" onEdit: showFooter( true ) + the Edit action hides itself
showfooter = abap_true.
edit_visible = abap_false.
WHEN `SAVE`.
" onSave: showFooter( false ), the Edit action is back, and the original
" MessageBox.alert( 'Successfully saved!' )
showfooter = abap_false.
edit_visible = abap_true.
client->message_box_display( text = `Successfully saved!` type = `information` ).
WHEN `CANCEL`.
" onCancel: same state reset, without the alert
showfooter = abap_false.
edit_visible = abap_true.
ENDCASE.
ENDMETHOD.
METHOD model_init.
" the single Error message the controller seeds on init
t_messages = VALUE #( ( type = `Error`
message = `Something wrong happened`
target = `` ) ).
productcollection = VALUE #(
( name = `Power Projector 4713` productid = `1239102` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239103` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239104` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239105` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239106` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239107` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239108` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239109` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239110` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239111` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239112` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239113` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239114` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239115` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239116` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239117` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239118` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239119` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239120` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239121` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239122` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239123` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239124` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239125` category = `Projector` suppliername = `Titanium` )
( name = `Power Projector 4713` productid = `1239126` category = `Projector` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.1` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.2` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.3` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.4` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.5` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.6` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.7` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.8` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.9` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.10` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.11` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.12` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.13` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.14` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.15` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.16` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.17` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.18` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.19` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.20` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.21` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.22` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.23` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.24` category = `Graphics Card` suppliername = `Titanium` )
( name = `Hurricane GX` productid = `K47322.25` category = `Graphics Card` suppliername = `Red Point Stores` )
( name = `Hurricane GX` productid = `K47322.26` category = `Graphics Card` suppliername = `Titanium` )
( name = `Webcam` productid = `22134T1` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T2` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T3` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T4` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T5` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T6` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T7` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T8` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T9` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T10` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T11` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T12` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T13` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T14` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T15` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T16` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T17` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T18` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T19` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T20` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T21` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T22` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T23` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T24` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Webcam` productid = `22134T25` category = `Accessory` suppliername = `Technocom` )
( name = `Webcam` productid = `22134T26` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Monitor Locking Cable` productid = `P1239823` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239824` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239825` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239826` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239827` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239828` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239829` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239830` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239831` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239832` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239833` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239834` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239835` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239836` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239837` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239838` category = `Accessory` suppliername = `Titanium` )
( name = `Monitor Locking Cable` productid = `P1239839` category = `Accessory` suppliername = `Technocom` )
( name = `Monitor Locking Cable` productid = `P1239840` category = `Accessory` suppliername = `Titanium` )
( name = `Laptop Case` productid = `214-121-828` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-829` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-830` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-831` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-832` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-833` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-834` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-835` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-836` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-837` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-838` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-839` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-840` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-841` category = `Accessory` suppliername = `Red Point Stores` )
( name = `Laptop Case` productid = `214-121-842` category = `Accessory` suppliername = `Red Point Stores` )
( name = `High End Laptop 2b` productid = `OP-38800002` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800003` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800004` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800005` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800006` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800007` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800008` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800009` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800010` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800011` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800012` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800013` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800014` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800015` category = `Laptop` suppliername = `Titanium` )
( name = `High End Laptop 2b` productid = `OP-38800016` category = `Laptop` suppliername = `Titanium` )
).
ENDMETHOD.
ENDCLASS.
More in sap.f
- Grid List - Different Modes With Various Item Types — This is a sample for GridList with different modes of selection.
- Side Panel with single action item — Demonstrates the usage of Side Panel with single action item.
- Grid List with GridBoxLayout — This layout allows to display same height grid items with configurable width.
- Grid List - Drag and Drop — This sample represents GridList with enabled Drag and Drop functionality.
- Shell Bar with menu button — Shell Bar example with a menu button and a plain title.
- Product Switch with Navigation — This sample demonstrates the navigation behavior of Product Switch, configurable by the a…
- Grid Container — This sample represents the general usage of GridContainer.
- Dynamic Page Freestyle Example — Dynamic Page freestyle example with a responsive sap.m.Table in the content area, showing…
- Grid List features - Grouping, Header, Growing — This sample illustrates subgroups with headers, custom header and lazy loading of GridLis…
- Grid List - Break point examples - S, M, L, XL — This sample illustrates how to configure the responsive settings for different container…
- Shell Bar with search — Shell Bar example with configured search functionality.
- Grid List with Responsive Column Layout — This layout displays a variable number of grid columns depending on available screen size…
On this page