06-16-2008 11:21 AM
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
06-16-2008 11:31 AM
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
06-16-2008 11:31 AM
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
06-17-2008 3:10 AM
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
06-19-2008 2:29 AM
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.