Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
1 answer
95 views

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 ...
Sandra Rossi's user avatar
0 votes
1 answer
142 views

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 ...
Suncatcher's user avatar
  • 10.6k
1 vote
1 answer
125 views

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,862
0 votes
1 answer
179 views

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 =...
Loui's user avatar
  • 11
0 votes
0 answers
124 views

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,...
k34l's user avatar
  • 103
0 votes
0 answers
49 views

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 ...
Byron Saldarriaga's user avatar
0 votes
1 answer
140 views

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 ...
Schesam's user avatar
  • 772
0 votes
0 answers
448 views

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 ...
Mohammed Al Mobairik's user avatar
0 votes
0 answers
118 views

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 ...
Mogera's user avatar
  • 37
0 votes
0 answers
71 views

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 ...
Almos's user avatar
  • 164
-1 votes
1 answer
88 views

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 ...
Hugo Kern's user avatar
0 votes
1 answer
239 views

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 ...
ERPROOTS's user avatar
0 votes
1 answer
216 views

I'm currently trying to find a Standard-FM or Class or inbuilt-Function, that can perform a "simple" numeric check. Currently i just do IF val CO '0123456789.,+-'. But thats not really nice. ...
Schesam's user avatar
  • 772
0 votes
0 answers
179 views

I've installed latest Eclipse and ABAP ADT. I did the pre-reqs specified here https://tools.hana.ondemand.com/#abap However when I go to create an ABAP Cloud project I don't see an option to choose '...
Mark Daley's user avatar
0 votes
2 answers
305 views

I have the below CDS view. I need to do 1 more thing that the business has requested. Column Name1 has value 'STARBUCKS' in the db table and when user tries to search with 'Starbucks' it does not ...
Sandip Barnwal's user avatar
0 votes
0 answers
103 views

Is it possible to somehow have a child entity the same as root entity? If the root entity is Task it can have other tasks as children and those children also can have other tasks. Is it possible in ...
dziq45's user avatar
  • 3
0 votes
1 answer
270 views

I get the following error in the following sentence in SAP ABAP SQL: "SELECT" is not defined in the ABAP dictionary as a table, projection view, or database view." select * from ( ...
En TPZ's user avatar
  • 11
0 votes
0 answers
290 views

