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: 

Document attachment to a material

0 Kudos
243

Hello and sorry for my bad english

I have a material in MM02 with a image ( .jpg) attachment to a material, i can see the image in "attachment list" but i need to print this image in a sapscript or smartforms...

How i can do this? How and where save SAP the information about this attachment files?

thanks to all

3 REPLIES 3

Former Member
0 Kudos
49

Hi,

You can upload the image. Steps are:

Command in your Sapscript

/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E

These are the steps to be followed for uploading graphics in R/3 system

1. First save the file as BMP

2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and

make it Zoom as 100% and save as *.TIFF

3. Open SE38 and execute program RSTXLDMC

4. Give your TIFF file path name

5. Select Bcol (for Color)

6. TEXT ID will be ZHEX-MACRO-*.

7. Inplace of * write your own logo name (ZCOMPANYLOGO)

8. Execute the program

9. Now Goto SE71 create your ZFORM

10. Create logo window

11. Goto text element of logo window

Regards,

Bhaskar

Former Member
0 Kudos
49

First load image into SAP SE78 Transaction,then write a program and design the layout..

use SE78 Transaction to load image

0 Kudos
49

No, sorry

I already have the image in sap, but not where...

I can se it in transaccion MM02 -> "attachment list " (icon arrives at the left), there i can see a list of documents attachment to material (pdf, jpg, txt, etc...).

How and where save SAP the information about this attachment files?

AND

How can i access to a document in that list from my code abap?