cancel
Showing results for 
Search instead for 
Did you mean: 

Billing output user exit

Former Member
0 Kudos

Hi,

My requirement is to have checking on material price during billing process.

When billing document posted -> the output determination is set automatically. But when user try to print the billing doc, I want to have some checking on material pricing group and be able to show error message if pricing not maintained.

Is there any user exit can be used ?

Thanks,

Melissa

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Melissa,

You need to get a routine written through VOFM and need to assign this routine in Billing Output Rocedure with the output Type in the requirements column.

You need to identify the Material Pricing group which particular groups/ else identify the Pricing Condition type which is responsible for this Material Pricing group based discount/surcharge and look for the values from KONV table the PK-FK relationship between VBRK/VBRP table and KONV table id done through KNUMV field in the billing tables ,take that number and then go to KONV look for that particular Condition Type KSCHL Files and its value in KWERT/KBETR check if the vlaue is not null.

Hope it helps.

Former Member
0 Kudos

Hi

You can code it into VOFM-->output routine only.

Former Member
0 Kudos

Can you explain more about VOFM - output routine only ??

I cannot find output routine in VOFM

Thanks,

Former Member
0 Kudos

Hi

Goto VOFM>Requirements>Pricing.

Enter new routine number there and click on "source text (F5)" button. Please take ABAPer help in it.

After completion of coding assign this number to pricing condiiton type in pricing procedure.

Former Member
0 Kudos

Hi,

Thanks for replying, I think this is not my requirement.

The billing process is no problem. My problem is :

when I want to print the billing document , I need to do checking for every item code is maintained with certain pricing group.

This pricing group is different with the pricing group used for determining billing - condition.

It's for form layout printing purposes only.

so, the user exit I need is to check during PRINTING process.

Thanks,