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

Inner join only with TABLES declaration

I need to write a ABAP program using an inner join on the tables mara and makt. I understand the idea of using data declarations like this: data: imatnr type mara-matnr, ematnr type makt-matnr. select mara~matnr makt~matnr into (imatnr,…
adama
  • 537
  • 2
  • 10
  • 29
1
vote
0 answers

Where is a file type info in Excel file structure?

In our SAP ABAP-based application we have a mail sending functionality. The problem is, it's an old framework and it takes only 3 characters file types for attachments. We now want to send .xlsx files. But the framework only takes first 3 characters…
miskohut
  • 957
  • 1
  • 14
  • 34
1
vote
1 answer

How to enable filters on protected excel file in OLE2 ABAP

I am able to add filters using OLE2 in ABAP and my excel file getting created successfully. The issue is filter is not working - I can see filters attached to field columns but I can not click.
Abhishek
  • 99
  • 1
  • 14
1
vote
1 answer

Conditional typing in ABAP

We all know this fancy new pseudo-ternary operator as COND: COND #( WHEN 1 = 1 THEN something ELSE everything ). However, recently during the practices I noticed weird thing with typing of returned variable: it always get type of the first THEN…
Suncatcher
  • 10,355
  • 10
  • 52
  • 90
1
vote
1 answer

what are meta-models in CDS views?

while understanding CDS views,I've come across something like 'meta-model' could anyone please explain me what does it mean? Thanks in advance.
rs9
  • 127
  • 1
  • 6
  • 23
1
vote
2 answers

Encrypt string in ABAP and decrypt in JavaScript

I have an ABAP class which encodes a string as qr code and sends this code as email. At a later point, the code will be decoded by a SAPUI5 app based on JavaScript. I don't want that everyone can decode the string behind that qr code with some basic…
C. Ubkcah
  • 273
  • 13
  • 33
1
vote
1 answer

Best way to populate a SAP table via c#

I'm trying to create a c# that application does a simple insert into a newly created sap table. After a little bit of research I found out that I have two options: Using a CDS-View with @OData.publish: true and CRUD operations or using a bapi with…
Tommehh
  • 872
  • 1
  • 17
  • 44
1
vote
1 answer

ABAP 7.40 - limits of MESH?

Are there any know limits of meshes? I know, that the table-types need to be non-generic. But can it be, that a 5-key-dbtable as base for local table-type-definition is not ok ??? (I really doubt it). I simply have a two-level table hierarchy and…
icbytes
  • 1,831
  • 1
  • 17
  • 27
1
vote
1 answer

Left outer join does not select all equipment notifs

I want to select all notifications with the relevant information and I also want the notifications that have no equipment. But when I use below join, I only get the ones where the equipment is not null. Shouldn't the left outer join make sure I get…
Matthijs Mennens
  • 1,125
  • 9
  • 33
1
vote
2 answers

Find SAP modifications of function groups includes

(access key for SAP standard modifications needed for test data of this question) Introduction: I want to find a certain type of modification to a certain SAP standard repository object (IDES test dataset). The modification is located in the…
Ela
  • 325
  • 1
  • 3
  • 13
1
vote
3 answers

ABAP LIKE with select option

I have the following abap program that looks as following: TABLES lfa1. DATA gt_lfa1 TYPE SORTED TABLE OF lfa1 WITH UNIQUE DEFAULT KEY. SELECT-OPTIONS sl_lifnr FOR lfa1-lifnr. SELECT-OPTIONS sl_name FOR lfa1-name1. START-OF-SELECTION. SELECT…
softshipper
  • 32,463
  • 51
  • 192
  • 400
1
vote
0 answers

How to create work order and assign notification through BAPI?

I would like to use the BAPI BAPI_ALM_ORDER_MAINTAIN() in order to create a work order and assign an existing notification to it. The following does not work: ls_methods-refnumber = 1. ls_methods-objecttype = 'HEADER'. ls_methods-method =…
paolo
  • 97
  • 3
  • 10
1
vote
2 answers

How can I link RSEG table into BSEG or RBKP to BSEG?

I already browse the web but i find no answer that can solve my problem. I tried the concatenation of RBKP-BELNR and RBKP-GJAHR into BKPF-AWKEY to get the BKPF-BELNR then BKPF-BELNR to BSEG-BELNR, but always show no records. I need to link to the…
Dumbest666
  • 47
  • 3
  • 13
1
vote
1 answer

How to replace a message for a locked user in SAP Logon?

We lock all business/developer SAP users for each system copy/upgrade session. The users are informed in advance about the planned works, but some of them try to logon into the system. They see SAP standard message that the user is locked and ask…
Skalozub
  • 539
  • 7
  • 26
1
vote
1 answer

Suppress Purchase Requisition quantity check

I have a case where I need the Purchase Requisition (ME51N) to work even if the quantity is set to 0. The standard Purchase Requisition does not allow this in SAP. How can I find out while debugging where and how to make the enhancement changes, or…
XAF
  • 1,462
  • 1
  • 11
  • 22