Funktionsbaustein RSPO OUTPUT SPOOL REQUEST

Aus SAP-Wiki
Zur Navigation springenZur Suche springen

Dieser Funktionsbaustein RSPO_OUTPUT_SPOOL_REQUEST erzeugt einen Ausgabeauftrag zu einem Spoolauftrag.

CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
  EXPORTING
"   COPIES                         = 0
"   DEVICE                         = '*'
"   DIVISION                       = '*'
"   ENDPAGE                        = 0
"   PRIO                           = 0
"   RECEIVER                       = '*'
"   REQEST_TITLE                   = '*'
    SPOOL_REQUEST_ID               =
"   STARTPAGE                      = 0
"   TELELAN                        = '*'
"   TELENUM                        = '*'
"   POSNAME                        =
"   ACTTIME                        =
" TABLES
"   ATTRIBUTES                     =
" EXCEPTIONS
"   ARCHIVE_DEST_INVALID           = 1
"   ARCHIVE_DEST_NOT_FOUND         = 2
"   ARCHIVE_DEST_NO_RIGHT          = 3
"   CANNOT_ARCHIVE                 = 4
"   CHANGE_ARCHDEST_NO_RIGHT       = 5
"   CHANGE_COPIES_NO_RIGHT         = 6
"   CHANGE_DEST_NO_RIGHT           = 7
"   CHANGE_DEVTYPE_NO_RIGHT        = 8
"   CHANGE_PRIO_NO_RIGHT           = 9
"   CHANGE_TELENUM_NO_RIGHT        = 10
"   CHANGE_TITLE_NO_RIGHT          = 11
"   DEST_INVALID                   = 12
"   DEST_NOT_FOUND                 = 13
"   DEST_NO_RIGHT                  = 14
"   INTERNAL_PROBLEM               = 15
"   INVALID_FAX_ATTRIBUTE          = 16
"   INVALID_PARAMETERS             = 17
"   NON_OWNER_NO_RIGHT             = 18
"   NO_LAYOUT                      = 19
"   NO_SPOOL_REQUEST               = 20
"   OUT_AGAIN_NO_RIGHT             = 21
"   SPOOLER_PROBLEM                = 22
"   OTHERS                         = 23
          .
IF SY-SUBRC <> 0.
* Implement suitable error handling here
ENDIF.

Literatur