Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

SAPCODES

ABAP OO-ABAP ENHANCEMENTS RFC & BAPI ALE-IDOC USEFUL PROGRAMS WEBDYNPRO FPM WORKFLOW HANA ODATA-UI5 BASIS TEAM POSTS

ADDING SE78 LOGO IN ADOBE FORM


 One comment
Search … 

Advertisements

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

This site is managed by Manish Shankar and Shiva


Prasad . You want to share your content then reach us
via email: info@sapcodes.com . This site is not
a liated with SAP SE.

RECENT POSTS

What is an API ?
Exposing service / REST APIs from SAP – 2
EXPOSE SERVICE / API FROM SAP – XML response
EXPOSE Parameterized SERVICE / APIS FROM SAP
Exposing service / REST APIs from SAP
Test APIs through Postman
Find User who ran the Report/TCode on certain day
Retrieve IDoc details from Transaction ID (TID)

Email Address
Go to Tx- SFP and create and interface.

Follow sapcodes.com

BLOG STATS

4,810,217 hits

RECENT COMMENTS

Ram on CI Partner Settlement


CUSTOM BUTTON, SELECT ALL, DESELECT ALL &
FILTER OPTION IN OOPS ALV – USING
CL_GUI_ALV_GRID – henrydaiit on Custom Button,
Select All, DeSelect All & Filter option in OOPS ALV –
Using CL_GUI_ALV_GRID
EXPOSE SERVICE / API FROM SAP – XML response –
SAPCODES on Exposing service / REST APIs from SAP
EXPOSE Parameterized SERVICE / APIS FROM SAP –
SAPCODES on Exposing service / REST APIs from SAP
Exposing service / REST APIs from SAP – SAPCODES
on Test APIs through Postman

Go to global data.

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

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.

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

Assign the interface.

Map the interface global variable to the form context area.

On the form context area, create a Graphic.

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.

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

Under binding, click on the  data binding option.

Choose Graphic.

So image mapping is done.

Activate and test the form.

So here we have the image.

5 Votes
Rate this:

   

Related

Logo in Script Logo on a Window Background Picture in Smartform Page


November 19, 2015 November 19, 2015 December 28, 2015
With 1 comment

« Displaying Image & Background Image in Adobe Form Displaying MIME picture in Adobe Form »

ONE COMMENT

Anonymous says:
March 28, 2022 at 12:07 pm

It worked. Thanks for saving the time!

 Like
Reply

LEAVE A REPLY

Enter your comment here...

Advertisements

Website Powered by WordPress.com.


ABAP OO-ABAP ENHANCEMENTS RFC & BAPI ALE-IDOC USEFUL PROGRAMS WEBDYNPRO FPM WORKFLOW HANA ODATA-UI5 BASIS TEAM POSTS

You might also like