cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic printing of bills for only one item category

Former Member
0 Kudos

Hi Friends,

I have defined output type to billing document type and invoice is getting printed as soon as I am saving in VF01 and that is OK.

Now business wants that if sales document item category (VBRP-PSTYV) is XX then only print the invoice automatically and for other sales document item category don't print it automatically.

So it is possible in my current setting for one prticular sales document item category XX. Or

do I need to define another condition table and then have to define different bill type for that sales document item category (VBRP-PSTYV) XX and then subsequent output type for that bill type and so on.

Please advise.

Regards

Ashu

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

closed

Former Member
0 Kudos

Hi Ashu,

You can create a new table and access sequence including item category VBRP-PSTYV for allowed field for your output type and outut condition record for specific item category from NACE t-code.

Or you can create new routine for requirement for your output type in your output determination procedure with your abaper.

I hope these will work on that.

Regards,

Former Member
0 Kudos

Thanks for reply,

Or instead of that I think I use another way

for that item category I can define another bill type and then new output type.

And then in output deter. procedure for that newly created output type I shold not select manual only chk box and for other output types ( it must be selected).

And then I can assign new bill type to output deter. procedure and output type

And.

Can I schedule VF04 batch job by item category? Actually am not getting any option of item category in VF04.

Any pointers.

Regards

Ashu

Former Member
0 Kudos

Hi Ashu,

If you want to do that, additionally, you need to maintain new copying control as a reference doc. according to delivery to billing for copying control. so, how will you create your billing doc. in new billing type automatically unless you did maintain your new billing type to your sales order type. for this reason, you can maintain only one billing type in your sales doc.

I think new routine will work an very useful in your output determination procedure as I mentioned before. Please contact your abaper for this change for your specifiv item category.

Please share with us the further progress about this issue.

Regards,