Fonction SAP BP_JOBLOG_READ - Read Background Request Log

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLIENT TBTCJOB-AUTHCKMAN C 3 SY-MANDT X Job Clients
DIRECTION BTCCHAR1 C 1 X Read Direction (B = From Beginning, E = From End)
JOBCOUNT TBTCJOB-JOBCOUNT C 8 SPACE X Job identification no.
JOBLOG TBTCJOB-JOBLOG C 20 SPACE X Name of Job Log in TemSe Database
JOBNAME TBTCJOB-JOBNAME C 32 SPACE X Job Name
LINES BTCINT4 I 4 X No. of Lines

Paramètre Reférence Long. Facultatif Description
JOBLOGTBL TBTC5 572 Job Log Entries in List Format

Exception Description
CANT_READ_JOBLOG
JOBCOUNT_MISSING
JOBLOG_DOES_NOT_EXIST Log Not Found in TemSe Database
JOBLOG_IS_EMPTY Log is Empty
JOBLOG_NAME_MISSING
JOBNAME_MISSING Job Name Not Specified
JOB_DOES_NOT_EXIST Job Already Deleted

Verwendung
Read the job log of the specified job and store it in a table for forfurther processing.

Note
To display a job log, you can use function module BP_JOBLOG_SHOW.This function module calls BP_JOBLOG_READ and then displays theentries that were returned.

Description
Client in which the job was schedued.

Default
The default setting is the client that the user of your program islogged onto.

Description
The internal ID number that the background processing system assigned toa job. It is used in addition to the name to uniquely identify the job.
The TEMSE database is an internal SAP database for "temporary,sequential objects", such as log files.
The name of the job log must be read from the TBTCJOB table. The jobname and number are used to find the correct log.

Description
Name of the job as assigned by the user. It is required to identify thejob.

Description
Table name that was returned by a function module. The table is aninternal table that contains the lines of the job log.