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

327 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

599 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

233 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

511 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

176 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

Find Last Date of Month Using Any Function in SAP

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

148 Views

You can try using DateSerial() function.DateSerial returns a Date value for the specified year, month and day. It also handles relative Date expressions.Argumentsyear is a whole Number or numeric expression representing a year, example: 1996.month is a whole Number or numeric expression representing a month, example: 12 for December.day is a whole Number or numeric expression representing a day of the month, example: 5.ReturnsA Date value.ActionDateSerial returns a Date value for the specified year, month and day. It also handles relative Date expressions.DateSerial (2000, 6, 15)DateSerial (2004, 1 - 7, 15)DateSerial (2008, 1, 166)Check the below code as it finds ... Read More

Work with Bootstrap

Chandu yadav
Updated on 12-Jun-2020 08:14:39

174 Views

To work with Bootstrap, the following are the steps − Download the latest version of Bootstrap from the official website.On reaching the page, click on DOWNLOAD for current version 4.1.1You have two options on clicking Download above,Download Bootstrap − Clicking this, you can download the precompiled and minified versions of Bootstrap CSS, JavaScript, and fonts. No documentation or original source code files are included.Download Source − Clicking this, you can get the latest Bootstrap LESS and JavaScript source code directly from GitHub.

Footer Not Working in SAPUI5 Application

SAP Expert
Updated on 12-Jun-2020 08:13:30

502 Views

Try embedding page in “sap.m.App control”.This is an example of showing and hiding footer, check this link:UI5 Documentation

What are Async Generator Methods in JavaScript

Ayyan
Updated on 12-Jun-2020 08:08:22

217 Views

Async generator functions are the same like generator function. The async generator functions will return an object, whereas an async generator whose methods such as next, throw and return promises for { value, done }, instead returning directly.ExampleHere’s an example from GitHub showing function returning async generator object −async function* readLines(path) {    let file = await fileOpen(path);       try {          while (!file.EOF) {             yield await file.readLine();          }       } finally {       await file.close();    } }

Advertisements