Skip to content

Commit 9bcd4f3

Browse files
authored
update (#320)
* update * update
1 parent b1e2393 commit 9bcd4f3

File tree

2 files changed

+157
-176
lines changed

2 files changed

+157
-176
lines changed

src/z2ui5_cl_demo_app_000.clas.abap

Lines changed: 154 additions & 168 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,160 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
889889
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
890890
).
891891

892+
page = page2->panel(
893+
expandable = abap_true
894+
expanded = client->_bind_edit( ms_check_expanded-built_in )
895+
headertext = `Built-in Popups`
896+
).
897+
898+
panel = page->panel(
899+
expandable = abap_false
900+
expanded = abap_true
901+
headertext = `Popups`
902+
).
903+
904+
panel->generic_tile(
905+
header = 'Popup to Inform'
906+
press = client->_event( 'Z2UI5_CL_DEMO_APP_151' )
907+
mode = 'LineMode'
908+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
909+
).
910+
911+
panel->generic_tile(
912+
header = 'Popup to Confirm'
913+
press = client->_event( 'Z2UI5_CL_DEMO_APP_150' )
914+
mode = 'LineMode'
915+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
916+
).
917+
918+
panel->generic_tile(
919+
header = 'Popup to Error'
920+
press = client->_event( 'z2ui5_cl_demo_app_165' )
921+
mode = 'LineMode'
922+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
923+
).
924+
925+
panel->generic_tile(
926+
header = 'Popup to Select'
927+
press = client->_event( 'Z2UI5_CL_DEMO_APP_152' )
928+
mode = 'LineMode'
929+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
930+
).
931+
932+
panel->generic_tile(
933+
header = 'Popup Messages'
934+
press = client->_event( 'Z2UI5_CL_DEMO_APP_154' )
935+
mode = 'LineMode'
936+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
937+
).
938+
939+
panel->generic_tile(
940+
header = 'Popup Textedit'
941+
press = client->_event( 'Z2UI5_CL_DEMO_APP_155' )
942+
mode = 'LineMode'
943+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
944+
).
945+
946+
panel->generic_tile(
947+
header = 'Popup Input Value'
948+
press = client->_event( 'Z2UI5_CL_DEMO_APP_156' )
949+
mode = 'LineMode'
950+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
951+
).
952+
953+
panel->generic_tile(
954+
header = 'Popup File Upload'
955+
press = client->_event( 'Z2UI5_CL_DEMO_APP_157' )
956+
mode = 'LineMode'
957+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
958+
).
959+
960+
panel->generic_tile(
961+
header = 'Popup Display PDF'
962+
press = client->_event( 'Z2UI5_CL_DEMO_APP_158' )
963+
mode = 'LineMode'
964+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
965+
).
966+
967+
panel->generic_tile(
968+
header = 'Popup Get Range'
969+
subheader = 'Create Select-Options in Multi Inputs'
970+
press = client->_event( 'Z2UI5_CL_DEMO_APP_056' )
971+
mode = 'LineMode'
972+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
973+
).
974+
975+
panel->generic_tile(
976+
header = 'Popup Get Range Multi'
977+
subheader = 'Create Select-Options for Structures & Tables'
978+
press = client->_event( 'z2ui5_cl_demo_app_162' )
979+
mode = 'LineMode'
980+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
981+
).
982+
983+
panel->generic_tile(
984+
header = 'Popup Display Table'
985+
subheader = ''
986+
press = client->_event( 'z2ui5_cl_demo_app_164' )
987+
mode = 'LineMode'
988+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
989+
).
990+
991+
panel->generic_tile(
992+
header = 'Popup Display Layout'
993+
subheader = ''
994+
press = client->_event( 'z2ui5_cl_demo_app_200' )
995+
mode = 'LineMode'
996+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
997+
).
998+
999+
panel->generic_tile(
1000+
header = 'Popup Display Download'
1001+
subheader = ''
1002+
press = client->_event( 'z2ui5_cl_demo_app_168' )
1003+
mode = 'LineMode'
1004+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1005+
).
1006+
1007+
panel->generic_tile(
1008+
header = 'Popup Display JSON Export'
1009+
subheader = ''
1010+
press = client->_event( 'z2ui5_cl_demo_app_169' )
1011+
mode = 'LineMode'
1012+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1013+
).
1014+
1015+
panel->generic_tile(
1016+
header = 'Popup Display HTML'
1017+
subheader = ''
1018+
press = client->_event( 'z2ui5_cl_demo_app_149' )
1019+
mode = 'LineMode'
1020+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1021+
).
1022+
1023+
panel = page->panel(
1024+
expandable = abap_false
1025+
expanded = abap_true
1026+
headertext = `Popups (ABAP for Cloud WIP)`
1027+
).
1028+
1029+
panel->generic_tile(
1030+
header = 'Popup with F4 Help'
1031+
subheader = ''
1032+
press = client->_event( 'z2ui5_cl_demo_app_204' )
1033+
mode = 'LineMode'
1034+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1035+
).
1036+
1037+
panel->generic_tile(
1038+
header = 'Popup to Select Transport Requests'
1039+
subheader = ''
1040+
press = client->_event( 'z2ui5_cl_pop_transport' )
1041+
mode = 'LineMode'
1042+
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1043+
).
1044+
1045+
8921046
page = page2->panel(
8931047
expandable = abap_true
8941048
expanded = client->_bind_edit( ms_check_expanded-features )
@@ -1623,174 +1777,6 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
16231777
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
16241778
).
16251779

1626-
page = page2->panel(
1627-
expandable = abap_true
1628-
expanded = client->_bind_edit( ms_check_expanded-built_in )
1629-
headertext = `Built-in Functions`
1630-
).
1631-
1632-
panel = page->panel(
1633-
expandable = abap_false
1634-
expanded = abap_true
1635-
headertext = `Popups`
1636-
).
1637-
1638-
panel->generic_tile(
1639-
header = 'Popup to Inform'
1640-
press = client->_event( 'Z2UI5_CL_DEMO_APP_151' )
1641-
mode = 'LineMode'
1642-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1643-
).
1644-
1645-
panel->generic_tile(
1646-
header = 'Popup to Confirm'
1647-
press = client->_event( 'Z2UI5_CL_DEMO_APP_150' )
1648-
mode = 'LineMode'
1649-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1650-
).
1651-
1652-
panel->generic_tile(
1653-
header = 'Popup to Error'
1654-
press = client->_event( 'z2ui5_cl_demo_app_165' )
1655-
mode = 'LineMode'
1656-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1657-
).
1658-
1659-
panel->generic_tile(
1660-
header = 'Popup to Select'
1661-
press = client->_event( 'Z2UI5_CL_DEMO_APP_152' )
1662-
mode = 'LineMode'
1663-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1664-
).
1665-
1666-
panel->generic_tile(
1667-
header = 'Popup Messages'
1668-
press = client->_event( 'Z2UI5_CL_DEMO_APP_154' )
1669-
mode = 'LineMode'
1670-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1671-
).
1672-
1673-
panel->generic_tile(
1674-
header = 'Popup Textedit'
1675-
press = client->_event( 'Z2UI5_CL_DEMO_APP_155' )
1676-
mode = 'LineMode'
1677-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1678-
).
1679-
1680-
panel->generic_tile(
1681-
header = 'Popup Input Value'
1682-
press = client->_event( 'Z2UI5_CL_DEMO_APP_156' )
1683-
mode = 'LineMode'
1684-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1685-
).
1686-
1687-
panel->generic_tile(
1688-
header = 'Popup File Upload'
1689-
press = client->_event( 'Z2UI5_CL_DEMO_APP_157' )
1690-
mode = 'LineMode'
1691-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1692-
).
1693-
1694-
panel->generic_tile(
1695-
header = 'Popup Display PDF'
1696-
press = client->_event( 'Z2UI5_CL_DEMO_APP_158' )
1697-
mode = 'LineMode'
1698-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1699-
).
1700-
1701-
panel->generic_tile(
1702-
header = 'Popup Get Range'
1703-
subheader = 'Create Select-Options in Multi Inputs'
1704-
press = client->_event( 'Z2UI5_CL_DEMO_APP_056' )
1705-
mode = 'LineMode'
1706-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1707-
).
1708-
1709-
panel->generic_tile(
1710-
header = 'Popup Get Range Multi'
1711-
subheader = 'Create Select-Options for Structures & Tables'
1712-
press = client->_event( 'z2ui5_cl_demo_app_162' )
1713-
mode = 'LineMode'
1714-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1715-
).
1716-
1717-
panel->generic_tile(
1718-
header = 'Popup Display Table'
1719-
subheader = ''
1720-
press = client->_event( 'z2ui5_cl_demo_app_164' )
1721-
mode = 'LineMode'
1722-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1723-
).
1724-
1725-
* panel->generic_tile(
1726-
* header = 'Popup Display Layout'
1727-
* subheader = 'obsolete'
1728-
* press = client->_event( 'z2ui5_cl_demo_app_174' )
1729-
* mode = 'LineMode'
1730-
* class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1731-
* ).
1732-
1733-
panel->generic_tile(
1734-
header = 'Popup Display Layout'
1735-
subheader = ''
1736-
press = client->_event( 'z2ui5_cl_demo_app_200' )
1737-
mode = 'LineMode'
1738-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1739-
).
1740-
1741-
panel->generic_tile(
1742-
header = 'Popup Display F4-Help'
1743-
* subheader = 'V2'
1744-
press = client->_event( 'z2ui5_cl_demo_app_204' )
1745-
mode = 'LineMode'
1746-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1747-
).
1748-
1749-
panel->generic_tile(
1750-
header = 'Popup Display Download'
1751-
subheader = ''
1752-
press = client->_event( 'z2ui5_cl_demo_app_168' )
1753-
mode = 'LineMode'
1754-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1755-
).
1756-
1757-
panel->generic_tile(
1758-
header = 'Popup Display JSON Export'
1759-
subheader = ''
1760-
press = client->_event( 'z2ui5_cl_demo_app_169' )
1761-
mode = 'LineMode'
1762-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1763-
).
1764-
1765-
panel->generic_tile(
1766-
header = 'Popup Display HTML'
1767-
subheader = ''
1768-
press = client->_event( 'z2ui5_cl_demo_app_149' )
1769-
mode = 'LineMode'
1770-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1771-
).
1772-
1773-
panel = page->panel(
1774-
expandable = abap_false
1775-
expanded = abap_true
1776-
headertext = `Popups (ABAP for Cloud WIP)`
1777-
).
1778-
1779-
panel->generic_tile(
1780-
header = 'Popup with F4 Help'
1781-
subheader = ''
1782-
press = client->_event( 'z2ui5_cl_demo_app_204' )
1783-
mode = 'LineMode'
1784-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1785-
).
1786-
1787-
panel->generic_tile(
1788-
header = 'Popup to Select Transport Requests'
1789-
subheader = ''
1790-
press = client->_event( 'z2ui5_cl_pop_transport' )
1791-
mode = 'LineMode'
1792-
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
1793-
).
17941780

