SAP Reports / Programs

LKABAT02 SAP ABAP Report - documentation and ABAP source code







LKABAT02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter LKABAT02 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT LKABAT02. "Basic submit
SUBMIT LKABAT02 AND RETURN. "Return to original report after report execution complete
SUBMIT LKABAT02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT LKABAT02

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' EXPORTING PAR_AMAIL = IPAR_AMAIL PAR_DIALG = IPAR_DIALG PAR_JNAME = IPAR_JNAME PAR_LTDAY = IPAR_LTDAY PAR_LTTME = IPAR_LTTME PAR_NONOW = IPAR_NONOW PAR_NSM37 = IPAR_NSM37 PAR_NSP01 = IPAR_NSP01 PAR_PNAKZ = IPAR_PNAKZ PAR_PNAME = IPAR_PNAME PAR_PRINT = IPAR_PRINT PAR_PRIPA = IPAR_PRIPA PAR_RNAME = IPAR_RNAME PAR_SDMSG = IPAR_SDMSG PAR_SMAIL = IPAR_SMAIL PAR_STDAY = IPAR_STDAY PAR_STNOW = IPAR_STNOW PAR_STTME = IPAR_STTME PAR_SWAIT = IPAR_SWAIT PAR_WTIME = IPAR_WTIME IMPORTING PAR_JNAME = OPAR_JNAME PAR_EMAIL = OPAR_EMAIL PAR_JNUMM = OPAR_JNUMM PAR_RTIME = OPAR_RTIME PAR_SPONR = OPAR_SPONR TABLES TAB_SELPA = OTAB_SELPA EXCEPTIONS DELETE_REPORT_INCORRECT = 001 EDLIN_TOO_LONG = 002 GENERATE_REPORT_INCORRECT = 003 INSERT_REPORT_INCORRECT = 004 JNAME_MISSING = 005 JOB_CLOSE_INCORRECT = 006 JOB_NOT_RELEASED = 007 JOB_OPEN_INCORRECT = 008 LOCK_REPORT_IMPOSSIBLE = 009 OPTION_WRONG = 010 PNAME_MISSING = 011 READ_REPORT_INCORRECT = 012 REPORT_IN_TRDIR_MISSING = 013 RNAME_MISSING = 014 SIGN_WRONG = 015 START_DATE_IMPOSSIBLE = 016 START_DATE_MISSING = 017 SUBMIT_INCORRECT = 018.

K_BATCH_REQUEST CALL FUNCTION 'K_BATCH_REQUEST' DESTINATION DESTI EXPORTING PAR_AMAIL = IPAR_AMAIL PAR_DIALG = IPAR_DIALG PAR_JNAME = IPAR_JNAME PAR_LTDAY = IPAR_LTDAY PAR_LTTME = IPAR_LTTME PAR_NONOW = IPAR_NONOW PAR_NSM37 = IPAR_NSM37 PAR_NSP01 = IPAR_NSP01 PAR_PNAKZ = IPAR_PNAKZ PAR_PNAME = IPAR_PNAME PAR_PRINT = IPAR_PRINT PAR_PRIPA = IPAR_PRIPA PAR_RNAME = IPAR_RNAME PAR_SDMSG = IPAR_SDMSG PAR_SMAIL = IPAR_SMAIL PAR_STDAY = IPAR_STDAY PAR_STNOW = IPAR_STNOW PAR_STTME = IPAR_STTME PAR_SWAIT = IPAR_SWAIT PAR_WTIME = IPAR_WTIME IMPORTING PAR_JNAME = OPAR_JNAME PAR_EMAIL = OPAR_EMAIL PAR_JNUMM = OPAR_JNUMM PAR_RTIME = OPAR_RTIME PAR_SPONR = OPAR_SPONR TABLES TAB_SELPA = OTAB_SELPA EXCEPTIONS DELETE_REPORT_INCORRECT = 001 EDLIN_TOO_LONG = 002 GENERATE_REPORT_INCORRECT = 003 INSERT_REPORT_INCORRECT = 004 JNAME_MISSING = 005 JOB_CLOSE_INCORRECT = 006 JOB_NOT_RELEASED = 007 JOB_OPEN_INCORRECT = 008 LOCK_REPORT_IMPOSSIBLE = 009 OPTION_WRONG = 010 PNAME_MISSING = 011 READ_REPORT_INCORRECT = 012 REPORT_IN_TRDIR_MISSING = 013 RNAME_MISSING = 014 SIGN_WRONG = 015 START_DATE_IMPOSSIBLE = 016 START_DATE_MISSING = 017 SUBMIT_INCORRECT = 018.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name LKABAT02 or its description.