10-25-2005 5:49 PM
hi
why am i not able to hit the userexit_move_field_to_vbap
when iam changing a sales order line item field.
( i set the breakpoint in one of teh includes in that exit.)
10-25-2005 6:03 PM
10-25-2005 7:40 PM
Can you please post your code for this routine? I think, all you have in this code is include statement. Is that correct? If so, your first include may have a check statement at the very begining and may be that check statement condition is failing. Double click on the include and put your breakpoint on the first executable line of that include.
If you have check statements in includes, and the condition fails, the control will not go any further. It will come out of the routine.
Srinivas
10-25-2005 6:14 PM
HI,
I have a stupid question,
have you restart the transactin VA01 or VA02 after you put the break point?
10-25-2005 7:25 PM
yes i did,
i dont know whats happening..
may be i will try hard coding the break point and try.
10-25-2005 7:49 PM
in change mode that is in va02
i believe that the exit is not triggered when u change a line item field.
10-25-2005 7:57 PM
Hi KP;
It should. Can you check something for me? Could you go to SE38 and type in the program name MV45AFZZ - the include program that owns the form?
Once you do that, try the "where used" function to see if it is included in the main program SAPMV45A. That needs to be the case for the user exit to work. If it is not there, there is a program you can run to put it there. I am looking for that program right now, but maybe you could check that in the meantime.
Cheers,
John
10-25-2005 8:04 PM
Put a break-point in this include 'FV45PFAP_VBAP_FUELLEN' in the form 'form vbap_fuellen.' on this statement
Userexit
perform userexit_move_field_to_vbap(sapmv45a).
This is almost at the end of the above form.
Then go through it step by step.
Srinivas