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
Similar Messages
-
Displaying images along with data on downloading from excel
Hi All,
I need to show images along with data in the excel sheet when user clicks downld to excel button. Is there possible way to show the images in excel sheet if, kindly help.
Thanks & Regards
Jaspreet KaurHi Vinod
Basically I have a report which needs to be downloaded to excel sheet. For each record there is a particular image in the first column for ex say my colums are img, desc. Now image column contains an image corresponding to each description. If its a file, a folder image is there; if its a document, a page image is there etc. Now i am can display the data of text fields in the following manner ie label =new Label(0,RowCount, wdContext.nodeVn_PortalExcel().getVn_PortalExcelElementAt(i).getVa_Role(), PortalRoleDataFormat);
PortalReportsheet.addCell(label);
but how do i display the image in the excel sheet?
Is it possible to do so, if so please provide assistance.
Thanks & Regards
Jaspreet Kaur -
Displaying Images along with Drill Drown Results
I'm using MS access 2003 as my data base and CF as the web
language. I cannot find a topic in reference to displaying Images
along with Drill down results. My tables in access have a OLE
object included however I am clueless as how i can display the
images with my drill down results. I just cannot find a link that
talked about this issue already. Does anyone have a link to this
forum topic?College Kid wrote:
> I'm using MS access 2003 as my data base and CF as the
web language. I cannot
> find a topic in reference to displaying Images along
with Drill down results.
> My tables in access have a OLE object included however I
am clueless as how i
> can display the images with my drill down results. I
just cannot find a link
> that talked about this issue already. Does anyone have a
link to this forum
> topic?
>
Sorry, no link, but I think you want to be looking at the
<cfimage...>
and|or the <cfcontent...> tags. One or both of these
tags should allow
you to deliver the image from the database to the client.
You are doing this in a bit of an unusual, but not unheard of
way. Most
people just store the image file in a handy directory
accessible to the
web server and then store the name|URL to this image as text
in the
database.
But it is definitly possible to server up binary image data
as well.
Though I have never heard of this in conjunction with MS
Access and 'OLE
objects'. I usually hear this discussed in relation to more
enterprise
database management systems and BLOB [Binary Large OBjects]
data fields. -
I have Photoshop 12, installed online. My computer crashed and was repaired, but Photoshop was not restored. I see it in my products, along with the serial number/activation key, but no download is available. How do I re-download my product?
Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
Click on the link below, and after that click on "Still need Help? Contact us."
Then on the next page, click Chat.
There is also a phone option. 1 (800) 833-6687
http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation -
Deleted cell number appears (along with the edited number) when sending a text. How do I get rid of it?
It has nothing to do with iOS 6. It's always been that way. Given that it's been this way for so long, one assumes that Apple knows about it and has their own reasons for not changing it.
Restore the phone as new, not from back up to delete the numbers. Or, wait until the cache gets overwritten.
Best of luck. -
Accouting Document Number along with Invoice Document Number
Hi All,
I want to see the Accouting Document Number along with Invoice Document Number
while Posting the invoice in MIRO.
Regards
ArjunCheck
miro (invoiced document number & account documber number) -
Need additional field populated along with this FMS on Market Docs
During creation of a marketing doc such as Sales order, the user searches for the item which has this query loaded into item field.
SELECT T0.[ItemCode], t1.[AvgPrice],t1.[OnHand], T1.[WhsCode] FROM OITM T0 INNER JOIN OITW T1 ON T0.ItemCode = T1.ItemCode WHERE T1.[WhsCode] =(SELECT warehouse from oudg where code= 'manager') and t0.[invntitem]='Y'
Search of item field displays other info such as quanitty in warehouse and warehouse along with item code. In above case the warehouse is 02 for maanger profile.
However, on selecting any of the above items, the warehouse displayed on sales order is 01 (not 02 which is what it should have been). Why did not the relevant warehouse 02 get loaded?
How can I over come this without using just the above FMS query. Do I have to use another FMS query for warehouse field also?
Thank you.
Hi, I have this FMS query that displays items from warehouse of the logged in user's defaults. However, the actual warehouse on salesHi,
FMS query will only return the first column from the query result. Whatever displayed will be irrelevant. If you need Warehouse 02, FMS has to be set on warehouse column with the whscode as first column.
Thanks,
Gordon -
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 -
Confused if i need the enterprise DPS along with enterprise license from Apple
Do I need to buy the Enterprise DPS if I already have a Enterprise developers license with Apple? I want to develope in-house apps with indesign but everywhere i read no body gives a straight answer.
I have "creative cloud membership" which includes a single edition DPS already so I have single edition DPS now. I want to build an app using indesign and dps but host it on my own server. Can I do this with my single edition along with my enterprise developer licnese from Apple? Or do I have to buy the enterprise DPS to go along with my enterprise developers license from Apple?
thank you for your time
DarianYou will need an Enterprise DPS account along with the Enterprise Apple account. There is nothing ambiguous about this.
And you really need to read Apple’s license very carefully about private distribution. They are very strict about anything not going through the app strore. -
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 -
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 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 -
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?> -
I want to preorder the iPhone 5s. My personal phone number is not eligible for an upgrade yet, but my day's phone number is. He says that I can use his upgrade. On September 20, 2013 when the online preorder begins, am I able to preorder a phone for myself with my dads number and use it with my own number? How does it all work?
Most carriers will allow you to swap phones between numbers without a problem. Swapping will not change the contract on the number that the phone was ordered for. Nor will it affect eligibility for future upgrades. Of course the "swap" will normally need to be done with phones on the same carrier and is probably easier to do when on the same account.
I do this every year, or rather every other year. I am the techie, my wife not so much. So when the new iPhone comes out, I get it for which ever number is eligible for upgrade and have it activated to my number and then activitate my old phone to her number. I usually go to the phone company store (AT&T in my case) as they have new sims on hand and usually need to use at least one.
Maybe you are looking for
-
Support for o/r in Oracle 8i tools
Support for object types in the Oracle 8i administration tools seems to be limited. For example, I can't select an object type for a table column in DBAStudio. However, I can define types and tables using types through SQLPlus. What fails is to refer
-
Hello Gurus, I have created a characteristic infoobject(ZCSHIPTYP) for Shipment type and included the same in the ODS. When I load data, during activation it gives the foll error :- By default, only the following standard characters are valid in cha
-
Can anyone help with resolving static playback & input in logic 9
I'm a mix engineer and a bright guy, however I'm stuck.... I brought a new hardrive using as timemachine .. I'm using a iMac, My interface is RME UC connected to a Yamaha O1v96 via ADAT in & out. I also have Lucid Gen6 wordclock The static playback h
-
The song____could not be used, because the original file could not be found. Anybody know how to fix this in windows os?
-
Dot shaped widget in iphone home screen
I'v seen an iphone 6 in one of the showrooms. it has dot floating on the home screen whcih show certain shortcuts when touch, how can I enable this on my phone I'v searched the internet for this and I didn't find any mention about it.