cancel
Showing results for 
Search instead for 
Did you mean: 

Billing

Former Member
0 Kudos

Hi Gurus

Your help appreciated

We have batch job running to invoice the customer, but it is printing all the invoices together(based on the invoice numbers) such as international invoices, credit card invoices, credit memos, intercompany invoices.

But i want to print it by the invoice type, How can i activate this (like print all the credit card invoices and then print all the intercompany invoices etc..)

Thanks

Mahesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mahesh,

You need to give a logic to print based on Billing document type. In the output condition type you can find the Form for the specific output type. There you can change the logic. Contact your ABAP personnel.

Thanks & regards,

Chandra

Answers (2)

Answers (2)

former_member183879
Active Contributor
0 Kudos

Hi,

This can have 2solutions depending on the scenario.

If the number ranges for different billing types are different (Assuming that output type is same for all doc type)

In this case, the solution is simple. You have to maintain the master data for your output to be created in batch mode (Dispatch time =1)

Now go to VF31 and schedule a background job giving the processing mode as 1 and billing document number as the specific number range (ex 200*) for one billing type. Provide other relevant details also and now save it as a variant.

Do this for various number ranges and save all those variants.

Now you can schedule the job for all these variants at non-overlapping time (say after a gap of 15min). This will enable you to create outputs of same billing doc type at once.

If the number ranges for different billing types are same (Assuming that output type is same for all doc type)

In this case, if something else like sales org, d.c., division are different for different billing type, you can use that criteria to create v ariants in VF31. Else you have to go for customisation.

If the output types are different for different biling type, then

just click the First Read Messages button in VF31 and save it as variant (after providing other details) and then schedule this. This will first create the PDFs for one output type and then go for the next output type.

Hope this clears your doubt.

You can reward if it is of some help to you

Former Member
0 Kudos

Hello,

In print functionality the system never checks the billing document type, it prints based on the numbers. As it is in the live system you need to think of a possible enhancement. Check with your ABAP consultant with a clear requirement, he may be able to guide you properly.

Prase