Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Condition Base value becomes Zero

Former Member
0 Likes
1,089

Hi all,

we created one routine to restrict usage of some condition types for Purchase Order . These are manual condition types .

Created one Rotuine in VOFM --Pricing.Wrote code in FORM KOBED_904 perform.Assigned routine in the M/08 Tcode for those condition types and in routine logic restricting condition types based on sy-subrc value.

when i enter another manual condition type in header for which the routine is not assigned the condition base value of the condition type to which the routine as assigned becomes zero. hence the condition value also becomes zero.

if i enters same in item level it is working fine.

Regards,

Ajay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
692

Hi,

If u didnt assign routine also please check the sy subrc inside the routine and come out.

Regards,

Nandha

3 REPLIES 3
Read only

Former Member
0 Likes
693

Hi,

If u didnt assign routine also please check the sy subrc inside the routine and come out.

Regards,

Nandha

Read only

0 Likes
692

HI Nanda,

Problem Solved. Thanks

Read only

Former Member
0 Likes
692

Hi,

Run the program RV80HGEN then the routine wil get assigned to main program.