‎2010 Mar 05 11:27 AM
Good evening!
I made a requirement, that I get the field KOMP-KZWI4 and I put a value the condition before the requirement.
The requirement reads the value and set the SY-SUBRC = 4 as demand.
But the condition doesn't desappear in the pricing.
Setting the sy-subrc = 4, have another setting that i have to do?
Best regards,
Denis
‎2010 Mar 05 1:37 PM
Denis,
should work as you described.
check VOFM-Activation of your routine run RV80HGEN.
Set Breakpoint and see if it's getting reached and subrc is really set to 4
Cheers
carsten
‎2010 Mar 05 1:37 PM
Denis,
should work as you described.
check VOFM-Activation of your routine run RV80HGEN.
Set Breakpoint and see if it's getting reached and subrc is really set to 4
Cheers
carsten
‎2010 Mar 05 1:42 PM
Hello!
The requirement is activated on the VOFM.
The sy-subrc is correctly set to 4, but doesn't desappear.
I'm storaging the value in the variable KONP-KZWI4.
I realized that when the routine run the first time, this value = 0, all of the items.
The second time, the value already filled, and set su-subrc = 4 correctly, but don't erase the condition.
Any other tips?
Thanks in advance.
‎2010 Mar 05 1:47 PM
‎2010 Mar 05 1:51 PM
I must put this KOBEV in blank?
I always put the same code that I put in KOBED.
Best regards,
‎2010 Mar 05 2:56 PM
The requirement is working correctly. All I have to do is saving the sales order. The pricing recalulated with all the values that the requirement need and eliminate the conditions!
Thanks to all!