Skip to Content
-1

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

Feb 21 at 04:46 PM

60

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Veselina Peykova
Feb 21 at 05:21 PM
2

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.

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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.

0

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.

2

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.

0
Former Member

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.

0
avatar image
Former Member Feb 25 at 03:11 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded