Professional Documents
Culture Documents
Go to Transaction SFP->
Select Interface Radio Button & Enter the name to create New Interface. (Eg:- ZLOGO).
Creating a import parameter Go to Form Interface->import ->Parameters name -> Create an import parameter IV_VALUE which is of character one.
Global
Definitions->Global
data
Go to Initialization->code Initialization. Enter the below code. string = 'image/bmp'. data: lv_logoname TYPE TDOBNAME.
if iv_value IS INITIAL. lv_logoname = 'ZSAP_LOGO'. else. lv_logoname = 'ZSAP_CHANNEL'. ENDIF. CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp EXPORTING p_object = 'GRAPHICS' p_name = lv_logoname p_id = 'BMAP' p_btype = 'BCOL' RECEIVING p_bmp = xstring EXCEPTIONS not_found =1 internal_error = 2 OTHERS = 3.
Save, Check & Activate the Interface, once the interface is activated. Go back to transaction SFP. Select Form Radio Button & Enter the name to create New Form. (Eg:- ZLOGO). Enter the Description & Interface name which we have created and press save button. Form Context is displayed as below.
Click here to continue... Dynamically Populating the Logo on the adobe form
...Previous
Save and click on Layout to Design the Layout Form layout will be displayed.
From the Object Library -> drag and drop the Image Field.
Select object name ->go to Palettes->Click object->. Check the Checkbox Embed Image Data Checkbox then go to Binding tab and bind the Graphic
Save and activate the form. Execute the form. Passing the Import Parameter IV_VALUE Blank