Adding SE78 logo in Adobe Form


 A logo with  name ‘LOGO_ALL’ ( .BMP pic) is uploaded in SE78.

1

2

Go to Tx- SFP and create and interface.

3

4

Go to global data.

5

Create a Variable – LOGO type as XSTRING ( this will hold the picture data at runtime )

6

In Code initialization- Read the SE78 logo data in XSTRING format and save in the global variable. Activate the interface and go back.


 

CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
  EXPORTING
    p_object       ‘GRAPHICS’     ” SAPscript Graphics Management: Application object
    p_name         ‘LOGO_ALL’    ” logo Name 
    p_id           ‘BMAP’    ” SAPscript Graphics Management: ID
    p_btype        ‘BCOL’    ” SAPscript: Type of graphic 
  RECEIVING
    p_bmp          =    logo ” Graphic Data
  EXCEPTIONS
    not_found      1
    internal_error 2
    others         3.

7

Create a form by providing the name and then selecting the create button.

8

Assign the interface.

9

Map the interface global variable to the form context area.

10

On the form context area, create a Graphic.

11

Select  graphic type as- Graphic content and provide Graphic content as LOGO ( that holds the graphic value in XSTRING format ) and MIME type as ‘image/bmp’  . Then go to the layout design.

12

Drag & drop an Image field from Object Library to the form page.

13

Under binding, click on the  data binding option.

14

Choose Graphic.

15

So image mapping is done.

16

Activate and test the form.

17

18

19

So here we have the image.

20


 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s