Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding MIME Repository

Former Member
0 Kudos
310

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 ).

8 REPLIES 8
Read only

Former Member
0 Kudos
220

Create one Report with the reference of the report : DEMO_PICTURE_CONTROL

Create the T Code for the report from SE93..

Its solved...

Read only

0 Kudos
220

HI

please tell me how many images will store in MIME repository object.

Regards,

Abhilash

Read only

0 Kudos
220

it depends on the space your basis has assigned to MIME repository.

Read only

0 Kudos
220

thanks abuddy

Read only

0 Kudos
220

hi

how to display MIME repository into a report i want to display all images into a report format in 1 by 1 ??

Abhilash

Read only

0 Kudos
220

Read only

0 Kudos
220

Thanks Buddy

Solved.

Abhilash

Read only

0 Kudos
220

A solved answer need to be marked, that is how ppl who search your thread later will know that, this is the solution.