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

Pricing requirement problems

denis_nakamoto
Participant
0 Likes
742

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
686

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

5 REPLIES 5
Read only

Former Member
0 Likes
687

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

Read only

0 Likes
686

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.

Read only

Former Member
0 Likes
686

you should work on KOBED_xxx, not on KOBEV_xxx

Read only

0 Likes
686

I must put this KOBEV in blank?

I always put the same code that I put in KOBED.

Best regards,

Read only

denis_nakamoto
Participant
0 Likes
686

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!