Posts

These are common Git commands used in various situations:

start a working area (see also: git help tutorial)    clone     Clone a repository into a new directory    init      Create an empty Git repository or reinitialize an existing one work on the current change (see also: git help everyday)    add       Add file contents to the index    mv        Move or rename a file, a directory, or a symlink    restore   Restore working tree files    rm        Remove files from the working tree and from the index examine the history and state (see also: git help revisions)    bisect    Use binary search to find the commit that introduced a bug    diff      Show changes between commits, commit and working tree, etc    grep      Print lines matching a pattern    log       Show commit logs   ...

Batch Calls - V1 and V2 - Read Example

 V2 - class sap.ui.model.odata.v2.ODataModel onAfterOpen: function (param) { var oModel = this.getOwnerComponent().getModel(); oModel.setDeferredGroups(["batchget"]); oModel.setUseBatch(true); oModel.read( "/DocumentPartnerFunctionSet", { filters: [new Filter("DocumentNumber", sap.ui.model.FilterOperator.EQ, this.oDocNumber)], groupId: "batchget", changeSetId: "batchget", success: function (oResponse) { var oPFModel = new JSONModel(oResponse.results); oPFModel.setSizeLimit(oResponse.results.length); sap.ui.core.Fragment.byId("idRDialog", "idPFMCBR").setModel(oPFModel); var convTo = this.getView().getModel().getData()[0].ConvPartFuncTo; var newarray = convTo.split(";"); sap.ui.core.Fragment.byId("idRDialog", "idPFMCBR").setSelectedKeys(newarray); sap.ui.core.BusyIndicator.hide(); }.bind(this), error...

TableFixedHeader - XMLView

HighlightTableListItem

TableFixedHeader - JSView

HighlightTableListItem

2512380 - How to Transport Custom Themes in UI Theme Designer on ABAP

 Manual - Export and Import: Export You can export your themes as an archive file from the SAP system to your local hard disk using the Tool for Customer Themes Maintenance. Log on to the system in which the data for your theme is stored. 1. Start the Tool for Customer Themes Maintenance using transaction /n/UI5/THEME_TOOL. 2. Navigate to the theme you want to export. 3. Select Download and choose Choose (F2). 4. In the Save as dialog box, navigate to the location on your local hard disk where you want to store the theme files. 5. Enter a file name and choose Save. A Zip file is created. Its content corresponds to the file structure for theme libraries created by SAP. If you have added any custom CSS, it is included in the Zip archive. Import 1. Log on to the system to which you want to upload the theme data. 2. Start transaction /n/UI5/THEME_TOOL. 3. Select Upload and choose Choose (F2). 4. In the Open dialog box, navigate to the file location on your local hard disk where the exp...

2066504 - UI theme designer for ABAP: Theme transport doesn't work

When choosing the "Transport" function for a theme in the "Theme Tool" (/UI5/THEME_TOOL) the system shows no reaction. Reason and Prerequisites The client is not configured for automatic recording of client-specific Solution The implementation of this note will make the "Transport" function raise an error message in case the system is not properly configured to transport themes. Proceed as follow to enable transporting of themes: Start transaction SCC4. Click "Display -> Change" button. Select the client to be changed. Click "Details" icon. Check "Automatic recording of changes" in group "Changes and Transports for Client-Specific Objects"

Code Dialog

 <!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Dialog - sap.m</title> <style type="text/css"> .sapMLabel.specialLabelDialogPage { display: block; margin: 0.5em 0 0 0; } body { overflow: hidden; } #p1 { width: 500px; } </style> <script > window['sap-ui-config'] = window['sap-ui-config'] || {}; window['sap-ui-config'].theme = 'sap_belize'; </script> <script src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-libs="sap.ui.commons,sap.m,sap.ui.layout" data-sap-ui-compatVersion="1.16"> </script> <script> var app = new sap.m.App("myApp", {initialPage: "page1"}); var _buttonWidth = "300px"; v...