Found 694 Articles for SAP HANA

Getting Error message “Object doesn't support property or method 'attachEvent'” in IE11 to call SAP system

Johar Ali
Updated on 14-Feb-2020 07:49:15

280 Views

Note that attachEvent is no longer supported in IE11 and you should use addEventListner that can be used to bind specific function to an event.In older versions of IE, you can use like this:object.attachEvent(event, pDisp)Parametersevent [in]Type: StringA String that specifies any of the standard DHTML Events.pDisp [in]Type: ObjectThe Pointer that specifies the function to call when the event fires.Return valueType: BooleanBoolean returns any of the below value:Return value     DescriptionTrue                   The function was bound successfully to the event.False                  The function was not ... Read More

Linking ABAP Dynpro screen elements to program variables

Amit Sharma
Updated on 10-Dec-2019 06:46:32

283 Views

You can make the connection by using the name of Global variables. A Global variable can be defined by using this code:DATA matnr TYPE MATNR-> to create a global variable matnr. You can define DDIC structure or table like Tables: MARAIn Screen Painter, you can reference of fields of table/structure MARA. Note that one of the useful features of the screen painter is choosing dictionary/program fields and this can be done by pressing “F6”.

Internal Table itab declaration in SAP and difference between both the declarations

Rahul Sharma
Updated on 30-Jul-2019 22:30:20

171 Views

As per my understanding, the key difference between two statements is that in first you are reserving memory space for storing 5 lines of the customer_tab table.If you consider performance, the 2nd statement should be better.

Inserting Array list into HANA database

Ali
Ali
Updated on 17-Dec-2019 06:44:43

288 Views

Try using below code:ExampleInteger[][] myarray ={ {1}, {1, 2}, {1, 2, 3, 4, 5} };    String test = "Insert Arrays";    stopWatch.start(test);    myDBconn.setAutoCommit(false);    Statement stmt = myDBconn.createStatement();    stmt = myDBconn.createStatement();    stmt.execute("TRUNCATE TABLE Schema.Table1");    // Running a loop over our array of arrays    for (int i = 0 ; i < (myarray.length); i++) {       int curr_length = myarray[i].length;       String arrayFunction = "ARRAY (";       for (int j = 0; j < (curr_length); j++){          arrayFunction = arrayFunction.concat(myarr[i][j].toString()) ;          // ... Read More

I want to round a number to 2 decimal places in SAPUI5. Could anyone help?

Rahul Sharma
Updated on 17-Dec-2019 07:17:07

1K+ Views

RoundingMode function is used for rounding the number and it uses these parameters: number and how many decimal digits.ExampleYou can roundoff and your code will be like this:

Denormalization of dimension tables in InfoCube in SAP BW

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

146 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

656 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

146 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

168 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

215 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.

Advertisements