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
0 answers

OData search in associated tables of a SAP Core Data Service

I'm working with SAP Core Data Services (CDS) and struggling with OData queries in fields that are part of associated view/tables. Here's a minimal (not) working example: Table Definitions I created two tables named "ZTABLE_A" and…
koks der drache
  • 1,398
  • 1
  • 16
  • 33
1
vote
2 answers

Avoid LIKE in selection screen PARAMETERS typing

PARAMETERS p_var LIKE varit-variant. The LIKE varit-variant addition assists the user with the inclusion of a search help, where a user may enter a report name, and it lists the variants from the VARIT table and feeds them to the user. However,…
gkubed
  • 1,849
  • 3
  • 32
  • 45
1
vote
1 answer

Split screens with ALV Grid and Tabstrip control

I would like to ask about proper way to split following screens in ALV: 1st screen with type CL_GUI_ALV_GRID 2nd screen is subscreen with Tab strip control Using docker there are issues with resizing of screen during the runtime. I am not able to…
bagere
  • 221
  • 5
  • 17
1
vote
1 answer

Find payment date and user who payed for VIM Invoice

In which table can I find the user who paid a VIM invoice and on what date? Tables I've looked at are: BSEG BKPF BSAK RBKP
Dorien De Wallen
  • 173
  • 5
  • 13
1
vote
1 answer

data_change using cl_gui_alv_grid - not reacting to Enter key

I want to populate a field when another field was edited. So this is the method in the implementation. When I press Enter nothing happens, but when i double click the change applies. Do you have any idea or fix? I am using the class…
Dumbest666
  • 47
  • 3
  • 13
1
vote
0 answers

abap nieconn_refused: Problem while recieving an answer from an external server

I am trying to use my SAP system as a client and to communicate with an external server. The code is working fine except for this bit right here: CALL METHOD go_client->receive EXCEPTIONS http_communication_failure = 1 http_invalid_state …
Snoopy111
  • 212
  • 4
  • 13
1
vote
1 answer

How to write an adjustable ABAP program?

I have experienced in developing programs in ABAP and through it would like to know how can I code keeping future changes in mind. For example recently I developed a program for a customized process on client side and initially requirements were…
Umar Abdullah
  • 1,282
  • 1
  • 19
  • 37
1
vote
2 answers

Cancel Processing of Post Good Issue when test in User-Exit fails

I am currently working on some checks for the SAP transaction vl02n and I want to check batches and if their date of expiration fits some criteria. For this I am using the user-exit SAVE_DOCUMENT_PREPARE. If the checks fail there shall be an…
Andi D.
  • 63
  • 1
  • 11
1
vote
1 answer

Show multiple lines in one cell of ALV-grid

I am trying to implement output like on the attached pictur, where I expect one cell to have multiple values I want to show it in ALV grid and in future I need to export it in excel document. How?
Quanta Salman
  • 11
  • 1
  • 3
1
vote
3 answers

Change the path prefix of the destination

I have a destination created automatically by some program. Now I want to change the path prefix of the destination programmatically during runtime. Is this possible ? I was going through this…
saurav
  • 5,388
  • 10
  • 56
  • 101
1
vote
3 answers

Check original language of repository objects at creation?

In our company, repository objects must be created with original language EN. Is there a way to check the logon language in case of creating a new object in the ABAP repository? Desired behaviour: SE80 - Create program/class/data…
Umar Abdullah
  • 1,282
  • 1
  • 19
  • 37
1
vote
3 answers

How to find the correct ABAP function corresponding to SAP FRONTEND action

I had a two days training in using the SAP .NET Connector 3.x for SAP RFC Calls. I have access to the SE37, SE16 and SE11 transactions but I'm not allowed (and skilled) to write and deploy my own ABAP Functions. My question is: How can I find the…
Jan021981
  • 521
  • 3
  • 28
1
vote
1 answer

Hierarchical ALV report called via GUI has 18 columns, but via RFC only 6. Why?

I want to export the report RM07MLBS (tcode mb52). If I call this report via the SAP-GUI it has 18 columns, and if I call it with the following code, it returns only maktx, werks, matkl, matnr, name1, mtart columns: cl_salv_bs_runtime_info=>set( …
guettli
  • 25,042
  • 81
  • 346
  • 663
1
vote
1 answer

ATC Check - prio 3 message - "Text element missing in a character string"

I am getting message "Text element missing in a character string" during ATC Checks for constant. CONSTANTS c_north TYPE c LENGTH 5 VALUE 'North'. How can i remove "Text element missing in a character string", Please let me know what is the best…
Umar Abdullah
  • 1,282
  • 1
  • 19
  • 37
1
vote
1 answer

BAPI_SALESORDER_CHANGE does not make changes

I am call BAPI BAPI_SALESORDER_CHANGE to update sales order and need to changed the edatu at item level, the return of the BAPI is that the sales order is changed but no changes are made. i am committing after calling the BAPI BAPI…
Umar Abdullah
  • 1,282
  • 1
  • 19
  • 37