How to add logo in Web templete in BI 7
Any one tell me the steps.
I have uploaded the gif file to MIME reposittory unser customer images folder.
now i am in the WAD design page. if i right click there is a option insert image. if i click that its not going to MIME reposittory
Please help me on that with steps
Thanks
You can go the the HTML tab in the WAD and use an IMG tag such as:
<IMG src="Mime/BEx/yourpath/yourimage.jpg">
This will place the image in your template when you execute it.
Similar Messages
-
Hi Guys,
How to add logo in a Bex report.Hi ABDUL KHADAR
We can only add the logo at Work book level but not the query level @the query
level it wont allow us to add.
Jus open an ordinary excel sheet format it as you wish Ctrl+A and fill with white
color .Then jus save u r logo which u wont to upload in the desktop.
Then go to file insert picture or file and place it wher ever u wont in the work sheet
and save it as a templete and then insert the query in this templete and format it
as per your standarads.
If any struck up feel free to let me know. We explain you clearly...
hope its helpful..
Cheers
R M K
**Assigning poitz ez da only way of saying thankz in SDN** -
JAEHYLEE (R12 ADI) How to add DFF in Web ADI
Goal
How to add DFF in Web ADI
Solution
ADI Mass Addition Template Layout Define에서 DFF를 사용하기 위해서 아래 ER이 현재 진행중이고 그 전에 사용하기 위해서는 아래와 같은 Datafix를 Workaround로 사용하여야 합니다.
Please do the following in the test instance first and if satisfied migrate to production
1.Setup-->Financials>Flexfields>Descriptive>Segments
Query the Mass addition DFF and Category flexfield
2.Both the above is to be defined exactly the same
3.Reference field for both should be ATTRIBUTE_CATEGORY_CODE
4)login to sqlplus apps account and run the following script
sql
- make sure it runs without errors, then commit. Otherwise rollback. This
script should not be run over again, therefore verify the outcome.
- restart the apache listener
- login to apps and navigate to the Webadi Define Layouts page, under FA
responsibility.
- choose a layout for the Additions integrator, include the "Descriptive
Flexfield" and "Context".
- Test it.
SCRIPT
===========
set serveroutput on size 1000000
Declare
content_code varchar2(1000);
interface_code varchar2(50) := 'FA_MASS_ADD_INTERFACE';
begin
dbms_output.put_line('Start add descriptive flexfiedl to Additions
integrator: ' || interface_code);
dbms_output.put_line('Updating attribute columns in bne_interface_cols_b')
Update bne_interface_cols_b
set display_flag = 'N' ,
val_type = 'DESCFLEXSEG',
group_name = 'MASSADD_DF'
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE'
and interface_col_name in ('ATTRIBUTE1','ATTRIBUTE2',
'ATTRIBUTE3','ATTRIBUTE4','ATTRIBUTE5','ATTRIBUTE6',
'ATTRIBUTE7','ATTRIBUTE8','ATTRIBUTE9','ATTRIBUTE10',
'ATTRIBUTE11','ATTRIBUTE12','ATTRIBUTE13','ATTRIBUTE14',
'ATTRIBUTE15','ATTRIBUTE16','ATTRIBUTE17','ATTRIBUTE18',
'ATTRIBUTE19','ATTRIBUTE20','ATTRIBUTE21','ATTRIBUTE22',
'ATTRIBUTE23','ATTRIBUTE24','ATTRIBUTE25','ATTRIBUTE26',
'ATTRIBUTE27','ATTRIBUTE28','ATTRIBUTE29','ATTRIBUTE30');
dbms_output.put_line('Creating CONTEXT');
-- see webadi dev.guide for complete parameter documentation.
BNE_INTEGRATOR_UTILS.UPSERT_INTERFACE_COLUMN
(P_APPLICATION_ID => 140,
P_INTERFACE_CODE => interface_code,
P_SEQUENCE_NUM => 1011,
P_INTERFACE_COL_TYPE => 1, -- indicates that column exists
in interface table.
P_INTERFACE_COL_NAME => 'CONTEXT',
P_ENABLED_FLAG => 'Y',
P_REQUIRED_FLAG => 'N',
P_DISPLAY_FLAG => 'Y',
P_FIELD_SIZE => 30,
P_DEFAULT_TYPE => '', -- JAVA_EACH_ROW, SQL, TABLELOOKUP
etc.
P_DEFAULT_VALUE => '',
P_SEGMENT_NUMBER => '',
P_GROUP_NAME => 'MASSADD_DF',
P_OA_FLEX_CODE => 'FA_MASS_ADDITIONS',
P_OA_CONCAT_FLEX => 'N',
P_READ_ONLY_FLAG => 'N',
P_VAL_TYPE => 'DESCFLEXCONTEXT', -- TABLE,JAVA etc.
P_VAL_ID_COL => '', -- Column for table LOV.
P_VAL_MEAN_COL => '', -- Column for table LOV.
P_VAL_DESC_COL => '', -- Column for table LOV.
P_VAL_OBJ_NAME => '', -- Table for table LOV, class for java
P_VAL_ADDL_W_C => '', -- where clause for table LOV.
P_DATA_TYPE => 2, -- 1=NUMBER,2=varchar,3=date
P_NOT_NULL_FLAG => 'N', -- Y=not null, N=null
P_VAL_COMPONENT_APP_ID => '140', -- NUMBER
P_VAL_COMPONENT_CODE => 'OA_FLEX', -- VARCHAR2
P_SUMMARY_FLAG => 'N', -- VARCHAR2
P_MAPPING_ENABLED_FLAG => 'Y', -- VARCHAR2
P_PROMPT_LEFT => 'Context - Descriptive Flexfield', --
VARCHAR2
P_PROMPT_ABOVE => '', -- VARCHAR2
P_USER_HINT => '', -- VARCHAR2' List - Text','* List -
Text', '* Value','Text','* Date'
P_USER_HELP_TEXT => 'US', -- VARCHAR2
P_LANGUAGE => 'US', -- VARCHAR2
P_SOURCE_LANG => 'US', -- VARCHAR2
P_OA_FLEX_NUM => '', -- VARCHAR2
P_OA_FLEX_APPLICATION_ID => '140', -- NUMBER
P_DISPLAY_ORDER => 802, -- check
P_UPLOAD_PARAM_LIST_ITEM_NUM => '', -- NUMBER
P_EXPANDED_SQL_QUERY => '', -- VARCHAR2
P_LOV_TYPE => 'NONE', -- VARCHAR2
P_OFFLINE_LOV_ENABLED_FLAG => 'N', -- VARCHAR2
P_VARIABLE_DATA_TYPE_CLASS => '', -- VARCHAR2
P_USER_ID => 2 -- NUMBER VERIFY THAT 2 IS CORRCT
dbms_output.put_line('Creating MASSADD_DF_PARENT');
-- see webadi dev.guide for complete parameter documentation.
BNE_INTEGRATOR_UTILS.UPSERT_INTERFACE_COLUMN
(P_APPLICATION_ID => 140,
P_INTERFACE_CODE => interface_code,
P_SEQUENCE_NUM => 1012,
P_INTERFACE_COL_TYPE => 2, -- indicates that column exists
in interface table.
P_INTERFACE_COL_NAME => 'MASSADD_DF_PARENT',
P_ENABLED_FLAG => 'Y',
P_REQUIRED_FLAG => 'N',
P_DISPLAY_FLAG => 'Y',
P_FIELD_SIZE => '', --?
P_DEFAULT_TYPE => '', -- JAVA_EACH_ROW, SQL, TABLELOOKUP
etc.
P_DEFAULT_VALUE => '',
P_SEGMENT_NUMBER => '',
P_GROUP_NAME => 'MASSADD_DF',
P_OA_FLEX_CODE => 'FA_MASS_ADDITIONS',
P_OA_CONCAT_FLEX => 'Y',
P_READ_ONLY_FLAG => 'N',
P_VAL_TYPE => 'DESCFLEX', -- TABLE,JAVA etc.
P_VAL_ID_COL => '', -- Column for table LOV.
P_VAL_MEAN_COL => '', -- Column for table LOV.
P_VAL_DESC_COL => '', -- Column for table LOV.
P_VAL_OBJ_NAME => 'oracle.apps.bne.integrator.validators.
BneDFFValidator', -- Table for table LOV, class for java
P_VAL_ADDL_W_C => '', -- where clause for table LOV.
P_DATA_TYPE => '', -- 1=NUMBER,2=varchar,3=date ?
P_NOT_NULL_FLAG => 'N', -- Y=not null, N=null
P_VAL_COMPONENT_APP_ID => '140', -- NUMBER
P_VAL_COMPONENT_CODE => 'OA_FLEX', -- VARCHAR2
P_SUMMARY_FLAG => 'N', -- VARCHAR2
P_MAPPING_ENABLED_FLAG => 'Y', -- VARCHAR2
P_PROMPT_LEFT => 'Descriptive Flexfield', -- VARCHAR2
P_PROMPT_ABOVE => '', -- VARCHAR2
P_USER_HINT => '', -- VARCHAR2' List - Text','* List -
Text', '* Value','Text','* Date'
P_USER_HELP_TEXT => 'US', -- VARCHAR2
P_LANGUAGE => 'US', -- VARCHAR2
P_SOURCE_LANG => 'US', -- VARCHAR2
P_OA_FLEX_NUM => '', -- VARCHAR2
P_OA_FLEX_APPLICATION_ID => '140', -- NUMBER
P_DISPLAY_ORDER => 803, -- check
P_UPLOAD_PARAM_LIST_ITEM_NUM => '', -- NUMBER
P_EXPANDED_SQL_QUERY => '', -- VARCHAR2
P_LOV_TYPE => 'NONE', -- VARCHAR2
P_OFFLINE_LOV_ENABLED_FLAG => 'N', -- VARCHAR2
P_VARIABLE_DATA_TYPE_CLASS => '', -- VARCHAR2
P_USER_ID => 2 -- NUMBER VERIFY THAT 2 IS CORRCT
dbms_output.put_line('Creating OA_FLEX component');
end;
insert into bne_components_b
(application_id, component_code, object_version_number, component_java_class,
created_by, creation_date, last_updated_by, last_update_login, last
updatedate )
values
(140, 'OA_FLEX',1.0,'oracle.apps.bne.integrator.component.BneOAFlexComponent',
2,to_date('20051201','YYYYMMDD') ,2, 2, to_date('20051201','YYYYMMDD') );
Update bne_interface_cols_b
set last_update_date = to_date('20051201','yyyymmdd')
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE'
and sequence_num in (1011, 1012);
Update bne_interface_cols_tl
set last_update_date = to_date('20051201','yyyymmdd')
where application_id = 140
and interface_code = 'FA_MASS_ADD_INTERFACE'
and sequence_num in (1011, 1012);
Reference
559392.1Hello.
The process is described in the Oracle Web Applications Desktop Integrator Implementation and Administration Guide manual.
Octavio -
Hi,
How To add Logo in ALV Report?
I need step by step explanation.Hi uday,
go through this hope u can understand.
*&amp; Report Z_OOALV_LOGO
*&--Sample Program using ooalv-> by SrikanthV--
REPORT z_ooalv_logo.
****DECLARATION FOR LOGO INSERT
CONSTANTS: cntl_true TYPE i VALUE 1,
cntl_false TYPE i VALUE 0.
DATA:h_picture TYPE REF TO cl_gui_picture,
h_pic_container TYPE REF TO cl_gui_custom_container.
DATA: graphic_url(255),
graphic_refresh(1),
g_result LIKE cntl_true.
DATA: BEGIN OF graphic_table OCCURS 0,
line(255) TYPE x,
END OF graphic_table.
DATA: graphic_size TYPE i.
CALL SCREEN 100.
*&----
*& Module PICTURE OUTPUT
text
MODULE picture OUTPUT.
DATA: l_graphic_xstr TYPE xstring,
l_graphic_conv TYPE i,
l_graphic_offs TYPE i.
CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
EXPORTING
p_object = 'GRAPHICS'
p_name = 'EDS'"IMAGE NAME - Image name from SE78
p_id = 'BMAP'
p_btype = 'BCOL'
RECEIVING
p_bmp = l_graphic_xstr
EXCEPTIONS
not_found = 1
OTHERS = 2.
graphic_size = XSTRLEN( l_graphic_xstr ).
CHECK graphic_size > 0.
l_graphic_conv = graphic_size.
l_graphic_offs = 0.
WHILE l_graphic_conv > 255.
graphic_table-line = l_graphic_xstr+l_graphic_offs(255).
APPEND graphic_table.
l_graphic_offs = l_graphic_offs + 255.
l_graphic_conv = l_graphic_conv - 255.
ENDWHILE.
graphic_table-line = l_graphic_xstr+l_graphic_offs(l_graphic_conv).
APPEND graphic_table.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown " 'X-UNKNOWN'
size = graphic_size
lifetime = cndp_lifetime_transaction "'T'
TABLES
data = graphic_table
CHANGING
url = graphic_url
EXCEPTIONS
dp_invalid_parameter = 1
dp_error_put_table = 2
dp_error_general = 3
OTHERS = 4 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
CREATE OBJECT h_pic_container
EXPORTING container_name = 'LOGO'.
CREATE OBJECT h_picture EXPORTING parent = h_pic_container.
CALL METHOD h_picture->load_picture_from_url
EXPORTING
url = graphic_url
IMPORTING
RESULT = g_result.
ENDMODULE. " PICTURE OUTPUT
Reward points if helpful.
Thanks -
How to add Image to Web Document Report?
Hi,
I need to add Logo in my report. Please share how to achieve this, and are there any constrains regarding picture format, or placement of the image or report transformation(to XL/PDF) or printing.
Thanks in advance,
-VishiYou simply embed the logo in your report however It does not gets exported when the report in exported in Excel but works in PDF.
You can fine complete details and workaround for image in excel at below link.
http://www.dallasmarks.org/blog/2009/02/tips-and-tricks-displaying-images-on-web-intelligence-reports/
--Kuldeep -
How to add logos/picture in Login screen.
Hi,
I wanted to add logos/picture in Obiee login screen.How to achive this.Please let me now the solution.Oracle logo to Company Logo_
Drive:\Oracle\Middleware\Oracle_BI1\bifoundation\web\app\res\sk_blafp\login
Drive:\Oracle\Middleware\Oracle_BI1\bifoundation\web\app\res\sk_blafp\b_mozilla_4
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\.appmergegen_1291264099332\analytics.ear\ukjjdc\res\sk_blafp\b_mozilla_4
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\.appmergegen_1291264099332\analytics.ear\ukjjdc\res\sk_blafp\login
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\sk_blafp\b_mozilla_4
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\sk_blafp\login
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\FMW Welcome Page Application_11.1.0.0.0\upd42q\war\images
Powered By_
Drive:\Oracle\Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\images
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\.appmergegen_1291264099332\analytics.ear\ukjjdc\res\s_blafp\images
Drive:\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images
Catolog to Workbench_
Drive:\Oracle\Middleware\Oracle_BI1\bifoundation\web\msgdb\l_en\messages\uicmsgs
saw.availabledata
<WebMessage name="kmsgCatalogCaption"><TEXT>Catalog</TEXT></WebMessage>
saw.catalog
<WebMessage name="kmsgCatalogStartingWindowTitle"><TEXT>Oracle BI Catalog</TEXT></WebMessage>
<WebMessage name="kmsgCatalogWindowTitle"><TEXT>%0% - Oracle BI Catalog</TEXT></WebMessage>
saw.header
<WebMessage name="kmsgHeaderCatalogPage"><TEXT>Browse Catalog Folders...</TEXT></WebMessage>
Reference_
http://prasadmadhasi.com/2011/10/04/images-and-logos-path/
Customizing Oracle Business Intelligence Enterprise Edition 11g An Oracle White Paper
http://www.oracle.com/technetwork/middleware/bi/customizing-oracle-biee-11g-176387.pdf
also
Oracle BI EE 11g – Styles, Skins & Custom XML Messages
http://www.rittmanmead.com/2010/12/oracle-bi-ee-11g-styles-skins-custom-xml-messages/
ttp://bintelligencegroup.wordpress.com/2010/09/02/customize-user-interface-in-obieeskin-and-style-files/
Thanks,
Balaa... -
How-to add a custom Web Dynpro iView to the MSS Employee Profile
Hello everybody,
i have created a small How-to guide of how to add a custom iView/Web Dynpro application to the standard MSS Employee Profile for ECC 6.0.
The How-to guide can be found <a href="https://wiki.sdn.sap.com/wiki/display/profile/2007/04/15/How-toaddacustomWebDynproiViewtotheMSSEmployee+Profile">here</a>
I hope its of any value.
cheers,
MarkusHello Luca,
unfortunatelly it wont work. A WDA Application does not have access to the Floorplan Manager for XSS Applications. So until SAP develop an interface, you have to stick for such a task to WDJ.
regards,
Markus -
Hi frnds,
How I will upload Logo in SAPSCRIPT?
I have created Header window, Now I want to add Logo in Header Window.
Regards.Hi,
These are the steps to be followed for uploading graphics in R/3 system
1. First save the file as BMP
2. Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and
make it Zoom as 100% and save as *.TIFF
3. Open SE38 and execute program RSTXLDMC
4. Give your TIFF file path name
5. Select Bcol (for Color)
6. TEXT ID will be ZHEX-MACRO-*.
7. Inplace of * write your own logo name (ZCOMPANYLOGO)
8. Execute the program
9. Now Goto SE71 create your ZFORM
10. Create logo window
11. Goto text element of logo window
or
In 4.6x :-
1. Goto SE71 Change the mode to GRAPHICAL
2. Choose the Graph Tabstrips
3. Now type in some name for the LOGO WINDOW
4. Press the IMPORT BUTTON and then IMPORT the BMP file from your DESKTOP
5. The code will be written automatically. You just need to drag and drop wherever you want
the graphics to be.
regards,
Munibabu.K -
How to add a custom web project to creator?
I am using Creator EA2. I want to add a custom web project, which is created based on standard web project, to Creator. I wonder if it is possible by creating a jar and put it into a directory or I should develop a plugin with layout description files, templates?
Thanks
jnewbieIf your struts-enabled project is already compatible with Creator (i.e. you can open it in the IDE) you can get close to what you way using the project template facility available in EA2.
Select Tools->Project Template Manager. From the template manager dialog, click the Add... button and browse to your struts project. The project should appear under the My Templates node in the dialog. Close the dialog and bring up the New Project Wizard. You should see a new project category called My Templates which should contain an entry to your custom project. You can now select this project and proceed through the wizard which will actually clone the project for you as if it were a custom project type. -
How to add logo in the layout of BPS Version
Hi all,
Could somebody tell me the steps or the procedure to place a logo in the layout created by BPS version .
THANKS
SivaHi
U can design the same in web template and assign the web interface of BPS along with logo in web template.
But directly u can not assign the logo to the bps layout.
Thanks,
debasish -
How to add LOGO to the print version of a webreport
Hi experts..can anyone tell me the detail steps for the below query?
Q)how we can add a logo to the print version of a web report. The report is displayed in pdf and the logo should come on every page of the pdf.hii marasa naidu,
pls check the foll. link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4f439490-0201-0010-b3af-d33b499f00fa
hope it helps,
Assigning points is say thanks,
regards,
raghu. -
Hello All,,
Can anyone help in knowing how can i add a logo on report. That is in our Z report.
Thanks in advance
AnuSee this example:
* Program: ZZ_ALV_REPORT_STUB
* Author : Clayton Mergen
* Date :
* Purpose: Report using ALV function
* Notes:
* 1) Logos & wallpapers can be found in table BDS_CONN05
* with class = PICTURES
* 2) Transaction OAER can be used to create PICTURES.
* Run transaction OAER with class name = PICTURES, Class type = OT,
* and Object key with whatever name you want to create. In the
* next screen, right clicking on screen and import
* Revisions
* Name :
* Date :
* Comments:
report zz_alv_report_stub
no standard page heading
line-size 200
line-count 65
message-id zz.
* Tables
tables:
ekpo,
trdir.
* Global Types
type-pools: slis.
* Global Internal Tables
data:
i_fieldcat_alv type slis_t_fieldcat_alv,
i_events type slis_t_event,
i_event_exit type slis_t_event_exit,
i_list_comments type slis_t_listheader,
i_excluding type slis_t_extab.
* Display data
data: begin of i_data occurs 0,
name like trdir-name,
clas like trdir-clas,
subc like trdir-subc,
cnam like trdir-cnam,
cdat like trdir-cdat,
myfield(1) type c,
end of i_data.
* Global Variables
data:
w_variant like disvariant,
wx_variant like disvariant,
w_variant_save(1) type c,
w_exit(1) type c,
w_repid like sy-repid,
w_user_specific(1) type c,
w_callback_ucomm type slis_formname,
w_print type slis_print_alv,
w_layout type slis_layout_alv,
w_html_top_of_page type slis_formname,
w_fieldcat_alv like line of i_fieldcat_alv,
w_excluding like line of i_excluding,
w_events like line of i_events,
w_event_exit like line of i_event_exit,
w_list_comments like line of i_list_comments.
* Global Constants
*constants:
* Selection Screen
selection-screen begin of block blk_criteria with frame title text-f01.
select-options:
s_name for trdir-name.
selection-screen end of block blk_criteria.
selection-screen begin of block blk_params with frame title text-f02.
parameters:
p_vari like disvariant-variant.
selection-screen skip 1.
parameters:
p_grid radiobutton group rb01 default 'X',
p_html as checkbox.
selection-screen skip 1.
parameters:
p_list radiobutton group rb01.
selection-screen end of block blk_params.
* Initialization
initialization.
perform init_variant.
perform variant_default using p_vari.
clear: s_name[].
s_name-sign = 'I'.
s_name-option = 'CP'.
s_name-low = 'Z*'.
append s_name.
* At Selection Screen PBO
at selection-screen output.
* At Selection Screen Value Request
at selection-screen on value-request for p_vari.
perform variant_f4 using p_vari.
* At Selection Screen
at selection-screen.
perform variant_fill.
* Start of Selection
start-of-selection.
perform get_data.
end-of-selection.
perform fieldcat_build.
perform event_build.
perform event_exit_build.
perform exclude_build.
perform print_build.
perform layout_build.
perform display_data.
* Top of Page
top-of-page.
* Top of Page During Line Sel
top-of-page during line-selection.
* At User Command
at user-command.
* At Line Selection
at line-selection.
* Macros
define skip_1.
write: /001 sy-vline,
at sy-linsz sy-vline.
end-of-definition.
* Forms
*& Form variant_f4
form variant_f4 using p_variant.
call function 'LVC_VARIANT_F4'
exporting
is_variant = w_variant
i_save = w_variant_save
importing
e_exit = w_exit
es_variant = wx_variant
exceptions
not_found = 1
program_error = 2
others = 3.
if sy-subrc <> 0.
message i000(zz) with text-g01.
endif.
if w_exit is initial.
w_variant-variant = wx_variant-variant.
p_variant = wx_variant-variant.
endif.
endform.
*& Form init_variant
form init_variant.
clear: w_variant.
w_repid = sy-repid.
w_variant-report = w_repid.
w_variant-username = sy-uname.
w_variant_save = 'A'. "All types
endform.
*& Form variant_default
form variant_default using p_variant.
wx_variant = w_variant.
if not p_variant is initial.
wx_variant-variant = p_variant.
endif.
call function 'LVC_VARIANT_DEFAULT_GET'
exporting
i_save = w_variant_save
changing
cs_variant = wx_variant
exceptions
wrong_input = 1
not_found = 2
program_error = 3
others = 4.
case sy-subrc.
when 0.
p_variant = wx_variant-variant.
when 2.
clear: p_variant.
endcase.
endform.
*& Form variant_fill
form variant_fill.
clear: w_variant.
if p_vari is initial.
w_variant-variant = 'STANDARD'.
w_variant-report = w_repid.
else.
w_variant-variant = p_vari.
w_variant-report = w_repid.
call function 'LVC_VARIANT_EXISTENCE_CHECK'
exporting
i_save = w_variant_save
changing
cs_variant = w_variant
exceptions
others = 01.
if sy-subrc ne 0.
message i000(zz) with text-g02.
endif.
endif.
endform.
*& Form fieldcat_build
form fieldcat_build.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = w_repid
* i_structure_name = 'TRDIR'
i_internal_tabname = 'I_DATA'
i_inclname = w_repid
changing
ct_fieldcat = i_fieldcat_alv.
* Modify displayed fields
loop at i_fieldcat_alv into w_fieldcat_alv.
case w_fieldcat_alv-fieldname.
when 'NAME'.
w_fieldcat_alv-hotspot = 'X'.
when 'MYFIELD'.
w_fieldcat_alv-checkbox = 'X'.
w_fieldcat_alv-seltext_s = 'MyChkBox'.
when others.
endcase.
modify i_fieldcat_alv from w_fieldcat_alv.
endloop.
endform.
*& Form display_data
form display_data.
w_callback_ucomm = 'CALLBACK_UCOMM'.
case 'X'.
when p_grid.
if p_html = 'X'.
w_html_top_of_page = 'HTML_TOP_OF_PAGE'.
endif.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
* i_background_id = 'SIWB_WALLPAPER'
i_background_id = 'SIWB_WALLPAPER'
i_callback_program = w_repid
i_callback_html_top_of_page = w_html_top_of_page
* i_structure_name = 'TRDIR'
i_default = 'X'
i_save = 'A'
is_variant = w_variant
is_layout = w_layout
i_callback_user_command = w_callback_ucomm
it_fieldcat = i_fieldcat_alv
it_events = i_events
it_event_exit = i_event_exit
it_excluding = i_excluding
is_print = w_print
* i_screen_start_column = 1
* i_screen_start_line = 1
* i_screen_end_column = 70
* i_screen_end_line = 30
tables
t_outtab = i_data.
when p_list.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_background_id = 'ALV_BACKGROUND'
i_callback_program = w_repid
i_default = 'X'
i_save = 'A'
is_variant = w_variant
is_layout = w_layout
i_callback_user_command = w_callback_ucomm
it_fieldcat = i_fieldcat_alv
it_events = i_events
it_event_exit = i_event_exit
is_print = w_print
tables
t_outtab = i_data.
endcase.
endform.
* FORM user_command *
form callback_ucomm using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
message i000(zz) with r_ucomm.
case r_ucomm.
when '&IC1'.
set parameter id 'RID' field rs_selfield-value.
call transaction 'SE38'.
when others.
endcase.
endform.
*& Form get_data
form get_data.
select * up to 15 rows from trdir
into corresponding fields of table i_data
where name in s_name.
endform.
* FORM ALV_TOP_OF_PAGE *
form alv_top_of_page.
clear: i_list_comments[].
w_list_comments-typ = 'H'. "H=Header, S=Selection, A=Action
w_list_comments-key = ''.
w_list_comments-info = 'Info 1'.
append w_list_comments to i_list_comments.
w_list_comments-typ = 'A'. " H = Header, S = Selection, A = Action
w_list_comments-key = ''.
w_list_comments-info = 'Begin of list'.
append w_list_comments to i_list_comments.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
i_logo = 'ENJOYSAP_LOGO'
it_list_commentary = i_list_comments.
endform.
*& Form event_build
form event_build.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = i_events.
read table i_events
with key name = slis_ev_top_of_page
into w_events.
if sy-subrc = 0.
move 'ALV_TOP_OF_PAGE' to w_events-form.
modify i_events from w_events index sy-tabix.
endif.
read table i_events
with key name = slis_ev_end_of_list
into w_events.
if sy-subrc = 0.
move 'ALV_END_OF_LIST' to w_events-form.
modify i_events from w_events index sy-tabix.
endif.
read table i_events
with key name = slis_ev_end_of_page
into w_events.
if sy-subrc = 0.
move 'ALV_END_OF_PAGE' to w_events-form.
modify i_events from w_events index sy-tabix.
endif.
endform.
* FORM alv_end_of_list *
form alv_end_of_list.
clear: i_list_comments[].
w_list_comments-typ = 'A'. "H = Header, S = Selection, A = Action
w_list_comments-key = ''.
w_list_comments-info = 'End of list'.
append w_list_comments to i_list_comments.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = i_list_comments
i_logo = 'ZMYOBJECTKEY'
i_end_of_list_grid = 'X'.
endform.
* FORM alv_end_of_page *
form alv_end_of_page.
endform.
*& Form print_build
form print_build.
w_print-no_print_listinfos = 'X'.
endform.
*& Form layout_build
form layout_build.
w_layout-zebra = 'X'.
w_layout-no_vline = 'X'.
w_layout-colwidth_optimize = 'X'.
w_layout-detail_popup = 'X'.
w_layout-detail_initial_lines = 'X'.
w_layout-detail_titlebar = 'Detail Title Bar'.
endform.
*& Form event_exit_build
form event_exit_build.
clear: i_event_exit[].
* Pick
w_event_exit-ucomm = '&ETA'.
w_event_exit-before = ' '.
w_event_exit-after = 'X'.
append w_event_exit to i_event_exit.
endform.
* FORM HTML_TOP_OF_PAGE *
form html_top_of_page using r_top type ref to cl_dd_document.
data:
text type sdydo_text_element,
s_table type ref to cl_dd_table_element,
col_key type ref to cl_dd_area,
col_info type ref to cl_dd_area,
a_logo type ref to cl_dd_area.
* Split TOP-Document
call method r_top->vertical_split
exporting split_area = r_top
split_width = '30%'
importing right_area = a_logo.
* Fill TOP-Document
call method r_top->add_text
exporting text = 'Example of a Heading'
sap_style = 'HEADING'.
call method r_top->new_line.
call method r_top->new_line.
call method r_top->add_table
exporting no_of_columns = 2
with_heading = ' '
border = '1'
importing table = s_table.
call method s_table->add_column importing column = col_key.
call method s_table->add_column importing column = col_info.
text = 'A key value marked'.
call method col_key->add_text
exporting text = text
sap_emphasis = 'Strong'.
call method col_info->add_gap exporting width = 6.
text = '600' .
call method col_info->add_text
exporting text = text
sap_style = 'Key'.
call method col_info->add_gap exporting width = 3.
text = 'Block brick units'.
call method col_info->add_text exporting text = text.
call method s_table->new_row.
text = 'Storage Bin'.
call method col_key->add_text
exporting text = text
sap_emphasis = 'Strong'.
call method col_info->add_gap exporting width = 7.
text = 'C-A-004'.
call method col_info->add_text exporting text = text.
call method s_table->new_row.
text = 'Warehouse number' .
call method col_key->add_text
exporting text = text
sap_emphasis = 'Strong'.
call method col_info->add_gap exporting width = 6.
text = '200' .
call method col_info->add_text
exporting text = text
sap_style = 'Success'.
call method col_info->add_gap exporting width = 3.
text = 'marked success'.
call method col_info->add_text exporting text = text.
call method s_table->new_row.
call method r_top->new_line.
text = 'This last line is a comment in italics.'.
call method r_top->add_text
exporting text = text
sap_emphasis = 'EMPHASIS'.
call method r_top->new_line.
call method a_logo->add_picture
* exporting picture_id = 'ZZTESTBMP'.
exporting picture_id = 'ENJOYSAP_LOGO'.
endform.
*& Form exclude_build
form exclude_build.
w_excluding = '&GRAPH'. "Graphic
append w_excluding to i_excluding.
endform. " exclude_build -
How to add descriptions to web app items?
How do I add metta data (keywords and descriptions) to my web app items? Do I need to create them as additional custom fields?
Any help would be appreciated.It's ok, I worked it out. You just add another field - meta description and add the following code to the detail template:
<html>
<head>
<title>{tag_name}</title>
<meta name="description" content="{tag_meta description}" />
<meta content="{tag_name}" property="og:title" />
<meta content="{tag_meta description}" property="og:description" />
</head>
<body>
<h1>{tag_name}</h1>
<p>{tag_description}</p>
</body>
</html> -
How to add logo to Business Catalyst email signature
How does one and his logo or other graphic to the email signature in the Business Catalyst email environment? This is a basic function of the most basic and even FREE email sources out there. I can't seem to do it in Business Catalyst. I and my 1 BC customer are getting pissed-off right now. I have looked and looked and can't find the solution. It may be right in front of me. Please help.
When we sign into the BC email accounts, it allows us to add a text signature under Settings/Mail - but text ONLY!!! Help! This can't be. It should not be. This is a basic, basic thing! Yes, I realize someone using Outlook or another manager can add a signature, but one should be able to add the graphic to the signature in BC. Agreed? How do I proceed and, if I can't (unimagineable), how fast can BC add this feature?
Thanks in advance for your help
Signed,
Frustrated & DisappointedHi Bob,
No need to fret over coding here's a quick and simple way to obtain the HTML code of the signature required.
In this example I'm using FireFox as my browser and simply highlighted your signature content. Then I right-clicked and select "view selected source" to grab the HTML.
Quick video: http://screencast.com/t/p9V94NlBz
The code you are after.
<p><span style="color: rgb(128, 0, 128);"><strong>Bob Doris</strong><br></span><em style="color: rgb(128, 0, 128);">Marketing/Graphics</em></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><a href="http://forums.adobe.com/servlet/JiveServlet/showImage/2-4414473-193549/Logo.jpg"><img alt="Logo.jpg" class="jive-image" src="http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4414473-193549/150-111/Logo.jp g" height="111" width="150"></a><a href="https://www.facebook.com/goodkarmacafeandcatering" rel="nofollow"><img alt="Facebook-Vector-Icon.png" class="jive-image-thumbnail jive-image" onclick="" src="http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-4414473-193559/38-38/Facebook- Vector-Icon.png" height="38" width="38">
Just a FYI you might want to create this signature within your site then pull the HTML. Since my example above is pulling the images you've uploaded in this forum thread. Just in case the forum topic was ever deleted you may lose the images.
Hope this helps!
-Sidney -
How to add logo in module pool screen
Hi Expert,
I need to display company logo in the module pool screen
how this can be added ?
Regards
BikasHi,
create a custom control called 'CUSTOM_CONTROL'
CONSTANTS: CNTL_TRUE TYPE I VALUE 1,
CNTL_FALSE type i value 0.
data:h_picture type ref to cl_gui_picture,
h_pic_container type ref to cl_gui_custom_container.
data: graphic_url(255),
graphic_refresh(1),
g_result like cntl_true.
data: begin of graphic_table occurs 0,
line(255) type x,
end of graphic_table.
data: graphic_size type i.
data: g_stxbmaps type STXBITMAPS,
l_bytecnt type i,
l_content TYPE standard table of bapiconten initial size 0.
g_stxbmaps-tdobject = 'GRAPHICS'.
g_stxbmaps-tdname = 'ENJOY'.
g_stxbmaps-tdid = 'BMAP'.
g_stxbmaps-tdbtype = 'BMON'.
call function 'SAPSCRIPT_GET_GRAPHIC_BDS'
exporting
i_object = g_stxbmaps-tdobject
i_name = g_stxbmaps-tdname
i_id = g_stxbmaps-tdid
i_btype = g_stxbmaps-tdbtype
importing
e_bytecount = l_bytecnt
tables
content = l_content
exceptions
not_found = 1
bds_get_failed = 2
bds_no_content = 3
others = 4.
call function 'SAPSCRIPT_CONVERT_BITMAP'
exporting
old_format = 'BDS'
new_format = 'BMP'
bitmap_file_bytecount_in = l_bytecnt
importing
bitmap_file_bytecount = graphic_size
tables
bds_bitmap_file = l_content
bitmap_file = graphic_table
exceptions
others = 1.
call function 'DP_CREATE_URL'
exporting
type = 'image'
subtype = cndp_sap_tab_unknown
size = graphic_size
lifetime = cndp_lifetime_transaction
tables
data = graphic_table
changing
url = graphic_url
exceptions
others = 4 .
create object h_pic_container
exporting container_name = 'CUSTOM_CONTROL'.
create object h_picture exporting parent = h_pic_container.
call method h_picture->set_display_mode
exporting
display_mode = cl_gui_picture=>display_mode_normal.
call method h_picture->load_picture_from_url
exporting url = graphic_url
importing result = g_result.
or you can check the program RSDEMO_CUSTOM_CONTROL
check link :
How to insert Image on Screen
thanks
Parvathi
Maybe you are looking for
-
Installing Adobe Photoshop cc on to new computer
hi So I bought Adobe Photoshop cc and tried to put on my old computer but it wouldn't download so its been a few months, and I just got a new mac computer but I've ben trying to find a way to download. I can't find away to download it. can anyone tel
-
Need to increase main window size except last page in smartforms
I have only one main window in a smartform to print a invoice. Currently the mainwindow size is small because i added some additional info to print at the end of the main window.{i.e with some tax details}. All the pages execpt the last page has free
-
I have experienced significant signal degradation over the course of the last few months. It is to the point where i no longer have a signal inside my home. Many other Verizon subscribers in the area have voiced the same concern. We used to have supe
-
How to overwrite an array?
I am trying to overwrite the values in an array, but I am getting an ArrayIndexOutofBoundsException. This is how I am attempting to do it: if ((checkTempEnergy(tempDistance, numIons, Q)) < (checkEnergy(distance, numIons, Q))) { for (int i=0; i <
-
Im stumped with loading an id number into flash.
I have a flash file (actionscript 2) created that calls an external text file, and loads it into a scrolling text area. example: // send and load variables lv.load(" http://website.com/" + id + ".txt"); the url i want to load looks like this: http://