cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Job for Billing stopped for delivery not PGI and not picking next PGI delivery in SD

prakash_parikh
Participant
0 Kudos

Hello,

We have an automatic batch job running everyday for Billing dues. It is noticed that if some delivery is incomplete or not PGI the batch job is stopped and not going forward for next PGI delivery to create billing. What is the reason for that? If we want the batch job to ignore such deliveries and create next delivery to create billing what shoul we do?

Thanks

Prakash.

Accepted Solutions (0)

Answers (2)

Answers (2)

VeselinaPeykova
Active Contributor

A more important question is: "Why these documents are present in your billing due list?".

If this is delivery-related billing - deliveries without goods issue are not supposed to be in VKDFS.

If this is order-related billing on delivery quantity you could for example keep billing block in the sales order (No docs with billing block is available in VF04 as selection) and remove the block either manually or via custom coding once goods issue is posted.

prakash_parikh
Participant
0 Kudos

Veselina, Thanks for answer. These all are delivery related billings. Actually let me clarify the issue exactly. Some deliveries are incomplete so no billing will be created. Now what is happening that batch job is stopped here. I want system to skip this incomplete delivery and go to next delivery to create billing.

I want resolution what configuration is needed so next delivery is picked up and billing is created.

Hope my requirement is now clear.

Thanks for your time.

VeselinaPeykova
Active Contributor

I did not test with incomplete deliveries as I have none in the sandbox, but I tried with other kinds of errors like billing block and missing customizing. In my case the job finishes and from the log in v.22 I can see that all records have been tested for processing. To me, what you describe (the job does not process the rest of the documents after encountering an error) does not look normal.

If your billing job gets cancelled and as a result of this the remaining documents are not processed I would look for termination messages.

Did you ask one of your local developers to look into the matter? This is particularly valid if you have recently imported some custom developments.

Jelena
Active Contributor
0 Kudos

Might want to start with explaining what steps exactly are in your background jobs with what parameters. There is no single, standard "job", so I'm not sure what solution is expected from the community when no details whatsoever are provided.

In general, I agree with Veselina's observation. If you're using standard programs it's not how they work.

prakash_parikh
Participant
0 Kudos

Thanks for inputs. I have requested ABAPer to debug to find out reason and also to check the error message if any. I shall revert back to you soon.

prakash_parikh
Participant
0 Kudos

Hello,

We checked with ABAP person and did not find any customization to stop if there is a billing block for delivery and/or billing. When we run the batch job we did not face any issue. Now it is working fine. But could not make out what was reason for earlier issue. Anyway problem is over so closing the thread. Appreciate great for your inputs.

Thanks

Prakash