cancel
Showing results for 
Search instead for 
Did you mean: 

Billing stop if VPRS is Zero

Former Member
0 Kudos

Hello Experts

Can we stop a sales documents or delivery document to be billed if the VPRS (cost) of it's item is Zero if yes then please tell me how ?

If question is not clear to you then please let me know.

Regards-

Abhi

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Abhi,

You can use your logic in the following Class & Method to stop billing if VPRS is initial:

Class - /BEV1/CL_IM_EM_SD_BILLING

Method - INVOICE_DOCUMENT_CHECK

Make sure to test the functionality with VF04 as well.

Former Member
0 Kudos

Hi

The VPRS condition picks the value from Material master.

If you want to ensure that VPRS is never Zero, then in material master, make the price fields (Valuation price / Standard price) mandatory. This way you can ensure that VPRS wil never be ZERO when you create a sales order or invoice.

Regards

Madhu

Former Member
0 Kudos

Hi ,

VPRS condition values determine from material costing (CK40N) in sales transaction .

(@ madhu ).

Mandatory in material master does not effect in sale order becuase values only comes when we executed the costing run.

If you want to manadaory in sale order also than we can manadatory in pricing procedure but if want only in billing document

than we can use the user exit RV60AFZZ to check the cost values in billing item table (VBRP-WAVWR) .

Regards ,

Sunil Singh

former_member187989
Active Contributor
0 Kudos

VPRS condition type will carry material / production cost.

Validation should be done on doing post goods issue(PGI) because stock is issued at zero cost.

i.e No accounting document will be generated.

You need to do costing run(CK40N) before doing production confirmation of FERT material.

Ensure costing run is done for current period in accounting / costing view of material master before

doing sales documents.

Otherwise system won't allow you to do production confirmation with zero cost.

It will throw error message,"No active standard cost estimate exists".

Lakshmipathi
Active Contributor
0 Kudos

May be you can have a look at the following notes

1) 547570 - FAQ: VPRS in pricing

2) 1365939 - VPRS logic and Customizing settings in SD

thanks

G. Lakshmipathi

former_member303858
Contributor
0 Kudos

Hi,

One way you can do it is take help of an ABAPer and wirte a code.

One way you can do is if VPRS = 0, then put a billing block in sales order or something like that.

SB