2009 Nov 30 12:24 PM
Dear Abaper's,
i have requirement to store image (*.JPG) in SAP database so i m using following function, store a file in MIME public folder, but i have one more requirement to display this image through TCODE.
have u any idea to display image in MIME repository object.
Please help me to solve this problem.
Regards,
Abhilash
R_MIME_REP = CL_MIME_REPOSITORY_API=>IF_MR_API~GET_API( ).
LR_MIME_REP->PUT(
EXPORTING
I_URL = 'SAP/PUBLIC/img/Test.jpg' "p_path
I_CONTENT = LV_CONTENT
EXCEPTIONS
PARAMETER_MISSING = 1
ERROR_OCCURED = 2
CANCELLED = 3
PERMISSION_FAILURE = 4
DATA_INCONSISTENCY = 5
NEW_LOIO_ALREADY_EXISTS = 6
IS_FOLDER = 7
OTHERS = 8 ).
2009 Nov 30 12:34 PM
Create one Report with the reference of the report : DEMO_PICTURE_CONTROL
Create the T Code for the report from SE93..
Its solved...
2009 Dec 01 4:18 AM
HI
please tell me how many images will store in MIME repository object.
Regards,
Abhilash
2009 Dec 01 4:23 AM
it depends on the space your basis has assigned to MIME repository.
2009 Dec 01 4:39 AM
2009 Dec 01 4:57 AM
hi
how to display MIME repository into a report i want to display all images into a report format in 1 by 1 ??
Abhilash
2009 Dec 01 5:11 AM
2009 Dec 01 5:39 AM
2009 Dec 01 5:43 AM
A solved answer need to be marked, that is how ppl who search your thread later will know that, this is the solution.