Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

log table

Former Member
0 Kudos

i am working with FM and it run in a JOB and i want to get all the messages From the FM on a log inside the job what should i do???

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Hi,

Check these FM <b>BP_JOBLOG_READ

BP_JOBLOG_SHOW </b>

check the table <b>TBTCO</b>

Regards

vijay

4 REPLIES 4

former_member223537
Active Contributor
0 Kudos

Hi,

In the background program, call the FM in event START-OF-SELECTION. Raise the messages in FM using Message command. It will be captured automatically.

Use FM 'BP_JOBLOG_SHOW_SM37B' to display the job log.

Best regards,

Prashant

former_member188685
Active Contributor
0 Kudos

Hi,

Check these FM <b>BP_JOBLOG_READ

BP_JOBLOG_SHOW </b>

check the table <b>TBTCO</b>

Regards

vijay

0 Kudos

how i used this FM

the JOB is in background

0 Kudos

Hi,

The Fm is especially used to Read the Background job log.

did you read the documentation

Text

Read Background Request Log

Use

Read the job log of the specified job and store it in a table for for further 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 the entries that were returned.

Parameters

CLIENT

JOBCOUNT

JOBLOG

JOBNAME

JOBLOGTBL

Exceptions

Regards

vijay