Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all together,
maybe some of you guys know a work-around for a problem concerning SAP TCode "KE30".
I'd like to analyse some of our COPA Reports in Qlikview. With the external connector of Theobald Software "XtractQV" I've got the possibility to send a "print" signal to SAP so the connector can get the report out of SAP.
With the QV SAP Report Connector there is no possibility to send SAP the print signal so that a spool file is generated .. plz help me 😉
Somebody knows how to enable a SAP generated program (executed by KE30) to create a spool file ?
Best regards
Benjamin
OK.
Got it ! I was able to copy the SAP generated program and edit an INCLUDE program called " RKDBATFO ". Inside this include the "DRUCKEN" or "PRINT" option has to be set "true" and "LISTART" should be "3" - this way the report automatically has the "PRINT" option and can be accessed by QVSAPReportConnector.
Just copy the include to the Z-namespace and edit the lines:
*----------------------------------------------------------------------*
AT SELECTION-SCREEN ON listart.
*----------------------------------------------------------------------*
IF active_bat EQ 'X' AND drucken EQ 'X' AND error EQ space.
PERFORM check_value(rkdbatch) USING 'RKB1D' 'LART_BATCH'
listart subrc.
IF subrc GT 0.
MESSAGE e134(kh).
ENDIF.
ENDIF.
* Listart ALV nicht erlaubt bei Pflichthierarchie "HW0309020
IF ACTIVE_BAT EQ 'X' AND ERROR EQ SPACE
AND LISTART = '3' AND G_HIER_OBL = RKD_TRUE.
MESSAGE E485(KY).
ENDIF.
* ADD THESE LINES *
DRUCKEN = RKD_TRUE.
LISTART = '3'.
Save the beast and include the newly generated program.
HAPPY PRINTING