cancel
Showing results for 
Search instead for 
Did you mean: 

If anyone worked on the sales pricing requirements(vofm)

Former Member
0 Kudos

If anyone worked on the sales pricing requirements(vofm), can u tell what happens in the sapcode, if create the requirements in vofm tcode

Accepted Solutions (0)

Answers (2)

Answers (2)

bcrao
Active Contributor
0 Kudos

Hi,

This is nothing but but programm which will be inserted in sap code(includes),

these includes are in programme.

while running transaction , the system read the sap code once it comes to certain point (break point) this will be mentioned in include then system read the programm in the include and goes back to main programm.

same will be true in user exits

Former Member
0 Kudos

Hi Rama,

Pricing Requirement is basically a check before a condition type populates with its value.

we define the requirement and assign this to condition type as required.

for example, you have a discount condition ZABC which should only populate when the material is delivered from Chennai plant.

If this check ( certain requiremnt which we want to get satisfied before a particular condition type populates) becomes true during sales doc. processing, then

condition type is given a Go-Ahead by the system that it can populate.

we acheive this by using parameter SY-SUBRC and set this system variable to 0 if condition is true

basic outline of the code will be like following ( one of the ways) :

IF <Condition > = TRUE

SY-SUBRC = 0

ELSE

SY-SUBRC = 4

we can also utilize the CHECK statement to acheive this.

Hope it gives an idea to understand pricing requirement.

Please let me know if you have any doubt.

Best Regards,

Gaurav Raghav