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
1
vote
2 answers

Count duplicates in an internal table?

I just want to ask on how to count duplicates in an internal table. I wanted to this in order for me to count per customer and put it into the Customer count column. Sales Employee Customer Customer Count a 1 …
gwapo
  • 178
  • 2
  • 4
  • 28
1
vote
1 answer

OData getEntity method fetches only first entity

I have a service with a working getEntitySet method. The output looks like this: But when I try to get only a single entity with /ColumnSet(1) my Output fetches only the first entity which is ColumnSet(0) method COLUMNSET_GET_ENTITY. data:…
Penrock
  • 143
  • 1
  • 3
  • 16
1
vote
1 answer

How to use a filter or import parameter: if_http_extension handle_request

I'm working on a project where we need to build a REST service but we can't use SAP Gateway. I'm using SICF and classes to create services like this guide: 1 The thing I don't understand is how to use filters or import parameters for a GET request…
Matthijs Mennens
  • 1,125
  • 9
  • 33
1
vote
1 answer

Field "GET_ATTRIBUTE(" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement

I'm working on my first webdynpro application. I used the wizard to call a function module from my componentcontroller. I used another wizard to call the componentcontroller method from a view method. After that I tried to use node attributes as…
Peter
  • 850
  • 5
  • 16
1
vote
3 answers

Where to find novice BAPI coding guides?

I've been working with applications interfacing with SAP via a web service for a little while now and I want to get into programming the BAPI's behind the web services as well. My company has been using a SAP consultant for the BAPI programming and…
Daniel
  • 1,231
  • 3
  • 15
  • 20
1
vote
1 answer

How to get long texts of FI held documents?

I need to get the particulars/long text of FI held documents. I tried the 'read_text' function module but had no luck since the held document has the temporary document number. I tried looking for data in STXL and STXH tables, I also tried the…
Kjarlvi
  • 126
  • 1
  • 13
1
vote
3 answers

Dynamic INTO clause in OpenSQL?

I'm attempting to write a program that will grab the content from fields from a table both specified by the user on the selection screen. For example, the user could specify the fields equnr, b_werk, b_lager from the table eqbs. I've been able to…
gkubed
  • 1,849
  • 3
  • 32
  • 45
1
vote
1 answer

Call Local class within PAI Module

I have a program with 4 includes in it. One top-include (global data), one for pai-modules, one for pbo-modules and one for a local helper class. I put the definition and implementation of my local class in the include "local helper class". Now I…
Timur
  • 169
  • 4
  • 13
1
vote
1 answer

How to return CHAR30 in AMDP?

I try to create an AMDP method that returns a single field that would be SNWD_COMPANY_NAME on the ABAP side. The documentation says only table types and elementary types can be returned. SNWD_COMPANY_NAME is not elementary, it is CHAR 80, but I…
András
  • 1,326
  • 4
  • 16
  • 26
1
vote
2 answers

Check if message id exists

I am using the MESSAGE function and I want to know how I can find out if the message id exists or not. For example: I defined a message with the id "001" in my message class "test_message". Then I call it like this: MESSAGE e001(test_messages)…
Cold_Class
  • 3,214
  • 4
  • 39
  • 82
1
vote
2 answers

Set text field in screen visible again after user command

in my PBO Module I have something like this: LOOP AT SCREEN. IF screen-name EQ 'LBL_TEST'. screen-invisible = '1'. MODIFY SCREEN. ENDIF. ENDLOOP. I want to set 'LBL_TEST' visible again after some User-Command in the…
Timur
  • 169
  • 4
  • 13
1
vote
3 answers

Finding duplicates in ABAP internal table via grouping

We all know these excellent ABAP statements which allows finding unique values in one-liner: it_unique = VALUE #( FOR GROUPS value OF IN it_itab GROUP BY -field WITHOUT MEMBERS ( value ) ). But what about…
Suncatcher
  • 10,355
  • 10
  • 52
  • 90
1
vote
2 answers

Suppress any write statement from BAPI_XXX

I used BAPI_SHIPMENT_CREATE to create a shipment. After that, I display an ALV. When I press back from ALV, I have a list with a text output from this BAPI. Does it exist a method to suppress this output? I want to go to selection screen, when I…
Saros Begh
  • 35
  • 2
  • 9
1
vote
1 answer

SAPUI5 application checking for Virus scan profile in Gateway

Scratching my head with the following problem. I have developed a SAPUI5 application using smarttemplates/odata annotations. In the first screen - i create entries for an entity - navigate to another screen - create entries for another entity -…
Sathish R
  • 51
  • 2
  • 7
1
vote
1 answer

Standard way to map a URL string to RFC Destination in ABAP?

In SAP (AS ABAP 7.4) I have configured a set of RFC Destinations (Transaction SM59), including an SSL configuration using a client certificate for authentication at the service. Say, one of these RFC Destinations goes to: myserver:443 and myserver…
pmenze
  • 38
  • 1
  • 6