Scenario on displaying logo, background image and fetching data from multiple tables

...Previous

Inserting logo on the form

Go to pallets -> object then a new window will opens as shown below. (Compare the above and below diagrams)

Double-click on the image dragged from the library (here it is shown below) then it will show a F4 help for selection of the image like this..

 

Click on the image and choose open then it will be on the body page and you can select the image and increase the size of the image also

 

For the image to be displayed on the form, it is important to do this. Right Click on the image and click on object and check the EMBED IMAGE DATA checkbox. 

 

 

How to put the background image on the form 

 

To put the image as a background, select the image into the body page and right click on the image and choose send backward then it will become the back ground like this..

 

(You need to check the checkbox EMBED IMAGE FIELD for the background image here as well)  

Save, Activate and execute it .

Provide a personnel number (input)

 

Choose execute. Give the input device as LP01 or LOCL 

Choose print preview. 

 

How to call this in a program
REPORT Zadobeforms .
data:/1BCDWB/FORMOUTPUT type  FPFORMOUTPUT ,
     /1BCDWB/DOCPARAMS  type SFPDOCPARAMS ,
     ie_outputparams   type SFPOUTPUTPARAMS .
CALL FUNCTION 'FP_JOB_OPEN'
  CHANGING
    ie_outputparams       = ie_outputparams .
          .
*---here get the function module name from the form 
CALL FUNCTION '/1BCDWB/SM00000220'
  EXPORTING
   /1BCDWB/DOCPARAMS        = /1BCDWB/DOCPARAMS
    pernr                    = '00001000'
 IMPORTING
   /1BCDWB/FORMOUTPUT       = /1BCDWB/FORMOUTPUT  .
CALL FUNCTION 'FP_JOB_CLOSE'  .

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image