How to make row number in local member dynamic
I have create multiple local member and the formula I the local member is such as
=SUM(row11+row14+row16)
then I add another couple of row before row 11, now the formula should be:
=SUM(row13+row16+row18)
anybody know is there a way how to make the formula in the local member dynamic, which means that if I add rows of drop rows, the formula in local member will automatically change?
Hi Jian,
You can create local my by "Activate Local Member Recognition", but make sure "Use Position in axis" should be unchecked.
Also make sure you have added all required Local members before any insertion of rows.
Hope this should work.
Thanks,
Rishi
Similar Messages
-
How to get row number of selected entry from OVS search result
Hi,
Anyone having any idea on how to get row number of the selected entry/ how to differentiate rows in OVS search result in ON_OVS method?
Regards,
JatinHi,
You can get the selected record to <ls_selection> structure in co phase 3.
From that structure you can get what ever field you want.,
check the below code for reference,
<< Moderator message - Cut and paste response from F4 help for ALV table field removed. Plagiarism is not allowed in SCN >>
hope this helps u.,
Thanks & Regards,
Kiran
Edited by: Rob Burbank on Jan 5, 2012 5:24 PM -
How to make row selection by checkbox in ADF table
hello,
using jdev11g TP4 , fusion web application
when i drag my view object as ADF table into jsf page,
i want to know how to make row selection by checkbox
thanks
greenApple
Edited by: greenApple on Nov 10, 2008 11:33 AMHi,
the tree component has changed compared to 10.1.3. You no longer have a tableSelectmany component that renders as checkboxes. Instead you use the ctrl key and select the table rows
Frank -
PA04-How to make existing Number Range/interval external.
Question: PA04-How to make existing Number Range/interval external.
One of the Pernr Number ranges/interval in PA04 is Internal(box is
unchecked) and i want to make it "External" (check the box) to load some data.
Issue: The issue is, the check box is Greyed out and i can not check it. But i have access to
everything else in PA04:
- create and delete number ranges
- change the "Current number"
- Uncheck the box to make the External to Internal.
But i can not Check the box to make it External from Internal due to the greyed
out box for this number range.
The only solution i can think of about it is to - Delete the number range
and add it again and check the box when doing that. And once the Data load is done Uncheck the box.
Is there a better option..?Once you have made your decision to define a number range as 'internal' it is not possible to reverse this. check this http://scn.sap.com/thread/1976017
-
How to display row number in form?
Hi guys,
First I fll you in on the story so far..
I have a database data block named :V_PAYUPLOADHEADER_HP, in the property palette I set order by facility and warehouse.
I want to display row number for each fetched record, so I make :V_PAYUPLOADHEADER_HP.NUMB, which will contain the row number.
The following is some methods that I already tried:
- First I tried to make this field a database item=Y , column name = ROWNUM.
The result is the number jump around (3, 1, 2, 5, 4 etc. instead of 1, 2, 3, 4, 5) I think it is because of the order by that I set.
I have to keep this order by setting, so I look for another way to display the rownum.
- Next I tried to set database item = N, column name = null, calculation mode = formula, formula = :system.trigger_record.
When I run it all the value of :V_PAYUPLOADHEADER_HP.NUMB is 1. For all the records fetched is 1, 1, 1, 1 instead of 1, 2, 3, 4.
- I also tried using POST-QUERY trigger attached to the block.
In the trigger I have this code:
:V_PAYUPLOADHEADER_HP.NUMB := :system.cursor_record;
When I run it all the value of :V_PAYUPLOADHEADER_HP.NUMB is 1. For all the records fetched is 1, 1, 1, 1 instead of 1, 2, 3, 4..
Is there something that I missed?
What can I do to display the rownum?Hi
You can achieve this by adding new item named 'ROWNUM'. in the Data Block you are working on.
And it's 'BASE TABLE ITEM' property needs to be set as TRUE'. IN the property ,IN the post-query Trigger use...
SELECT ROWNUM
INTO :ROWNUM
FROM TABLE
WHERE EMP_ID =EMP_ID;Hope this helps...
Regards,
Abdetu... -
How to get row number in the fetch row itself in Sql Query ?
Hi,
i am fetching some rows from a sql query . Is there any way to get row number as well in each row while all rows are fetched ?
like this :
RowNum data1 data2
1 abc ere
2 bnh ioiHello
Ofcourse you can get the rownum inside a query, just keep in mind that the rownum is the number of order in which the records were fetched from the table, so if you do an order by, the rownum will not be sequential, unless you query the information in a subquery first.
SELECT rown, col1, col1
FROM table
Or
SELECT rownum, col1, col2
FROM (SELECT col_1, col_2 FROM table ORDER BY col1)
Regards
Johan -
How to limit row number per group without change new page in crystal report
Hi All Expert,
Is there any way to limit row number per group without change new page in crystal report 2008. The reason i do that is due to customer using printer EPSON LQ 300 (dot matrix) always will print in landscape if detech my layout in landscape. Because they need the record always print in 1 page (Letter size) for 2 groups and each group must show 5 records. Example:
But, in CR2008, if you set the row per group from group section expert, definitely it will change to new page, but I do not want it change to new page. Any Idea?
In one page (Letter size):
Group Name: Customer-ABC
NO INVOICE AMOUNT
1) INV001 USD100
2) INV002 USD100
3) INV003 USD100
4) INV004 USD100
5) INV005 USD100
Group Name: Customer-ABC
NO INVOICE AMOUNT
6) INV006 USD100
7) INV007 USD100
8) INV008 USD100
9) INV009 USD100
10) INV010 USD100Hi Angie.....
I guess it is not possible.
Because if you have one common group for all the 10 records then in one page it will show 10 records under one group.
I mean i think it is not possible but m not completely sure......
Lets wait for expert advise....
Regards,
Rahul -
How to make a number lower case?
Write a program to convert uppercase numbers to lowercase numbers. You may use any part of the Java API but may not team together with other students and turn in group work. You must write the class and provide at least 5 methods but no more than 8 methods to accomplish this task. Your program must be able to accept arguments from the command line
public class MakeLowerCaseNumber
public MakeLowerCaseNumber(String[] args)
int i;
for (i =0; i < args.length; i++)
makeLower(args);
private void makeLower(String argument)
System.out.print("Making " + argument + " into a lowercase number ");
public static void main(String[] args)
MakeLowerCaseNumber makeLowerCaseNumber = new MakeLowerCaseNumber(args);
I am lost. I have written this much. It doesn't make my number lowercase. Can someone show me what to do?You make a lower case number by adding the difference
return lowerChar +('a' - 'A');
So try doing the same for a number.That's one way. Since this is such a stupid assignment, I have a couple other suggestions:
For every number (which could be interpreted as each individual digit or each string of +/-, digits, and at most one decimal point, or even include scientific notation)...
1) ...just change that number to the string "lowercase numbers."
2) ...change the numbers to their spelled out equivalents (in lowercase, of course), e.g. "three", "forty-two"
3) ...since the assignment said, "convert uppercase numbers to lowercase numbers," you could interpret it as "If the number is uppercase, convert it to lowercase," and then start your processing code with Character.isUperCase(), which will return false every time.
4) ...as a variation on #3, just call to CharacterLowerCase() on each digit.
<editorial>
I hate teachers who think they're being clever and teaching students to "think outside the box" when they come up with nonsensical problems like this. They need a good smiting.
</editorial> -
How to make material number field invisible in MM60?
Dear expert,
Is there any way to make material number field invisible in MM60 for one user?
Best regardsHello,
You may create a transaction variant for MM60 and hide Material code using SHD0. Then create Variant group and assign users to this group.
Thanks,
Venu -
Hi,
I want to get row number in an table using some condition.
Any solutions?
Thanks
shrishri,
That's nice - you answered one question out of my three.
Version number of JDev/ADF?
What technologies are you using, particularly on the model layer?
and some new ones:
are you using ADF binding?
are you trying to display a row number on the table, or determine which row is selected (for example)?
and do you mean the row number relative to the first row displayed currently, or to the "top" of the table?
As I said - a proper use case (which would have answered all these questions) would enable you to get some answers. See [url http://www.catb.org/~esr/faqs/smart-questions.html]this if you still don't understand.
John -
How to make columns in the select list dynamic
Hi
I need to make columns in the select query dynamic.I have three tables.Table 1 contains master information lets say name of group(A group consists of members of various skill sets) and its period(A group is of specific period lets say for 18 months).Table 2 contains different skill sets corresponding to a group i.e there is one to many relationship between table 1 and table 2.Table 3 contains months information of skill sets.For example if skill set 1 is required for 5 months then there will be 5 rows(for each month) in table 3 corresponding to a skill set i.e there is again one to many relationship between table 2 and table 3.Tabale 3 will also contain man month value for perticular month.I need to show all the periods of a group and its sum of man month value for all skill sets.
If group1 is of 6 months (starts nov2006 and ends Apr2007) and has 5 skill sets then there will be one entry in table 1 and 5 entry in table 2(For skill set).For each entry in table 2 there will be 6 entry in table 3(for each month).I need to write a query which would display
Group name nov2006 dec2006 jan2007 feb2007 mar2007 apr2007
Gr1 10 15 21 17 18 22--These are sum of man month of all skill set for a particular groupIf Gr 2 is of 9 months then it would disply all the information in respective months.i.e for group 2 nine months information and group 1 six months information
Pls help
Thanks in advance
SasHi,
From your requirement, we understand that you want to make Rows in table 3 as Columns.
Please search pivot in this Forum.
Regards
K.Rajkumar -
How to make Row and Column headings bold in 2004s Web template
Hi!
I have created a web template which has 3 queries.
I would like to achieve the following
1> Bold the column heading and row headings.
2> Delete the space between the three reports(right now there is some space)
3> Align the columns on top of each other so that it looks like a continuous report.
(I know how to suppress the column headers on the 2 reports which are at the bottom)
Is this possible in 2004s???
With Table interface class gone in 2004s--is stylesheet modification the only way to go????
Please provide me with steps to achieve the above.
Helpers will be rewarded.Hi Zhu,
Thanks for the link.This really helps.
However I was only able to see the modules for Column Width, Negative number and Document Content.
Is there any other module as well to change Column heading ?Its not mentioned in the documentation.
Can you please let me know.
Thanks,
Vivek -
How to extract row number of geoRaster as number ?
Hi all,
I need to get the row (or similarly column and band) number of a georaster as number. Some approach that i have explored :
(a)
Using SDO_GEOR.getSpatialDimSizes, which return an sdo_Number_array. For example SDO_NUMBER_ARRAY(211, 725) means 211 rows by 725 columns.
But then how to get the 211 (or 725) as a number ? Any command for extracting the value ? substring clearly helpless.
(b)
Using metadata extract in PL/SQL. An example is
create or replace function dimRaster
(gr sdo_georaster)
return number as
total_dim number;
begin
total_dim := gr.metadata.extract('/georasterMetadata/rasterInfo/totalDimensions/text()',
'xmlns=http://xmlns.oracle.com/spatial/georaster').getNumberVal();
dbms_output.put_line('Total dimesnion'||CHR(9)||': '||total_dim);
return null;
end;-----------------
The above works fine. It extracts the value in rasterInfo>totalDimensions as NUMBER. But the following isn't working:
dim_row number;
dim_row_Str := gr.metadata.extract('/georasterMetadata/rasterInfo/dimensionSize type="ROW"/size/text()',
'xmlns=http://xmlns.oracle.com/spatial/georaster').getStringVal();
I get the following error message
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00601: Invalid token in: '/georasterMetadata/rasterInfo/dimensionSize type="ROW"/size/text()'
The number that i need to extract is in rasterInfo> dimensionSize type="ROW"> size.
Please advise.
cheers,
=DamonHere is a function to do it. Since a function can only return one value, I created an object type for it.
If this was going onto my production system, I would validate the metadata before running the procedure on a georaster object.
Hope this helps:
-- gr_dims object holds # rows, # columns, and # bands
create or replace type gr_dims as object (
r number,
c number,
b number);
create or replace function georaster_size (geor sdo_georaster)
return gr_dims deterministic is
rowcols sdo_number_array := new sdo_number_array();
result gr_dims := new gr_dims(null,null,null);
begin
rowcols.extend(3);
rowcols := SDO_GEOR.getSpatialDimSizes(geor);
result.r := rowcols(1);
result.c := rowcols(2);
result.b := SDO_GEOR.getBandDimSize(geor);
return result;
end;
select georaster_size(georaster) from map_rasters where georid=1;
--GEORASTER_SIZE(GEORASTER)(R, C, B)
--GR_DIMS(5117, 3748, 1)
select g.gr.r, g.gr.c, g.gr.b
from (select georaster_size(georaster) gr from map_rasters where georid=1) g;
-- GR.R GR.C GR.B
-- 5117 3748 1 -
How to make Row of a table Editable.
hi Experts,
I have a table in which i am displaying data. Now in Each Row of table I have an Edit Button.
I want to make to row that editable for which Edit button is pressed.
How to proceed for that. ?
Thanx.Hi Sourav,
Please go thru the code mention below to make a row editable of a table.
For this just take a attribute of type WDY_Boolean in ur node and bind the attribute to the UI Element Enable property.
Call this logic on the Action of ur Edit Button
METHOD onactiononclick .
DATA lo_nd_node TYPE REF TO if_wd_context_node.
DATA lo_el_node TYPE REF TO if_wd_context_element.
DATA lt_node TYPE wd_this->elements_node.
DATA ls_node LIKE LINE OF lt_node.
navigate from <CONTEXT> to <NODE> via lead selection
lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_node ).
get element via lead selection
lo_el_node = lo_nd_node->get_element( ).
get all declared attributes
lo_nd_node->get_static_attributes_table(
IMPORTING
table = lt_node ).
DATA: lv_index TYPE i.
lo_el_node = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
lv_index = lo_el_node->get_index( ).
LOOP AT lt_node INTO ls_node.
IF sy-tabix = lv_index.
ls_node-read_only = abap_true.
ELSE.
ls_node-read_only = abap_false.
ENDIF.
MODIFY lt_node INDEX sy-tabix FROM ls_node TRANSPORTING read_only.
ENDLOOP.
CALL METHOD lo_nd_node->bind_table
EXPORTING
new_items = lt_node
set_initial_elements = abap_true.
ENDMETHOD.
Regards
Manoj Kumar
Edited by: Manoj Kumar on Feb 17, 2009 1:58 PM -
How to make Rows editable in ALV
Hello,
I show some Records in my ALV and Column PersonalNumber is noneditable.
and I have created Append Row Button. If I click on this Button, then new added PersonalNumber should
be editable and old PersonalNumbers should be noneditable. How can we realize that?
otherwise; How can we make some editable and some noneditable in ALV?
Thanks!
with my Best Regards
Beserithan MalabakanHi,
Try this code for Editable ALV.
DATA: LR_COLUMN_SETTINGS TYPE REF TO IF_SALV_WD_COLUMN_SETTINGS,
LR_INPUT_FIELD TYPE REF TO CL_SALV_WD_UIE_INPUT_FIELD.
LR_COLUMN_SETTINGS ?= L_VALUE.
LR_COLUMN = LR_COLUMN_SETTINGS->GET_COLUMN( 'Your Field' ).
CREATE OBJECT LR_INPUT_FIELD EXPORTING VALUE_FIELDNAME = 'Your Field'.
LR_COLUMN->SET_CELL_EDITOR( LR_INPUT_FIELD ).
If any doubts let me know.
Thanks.
Edited by: Viji on Feb 28, 2008 12:14 PM
Maybe you are looking for
-
ICal Event Invitations Not Appearing in iCal Notifications
When my wife sends me an iCal invitation from her iMac to my PowerPC Mac, the invitations arrive in my Mail inbox but not in my iCal Notifications. My "Me" card lists my three email addresses. My "General" Mail preference, 'Add invitations to iCal:',
-
How to put a startup picture in a java program?
Hi there, I'm extremely new in Java programming and have a very weak knowledge in C programming. I managed to download a Java source file from the internet which I need to use for my school's project. I was wondering would it be possible for me to pu
-
Vendor evaluation and audit management
Hi, do you know if there is a link between the 'vendor evaluation' procedure (ME61) and the 'Audit management' (PLMD_AUDIT)? If yes, where I can setup this link? Thanks xmfa4
-
Formula in Bar graph not coming
Hi I am not able to show formula in graph as it is not coming in the Available Field List of chart expert. My req is like, I have the No of TTs and the TTR value for each TT. According to my req. I have created 2 running total fields Sum of TTRs and
-
File to IDOC Senario (Message Mapping)
Hi Experts, I am a fresher. This is " File to IDOC Senario ". I have Doubt on this: ( In Message Mapping) Source field : MSG Length : 1/264 Taget field : E1EDKT2 - TDLINE Legth : CHAR/70 Mapping Condition : Note: TDFORMAT = '=' (Long Line), until