You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After commenting the try catch in the main block to discover the issue an exception was being raised
In line 555
DATA(character_after) = substring( val = ls_type-typesrc off = result-offset + result-length len = 1 ).
Its raising an exception CX_SY_RANGE_OUT_OF_BOUNDS in cases where ls_type-typesrc is like the line below:
## begin of TS_C_MM_MATERIALGROUPVALUEHELP,## MATERIALGROUP type C length 9,## MATERIALGROUPTEXT type C length 60,## MATERIALGROUPNAME type C length 20,## end of TS_C_MM_MATERIALGROUPVALUEHELP
I've wrapped the code around a try catch but I believe there is a more elegant way to do that. the code was trying to find a dot in the end of the line.
Anyway, I was trying that on the GW service MM_PUR_PR_PROFNL_MAINTAIN
The text was updated successfully, but these errors were encountered:
After commenting the try catch in the main block to discover the issue an exception was being raised
In line 555
DATA(character_after) = substring( val = ls_type-typesrc off = result-offset + result-length len = 1 ).
Its raising an exception CX_SY_RANGE_OUT_OF_BOUNDS in cases where ls_type-typesrc is like the line below:
## begin of TS_C_MM_MATERIALGROUPVALUEHELP,## MATERIALGROUP type C length 9,## MATERIALGROUPTEXT type C length 60,## MATERIALGROUPNAME type C length 20,## end of TS_C_MM_MATERIALGROUPVALUEHELP
I've wrapped the code around a try catch but I believe there is a more elegant way to do that. the code was trying to find a dot in the end of the line.
Anyway, I was trying that on the GW service MM_PUR_PR_PROFNL_MAINTAIN
The text was updated successfully, but these errors were encountered: