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
1 answer

Delete selected row in ALV

I have ALV table and I made a custom button in the table toolbar. Whenever the button is pressed, I want to delete the selected row. Now there's just a message showing up so I could see if the custom button is working. METHOD on_user_command. CASE…
Kevin Mueller
  • 628
  • 3
  • 10
  • 23
1
vote
2 answers

ALV Column Text and Color won't change

I got a SAP ALV problem. I want to change the text and the color of a column. It works if I call the column directly ('BONUS') but when I use it within a DO-clause and concatenate the name of the column it won't work for some reason. Though the…
Dyrdek
  • 411
  • 4
  • 12
  • 33
1
vote
3 answers

SAP ABAP Table control

I'm new to SAP/ABAP programming. I'm really having trouble displaying a simple table control out of my internal table. Could you please help? Currently, if I search for the course by entering a course ID - 10001, it displays a blank table control.…
Nisha Nisha
  • 11
  • 1
  • 4
1
vote
3 answers

Select-options as FM parameter

How can I pass my select-options as a Function Module parameter? I have a program, with some parameters, and need to pass the select-options parameter to a Z_FM to be used in a select statement.
Beto
  • 23
  • 1
  • 7
1
vote
3 answers

TCode per department and user

I have a strange request from the business. They want a report where they give a tcode or tcodes and the program will check which department has this/these and which users. OK, I have found a couple of tables like AGR_TCODES (Assignment of roles to…
ekekakos
  • 563
  • 3
  • 20
  • 39
1
vote
1 answer

Rounding while comparing N variable with number. How to avoid?

Hello to every one and HAPPY NEW YEAR. I have the following problem: a char field contains an amount and I want to make the following check: if wfile-dmbtr < 0.00 The code I use: data: lv_dmbtr(18) type n. write wfile-dmbtr to lv_dmbtr. replace…
ekekakos
  • 563
  • 3
  • 20
  • 39
1
vote
1 answer

Extract data from web site using ABAP

I would like to know how it is possible to extract information from a website (http://www.bcentral.cl) using ABAP. Is it possible? I have little experience in ABAP and I would not know where to start. After obtaining the information I must update…
1
vote
1 answer

Marquee/blinking header text for a screen in module pool program

I have a module pool screen wherein the screen header text needs to be animated(marquee/blink). What could be the best possible solution to achieve this?
1
vote
1 answer

Nested structures in JCo for SAP?

I currently maintain rfc function modules to be called via Java Connector for SAP. My current module returns a table of documents, where each line has some data and another table of items. When introspecting this module via JCo 3.0, it does only…
Tassimmo
  • 33
  • 2
  • 6
1
vote
2 answers

Use of SY-UNAME considered a backdoor injection vulnerability

When i am using the code SY-UNAME == "anyname" and providing a value of any user name it give me backdoor injection vulnerability. Is there any way I can fix this?
Ranjith N
  • 61
  • 1
  • 6
1
vote
1 answer

How do I use substring in WHERE clause?

My expression in OpenSQL is: SELECT * FROM J_1BNFLIN AS B WHERE SUBSTRING(REFKEY , 1 , 10 ) The substring portion of the where clause is not working. What am I doing wrong?
Glauco Oliveira
  • 21
  • 1
  • 1
  • 6
1
vote
1 answer

Dates as column headers in a custom DDIC table

I want to create a custom table with dynamic column headers. For example, column 1 would be the date today then the second column would be tomorrow's date and so on. Can anybody help light me up on this one? Thanks a lot in advance!
Czarinaaaaa29
  • 311
  • 2
  • 8
  • 23
1
vote
1 answer

Tabstrip freezes

I set up a Tabstrip on a Dynpro. Ive got 2 Tabs. On each Tab I set a Subscreen. 0100 - Main Screen 0110 - Subscreen One 0120 - Subscreen Two The tabstrip is defined with these attributes. Tabs: Title strip Reference subscreen Function code …
Lingo
  • 580
  • 2
  • 7
  • 26
1
vote
1 answer

Put graphics behind the text in the same window of SapScript

I need to put a .bmp of a stamp behind some text in a sapscript form - in one window. I've uploaded the bitmap of the stamp by using the se78, I uploaded it as standard text. I'm already done some testing. This is what I got so far: /: INCLUDE…
flohdieter
  • 130
  • 4
  • 15
1
vote
1 answer

How to dynamically set button tooltip, text and icon simultaneously?

I have a button on a module pool screen. I need to change the icon, tooltip and text dynamically based on logic/a condition. I can successfully change the icon and text but am unable to change all three things (icon, text and tooltip) together.…
user3757558
  • 55
  • 4
  • 12