17951781
page = page2->panel(
17961782
expandable = abap_true

src/z2ui5_cl_demo_app_204.clas.abap

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ CLASS z2ui5_cl_demo_app_204 IMPLEMENTATION.
3232
client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
3333

3434
WHEN `CALL_POPUP_F4`.
35-
3635
call_f4( ).
3736

3837
WHEN OTHERS.
@@ -49,8 +48,7 @@ CLASS z2ui5_cl_demo_app_204 IMPLEMENTATION.
4948

5049
METHOD render_main.
5150

52-
DATA(view) = z2ui5_cl_xml_view=>factory( ). "->shell( ).
53-
51+
DATA(view) = z2ui5_cl_xml_view=>factory( ).
5452
DATA(page) = view->shell( )->page(
5553
title = 'Layout'
5654
navbuttonpress = client->_event( 'BACK' )
@@ -80,21 +78,19 @@ CLASS z2ui5_cl_demo_app_204 IMPLEMENTATION.
8078
ENDIF.
8179

8280
on_event( ).
83-
8481
on_after_f4( ).
8582

8683
ENDMETHOD.
8784

8885
METHOD call_f4.
8986

9087
DATA(lt_arg) = client->get( )-t_event_arg.
91-
9288
DATA(f4_field) = VALUE string( lt_arg[ 1 ] ).
9389
DATA(f4_table) = VALUE string( lt_arg[ 2 ] ).
9490

9591
client->nav_app_call( z2ui5_cl_pop_f4_help=>factory( i_table = f4_table
9692
i_fname = f4_field
97-
i_value = CONV #( mv_arbgb ) ) ).
93+
i_value = mv_arbgb ) ).
9894

9995
ENDMETHOD.
10096

@@ -111,8 +107,7 @@ CLASS z2ui5_cl_demo_app_204 IMPLEMENTATION.
111107

112108
CASE app->mv_field.
113109
WHEN `ARBGB`.
114-
115-
mv_arbgb = CONV #( app->mv_return_value ).
110+
mv_arbgb = app->mv_return_value.
116111

117112
WHEN OTHERS.
118113

0 commit comments

Comments
 (0)