This is a test message to test the length of the message box.
ABAP Quick Editable popups
Created by Software-Heroes

ABAP Quick - Editable popup


Have you ever searched for an easy way to view and change your data? Here you can find out how easy it will be for you in the future.

Today's tip is a bit shorter than you might be used to, but we want to show you a way to display data quickly and easily. The advantage of this function module is additionally the editability of the data. This gives you a flexible way to display data quickly, easily and changeably.



All the magic is in the function module STC1_POPUP_WITH_TABLE_CONTROL. Before we call it, you still need to read the data. In the following listing you will find an example with table T001 (company codes).

" Selection
 FROM t001
 INTO TABLE @DATA(lt_t001)

" Call of the function module
    header            = 'Anlage von Änderungen'
    tabname           = 'T001'
    no_button         = abap_false
    table             = lt_t001
    no_more_tables    = 1
    too_many_fields   = 2
    nametab_not_valid = 3
    handle_not_valid  = 4
    OTHERS            = 5.
IF sy-subrc <> 0.



The data will be outputed in a popup. Changes to the data are transferred to the local table and can then be backed up to the database.

Editable popup preview



You can compare the changed data with the help of one of our older tips and write back customized and new lines to the database or transfer them to your result. We hope this little tip can help you in your daily work.

Included topics:
Comments (0)

And further ...

Are you satisfied with the content of the article? We post new content in the ABAP area every Friday and irregularly in all other areas. Take a look at our tools and apps, we provide them free of charge.

ABAP Quick - RFC Error handling

Category - ABAP

How do you actually handle errors when communicating via a destination in the function module? More about this in our tip.


ABAP Quick - CLEAR right

Category - ABAP

Delete correctly? In this article we want to take a look at when it makes sense to delete and how you can do it effectively.


ABAP Quick - Performance chained statements

Category - ABAP

Let's take a look at the performance when creating chained statements with DATA and FIELD-SYMBOL. Which variant will be ahead in terms of performance?


ABAP - ALV still relevant in 2022?

Category - ABAP

Today the joking question, do we still need reports that generate ALV outputs in 2022? In this article, we want to look into this question.


ABAP in Change

Category - ABAP

The programming language ABAP has been changing for years and is being modernized in various concepts. In this article, we'll look at it in detail.