Code: Alles auswählen.
FORM gos_document_add
USING iv_okcode TYPE okcode.
IF gr_gos_manager IS NOT BOUND.
gv_obj-objkey = zembr-gennr && zembr-zreqid && iv_okcode.
gv_obj-objtype = 'EXPORT_DOC'.
CREATE OBJECT gr_gos_manager
EXPORTING
* io_container =
* is_bc_object =
is_object = gv_obj
* it_service_selection =
* io_callback =
ip_start_direct = abap_true
* ip_no_instance = space
ip_no_commit = abap_false
* ip_mode = 'E'
* ip_vsi_profile =
EXCEPTIONS
object_invalid = 1
callback_invalid = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ELSE.
gr_gos_manager->display_toolbox( ).
ENDIF.
ENDFORM.