Add Two Icons in StandardListItem in SAPUI5

SAP Expert
Updated on 12-Jun-2020 08:27:15

357 Views

Instead of using StandardListitem, you should use CustomListitem. With use of CustomListitem, you can add any kind of content.As per SAP documentation, CustomListitem has following use:This control with a content aggregation can be used to customize standard list items that SAP doesn't provide. List mode and ListItem type are applied to CustomListItems as well.Note: Even though the content aggregation allows any control, complex responsive layout controls (e.g. Table, Form) should not be aggregated as content.SAP CustomListItemnew sap.m.CustomListItem(sId?, mSettings?)Param Type Default Value DescriptionsId?String ID for the new control, generated automatically if no ID is givenmSettings? Object Initial settings for the new ... Read More

Use of Plus Sign in Front of Function Name in JavaScript

Anjana
Updated on 12-Jun-2020 08:26:41

333 Views

The +function() {} notation is primarily used to force the parser to treat whatever follows the + as an expression. This is used for functions that are invoked immediately, for example,+function() { alert("Demo!"); }();However, + before a function is one of the symbols. You can add other options also like !, -, ~, also. Parentheses can also be used as shown below −(function() { alert("Demo!"); })();You can also use it like this −(function() { alert("Demo!"); }());

CUID Format in SAP BO Server Repository

SAP Expert
Updated on 12-Jun-2020 08:23:53

708 Views

As per my understanding, CUID is a 35 characters and normally starts with A, B, C, F, K and M. To know formatting of different ID types, you can refer to this:SAP Note: 1285103: What are the different types of IDs used in the BusinessObjects Enterprise repository?CUID: CUIDs are Globally Unique Identifiers that uniquely identify an InfoObject, both within a single CMS cluster and across multiple CMS clusters. Because CUIDs are strings they are less efficient to use and slower to query for. Unlike an object’s ID, an object’s CUID stays the same when it is migrated to a new ... Read More

Difference between PX, EM, and Percent

Nishtha Thakur
Updated on 12-Jun-2020 08:22:52

632 Views

The px unit defines a measurement in screen pixels. The following is an example −div {    padding: 40px; }The em unit is a relative measurement for the height of a font in em spaces. Because an em unit is equivalent to the size of a given font, if you assign a font to 12pt, each "em" unit would be 12pt; thus, 2em would be 24pt.The following is an example −p {    letter-spacing: 4em; }The % unit defines a measurement as a percentage relative to another value, typically an enclosing element.p {    font-size: 14pt;    line-height: 80%; }

No Error While Inserting Record in Child Table with No Match in Master Table in SAP

SAP Expert
Updated on 12-Jun-2020 08:22:34

340 Views

Note that when you perform an insertion using an ABAP program, there is no check on foreign key constraint.  Even when you define checks in data dictionary SE11 still there is no check at database level.When you execute using an ABAP code, this checks consistency at application level and not at database level. Errors you see in SE16 shows record rejected at application level.You need to perform validation by checking record from master table with foreign key of child table and incase sy-subrc is not initial then record shouldn’t be inserted to the child table and shows an error message.Read More

Sorting Prompt Values in SAP BO Webi Report

SAP Expert
Updated on 12-Jun-2020 08:21:25

625 Views

In Business Objects 4.1, this can be done by following below steps in Universe:Navigate to Parameters and LOVNext is to go Edit SQL option -> write query with order by to get the order.

Attach Data from SAP System Using Oracle WebLogic and Oracle Enterprise Service Bus

SAP Expert
Updated on 12-Jun-2020 08:20:48

242 Views

As per my knowledge, Oracle Bus Service has a SAP adapter that you can use to get data via queries. With 10.3.1 release of the Oracle Service Bus, you have the following adapters for use within Oracle Service Bus:Oracle AQDatabaseOracle ApplicationsSAPJ.D. Ewards OneWorldSiebelPeopleSoftYou can refer to this link to know more about Oracle Service Bus (OSB):Oracle Service BusYou can use API available with Weblogic and ESB for configuration and for creating end points. To see the list of API’s available for Oracle ESB, refer this link:API's for Oracle ESB

Upgrade SAP .NET Connector from .NET 2.0 to .NET 3.0

SAP Expert
Updated on 12-Jun-2020 08:18:39

549 Views

You are correct. NET Connector 2.0 uses proxy classes however .NET Connector 3.0 uses generic API. You need to rewrite all code that include NCo interaction..NET Connector 3.0 has many benefits over .NET 2.0:NCo 3.0 Is more stable, robust and supports heavy load.NET 3.0 provides better design of your application by decoupling the connection handling.It consumes less memoryAllows dynamic programming without the need for proxy generationCan dynamically look up metadata (so if something changes in the related ABAP system – e.g. if parameters in a function module signatures are added or the ABAP system is switched from Non-Unicode to Unicode, ... Read More

Find a Constant in a String in SAP BO Webi Report

SAP Expert
Updated on 12-Jun-2020 08:17:24

3K+ Views

You are correct. You can use functions like Match() or Pos(). You can use MATCH([Dimension];"*def*")) and this will get you the output and wildcard will match the beginning of the string.Pos Function is used to return the position of a specific character string.You can also try using Pos() function as below −=Pos("def abc ghi";"def") returns 1 =Pos("def abc ghi";"abc") returns 5 =Pos("def abc ghi";"xyz") returns 0

Publish SAP Xcelsius Dashboard Without Login

SAP Expert
Updated on 12-Jun-2020 08:16:33

186 Views

Yes it can be achieved via using Open Document link. To get HTTP link, you need to store object in BO repository and get open document link from BI Launchpad.When you store object in repository, you have to handle necessary credentials and running queries can be handled by this. You can setup SSO in OpenDocument and SSO source can be an Active Directory authentication, or SAP BW.When SSO is setup, clicking the generated OpenDocument link should automatically log you on and open the dashboard and you don’t need to pass additional authentication.In short, you have to follow below steps:Set up ... Read More

Advertisements