Found 1044 Articles for SAP

Difference between Work area, global structure and internal table in SAP ABAP

Sravani S
Updated on 18-Feb-2020 07:20:22

924 Views

Internal tables let you read data from a fixed structure and stores it in-memory (working memory) in ABAP. The data is stored in a sequential manner in memory. They are basically equivalent to arrays but dynamic in nature. Since they are dynamic in nature, memory management is already taken care by ABAP. Usually, data read from database tables are stored in the internal table to exactly replicate the database tables. Work Area refers to a single row of a fixed structure. It is basically used for storing temporary data. It is commonly used while iterating over a loop.For ex. If you ... Read More

Checking number of rows in an internal table in SAP

Ramu Prasad
Updated on 15-Jun-2020 15:10:31

9K+ Views

You can use the LINES function to get the number of rows in an internal table.Use the following syntax to call the function:DESCRIBE TABLE LINES Once the function is executed the variable will hold the number of rows in the internal table.

Difference between Types,Types,Type-POOL and TYPE-POOLS in SAP ABAP

Govinda Sai
Updated on 30-Jul-2019 22:30:20

514 Views

“TYPE” is an ABAP keyword which is used to reference built-in data types of ABAP. For ex: When you use “TYPE” keyword while declaring variables as below:FIELD-SYMBOLS TYPE stringTYPES is another ABAP keyword which is used to define local types.TYPES TYPE STANDARD TABLE OF string WITH DEFAULT KEYIn case if your group locally defined types which can be reused across many modules then you can use TYPE-POOL.

Difference between using - "standard table of", "Hashed table of", or simply "table of" in SAP ABAP

Abhinaya
Updated on 30-Jul-2019 22:30:20

2K+ Views

“TYPE STANDARD TABLE OF “refers to the standard table. It refers to a normal internal table which can be accessed via table index or by key in case if you have a key defined over a table while sorting.“TYPE HASHED TABLE OF” refers to the generic hashed internal table. The table is created and data is stored using the hashing algorithm. The main advantage of the hashing algorithm is that accessing any part of the table is independent of the size of the table and hence an increase in the size of the table does not result in any delay ... Read More

Defining a variable reference in SAP ABAP

Ankitha Reddy
Updated on 30-Jul-2019 22:30:20

233 Views

As per my understanding, it is not feasible. You can access local class dynamically but statically referring to it in another class seems impossible. You might think about calling methods as dynamic in this case.

Retrieving data from a table in SAP ABAP

Abhinanda Shri
Updated on 30-Jul-2019 22:30:20

2K+ Views

Usually, in ABAP you use OpenSql statements to retrieve the data. OpenSql statements are similar to normal SQL statements.In case you need to use the function module on a remote system, then you need to use remote function calls like RFC_READ_TABLE. It lets you query data on remote calls as well.

Storing static attribute values in ABAP

Srinivas Gorla
Updated on 30-Jul-2019 22:30:20

299 Views

Static attributes of a class and the global variables of a function pool are dealt in a similar manner. In an abstract manner, you can consider static attributes as global variables. How global variables are reinitialized with a new internal session, static attributes do get reinitialized with the new internal session- this can be verified using a recursive function call.

Logging in SAP using command line

Nikitha N
Updated on 18-Feb-2020 07:30:32

925 Views

sapshcut.exe command can be used to log in to SAP from command line as shown in below example:ProcedureAdd the directory that contains the sapshcut.exe command to your system or user path. The sapshcut.exe command is installed as part of the SAP client into the following directory: C:\Program Files\SAP\FrontEnd\SAPguiTo add additional directories to the system or user path on Windows systems, select Control Panel > System > Advanced > Environment Variables.The .bat file must be named sapshcut.bat  must be located in your default path preceding the sapshcut.exe file.The following parameters are passed to the sapshcut.bat file when called from a predefined ... Read More

Difference between JCoClient and JCoDestination

Priya Pallavi
Updated on 30-Jul-2019 22:30:20

592 Views

JcoDestination is the newer version (3) and JCO.client is the older version (2) of SAP Java connector Class. Along with the change of names in the classes, they have also re-written the library architecture in the new version JCoDestination. It is recommended to use the newer version JCodestination.

Integrating SAP with Android

V Jyothi
Updated on 30-Jul-2019 22:30:20

349 Views

SMP 3/HCPMS (SAP Cloud-based Mobile services) is the new SAP product to create enterprise mobile apps. This can be used to integrate SAP with different mobile platforms. SAP recently launched the SAP Cloud Platform mobile services- a full-featured mobile app platform in the cloud, partners gain the flexibility to build and run native and hybrid apps that integrate securely with on-premise or cloud-based systems.

Advertisements