Found 1039 Articles for SAP

Denormalization of dimension tables in InfoCube in SAP BW

Rishi Raj
Updated on 06-Dec-2019 06:54:17

224 Views

Note that In Data Warehouse, data load is less frequent as compared to data read. If you use normalized tables that result more number of joins and hence when you run multiple read statements on DW system, it effects the performance considerably.When you are not using normalized tables, the response time of queries are improved however load time and memory space is increased.You can refer below link to get advantages of denormalization in database and comparison with normalized tables.http://searchdatamanagement.techtarget.com/definition/denormalization

Deleting from temporary table in SAP HANA

Vikyath Ram
Updated on 05-Dec-2019 09:42:28

967 Views

The temporary tables are session specific. So you would require to use truncate instead of delete as followstruncate table #temptable;Also, could you please check your release? In the recent releases, delete also works fine. Here is an example:Drop table #temptable; Create local temporary table #temptable(id integer, str nvarchar(30)); Insert into #temptable values (1,'abc'); Insert into #temptable values (2,'xyz'); Select * from #temptable;  --> returns 3 rows Delete from #temptable; Select * from #temptable;--> returns 0 rows

Issue regarding JCo SAP Server out of Network

Jennifer Nicholas
Updated on 18-Dec-2019 10:03:48

222 Views

You need to perform the below actions when you are stopping the JCO server instanceDelete all the references of your server from ServerDataEventListener instance. If you need to use the reference, then you can use registered ServerDataProvider object to fetch reference of ServerDataEventListener instance.Delete all the references of your destination from DestinationDataEventListener instance. If you need to use the reference, then you can use registered DestinationDataProvider object to fetch the DestinationDataEventListener instance.

Problem with division as output is either 0 or 1 when using ifthenelse condition in ABAP program

Rishi Raj
Updated on 05-Dec-2019 09:43:10

231 Views

The problem is that your second parameter is 0 which is an integer, so the output always comes as an integer as ifthenelse takes data type from the second parameter. So, in your case, if the answer is less than .5, it is converted to zeroes and in case more than .5, it is converted to 1. You would require to use cast for the second parameter to convert it to decimal data type as follows ifthenelse(Query.Den= 0, cast(0, 'Decimal(16, 02)'), Query.Num / Query.Den)

Resource routing not working when using SAP Fiori

Vrundesha Joshi
Updated on 30-Jul-2019 22:30:20

266 Views

The issue you are facing is because you have created both the applications with the same ID. Hence, the Launchpad is not able to distinguish between them and load into the context.You can change the application Id and all the references of the same to resolve the issue you are facing.Facing issue with SAP JCO server connectivity when system out of network.

Merging 2 tables with similar column name SAP HANA database

Vikyath Ram
Updated on 05-Dec-2019 09:11:29

541 Views

This can be done by using UNION or UNION ALL operator as followsselect id, Empl_name, DeptId from table1 union select id, Empl_name, DeptId from table2 The difference between UNION and UNION ALL is that UNION removes the duplicates while UNION ALL shows duplicates as well.

How to refer and import SAP-UI-Core.js within my SAPUI5 project

Vrundesha Joshi
Updated on 18-Dec-2019 10:03:04

406 Views

The SAPUI5 library files are a part of Eclipse SAPUI5 plug-in.If you are running the app by using the Web App preview on the startup page ( Go to Run As -> select “Web APP Preview”), then eclipse starts a local HTTP server for development which serves at “/resources” the library.Till the preview window is open, you can go ahead and use the URL in any browser of your choice to debug the application.

Call event function from another method in Controller in SAP

Nancy Den
Updated on 18-Dec-2019 10:02:35

651 Views

It is advised not to call the event function from any other function but what you can do is refactor the event function implementation in a separate function and call that from any other function as shown below:ExampleBtnPress: function(oEvent) {    // Separate the implementation in the helper function    this.btnPressHelper(); } // Define the helper btnPressHelper: function() {    //logic here } // call the helper from whichever function you want to get the desired output PerformSomething: function() {    this.btnTapHelper(); }

Using real Boolean type in SAP ABAP

Rahul Sharma
Updated on 10-Dec-2019 06:56:15

416 Views

This way is called as a Predictive Method call. This will work if the initial value is false and false is the initial value. You can refer to below link to know about Predictive method call and also to see examples:https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenpredicative_method_calls.htm

Getting MIN and MAX dates in table in SAP Web Intelligence while using a Break

Nikitha N
Updated on 12-Mar-2020 12:27:12

1K+ Views

This can be achieved by creating an Indicator as per condition you are looking for- minimum drawn date time for POST-Test and Maximum drawn date time for PRE-Test. Once you create this indicator, it will show “Y” for the rows highlighted in yellow as per condition and “N” for other rows.=If ([Drawn date] = Min([Drawn date]) In ([Patient ABO/RN])  Where ([PrePost] = "POST") )  Or ([Drawn date] = Max([Drawn date]) In ([Patient ABO/RN])  Where ([PrePost] = "PRE")  )  Then "Y" Else "N"You need to apply a filter for rows with indicator value- “Y”.Other option is you can create 3 variables as ... Read More

Advertisements