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: 

Insert Images in smartforms

0 Kudos

how can i display images in

smartforms, my images are stored in network drive

i want to generate material catalog with picture

i have stored path of image files in ztable for each material

Thanx

1 ACCEPTED SOLUTION

Former Member
0 Kudos

In the main window, created "Graphics"

add your image path and other attributes here.

you will have to upload your image first using SE78

thnx

plz reqard if useful.

5 REPLIES 5

Former Member
0 Kudos

In the main window, created "Graphics"

add your image path and other attributes here.

you will have to upload your image first using SE78

thnx

plz reqard if useful.

Former Member
0 Kudos

hi,

1. Choose transaction SE78.

The dialog window Graphic Administration appears.

2. Choose Graphic -> Import.

3. Enter the file path on your PC (you can use F4 help).

4. Enter the graphic name for the system and select the graphic type (grid screen black/white or grid screen color).

5. If required, set one of the printer attributes Resident in printer memory or Automatically reserve height.

6. Choose Continue.

The graphic is loaded into the system and stored on the Business Document Server (BDS). You can now include it in the Form Painter

Regards,

Sailaja.

Former Member
0 Kudos

hi,

Here is the procedure to display graphics after uploading them using SE78.

1. To create a graphic node, call the context menu for that node in the tree structure that you want to contain the graphic and choose Create -> Graphic.

Create the graphic node as direct successor of the page node or use the context menu in the layout of the Form Painter. You can then position the graphic anywhere on the page.

In the Form Painter the system displays a small box for the newly created node.

2. Enter a unique name for the node and a description (for example, company logo).

3. On the General Attributes tab determine whether you want to include a colored graphic or a graphic in black and white.

4. Use the fields Object, ID, and Name to identify the graphic. Use F4 help of the Name field to copy the values of these fields. If you copy them with ENTER, the system displays the graphic in the Form Painter.

The box for the graphic in the Form Painter also contains the name of the graphic node, which in part overlays the graphic.

5. In the Technical Attributes box determine the graphic resolution according to what the printer supprts. Small resolutions increase the size of the graphic on the form, higher resolutions reduce the size.

6. For graphic nodes that are displayed in a window, there is a box Horizontal position in addition to the general output options.The parameters Reference point and Alignment determine the horizontal position in the window, while the vertical position is determined by the previous output in the window.

Regards,

Sailaja.

Former Member
0 Kudos

Hello,

What SAP version are you working on? Are you planning to have this feature on some web portal or just in form printing?

I am not sure how to integrate the SAP materials with pictures in some network drive. Either you move everything to SAP Apps server as suggested above with graphics tool and then call the reapective image for materials.

Or you might need to use some other tool..say MS-Excel. You can create an RFC that will return you the material number and image file path. You can create a connection thru excel to SAP using VBA code and call the RFC get the Material number and file path. Display the image and material number as required.

This may sound wiered, else you have to develop complete application in VB or java and need to store images in DB.

Hope this confusing enough

Regards,

Vishal

Reward if helpful

0 Kudos

i do not want to upload images in sap system since they are more than 200,000 material image files format is jpg

use of some other tool..say MS-Excel which vishal tyagi suggested can you give me more info. pls

i have inserted image in excel using ole object in sap

do u suggesting using rfc i can insert images in smartforms or any other sap environment

thanx