Found 1039 Articles for SAP

Change leaves duration from hours to days in SAP Fiori app

varun
Updated on 30-Jul-2019 22:30:20

182 Views

In general, customizing Fiori applications involves customizing the parent SAP application. So, if in the application, it defaults to hours then the Fiori app will also inherit the default behavior and show it in hours.Go ahead and change it to days, it will impact your Fiori app and the app will also start showing in days.In case you cannot afford to make a change in SAP application, then you need to handle it in a custom manner which will require you to have a custom implementation in place.

Implementing tree structure in Sapui5 and restricting parent property

Nikitha N
Updated on 17-Dec-2019 06:51:18

643 Views

Note that “sap.ui.model.ClientTreeBinding” which is used by TreeTable in JSONModel or XMLModel supports the parameter arrayNames. You need to pass an array of the model property names to create a sublevel. I would suggest to try below:In XML view:      ... In JSON view:treeTable.bindRows({path: '/pathToData', parameters: { arrayNames: ['children'] }});For more details about SAPui5 tree structure, you can navigate to following link:https://sapui5.netweaver.ondemand.com/sdk/test-resources/sap/ui/table/TreeTable.html?sap-ui-debug=true&sap-ui-language=en-US&sap-ui-theme=sap_bluecrystal&sap-ui-accessibility=true&sap-ui-jqueryversion=1.10.2

While using SAP .NET connector, I am an getting error: Could not load file or assembly 'sapnco' or one of its dependencies.

Srinivas Gorla
Updated on 14-Feb-2020 04:47:22

2K+ Views

You can try any of the below fixes −Go to Run > RegeditOpen “HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\1X.0\WebProjects” and change Use64BitIISExpress from 0 → 1Next is to restart Visual Studio and IISExpress.Other solution would be to try configuring IIS service, and set appPool .Net 4.0. You can try this to fix sapnco dll issue.Go to IIS Manager → Application PoolsOther fix would be to navigate to Project/Properties → Set platform target from “any” to “x86”.

ABAP constants with %_ as prefix

Nancy Den
Updated on 30-Jul-2019 22:30:20

358 Views

The constants with a value of %_ as prefix are defined in ABAP for its internal use of the system. These needs to be used as such and cannot be modified by the user.

Truncating multiple strings after 100 characters in ABAP

Daniol Thomas
Updated on 18-Dec-2019 07:41:29

518 Views

You can just define a character of 100 bytes and move your variable to that character. Please find the below code as example.Example  

Writing at the end of report without clearing current screen in SAP ABAP

Krantik Chavan
Updated on 30-Jul-2019 22:30:20

163 Views

Yes, it is possible. You would require using MODIFY LINE

Getting error- is not an internal table “OCCURS n” specification is missing in SAP method

Abhinanda Shri
Updated on 13-Jun-2020 06:08:18

2K+ Views

You need to define the et_flights parameter as of type SFLIGHT. As per method defined, you have this type as structure type and also declare transparent table SFLIGHT at the same time.You should use an already available dictionary table type with row structure of SFLIGHT for et_flight.You should declare et_flights inside the method in class definition as a private member or as a return value of the method.class myclass definition.    public section.    types ty_mytable type standard table of sflight.    methods mymethod exporting mydata type ty_mytable. endclass. class myclass implementation.     method mymethod.       ... Read More

Join using CE functions in SAP HANA database

Nishtha Thakur
Updated on 18-Dec-2019 07:42:39

340 Views

You can try using projection node as followsExampletable1 = CE_PROJECTION(:T1,["ACCT_ID","SALARY"]); table2 = CE_PROJECTION(:T2,["EMPL_ID" AS “ACCT_ID”,"ADD","ZIP","STATE"]); var_out = CE_JOIN(:table1,:table2,[“ACCT_ID”])Using Projection node, you can rename the column names. Note that EMPL_ID has been renamed to ACCT_ID

Single query vs multiple queries to fetch large number of rows in SAP HANA

Smita Kapse
Updated on 30-Jul-2019 22:30:20

2K+ Views

Single query would always be better than the multiple queries. The number of rows does not impact much on performance. It is the way query is written and the data to be fetched which makes the difference. Also, the table should be indexed.

Error while connection SAP HANA with .NET

Anvi Jain
Updated on 30-Jul-2019 22:30:20

208 Views

You would require installing both the 32 bit and 64 bit SAP HANA client software as Microsoft Visual operates on a 32 bit application.

Advertisements