Skip to Content
0
Former Member
Jun 23, 2010 at 09:12 AM

Searching for the function of ICON_DELETE_ROW

41 Views

Hi there,

my problem is to get the function of a function key. It might be a sap standard. The button is the third functionkey on the selection-screen of the transaction se16. It deletes the first entry of a "extension" of a select. Because sap uses it I am thinking there is a function block for it.

Maybe my source is useful.


TABLES sscrfields.
DATA del_button LIKE smp_dyntxt.
SELECTION-SCREEN FUNCTION KEY 1.

* Auswahloption Auftragsnummer
SELECT-OPTIONS: trkorr FOR p_korr.

SELECTION-SCREEN ULINE.
* Auswahloptionen Auftragstyp, -status und -kategorie
SELECT-OPTIONS: trfunct  FOR p_atyp NO INTERVALS,
                trstatus FOR p_asat NO INTERVALS,
                korrdev  FOR p_cat  NO INTERVALS.

SELECTION-SCREEN ULINE.
* Auswahloptionen Anlagesystem, Anlagemandant, Zielsystem und Zielmandant
SELECT-OPTIONS: origin   FOR p_quel NO INTERVALS DEFAULT sy-sysid,
                client   FOR p_qucl NO INTERVALS DEFAULT sy-mandt,
                tarsys   FOR p_ziel NO INTERVALS,
                tarcli   FOR p_zicl NO INTERVALS.

SELECTION-SCREEN ULINE.
* Auswahloptionen Inhaber und Datum
SELECT-OPTIONS: as4user FOR p_user NO INTERVALS DEFAULT sy-uname,
                as4date FOR p_data NO-EXTENSION.

INITIALIZATION.
* Definition des Buttons zum Zeilen löschen
  del_button-text      = 'Zeile löschen'.
  del_button-icon_id   = '@18@'.
  del_button-quickinfo = 'Zeile löschen'.

  sscrfields-functxt_01 = del_button.

AT SELECTION-SCREEN.

  CASE sy-ucomm.
    WHEN 'FC01'.
      MESSAGE I000(VZ) WITH 'Hier muss die Verarbeitung von "Zeile löschen" erfolgen.'.
  ENDCASE.

There is a programm which is handling the standard functioncodes it is called RSDBRUNT, but I don't know how to get the needed function smart in to my programm.

Thank you for your help