Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by karthikeya Boyini
Page 110 of 143
zip_entry_read() function in PHP
The zip_entry_read() function is used to get the contents from an open zip archive file.Syntaxzip_entry_read(zip_entry, len)Parameterszip_entry − The zip entry resource. Required.len − The length in bytes. The default is 1024.ReturnThe zip_entry_read() function Returns the contents from an open zip archive file. Returns FALSE on failure.ExampleThe following is an example. Let’s say our zip file "one.zip" is having only a single file i.e. "detail.txt" with the following content.Asia is a continent!Let us see an example −ExampleOutputText in the file = Asia is a continent!
Read MorePHP timestamp to HTML5 input type=datetime element
For HTML5 input time, in PHP:Exampleecho date("Y-m-d\TH:i:s");OutputThe output would be:2018-28-03T19:12:49HTML with Timestamp would be:
Read MoreHow to detect duplicate values in primitive Java array?
To detect the duplicate values in an array you need to compare each element of the array to all the remaining elements, in case of a match you got your duplicate element.One solution to do so you need to use two loops (nested) where the inner loop starts with i+1 (where i is the variable of outer loop) to avoid repetitions in comparison.Exampleimport java.util.Arrays; import java.util.Scanner; public class DetectDuplcate { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println("Enter the size of the array that is to ...
Read MoreCombining fields in CDS view in SAP ABAP
With the use of SAP ABAP 7.5, you can make use of the CONCAT_WITH_SPACE function.ExampleThe above code can be simplified like this:CONCAT_WITH_SPACE( bp.name_first, bp.name_last, 1 )
Read MoreUsing SSO logon tickets in SAPUI5
When your proxy has SSO token, you should use SET-COOKIE header to pass SSO token to the client.Exampleset-cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e; path=/; domain=xxxxx.sap.comIt should be passed to client browser from proxy and domain name has to be changed to the proxy as shown below:set-cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e; path=/; domain=PROXYDOMAIN.comWhen next time your browser calls to the proxy, this will include session cookie in the request header like below. The proxy will read that Cookie from HTTP request header to make calls.Cookie: MYSAPSSO2=DFOKJLDM.....AJLBhHcvA%3d%3e;
Read MoreHow to connect to an SAP module?
You can create RFC function module and then call this function module from outside. You can create RFC using T-Code SE37You can use the following link to know more about using RFC function module:https://archive.sap.com/discussions/thread/333645This tells about how you can create an FM in SE37 in Target system enabling Remote-Function Enabled and using attributes of FM.To create an RFC connection, you need to use T-Code: SM59 mentioning Username and Password.Another link that you can refer which tells about creating RFC and Remote-enabled FM and call from another SAP system using ABAP Program:https://wiki.scn.sap.com/wiki/display/Snippets/Creating+RFC+and+Remote-enabled+FM+and+call+from+another+SAP+system+using+ABAP+Program
Read MoreGetting error message: Scalar type not allowed in SAP HANA
Few points about your code to create a Stored Procedure, that you can edit and tryPROCEDURE "SLT_DELETE"."HCDW.IT.IT::TO_TIMESTAMP_CALL" (IN IN_DATE DECIMAL(15), OUT OUT_DATE TIMESTAMP) LANGUAGE SQLSCRIPT AS --DEFAULT SCHEMA --READS SQL DATA AS BEGIN select to_timestamp(IN_DATE) into OUT_DATE FROM DUMMY; END;In Line32, you have used below:SELECT: ORGID_ARTIKEL intoHowever correct syntax should be like:SELECT "ORGID_ARTIKEL" into
Read MoreIntegrating JSession in a Web-Service in SAP
You need to configure the soap manager transaction.First, specify the proxy that you have created in the configurationSpecify the portSet the access path from transport settings. The SAP is making use of ‘cl_http_client’ which has a method ‘create_by_destination’ to make an HTTP call. You can extend that to induce your logic there.
Read MoreCellular Architecture
Cellular architecture is constituted of the following −A network of cells each with a base station.A packet switched network for communication between the base stations and mobile switching centers.The public switched telephone network to connect subscribers to the wider telephony networkCellular ConfigurationIn all cellular systems, land area is divided into a number of cells each with its radio service. In AMPS the area is large which in digital services, the area is much smaller.Conventionally cells are hexagonal in shape.Each cell uses a frequency range that is not used by its adjacent cells. However frequencies may be reused in non-adjacent cells.At ...
Read MoreThe Mobile Telephone System
Mobile telephone service (MTS) connects mobile radio telephones with other networks like public switched telephone networks (PSTN), other mobile telephones and communication systems like Internet.Basic Mobile Communications SystemMobile phones and other mobile devices, called mobile stations are connected to base stations. Communication between the mobile stations and the base stations are done by wireless radio signals, which may be both data signals and voice signals. Each base station has a coverage area around it, such that mobile stations within this area can connect provided they have access permissions. Base stations contain transmitters and receivers to convert radio signals to electrical ...
Read More