I am trying to find a way to preserve a space within SQL concatenation. For context: A table I am selecting from a table with a single concatenated k ...
I am trying to find a way to preserve a space within SQL concatenation. For context: A table I am selecting from a table with a single concatenated k ...
I'm new in using SQL in ABAP, so it must be a silly question, but is this somehow possible?: as I'm new, I cannot add images directly. Thanks a ...
As far as I know there is very little difference between the two except syntax. You have to use: CALL METHOD for AMDP CALL DATABASE PROCEDURE for HAN ...
I want to compare the field bseg~zuonr with aufk~aufnr in an inner join SQL select. This select is not working right for me and not giving back any ...
I want to get the latest data from a table in ABAP. Here an example from the table ckmlcr: MANDT KALNR BDATJ POPER ...
I have written a code to get all records into internal table using select query, perform concatenation on it and update the DB from this internal tabl ...
I need to update two fields called F1 and F2 within database table called ANLZ. Table ANLA has a field called ACTIVE that states, whether the fields ...
In my CDS view, I'm required to Convert the Long timestamp (TZNTSTMPL) field to the Short timestamp(TZNTSTMPS). This conversion will help in Filterin ...
We are comparing performance between a classic R/3 and a S/4 system, and simple selects from standard function modules ( e.g. selecting records from a ...
I want a select with dynamic where conditions in ABAP Syntax. An SQL Statement would look like this: My approach was to add 2 structures ZMATN_STR ...
I am trying to validate if a record in a structure is in a cluster table. The code that I thought of using is the following: However, I am not allo ...
I have to join two tabled ACDOCA and BKPF. I have written the follow code for it. Facing the following errors:---- Runtime error: DBSQL_SQL_INTERNA ...
My report has a screen with select-option ranges, if the user enters few entries the report works fine, but if the user enters a few thousand entries ...
I'm working with ABAP and OpenSQL and I think I'm running version 7.5, but I'm not really sure about this. I try to use ORDER BY in my SELECT. My pro ...
I have an importedParameter which I want to search inside of a column in a SELECT. But for now it is case-sensitive, how can I make it case-insensiti ...
I am trying to read the table TIBAN only in the cases when the field BANKN of the KNBK table contains the string "IBAN". The problem that I am having ...
How we can write the below WHERE? It does not recognize the field name BLART. How can we pass it? Thanks Elias EDIT: here is the whole WHERE: ...
The below statement is causing short dumps saying: The SQL command for a FOR ALL ENTRIES select is too large So in the code below, the ranges t ...
I have an internal table populated with start and end dates for each type of period. I want to use this internal table in a WHERE clause of an SQL que ...
As part of ABAP 7.50, SAP has imposed restriction on direct consumption of CDS view in ABAP OPEN SQL select query, through strict mode. So that, I am ...