‎2009 Dec 26 8:07 AM
Hi,
I am calling a FM : YTUXXWF_ITS_PO_GETDETAIL from inclde : LYTUXXWF_ITSUXX
The above FM belongs to the Function Pool :FUNCTION-POOL ytuxxwf_its MESSAGE-ID yuwf_procurwf.
The below code is throwing a dump everytime the control goes to Raise no_authorization.
CHECK NOT lt_return[] IS INITIAL.
RAISE no_authorization.
'You are not authorized to display document &'.
msg_add 'W' '109' gv_objkey '' '' ''.
Kindly let me know how can we resolve the above dump error.
Regards
‎2009 Dec 26 7:53 PM
‎2009 Dec 26 8:54 AM
please check data type of function module as import parameter and input data which you pass to this import parameter..
both should be exactly same
regard
Shankar
‎2009 Dec 26 10:37 AM
You should find the exact line on which error occur.
If it occurs in this line msg_add 'W' '109' gv_objkey " " "
then possible cause can be datatype of msg_add or gv_objkey.
And why are you using " " " ?
Please check these.
‎2009 Dec 26 11:10 AM
Hi,
Thanks for replying.
The exact line where it throws dmp is
Raise no_authorization.
any idea's
‎2009 Dec 26 11:19 AM
Hi Sam,
Please post the error discription here.
You will get an idea that what is going wrong , if you will read the full message in error.
Also read this http://help.sap.com/saphelp_nw70/helpdata/en/83/636d2012fc11d5991e00508b5d5211/content.htm
‎2009 Dec 26 7:53 PM