0% found this document useful (0 votes)
668 views

How To Place An SE78 Image On An Adobe Form

This document provides a 5-step process for adding an existing SE78 graphic logo named Z_LOGO to an existing Adobe form called ZRUOTC_SERVSTAR_PDF. The steps include: (1) verifying the graphic exists in SE78, (2) adding global variables to the interface, (3) calling a method to retrieve the graphic, (4) creating a graphic node and binding it to the global variable, and (5) adding an image field to the form and binding it to the graphic node.

Uploaded by

Huseyn Ismayilov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
668 views

How To Place An SE78 Image On An Adobe Form

This document provides a 5-step process for adding an existing SE78 graphic logo named Z_LOGO to an existing Adobe form called ZRUOTC_SERVSTAR_PDF. The steps include: (1) verifying the graphic exists in SE78, (2) adding global variables to the interface, (3) calling a method to retrieve the graphic, (4) creating a graphic node and binding it to the global variable, and (5) adding an image field to the form and binding it to the graphic node.

Uploaded by

Huseyn Ismayilov
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

How to place an SE78 image on an Adobe Form | SAP

Blogs
Friday, September 22, 2017 3:14 PM

Clipped from: https://blogs.sap.com/2014/06/09/how-to-place-an-se78-


image-on-an-adobe-form/
The following five steps show how to place an SE78 graphic on an Adobe
Form.

In this example, we will add an existing color logo named Z_LOGO to an


existing Adobe form,
ZRUOTC_SERVSTAR_PDF. First, make sure the logo exists in SE78 as a
bitmap image and that
the Adobe form and interface exist as well.
(1) Go to transaction SE78 and ascertain Z_LOGO exists by following this
path:
Form Graphics->Stored on Document Server->GRAPHICS General
Graphics->BMAP Bitmap Images.
Do a print preview to see the graphic.

(2) Go to transaction SFP. Select the Interface radio button and click the
Change icon.

Under the Global Definitions folder double click into Global Data and add
these fields.

Variable name Type Assignment Type Name Default


Value
V_FIELD TYPE XSTRING
V_BTYPE TYPE TDBTYPE ‘BCOL’

V_ID TYPE TDIDGR ‘BM


AP’

Adobe Forms Page 1


V_OBJECT TYPE TDOBJECTGR ‘GRAPHI
CS’
V_NAME TYPE STXBITMAPS-
TDNAME ‘Z_LOGO’
G_LOGO TYPE XSTRING

Do a syntax check.

(3) Under the Initialization folder, double click into the Code Initialization
area.

Create the following logic.

* Call method get_bds_graphic_as_bmp to retrieve z_logo. Note that v_field


and g_logo
* MUST be typed as XSTRING NOT string or the conversion of the form from
SE78 will
* not work and the logo will NOT display on the Adobe form. On the layout
tab of the
* Adobe form, bind z_logo to the graphics node created here in the
Interface, NOT
* directly to g_logo. Adobe sees g_logo as a text field.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = v_object ” ‘GRAPHICS’
p_name = v_name ” Name of the SE78 logo inside Quotes
p_id = v_id ” ‘BMAP’
p_btype = v_btype ” ‘BCOL’ for color, ‘BMON’ for Black & White
RECEIVING
p_bmp = v_field ” v_field and g_logo must be typed xstring
EXCEPTIONS
not_found =1
internal_error = 2

Adobe Forms Page 2


internal_error = 2
OTHERS = 3.
g_logo = v_field. ” g_logo and v_field must be typed xstring

Do a syntax check, save, and back out of the Interface.

(4) Select the Adobe Form radio button and click the Change Icon.

Go to the Context tab.


Expand the Global Data folder. You should see the 6 fields created in the
Interface.

Under the Context bar on the upper right window, right click on the top
folder.

Choose Create, Graphic and give it a name.

Under the Global Data folder on the upper left window locate the G_LOGO
field.
Drag and drop G_LOGO on top of your new Graphics Node.

Adobe Forms Page 3


Drag and drop G_LOGO on top of your new Graphics Node.

Under Properties at the bottom right window, change the Graphic Type
Value.
It defaults to ‘Graphic Reference’. Change it to ‘Graphic Content’.

Enter G_LOGO as the Graphic Content field.


Enter ‘IMAGE/BMP’ with the quotes as the MIME Type.

(5) Go to the Layout Tab of the Adobe form.


Expand the standard palette object library and choose an Image Field.

Drag and drop the Image field to the location on the form where you want
the logo displayed.

Under the Field tab make sure the URL field is blank because this is not a
static logo.

Adobe Forms Page 4


Check the Embed Image Data box. However, it seems to work checked or
unchecked.
Choose Scale Image Proportionately.
Under the Binding Tab, bind the image field to the Graphic Node, not to the
G_LOGO field.

Do a syntax check on the interface and form. Save and activate.

Adobe Forms Page 5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy