cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing Condition type

Former Member
0 Kudos

Hi,

I have a requirement to create a manual pricing condition type ZOSC which also needs to be Mandatory only if the Shipping condition is XX in the order. if the Shipping cond is not XX it doesn't have to be mandatory.

So this requirement will be driven by the Shipping condition change on the order.

This being a header condition type will break on the line items.

Can you please suggest if there is a routine available for this condition or if anyone has created a similar one.

Thanks

Sunny

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sunny ,

There is no standara way of doing this . Since it is a header condition so no access seq can help . You can write a small routine in VOFM and assign the same in pricing procedure against this condition type . In routine you can code in such a way to check if shipping condition field is = XX and the value in condition type is = "blank" then set sy-subrc = 4 . This will not allow to save order or proceed until user gives value in the condition type. Thus making it as mandatory .Take help of some one from abap team .

This should work as desired...

BOL .. !!

Former Member
0 Kudos

Hi

have a requirement to create a manual pricing condition type ZOSC which also needs to be Mandatory only if the Shipping condition is XX in the order. if the Shipping cond is not XX it doesn't have to be mandatory.

So this requirement will be driven by the Shipping condition change on the order.

This being a header condition type will break on the line items.

Can you please suggest if there is a routine available for this condition or if anyone has created a similar one.

For this scenario

create condition table - V/03 (Select fields, shipping condition,sales orgz, etc, as per u requirement)

genrate this table,

Assign this table in access sequence

Assign this access sequence to your condition

Create condition record for this condition in combination with shipping condition,

Now when ever shipping condition is XX - sytem will take this condition & value

if there is not XX shipping condition it will not take

Kapil

Former Member
0 Kudos

Hi

There is no standard routine for the requirement given by you ,kindly take the help of ABAPer and write a code in the requirement field

Prior to that create a routine through VOFM -tcode

REgards

Damu