cancel
Showing results for 
Search instead for 
Did you mean: 

want to attach all the linked documents (or scanned documents) of customer

Former Member
0 Kudos

Hi,

I want to show all the linked documents (or scanned documents) of particular customer in web dynpro abap.

If anybody has solution on. Please help me.

regards,

kaleem.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

The below code is used to fetch the scanned documents once they are stored in Mime Repository.

DATA: mr TYPE REF TO if_mr_api,

content TYPE xstring.

mr = cl_mime_repository_api=>get_api( ).

mr->get( EXPORTING i_url = 'sap/bc/webdynpro/sap/zhvg_adobe2/popup.pdf'

IMPORTING e_content = content ).

Have a look at this link too.

http://help.sap.com/saphelp_nw04s/helpdata/en/44/15a40b56080d1be10000000a114a6b/frameset.htm

Thanx.

Former Member
0 Kudos

hi,

You can store the Documents in Mime Repository as Jpg or any other format.

In the Webdynpro UI , you can provide LinktoAction UI Element and on the click of this element you documents gets opened.

I hope it helps.

Former Member
0 Kudos

Thanks saurav for your immediate reply,

customer has to see his related documents only, is it posible in your solution?

please suggest.

kaleem

Former Member
0 Kudos

hi,

->You have to give the URL where the document is stored in Mime Repository.

-> Plz refer my code given earlier.

-> In the below line , you can open particular pdf for a particular user.

-> For particular user, you have to check with if.

-> According to the user, call the document required using the below statement.

mr->get( EXPORTING i_url = 'sap/bc/webdynpro/sap/zhvg_adobe2/popup.pdf'

Refer the code given earlier too.

Thanx.