Articles on Trending Technologies

Technical articles with clear explanations and examples

Format MySQL records (price values) after multiplying them

AmitDiwan
AmitDiwan
Updated on 17-Dec-2019 230 Views

To format records, use FORMAT(). Let us first create a table −mysql> create table DemoTable    -> (    -> Price decimal(10, 4),    -> Rate decimal(10, 4)    -> ); Query OK, 0 rows affected (0.96 sec)Insert some records in the table using insert command −mysql> insert into DemoTable values(1000, 10.2); Query OK, 1 row affected (0.14 sec) mysql> insert into DemoTable values(2000, 20.4); Query OK, 1 row affected (0.13 sec) mysql> insert into DemoTable values(100, 5); Query OK, 1 row affected (0.16 sec)Display all records from the table using select statement −mysql> select *from DemoTable;This will produce the ...

Read More

MySQL LIKE command doesn't work with strings containing dots to display records beginning with a specific number

AmitDiwan
AmitDiwan
Updated on 17-Dec-2019 553 Views

To work with strings containing dots, and display records beginning with a specific number, you need to use REGEXP. Let us first create a table −mysql> create table DemoTable    -> (    -> GameReleaseVersion varchar(20)    -> ); Query OK, 0 rows affected (0.57 sec)Insert some records in the table using insert command −mysql> insert into DemoTable values('19.6'); Query OK, 1 row affected (0.15 sec) mysql> insert into DemoTable values('18.4'); Query OK, 1 row affected (0.16 sec) mysql> insert into DemoTable values('17.6'); Query OK, 1 row affected (0.12 sec) mysql> insert into DemoTable values('19.5'); Query OK, 1 row affected ...

Read More

How to prevent the screen from sleeping in iOS?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 402 Views

In this post we will be seeing how to prevent screen from sleeping in iOS.So, let’s get started.Copy the below line of code in viewDidLoad method in ViewController.Swiftoverride func viewDidLoad() {    super.viewDidLoad()    // Do any additional setup after loading the view, typically from a nib.    UIApplication.shared.isIdleTimerDisabled = true }Run the application, the application will never go in sleep mode.

Read More

How to create Tab Bar Layout in an iOS App?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 416 Views

In this post we’re going to see how one can use tab bar layout in their application.As per apple’s documentation −A tab bar appears at the bottom of an app screen and provides the ability to quickly switch between different sections of an app. Tab bars are translucent, may have a background tint, maintain the same height in all screen orientations, and are hidden when a keyboard is displayed. A tab bar may contain any number of tabs, but the number of visible tabs varies based on the device size and orientation.You can read more about the same herehttps://developer.apple.com/design/human-interface-guidelines/ios/bars/tab-bars/So let’s ...

Read More

How do I programmatically "restart" an iOS app?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 2K+ Views

You cannot restart an iOS Application in any case, even if you’re able to do using some private api your application will be rejected by Apple and will not be considered for App store release.

Read More

How to create a file, write data into it and read data from it on iOS?

Mohtashim M
Mohtashim M
Updated on 16-Dec-2019 2K+ Views

Being a software developer we should be always aware of how to play with files, write to a file, read from the file and so on.In this post we are going to learn the same, we will be creating a file and writing the data to the file and later reading through the same file.So let’s get started, Step 1 − Create new Xcode Project → Single View Application → name it “ReadingWritingFile”Step 2 − Open ViewController.swift and add new function as show belowpublic func createAndWriteFile() { }Now we will create a file and will print the path of the ...

Read More

Using clients in SAP ERP

Ramu Prasad
Ramu Prasad
Updated on 16-Dec-2019 646 Views

Several independent companies or subsets of one company can be present in one SAP system. The client separates these companies and their relevant data. Client serves as a key to most of the SAP database tables and used customizing, transactional and master data. To summarise client serves as unique database key for each company. Client concept comes with the following advantages −You can share the same resources with multiple users.You can manage SAP system landscape as you can create multiple clients for DEV, QA and PROD team.You can share your SAP system with a large number of users. You can create clients in an ...

Read More

Transporting SAP standard text

SAP
Govinda Sai
Govinda Sai
Updated on 16-Dec-2019 10K+ Views

STEP 1: Create Standard Text. To create standard text, you have to use T-Code SO10.In next window, pass the Text Name -> Click on CREATE Push Button. This will open a new window where you can save the TEXT.Next step is to create the TRANSPORT REQUEST to transport the TEXT. This can be done using T-Code: SE09. Go to Home screen and run T-Code SE09.To create Transport request, you have to click on CREATE button at the top. This will open Transport Organizer as below:This will open Create Request window. Enter the Short Description, Project and click on Save button as ...

Read More

Using BU, ZK code in SAP Macros

SAP
Abhinaya
Abhinaya
Updated on 16-Dec-2019 1K+ Views

OK CODE – In SAP, an OK code is used for any functionality. The OK code is used to perform an action executed or will be executed (save, back, exit) etc. BU – This OK function is used to perform SAVE function in an MM01 transaction.ZK – This code is used to get the additional information. To find out a function of each button, you have to navigate to System -> Status -> Double click on GUI Status.

Read More

Turnoff redirect to mobile pages in SAP Hybris

Srinivas Gorla
Srinivas Gorla
Updated on 16-Dec-2019 172 Views

To start with, first, you need to turn off the cookies on a mobile device. Next is to run the following command to the “project.properties” file of your storefront extension. Example# disabling the mobiles redirects:# uiexperience.level.supported.b2ctelco=DESKTOP uiexperience.level.supported=DESKTOPWhen this function is used, it communicates to SAP Hybris system that only DESKTOP based support is required.

Read More
Showing 56041–56050 of 61,297 articles
Advertisements