cancel
Showing results for 
Search instead for 
Did you mean: 

How to check if invoice has been generated by a batch job?

ajmal_siddiqui
Participant
0 Kudos

Hello Gurus,

    I have set up a batch job to issue invoices automatically. I would like to know how can i check what batch job created a specific invoice? Is there any way that you can track back the batch job that was responsible for creating an invoice.

  Please let me know

Thank you,

Ajmal Siddiqui

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Ajmal

The log entries for a billing job are held in the VBSK by group number, the individual messages for the job are found in table VBFS and the documents posted in the job are in table vbss under the same group number.

You can view the log for each billing run directly in transaction V.21 ( Type of coll. run = 'F')

Hope this helps
Kind regards
Brian

former_member186077
Active Participant
0 Kudos

Hi,

You can verify the job logs in SM37 and figure out with which job the invoice has got created.

Also as suggested by Ajmal, if you already know the invoice ..check for the date and time and figure out all the jobs that are running during that period and find out the the correct job from spool / job logs.

Thanks and Regards,

Sriranjani Chimakurthy.

Former Member
0 Kudos

Hi Ajmal,

You mentioned that you have set up a batch job for invoice creation so you should be knowing that which batch job has created the invoice, right?

If there are several steps within a batch job, I would check for invoice creation date/time and check for the batch job which was running during that time (+/- 15 mins) in SM37.

Regards

SD