I would like to get all sales orders where the material number is ABCD. I would do this with an EXISTS in OpenSQL: SELECT * FROM VBAK INTO TABLE @DATA(lt_target) WHERE EXISTS ( SELECT vbeln ...
András's user avatar
  • 1,400
0 votes
0 answers
90 views

I have a question in regard to the standard Mass Edit functionality available for ODATA V4 RAP. The standard currently does not seem to support the grouping of fields into particular sections; with ...
Piotr SAPKot's user avatar
0 votes
1 answer
77 views

I was able to use Eclipse on macOS without issues three days ago, but now it crashes immediately after the initial loading screen. The splash screen appears briefly, but then Eclipse closes without ...
jesuismert's user avatar
0 votes
1 answer
182 views

We are researching older programs and other objects in our SAP ECC6 system and have encountered many programs that end in ======FT (e.g. ZTEST=======FT). It appears that the subroutines in these ...
david tenney's user avatar
0 votes
0 answers
557 views

I'm trying to add a value help to an extended field of the standard report Monitor Purchase Order Items I've added the field gsber to the report by extending CDS view C_PurchaseOrderItemMoni and the ...
Cutter's user avatar
  • 1,862
0 votes
0 answers
87 views

I am starting off on learning ABAP and require to make small code snippets and run them, often with Breakpoints. In the learning program at https://learning.sap.com/learning-journeys/acquire-core-abap-...
Divyansh Goenka's user avatar
0 votes
0 answers
93 views

We are running SAP HANA (version 81) on IBM POWER9. I have a simple ABAP program that runs as a background job. It receives random MATNR keys and performs SELECTs using these keys. There can be more ...
Alexa's user avatar
  • 9
0 votes
0 answers
205 views

I have a requirement where different documents are saved as a xstring on a database table. These documents should now be displayed. For this I use the SAP Document Viewer. I got it to work with PDFs, ...
SBECK1's user avatar
  • 266
1 vote
0 answers
72 views

I have a strange issue after automatic win11 update. All my selection texts in the dark theme turned black. This in combination with dark background makes things impossible to read / work with Visual ...
Wiktor Wiktor's user avatar
0 votes
1 answer
258 views

I have a task to replace the second column, which data is stored in STXH and STHL tables (currently 40 characters long) with a new column that displays longer text. The new column should be generated ...
krumpirko8888's user avatar
1 vote
2 answers
393 views

Even though I am sorting the internal table LT_DATA by the FKDAT field, the POSNR field is still being sorted in an unexpected order. For example, in the original data of the internal table, POSNR ...
Prabhand Reddy's user avatar
0 votes
0 answers
106 views

Im using BAPI_PRODORDCONF_CREATE_TT to create a Prod-Order. I set postg_date in the Structure for the Timetickets to our budat, but that also changes everytime the bldat in the mkpf. How to avoid that?...
Schesam's user avatar
  • 772
0 votes
0 answers
358 views

I have an action in an ABAP RAP application that creates an accounting document. However, when an error occurs and I set a message in the 'reported' field, the entity's status cannot be updated with ...
I.B.N.'s user avatar
  • 1,034
1 vote
1 answer
112 views

We have a standard Fiori Application that is calling a pretty complex standard oDataService. We have an enhancement implementation (ZCL_MYENHANCEMENT) that is called as part of the backend call from ...
Cruncher's user avatar
  • 197
1 vote
1 answer
289 views

How can I add a new line on a string in ABAP on Eclipse? This is my code below and I just want to put a newline after the first line so my code will not be redundant: OUT->write( |Firstname: { ...
darth-coder's user avatar
1 vote
2 answers
657 views

I have table column ZZPATTN which stores patterns like 01-001\*, 01-002\*, etc. and I have the variable IM_NAME which contains values like 01-001-ABC, 01-002-DEF, etc. In SELECT statement WHERE clause,...
user29774157's user avatar
2 votes
1 answer
323 views

I used the function module APPL_LOG_READ_DB to read logs. I am getting data of messages like msgno, id, ty, v1, v2, v3, v4. I want one single message using these field in an itab or string. The goal ...
Monika Kathore's user avatar
0 votes
2 answers
194 views

Currently I set the dropdowns of an INT4 id field as follows: TYPES: BEGIN OF dropdown_column_ty, columnname_handle TYPE lvc_fname, columnname TYPE lvc_fname, ...
Schesam's user avatar
  • 772
0 votes
1 answer
97 views

I want to set two tabs. When I run the program, it only shows the address tab and the tab strip control to switch to the other tab doesn't show up. Why? I defined the two subscreens as follows: ...
Olude david's user avatar
0 votes
0 answers
436 views

I've got code like @Consumption.filter: { default value: '2025' }. Instead of this constant value, I want to have a dynamic value approach like: last day of the current month current year = !blank ...
sankar babu's user avatar
0 votes
1 answer
150 views

I am looking for an ABAP function module - or a method - which replaces all INCLUDE statements in the source code of a given main program (like the source code of ZCL_TEST======================CP for ...
rplantiko's user avatar
  • 2,768
0 votes
2 answers
264 views

Is there any way we can clear for loop structure fields in sap abap and return it back to new internal table. LOOP AT lt_a INTO DATA(ls_a). CLEAR: ls_a-f1, ls_a-f2. APPEND ls_a TO lt_n. ...
divScorp's user avatar
  • 502
1 vote
1 answer
2k views

I want to add buttons to a standard screen. I have added the buttons to the GUI status, but they are still not visible. What is the reason and how to make them visible? For instance, I have changed ...
Sandra Rossi's user avatar
1 vote
1 answer
279 views

There is a Dynpro screen with a GUI Status containing buttons that I want to extend with custom buttons. How to know the names of the program and the GUI Status used? How to find the ABAP place where ...
Sandra Rossi's user avatar
0 votes
0 answers
198 views

I wrote a test class and tried to run it from RSPLAN. I created a planning function in RSPLF1 with these settings: "without blocks" "process empty records" I enter the planning ...
 Kinli 's user avatar
0 votes
2 answers
544 views

I'm working on an SAP ABAP program where I have an ALV report with two custom buttons. When a user clicks one of the buttons, a popup window appears with two fields where the user needs to enter data. ...
Kelvin Huynh's user avatar
0 votes
0 answers
214 views

I created a custom transaction code ZMB52 by copying the standard SAP transaction code MB52. In the program, I'm trying to add two custom push buttons to the ALV toolbar, but the buttons are not ...
Kelvin Huynh's user avatar
0 votes
1 answer
343 views

I am working on an SAP Dynpro screen with a tabbed layout, and I want to include the standard selection TABLES PERNR. in one of the tabs. Specifically, my goal is to have: Tab 1: Contains the ...
Youssef Benslimane's user avatar
1 vote
1 answer
649 views

I have a raw dataset that looks like this: that I need to convert to looking like that for today, which is 18.12.2024: It is in essentialy pivoting. So far I managed to create the dynamic table ...
kdobrev's user avatar
  • 310
0 votes
1 answer
655 views

So I tried EPS2_GET_DIRECTORY_LISTING and EPS_GET_DIRECTORY_LISTING. But the issue is, that inside the function, there is a check to verify whether the user has the necessary permssions for transports....
Frontmaniaac's user avatar
0 votes
0 answers
119 views

We are implementing a custom function to attach DMS document for FI tcodes F-22, F-29, F-47, FB60, etc. Currently, we added a custom button to FB60 and assigned function code to it and we created an ...
Aamjit Yanglem's user avatar
1 vote
1 answer
1k views

Here is an outline of my code that submits a background job: CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = v_jobname sdlstrtdt = sy-datum sdlstrttm = sy-...
mmgro27's user avatar
  • 515
0 votes
2 answers
447 views

I need a single digit positive number on the Selection-Screen. Things I have tried so far: This has no effect on visible length: parameters pnum TYPE i VISIBLE LENGTH 1. Using type p LENGTH 1 works: ...
Christian's user avatar
  • 536

1
2 3 4 5
70