Questions tagged [abap]

ABAP is the programming language of SAP softwares R/3, S/4HANA, CRM and many others.

ABAP is a SAP proprietary language that is used to write both the fundamental SAP R/3 system itself and the standardized business applications that run on top of this system and more recent systems like CRM and S/4HANA. It can be used for customer extensions of the system or entirely new software applications as well. The online language reference is available at no cost from the SAP Help Portal. Another great community - almost as rewarding as StackOverflow - is the SAP Community Network.

ABAP programs can be developed in ABAP Development Tools (ADT), a set of plugins for Eclipse, or using the tools in the ABAP Workbench on SAP GUI. ABAP programs use Open SQL statements to query the underlying Database Management System (DBMS). ABAP can be used to write executable programs, such as reports, and non-executable programs, such as function modules and classes. The ABAP Objects feature allows for object oriented programming in ABAP.

Useful links


Related tags

3276 questions
11
votes
1 answer

ABAP Memory ID or PARAMETER values in debugger

Some of the ABAP programs that I have to debug use system memory to pass data to other programs using the following syntax: EXPORT: VARIABLE_NAME TO MEMORY ID 'NAME_OF_MEMORY_OBJECT'. How do I check the value of these memory IDs in the…
Lilienthal
  • 4,327
  • 13
  • 52
  • 88
11
votes
5 answers

Get the contents of a Application Server directory

I need to get a listing of a server-side directory inside SAP. How do I achieve this in ABAP? Are there any built-in SAP functions I can call? Ideally I want a function which I can pass a path as input, and which will return a list of filenames in…
Chris Carruthers
  • 3,945
  • 6
  • 31
  • 31
11
votes
1 answer

ABAP Short Dump on append of a sorted table

Why does my ABAP program short dump when I append a line to a sorted table? ST22 Shows ITAB_ILLEGAL_SORT_ORDER data: sorted_tab type sorted table of ty_tab with non-unique key key, line type ty_tab. line-key = 1. append line to…
Esti
  • 3,677
  • 8
  • 35
  • 57
11
votes
2 answers

Ways of checking if record exists in itab without loop?

Is there a shortcut or should I just loop at the table and check? I mean I am using an internal table and I want to check if a value is contained in one field of the internal table and I don't want to loop the table to find the value. Is it…
Mtok
  • 1,600
  • 11
  • 36
  • 62
11
votes
4 answers

What's the meaning of ?= in ABAP operators?

My question is just as the title has, What's the difference between = and ?= in ABAP operators?
abusemind
  • 213
  • 1
  • 5
  • 16
10
votes
4 answers

How to make an abap program pause?

For testing purposes I need my ABAP program to wait for few seconds. How can this be done?
Igal Serban
  • 10,558
  • 3
  • 35
  • 40
10
votes
6 answers

Managing ABAP Source Code in Source Control

Our product currently spans a large number of technologies, including Java, PL/SQL, VB.Net and ABAP. We have a fairly mature source control and build system set up for all of the languages except ABAP, which is still in the stone ages. Since SAP has…
John Stauffer
  • 16,150
  • 10
  • 40
  • 35
10
votes
3 answers

How to learn SAP ERP (without buying it)?

I would like to learn SAP ERP. Is there a SAP ERP student edition? How do people practice SAP ERP? By trial version? If there is no way to download a free/trial, is learning Ofbiz useful to work in the future with SAP?
Zakaria
  • 14,892
  • 22
  • 84
  • 125
9
votes
2 answers

Difference between Standard table and Hashed table Abap

Can you please give me a clear explanation on the difference between using "standard table of", "Hashed table of", or simply "table of". Also what is the meaning of "initial size 0"? For reference please have a look in to below…
Siva
  • 3,458
  • 8
  • 25
  • 26
9
votes
1 answer

Reading original (before change) DB values in the current LUW?

Is it possible to retrieve the old or original values for a table when it has been changed, but not yet committed, in the current LUW? I'm implementing a BAdI that's supposed to be used to raise messages based on changes performed to an object, but…
Lilienthal
  • 4,327
  • 13
  • 52
  • 88
9
votes
2 answers

Deserialize an anonymous JSON array?

I got an anonymous array which I want to deserialize, here the example of the first array object [ { "time":"08:55:54", "date":"2016-05-27", "timestamp":1464332154807, "level":3, "message":"registerResourcePath ('',…
inetphantom
  • 2,498
  • 4
  • 38
  • 61
9
votes
2 answers

How to decode SAP text from from STXL.CLUSTD?

I know ! The "proper" way to read STXL.CLUSTD is through SAP ABAP function. But I'm sorry, we are suffering badly from performance problem. We have already make our decision to go directly to the database (Oracle), and we don't have any plan to…
Sake
  • 4,033
  • 6
  • 33
  • 37
9
votes
8 answers

How to format date as a DD, Month, Year?

I need to split ABAP date like 20091101 --> "01", "november", "2009" The "01" and "2009" are trivial, but how do I get the month name (which should be localized)? Is there a function to do that? If there is no such function, perhaps a table with…
ilya n.
  • 18,398
  • 15
  • 71
  • 89
9
votes
3 answers

Field symbol and data reference concept in ABAP

If we compare ABAP field symbols and data references with the pointer in C, we observe :- In C, say we declare a variable "var" type "integer" with default value "5". The variable "var" will be stored some where in memory, and say the memory address…
PDP-21
  • 103
  • 1
  • 1
  • 4
9
votes
2 answers

What is a client in SAP system?

Can someone please explain me what a client in a SAP NetWeaver system using the ABAP stack is and how does it create logical separations within the same installation?
n_g
  • 3,315
  • 8
  • 25
  • 29