Application Development 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: 

FM to store pic as MIME and FM's to store/retrive pics in cluster table

Former Member
0 Kudos

Customer has need for ABAP code to retrieve a picture from a local drive and store in SAP in either or both of two ways:

1) in the MIME Repository

2) in a cluster table

I know how to get a picture from the local drive and put it in a Picture or HTML Viewer Control, but how do I save the picture in the MIME repository and/or a cluster table?

Does anybody know the FM's, or classes/methods involved?

I've researched this for about two hours in the online doc and here aet the forums and haven't found anything.

Thanks for any help you can provide.

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Hi David, I know I'm not going to make you happy with this one, but I believe you are going to want to debug the function module SKWV_KWUI_DOC_IMPORT. It is called when you upload a MIMI object within the worbench and it appears to do everything.

Regards,

RIch Heilman

5 REPLIES 5

former_member181923
Active Participant
0 Kudos

PS - please don't tell me to look at (RS)DEMO_PICTURE_CONTROL - you'll be wasting your time.

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Hi David, what release are you using?

Regards,

Rich Heilman

0 Kudos

NW2004 ECC 5

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Hi David, I know I'm not going to make you happy with this one, but I believe you are going to want to debug the function module SKWV_KWUI_DOC_IMPORT. It is called when you upload a MIMI object within the worbench and it appears to do everything.

Regards,

RIch Heilman

0 Kudos

Whaddya mean "not make me happy". I'm ecstatic.

Less than 10 days to get this ready for unit testing, plus the exit for the customer subscreen that's gonna be on the tab they added in IMG to hold the pictures plus three text edit controls.

So anything that generates forward motion is fantastic, especially if you think it'll put stuff back as well as bring stuff out.

Thanks very much again, Rich

Dave