Display Metadata along with images
I am not a programmer, do not know script writing. Is there any simple way where I can manage, my metadata to be displayed along with the images ?
I know how to create metada.
hi,
I am implementing the DATA_CELL method of table interface in webtemplate like this,
case I_X.
when 9.
if I_DISPLAY_VALUE = '2'.
c_cell_content = 'AAA'.
endif.
endcase.
endmethod.
I am getting the requirement,but can someone help me how I can access the column based on KF technical name, here i placed the KF in column 9,so I took "when 9".But i dont want to use column number , I want to use technical name of KF.
Thank you
ven
Similar Messages
-
How to reconcile 2 lightroom catalogs in separate locations along with images and metadata?
I split my time between two locations where I need access to all of my images and lightroom catalog... I've been trying to keep everything in sync by transporting new images on hard drives, exporting new updates to a "migration" catalog and then importing that along with the images when I travel back to the other location. This works as long a I don't get lazy, or in a hurry... which I have, of course and now I need to get everything back in order--as best as can be expected.
What would be the best way to do this? I need to migrate changes in both directions... If it was just location A to B, or B to A, then that's not much of a problem. unfortunately, i need to reconcile changes from A to B and B to A...
I learned my lesson, but I still need to resolve this mess.
Any tips appreciated.
Thanks.
kbTry using the keyer and see if you can pull the blown sky. You should be able to get something acceptable,
-
How to display html content with image in Adobe Flash and Flex mobile project?
Hi,
I have a html content with image in it. How to display it in Adobe Flash Builder and Flex mobile project? Which control needs to be used for this?Hello,
The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
Here this is the iFrame approach:
http://code.google.com/p/flex-iframe/
If the swc do not work in Flex4 just use its ource code which works...
...it is basically based on this:
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
see also and vote, please:
http://bugs.adobe.com/jira/browse/SDK-12291
http://bugs.adobe.com/jira/browse/SDK-13740
Regards
Marc -
How to Display RTF data with images from SQL database in Crystal Report
I am using Crystal report in my WPF application, I have generate Question Paper Report, in which have Question with images. Question with images are stored in SQL Server in rtf format, I want to generate Question report with RTF Text and Images in report
Hello Sir,
I am still Facing problem in Crystal report generation with RTF Data (Text + Images),
I am storing Questions in SQL Server which are RTF Format, Questions have Text + Images..
I changed field data type then also i didn't get image in Crystal report
if i browse an image n stored that in DB then its displaying in Crystal report, but when i pasted that image in RichTextBox and saved that in DB then no data displayed in Crystal report.
My Table Structure is
Table Name: tblQuestions
field : Questions Varbinary(max)
I tried with nvarchar(max) also but its aslo not working -
Display usrname along with usrid when workitem is delegated using Forward
Hi
I have a requirement that when ever we want to delegate the work item using Forward action.
It navigates to user selection, on giving some name search results displays only user ids . This makes confusing in the selection of particular user. Our req is to display name in a separate column / name also in the same column along with the user id. is this possible through XML configuration
How we can achieve this req
Thanks a Lot.
Regards
KALYANHi Kaylan,
I am not sure how you can achieve this requirement. I would've said through custom attributes, but this is a dynamic creation based on when the forward button is pressed. (when you press the button, you make the selection). For this reason, I am pretty sure that this is not achievable presently with a new column real-time and especially not in the older releases of the Universal Worklist. You use the people picker when you forward the workitem. In the newer versions of UWL, the real time refresh of custom attributes is also available. Do you know where the userid is stored in the backend?
Regards,
Beth Maben
EP - Senior Support Consultant II
SAP Active Global Support
Global Support Centre Ireland
**SDN Forum Moderator:
SAP Enterprise Portal: Application Integration
**SDN Universal Worklist Wiki:
http://wiki.sdn.sap.com/wiki/x/ehU -
Display records along with checkbox
im trying to do the following
get the records from database and display in jsp along with a checkbox for each record
ive done the database retrival and displayed in the jsp page as a tables.
but ive tried to create checkboxes for each record rows and at the end ive to send the hidden variable as the checkbox value . how could i do this.Hi,
While creating the checkbox u have to write variables in the checkbox's value atrribute.
When ur submiting the form u can also pass these check box variable values.
<input type=checkbox value = <%= value %> name=chk>Reagrds
Madhu -
Data Display table along with Graph
As per my knowledge we are not having any option currently for displaying data table along with graph.
This plot data table can have plot name along with current data.
See the sample below. Many times I need to display number of parameters on graph and current value need to see along with graph.
It will very useful if I get something like this in next version.Hi chameli,
well, you gave the chart as an example to your question - but didn't specify your question any further!
What's wrong with a little coding to have your data presented as you like to?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Need to display seqno along with his superior number
Hi friends,
I have a table adm_menus
It's DDL is
CREATE TABLE "ADM_MENUS"
( "MENU_ID" NUMBER,
"MENU_NAME" VARCHAR2(60 BYTE),
"PARENT_MENU_ID" NUMBER,
"SEQ_NO" NUMBER,
"DISP_SEQ_NO" VARCHAR2(250 BYTE),
"MENU_ACTION_TYPE" VARCHAR2(60 BYTE),
"MENU_ACTION" VARCHAR2(2000 BYTE),
"MENU_PARAMETER" VARCHAR2(2000 BYTE),
"INACTIVE_DATE" DATE,
"CREATED_BY" NUMBER(15,0),
"CREATION_DATE" DATE,
"LAST_UPDATED_BY" NUMBER(15,0),
"LAST_UPDATE_DATE" DATE
)DML is
Insert into ADM_MENUS (MENU_ID,MENU_NAME,PARENT_MENU_ID,SEQ_NO,DISP_SEQ_NO,MENU_ACTION_TYPE,MENU_ACTION,MENU_PARAMETER,INACTIVE_DATE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE)
values (19,'TRANSACTION',null,10,'10',null,null,null,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'));
Insert into ADM_MENUS (MENU_ID,MENU_NAME,PARENT_MENU_ID,SEQ_NO,DISP_SEQ_NO,MENU_ACTION_TYPE,MENU_ACTION,MENU_PARAMETER,INACTIVE_DATE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE)
values (18,'TRANSACTION',19,10,'10',null,null,null,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'));
Insert into ADM_MENUS (MENU_ID,MENU_NAME,PARENT_MENU_ID,SEQ_NO,DISP_SEQ_NO,MENU_ACTION_TYPE,MENU_ACTION,MENU_PARAMETER,INACTIVE_DATE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,LAST_UPDATE_DATE)
values (20,'Report1',18,30,'3010',null,null,null,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'),-1,to_date('12-10-11','DD-MM-RR'));My scenario in the sense is i need to display the results for the disp_seq_no column like
Since from the above DML statement i have three rows, For my explanation im taking four columns
menu_id------->parent_menu_id-------------->seq_no------------>Disp_seq_no
19 null 10
18 19 10
20 18 30For the above rows i need to display the rows for the column disp_seq_no as
For the first row from the above result the parent_menu_id is null(so, in my case he is the parent and there is no any superior to him, so his disp_seq_no has to be '010'(i.e his seq_no with *'0' infront of it*.)
For the second and third row i need like
menu_id------->parent_menu_id------------->seq_no------------>Disp_seq_no
19 null 10 010
18 19 10 010010
20 18 30 010030For the second row, he has the parent menu id as '19', so i need his disp_seq_no like (his parents seq_no and his own Seq_no(but i need '0' infront of each and every seq number)) like
010010
For the third row, he has the parent menu id as '18', so the disp_seq_no has to be 010030
How i can able to achieve it friends.
Brgds,
Mini/* Formatted on 10/12/2011 9:57:19 AM (QP5 v5.149.1003.31008) */
WITH ADM_MENUS
AS (SELECT 19 menu_id, NULL parent_menu_id, 10 seq_no FROM DUAL
UNION
SELECT 18, 19, 10 FROM DUAL
UNION
SELECT 20, 18, 30 FROM DUAL)
SELECT menu_id,
parent_menu_id,
seq_no,
CASE CONNECT_BY_ISLEAF
WHEN 0
THEN
REPLACE (SYS_CONNECT_BY_PATH (seq_no, ','), ',', '0')
ELSE
SUBSTR (REPLACE (SYS_CONNECT_BY_PATH (seq_no, ','), ',', '0'),
LENGTH (SYS_CONNECT_BY_PATH (seq_no, ',')) - 5)
END
disp_seq_no
FROM ADM_MENUS
START WITH parent_menu_id IS NULL
CONNECT BY PRIOR menu_id = parent_menu_id
19 10 010
18 19 10 010010
20 18 30 010030 -
Storing html along with images in database as Blob
Hi,
I have an html in which some images are embedded using image tags.Now I want to store this HTML as BLOB object such that both are stored in the same location, so that they can be retrieved using a jsp.
Right now when I store the HTML, it gets properly displayed using jsp but the images are not displayed as images are stored locally.
Can anyone suggest some approach for this?First of all, please excuse me about my por english.
Some points to consider:
1- I think you may have some issues understanding HTML. HTML only refers to images locations you cannot "put" immages "into" HTML.
2- I supose you get the HTML as a String ad persists it on the DB. To get the images you must find the img tags in that string, get the src property and upload images individually.
3- If you must store both HTML and images in the same BLOB field you have some problems, i think it could be fun to build something to do that, but not efficient. I sugest to use another field, another table really (1 to * relationship), to store images.
4- When you display the HTML at your web server you must set the src attributes form de img tags pointig to some servlet that get the images form the DB, for example.
I hope it helps you to understand the nature of your requeriment. -
How to Display Html Text with Image
HI Frens,
I am getting some html text from a source, Later i want to
display that data, but it may happened that it has some images in
it. Currently I am using text area to display it.
Now My question is if there is any image will it show, as we
can see it in our mails? if Not, Which component I should use for
this?
I also want that I need to select some file from, How can i
get open dialog box here?
Thks in Advance for replies frens:
Ashish MishraHi Ashish,
If I have understood your requirement properly, u want to
display html text on a flex application.
I think there its better if you use the html component to
display the text. I have a sample code which will give you a
direction to think on.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical"
creationComplete="initApp( )">
<mx:Script>
<![CDATA[
public function initApp( ):void
var initHtml:String = "<html><head> \
<title='Page Example'/> \
<body bgcolor='#ccddee'><h1>Page
Example</h1> \
<p>This is a complete <b>HTML</b> \
page as a
<em>string</em>.</p></html></body>";
this.html.htmlText = initHtml;
]]>
</mx:Script>
<mx:HTML id="html" width="100%" height="100%" />
</mx:Application>
Also do you want a file open dialog box?? -
Hi,
i need to display a report using ALV in the following manner. im using reuse_alv_listdisplay and the display is fine . however, i need to add a header to the list and i need to display total for the currency fields. how can i do that. your help would be appreciated.
Thanks,
kranthi.
________some company header----
alv report----
display total for currency fields------
i appreciate all of you for your quick response.
i need to call a function module which uses couple of 'write' statements to create the header. is it possible to use that in this context.
Thanks,
Kranthi.
Message was edited by: kranthi kumar*& Report ZVENU_ALV *
Program: ZZ_ALV_REPORT_STUB
Author :
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 -
Display users along with company code assigned to them
Hi,
I would like to display list of users with company code assigned to them
Thanks & Regards,
Rajesh KaleHi himanshu,
I want list of user using complex selection criteria.
It can be display using tools -> Administration -> User maintenance -> Information System -> Users by complex selection criteria.
Here, I am facing the problem that which authorization object I should put so that I can get list of users in which in front of every user I get the company code assigned to them.
Regards,
Rajesh -
How to display playlist along with the music library
I can't seem to find out how to get all of my playlist displayed along side of my music library just like ITUNES used to be in the older version.
View Menu > Show Sidbar
-
Problem in displaying detail along with Aggregate data.
Hi
I am new to BIP and I am facing problem to display detail as well as aggregate values at a time.
My data is like below
Security Value
S1 10
S2 20
S3 30
S3 40
S4 50
S5 60
S5 70
I want to display data in report as
Security Value
S1 10
S2 20
S3 30
S3 40
Total S3 70
S4 50
S5 10
S5 70
Total S5 80
I tried using for <?for-each-group:G_2;./Security?> but I am getting following output:
Security Value
S1 10
S2 20
S3 30
Total S3 70
S4 50
S5 10
Total S5 80
Template:
<?for-each-group:G_2;./Security?> <?Security?>:<?Value?>
<?if:count(current-group()/SECNAME)>1?> Total <?Security?>:<?sum(current-group()/Value)?> <?end if?> <?end for-each-group?>
The problem is I need to display detail as well as aggregate data. Please suggest.Hi Kavipriya
Thanks for your response.
I tried the code you provided but I am getting blank PDF report from RTF template.
Also I didn’t understand <?variable:GRP;G2?>, is this declaration of group variable or something?
Below is my xml:
<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Oracle BI Publisher 11.1.1.3.0-->
<DATA_DS>
<G_1>
<SECURITY>S1</SECURITY>
<VALUE1>10</VALUE1>
</G_1>
<G_1>
<SECURITY>S2</SECURITY>
<VALUE1>20</VALUE1>
</G_1>
<G_1>
<SECURITY>S3</SECURITY>
<VALUE1>30</VALUE1>
</G_1>
<G_1>
<SECURITY>S3</SECURITY>
<VALUE1>40</VALUE1>
</G_1>
<G_1>
<SECURITY>S4</SECURITY>
<VALUE1>50</VALUE1>
</G_1>
<G_1>
<SECURITY>S4</SECURITY>
<VALUE1>30</VALUE1>
</G_1>
</DATA_DS>
And following is the code I used in RTF template
<?variable:GRP;G1?>
<?for-each-group:G1;./SECURITY?> <?xdoxslt:set_variable($_XDOCTX,'SEC',./SECURITY)?>
<?for-each:$GRP[./SECURITY= xdoxslt:get_variable($_XDOCTX,'SEC')]?>
<?SECURITY?>:<? VALUE1?> <?end for-each?>
<?if:count(current-group()/SECURITY)>1?> Total <?SECURITY?>:<?sum(current-group()/VALUE1)?> <?end if?>
<?end for-each-group?> -
How to display millisecond along with hh:mm:ss
Hi folks!
This has the reference to the answer given by Jagruti to my previous question, which has the same subject of this.
In my program i've used localtime function which is declared in /usr/include/time.h to get seconds. Then I used the macros 'SEC_TO_TICK' and 'TICK_TO_MSEC' defined in /usr/include/sys/time.h to convert from seconds to tick and then tick to millisecond. But when I run my program it says " SEC_TO_TICK and TICK_TO_MSEC macros are undefined symbol".
Please suggest me the way to disply "hh:mm:ss:ms" i.e, hours:minutes:seconds:milliseconds.
Thanks,
Devaraj .NTry calling gettimeofday() and then call your time function (that takes a time_t*) next using the tv_sec (in the timeval structure) returned from gettimeofday() as the parameter (typecasting it to time_t*).
-Mark
Maybe you are looking for
-
I have some audio files that appear only in smart lists and not in the library. You can't delete a file from a smart list view (correct me if I'm wrong) so you have to find it in the library to delete it. It doesn't appear in the library - so I canno
-
In recent versions of the JDK they deprecated the stop() and destroy() methods. They did so because those methods can kill a thread in a "dirty" way. The replacement approach is to have a while(isRunning){} loop in the run() method and to set isRunni
-
Documentation java.io classes
Hi, does somebody know where i can find a documentation of the java.io classes, because i want to use them. Btw: I'm new at using java in the database by stored procedures. Further where can i find sample code for file handling with the java.io class
-
How to use script undeploy applications
Is anyone familiar with OAS script? I want to undeploy some applications using script rather than EM. Any suggestion or help is appreciated.
-
Hi All, I have developed a New Custom form from scratch using TEMPLATE.fmb . I have generated it and it allows me to save OK. I have based the Block on a view . The primary Key for my Table is vend_cat_id. But, when I Query it and press the down arro