Found 92 Articles for ABAP

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

Sravani S
Updated on 18-Feb-2020 07:20:22
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

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

Govinda Sai
Updated on 30-Jul-2019 22:30:20
“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

Updated on 30-Jul-2019 22:30:20
“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
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
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
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.

Calling an ABAP Function Module using Python script to put data in SAP HANA

John SAP
Updated on 17-Feb-2020 12:44:48
You can refer this SAP blog how to use SAP NetWeaver library with Python.SAP Link

Using SAP RSECNOTE tool to display information for ABAP and Java Stack

Anil SAP Gupta
Updated on 15-Jun-2020 11:58:49
In SAP system, you can use tools like RSECNOTE and SAP EarlyWatch Alert which can be to find out the patches and verify their implementation status. You can access RSECNOTE by executing Transaction code: SA38 or ST13.RSECNOTE tool in SAP system is used to determine which important security notes or hot notes are missing in a system.You can refer more details about this tool in SAP OSS Note 888889. You can access this tool by calling T-Code: ST13 and entering RSECNOTE and then press F8 button.888889 - Automatic checks for security notes using RSECNOTE (outdated)You use transaction ST13 to start ... Read More

View the valid values of profit center groups in SAP ABAP

Anil SAP Gupta
Updated on 17-Feb-2020 12:31:53
You need to select SETNAME from table SETLEAF with SETCLASS value 0106. To reduce number of values in search you can pass a Controlling area in field SUBCLASS or value of Profit center in VALFROM field.For more details, refer this SAP discussion: How to find profit center group for any profit centerSAP DiscussionOpen the Table SETLEAF, and follow below steps:Pass in field SETCLASS as '0106'.Pass in field SUBCLASS with controlling area.Pass Profit center in Field VALFROM.You will get Group name in Field SETNAME.

Can I change the text of options for SELECT via code in ABAP?

Anil SAP Gupta
Updated on 13-Dec-2019 06:19:29
Yes, it can be done but I would request you to go through documentation available on SAP help before asking such questions as such things are well explained in documentation and help you to know the system better. You just need to set the text property to text of your choice.INITIALIZATION %_name_%_app_%-text = Hope it helps.
1 2 3 4 5 ... 10 Next