2009 May 18 5:36 AM
Dear Gurus.
I have made a program and used a picture container in that program
using this following code.
call method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
exporting
p_object = 'GRAPHICS'
p_name = 'Snak TpF Logo'
p_id = 'BMAP'
p_btype = 'BCOL'
receiving
p_bmp = l_graphic_xstr
* EXCEPTIONS
* NOT_FOUND = 1
* INTERNAL_ERROR = 2
* others = 3
.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
After transporting my program to Production Server.
My Program is Running Fine on my ID in Development ID having full access to every module.
But when the client runs this program
it throws a message of RAISE_EXCEPTION.
"RAISE_EXCEPTION" " "
"CL_SSF_XSF_UTILITIES==========CP" or "CL_SSF_XSF_UTILITIES======
"GET_BDS_GRAPHIC_AS_BMP"
or
"CL_SSF_XSF_UTILITIES==========CP" "INTERNAL_ERROR"
or
"ZAPPRAISAL_SNAK2 " "INTERNAL_ERROR"
PLease help me regarding this problem.
Saad Nisar
2009 May 18 5:46 AM
Hi ,
You uncomment the the EXCEPTIONS and check the same code .
Would you please check the bellow code --
call method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
exporting
p_object = 'GRAPHICS'
p_name = 'Snak TpF Logo'
p_id = 'BMAP'
p_btype = 'BCOL'
receiving
p_bmp = l_graphic_xstr
EXCEPTIONS " uncommented
NOT_FOUND = 1 " uncommented
INTERNAL_ERROR = 2 " uncommented
others = 3 " uncommented
.
if sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Note : It is for sure that the user lacking some otherization.
Regards
Pinaki
2009 May 18 5:46 AM
Hi ,
You uncomment the the EXCEPTIONS and check the same code .
Would you please check the bellow code --
call method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
exporting
p_object = 'GRAPHICS'
p_name = 'Snak TpF Logo'
p_id = 'BMAP'
p_btype = 'BCOL'
receiving
p_bmp = l_graphic_xstr
EXCEPTIONS " uncommented
NOT_FOUND = 1 " uncommented
INTERNAL_ERROR = 2 " uncommented
others = 3 " uncommented
.
if sy-subrc 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Note : It is for sure that the user lacking some otherization.
Regards
Pinaki
2009 May 18 6:03 AM
2009 May 18 6:09 AM
Hi,
This exception problem arieses due to the Authorisation problem. Once you uncomment the exception part, then it will show you the proper messages.
Rgds,
Sachin.