cancel
Showing results for 
Search instead for 
Did you mean: 

Condition Triggers even if SY-SUBRC is made 4 inside the req. routine

Former Member
0 Kudos

Hi Experts,

I have Z condition type which triggers automatically based on the condition records.

Now we have added a Requirement->Pricing->Routine in which we are making sy-subrc = 4 based on some condition.

However I see still the condition is triggering (Not ignoring the condition even if sy-subrc = 4 inside the routine).

Even I have tried both KOBED and KOBEV routines..

Any suggestion where I am going wrong?

Thanks

Kumar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Sounds like yuor requirement routine is not activated. Run ABAP RV80HGEN (via SE38). (Only need to do this once after creatingg the routine - not after every change.)

Former Member
0 Kudos

hi,

normally this is global variant which is set tobe 0 if the statement is executed successfully.

you can sit with an TECHNICAL PERSON abaper because he will debugg and see what went wrong.

regards,

balajia

reazuddin_md
Active Contributor
0 Kudos

Hi Kumar,

This is bit technical, your technical person definately fix this issue.

Still, If possible, you can provide the coding to understand the logic & helpful to suggest.

Regards,

Reazuddin MD