cancel
Showing results for 
Search instead for 
Did you mean: 

VF06 Billing Jobs

Former Member
0 Kudos

Hi

We trigger the VF06 job (program RV60SBAT) for billing from ESP. This job in turn spawns some child jobs that start with INVOICE* as job name. This is creating a problem to properly monitor the billing job from ESP and also to trigger subsequent jobs that are dependent on billing. Problem is in ESP, the parent billing job shows as complete even when some of the child jobs are still running or go to cancel. How do you deal with this problem in Professional instance?

Expecting early response.

Thanks

Sriram

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

VF06 splits the billing due list and runs jobs on separate chunks of the due list so that the process is parallelized and takes lesser time to finish.

If you want to take control of the number of job steps that are spawned, then there are two parameters that are available on VF06 selection screen that you can use

Number of jobs: This will determine how many jobs will be spawned

Cust. per step: This will determine how many customers will be processed in each spawned job

So if you are reducing the number of spawned jobs, you should accordingly increase the number of customers per job to process. Also remember that this will also mean that there will be fewer jobs having to do work more work in more sequential manner.

Former Member
0 Kudos

Thanks for the response. But our issue is When we trigger VF06 it in turn triggers VF04 functionality and starts creating Billing docs. In the mean time Job sends completed message within few seconds but actually in the background VF04 stills runs and creating billing documents. Once VF06 gets completed it triggers VF31 activity. Since VF04 activity is not completed and running in the background VF31 takes only completed invoices and leaving others at that point of time. So what we required is how to control VF06 to give completed message. It should give completed message only after completing all the billing documents. Currently it gives completed message within few seconds without checking VF04 activity which runs and creating billing documents.

We are in the process of creating Z program still good suggestion will add value to the work.

Thanks

Sriram

Shiva_Ram
Active Contributor
0 Kudos

Check OSS Note 776211 - Printing created documents in the background

Regards,

0 Kudos

Hi Sriram

As no doubt you noticed RV60SBAT just reads the billing due index and calls SDBILLDL to

create the billing documents. This is a historical function as SDBILLDL was not background

compatible previously but it is now.

You can schedule you background billing directly with SDBILLDL.

Also for contention issues you can split the activities of billing.

When the billing job runs it does 3 things

1) creates the billing document

2) post the invoices to accounting

3) generates the billing output

Doing all 3 things together with parallel jobs etc is not a good idea and not necessary

To split the 3 activities

- put a posting block on the billing document type in transaction VOFA

- changing the timing of any output from immediate processing to run with a job

1) Create the billing documents with SDBILLDL as a stand alone job

2) Upon completion run RVFAKSPE to Release billing documents for accounting

3) run RSNAST00 or VF31 to create the output afterwards

You can simply manage the timing of the batch schedule and it should not be

necessary to create a custom program to handle this case

I hope this helps you further

Kind regards

Brian

Answers (1)

Answers (1)

Former Member
0 Kudos

This message was moderated.