Funktionsbaustein RS VARIANT DELETE

Aus SAP-Wiki
Wechseln zu: Navigation, Suche

Dieser Funktionsbaustein RS_VARIANT_DELETE löscht eine Variante vom Report.

CALL FUNCTION 'RS_VARIANT_DELETE'
  EXPORTING
    report                     =
    variant                    =
*   FLAG_CONFIRMSCREEN         =
*   FLAG_DELALLCLIENT          =
* IMPORTING
*   VARIANT                    =
* EXCEPTIONS
*   NOT_AUTHORIZED             = 1
*   NOT_EXECUTED               = 2
*   NO_REPORT                  = 3
*   REPORT_NOT_EXISTENT        = 4
*   REPORT_NOT_SUPPLIED        = 5
*   VARIANT_LOCKED             = 6
*   VARIANT_NOT_EXISTENT       = 7
*   NO_CORR_INSERT             = 8
*   VARIANT_PROTECTED          = 9
*   OTHERS                     = 10
          .
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

Literatur