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: 

ME41/ME42 attachment in another report

Former Member
0 Kudos

Hi friends,

My user will attach the attachment in ME41/ME42 and we have another z alv report. there we will see all details of quotation. There if the user will click on particular quotation it will display vendor details in popup window. In that window can i provide any link to open that attachment (which user attached in Me41/Me42)

is it possible can any body suggest me.

Thanks in Advance.

Kumar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

You have the option of attaching the document in the header and in the line item..... Which one you want to display?

1. You can create text editor and display the document from the pop up screen

OR

2. You can navigate to the ME43 t-code and display the header / item

text a standard. You have to write a BDC for this and navigate.

Regards,

Prabhu Rajesh

3 REPLIES 3

Former Member
0 Kudos

Hi ,

You have the option of attaching the document in the header and in the line item..... Which one you want to display?

1. You can create text editor and display the document from the pop up screen

OR

2. You can navigate to the ME43 t-code and display the header / item

text a standard. You have to write a BDC for this and navigate.

Regards,

Prabhu Rajesh

0 Kudos

Hi frnds,

can any body..

I am in the process of my task. I need some body help.

I used method to display attachment. here is my code.

loop at lt_srgbtbrel into ls_srgbtbrel.

l_objkey = ls_srgbtbrel-instid_b. "i.e. the Note's ID

create object lo_gos_service.

call method lo_gos_service->display_note

exporting

ip_note = l_objkey

ip_disp_html = 'X'.

endloop.

But problem is it is showing attachments which format is '.txt' files only, other format files are not showing.

Any other method is there to read the attachment.

Regards,

Kumar

0 Kudos

Hi Kumar,

try this...

loop at it_attach.

create object lo_gos_service.

call method lo_gos_service->display_attachment

exporting

IP_ATTACHMENT = it_attach-instid_b.

endloop .

I hope it will display all type of attachments.

Regards,

Naresh

Reward if it is helpful.