Skip to Content
0
Former Member
Jun 25, 2010 at 03:34 PM

VOFM Pricing routines

36 Views

Dear Friends,

I have an issue in pricing procedure to exclude condition types for certain conditions.

in Pricing procedure, Z00001 the condition types ZA01 & ZA02 are added.

For the logistic conditions ZA01 a requirement is to be defined which excludes the distribution channel 02 (field sales) and the material type ZAC1.

But when i see into SPRO setting for pricing procedure, there is already a requirement is added with below logic.

FORM KOBED_960.

*{ INSERT

sy-subrc = 4.

if komp-kposn ne 0.

check: komp-prsfd ca 'X'.

check: komp-kznep = space.

endif.

sy-subrc = 0.

*} INSERT

ENDFORM.

FORM KOBEV_960.

*{ INSERT

sy-subrc = 0.

*} INSERT

ENDFORM.

So, if i need to add the above conditions, whether can i add it in same requirement or need to create a new one.

I am very new to form routines, so, please provide a logic and suggest us that where can i add these conditons.

Thanks,

Srinivas......