Johar Ali has Published 58 Articles

How do I hide an element when printing a web page?

Johar Ali

Johar Ali

Updated on 24-Feb-2020 04:57:51

To hide the element, add “display:none” to the element with CSS. @media print {    .noprint {       visibility: hidden;    } } In addition, add the element, which you want to hide inside the −    Add here the element, which you want to hide.

Binding model to sap.ui.core in SAP UI5 application

Johar Ali

Johar Ali

Updated on 14-Feb-2020 10:26:20

Please try below where you need to prefix propertyBinding with models name −var oItemTemplate = new sap.m.ActionListItem({    title : "{checks>title}",    ... });

Parsing SAP Logon ticket with .NET

Johar Ali

Johar Ali

Updated on 14-Feb-2020 10:23:49

SAP provides SAP SSO EXT Lib for parsing SAP Logon ticket. SAP SSO EXT library supports SAP logon tickets as a part of the java based application.You can download SAP SSO EXT library from SAP service marketplace http://service.sap.com/swdc and then search here for SAPSSOEXT.

Using > operators in SAP HANA

Johar Ali

Johar Ali

Updated on 14-Feb-2020 07:50:08

You probably need to use cdata sections in your query. The term CDATA means, Character Data. CDATA is defined as blocks of text that are not parsed by the parser, but are otherwise recognized as markup. The predefined entities such as , and & require typing and are generally difficult ... Read More

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

Johar Ali

Johar Ali

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

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 ... Read More

Final class in Java

Johar Ali

Johar Ali

Updated on 06-Feb-2020 06:06:20

The main purpose of using a class being declared as final is to prevent the class from being subclassed. If a class is marked as final then no class can inherit any feature from the final class.public final class Test {    // body of class }

In SAP database, Importing table columns with /’s in the name

Johar Ali

Johar Ali

Updated on 28-Jan-2020 05:49:51

I would suggest you to use BCP utility to perform an import/export of data to a text file in SQL Server. When you run below command, it loads data to a text file.BCP Db.TN out "Location of the text file " -c -S ServerName –TNow if you want to load ... Read More

Running a SQL query from specific month in SAP DB

Johar Ali

Johar Ali

Updated on 28-Jan-2020 05:13:37

When your T0.name is char filed, you should replace Order By as below −order by case when cast(left (T0.Name,2) as int)>=8    then cast(left (T0.Name,2) as int)-8    else cast(left (T0.Name,2) as int)+4  end

What are the differences between JavaScript Primitive Data Types and Objects?

Johar Ali

Johar Ali

Updated on 03-Jan-2020 09:58:13

Before beginning with the difference, let’s learn what are Primitive Datatypes. Primitive defines immutable values and introduced recently by ECMAScript standard.JavaScript allows you to work with three primitive data types, Numbers, eg. 3, 310.20 etc.Strings of text e.g. "This text string" etc.Boolean e.g. true or false.JavaScript also defines two trivial ... Read More

Error in XML document while processing SOAP response

Johar Ali

Johar Ali

Updated on 17-Dec-2019 06:46:33

Yes, you should use your SOAP extension into your client app.ExampleTry adding the below code:               DebugTools.SOAP.SOAPTrace is the namespace of the SoapTraceExtension.DebugTools.SOAP is the name of the assembly containing the soap trace code.

Advertisements