‎2013 Oct 07 8:44 AM
HI Experts,
I am using FM L_TO_CANCEL with all the important parameters. But I am getting the XFELD_WRONG exception in my program. But when I try in SE37 the TO was cancelled successfully.
Do you have any suggestion to avoid this exception?
Thank you in advance,
Lyssa
‎2013 Oct 07 9:06 AM
Dear Lyssa,
In the Program, please check the values you are passing.
I believe somewhere you are passing wrong value (may be a check field)
Especially 1 character field, it should be " " (space) or "X" (capital X).
Regards
Sajid
‎2013 Oct 07 9:06 AM
Dear Lyssa,
In the Program, please check the values you are passing.
I believe somewhere you are passing wrong value (may be a check field)
Especially 1 character field, it should be " " (space) or "X" (capital X).
Regards
Sajid
‎2013 Oct 07 9:41 AM
Thank you Sajid for your advice. I accidentally used 'x' for commit work insted of using abap_true to be sure that 'X' is pass to the parameter.
‎2013 Oct 07 9:09 AM
Hi Lyssa,
This exception it raised when one parameter which must be filled with a "X" has been filled with another character.
You should place a break-point inside of IF of "XFELD_PRUEFEN" form (include LL03BF02). Run the program and investigate which PERFORM call is raising the error using the call stack view of debugger.
Regards,
Alex
‎2013 Oct 07 9:43 AM
Thank you very much Alex for this information. I will make sure to check the parameters being passed to the FM.