cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing requirement

Former Member
0 Kudos

Hi,

I have a requirement to compare 2 values and enter to the billing document.

The scenario - there will be 3 conditions A (header) , B, C (Line item) in the sales order,

At the point of billing creation, the value for these conditions can change,

So we need to replace the old value of condition A,B and C with new values.

The values will be stored in a table , we just have to write a code to check if values are maintained for the conditions, and if so to replace the old value with the new value.

1- Can this be solved by using Condition formula for alternative calculation type?

that is, to write a forumula in VOFM to check if the conditions are there and replace value.

If so in VOFM > can you please let me know the steps i need to follow in order to do this.

2 - Can this be done usinhg pricing requirement.

Appreciate your feedback.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Yes, your requirement is quite straightforward and I believe it can be achieved via routine in VOFM.

The below links will give you a good guide on the VOFM routines available in SAP:

http://saptechsolutions.com/pdf/InsideVOFM.pdf

http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf

http://saptechsolutions.com/pdf/SubsequentFunctionRequirements.pdf

http://www.sapgeek.net/wp-content/uploads/2009/09/VOFM.pdf

http://mysapstudy.blogspot.com/2007/09/sap-sd-vofm-routines.html

Alternatively, you may also want to discuss with your ABAP consultant and leverage on user exits to meet these requirements:

http://help.sap.com/saphelp_45b/helpdata/en/14/f62c7dd435d1118b3f0060b03ca329/content.htm

http://saptricks.com/user-exits-for-price-determination/

There are available exits at both header and item level of pricing that you can consider using.

Hope the above helps.

Thanks.

Answers (0)