3,468 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
112
views
Convert internal table based on local custom type to STANDARD TABLE
My goal is to show the data of a internal table using an instance of the cl_salv_table class created via the factory method.
When the internal table is defined as STANDARD TABLE it works, but when I ...
-1
votes
0
answers
81
views
Not able to retrieve data from external service in SAP CAPM
I have created a SAP CAPM project which is connected to hana-db and it is successfully fetching the data from there. Now, I have created an OData service in S4 system which I have tested there and ...
0
votes
2
answers
75
views
SEGW Mapping on GetEntitySet (Query) setup for date range data
I've been hardstuck on making service to expose data through API/OData. The url I use:
http://server.serversap.com/sap/opu/odata/sap/ZGW_YTI_POS_SRV/EtDataSet?$format=json&sap-client=100&
$...
-2
votes
1
answer
110
views
What means the key in the declaration of a STANDARD internal table?
I see in many existing ABAP programs that standard internal tables are declared without key fields, for instance:
TYPES type_itab TYPE STANDARD TABLE OF sflight WITH DEFAULT KEY.
DATA itab_0 TYPE ...
0
votes
1
answer
175
views
CDS-based table type?
Can I create table type from CDS view? This is what I see when I try to put CDS as a line type for TT despite this CDS exists and I see it in SDDLAR. I tried also to create table type based on ...
1
vote
1
answer
156
views
How to hide a SALV table?
I'm trying to bind several SALV tables to the same container to let the user switch between the displayed SALV table. Only one SALV table should be visible at a time. I've tried doing this by binding ...
Cutter's user avatar
- 1,861
0
votes
1
answer
245
views
SAPUI5 ODataModel update (PUT) fails with "HTTP method not allowed", works in SEGW client
I have an OData service generated in SEGW (SAP Gateway).
I want to update a single record from SAPUI5 using oDataModel.update.
My UI5 code:
const owner = this.getOwnerComponent();
const oDomModel =...
0
votes
0
answers
136
views
Limit input characters for a field in a Fiori Elements grid table
I am working on a SAP Fiori Elements application using ABAP CDS views and want to limit the number of characters that can be entered in a particular field that is part of a grid table.
In the frontend,...
0
votes
0
answers
50
views
How to hide x-axis values with function module STAT_GRAPH?
I need to hide all the values in x-axis because they are worthless for the customer and don't want to watch them anymore.
I am talking about this:
How you can see, in x-axis I squared the values I ...
0
votes
1
answer
163
views
How to switch from one SALV to another with the back button?
Let me have SALV1 and SALV2. Both of them display completely different tables, custom buttons etc.
SALV1 is created with cl_gui_container=>screen0 and SALV2 with cl_gui_container=>screen1.
Now I ...
0
votes
0
answers
548
views
ABAP RAP managed: confirmation Pop up for actions
We have created a managed app as ListReport template using SAP Web IDE.
Submitwf is defined on the consumption view and on the interface view.
on Meta Data Extension, Submitwf type is #FOR_ACTION and ...
0
votes
0
answers
120
views
Splitting Spool by pages and download in ABAP
My customer has the request, that a spool with for example 10 Pages need to be downloaded by separated pages.
Let ́s say, that the Spool has 10 pages and at every two pages I need to split the Spool ...
0
votes
0
answers
81
views
lost formatting in file read and overwritten by abap2xlsx
I'm currently facing a problem with lost formatting on every worksheets except the last one in a xlsx file.
My current use-case requires me to read an xlsx file on the application server and append a ...
-1
votes
1
answer
94
views
google-api for geolocation not the same as about google maps
While using the Geocoding API, I noticed that there are differences in determining the country, which do not exist in the Google Maps web interface.
Example:
Input address: city code 300000 + CN
...
0
votes
1
answer
285
views
How to handle dynamic internal table field names in ABAP? [duplicate]
I'm working on a generic report where I need to read values dynamically from different fields in an internal table based on user selection.
How can I retrieve a field's value dynamically when the ...