How to make a particular row and column field editable in ALV
Hi Experts,
I have a requirement to make a particular row and column field editable in ALV output. Like i need to make 2nd row - 4th column editable of ALV output.
Kindly help me out to solve this.
Any help would be appreciated.
Thanks,
Ashutosh
Hi Ashutosh,
please check below, explained by some experts.
In the below link editing two columns MOD_RANK and TECH_RANK.
These two columns will be in edit mode once after selecting the required record
Editing single cell in a row of ALV table
And also look for more info
http://scn.sap.com/thread/884976
Similar Messages
-
How do I delete multiple rows and columns in an image?
I am looking into how digital SLRs extract video data from a CMOS sensor. To give an example, the GH1 from Panasonic can record video at 1920 x 1080 from a 12 MPixel sensor that, say, is 4000 horizontal x 3000 vertical. How they do that seems to be not in the public domain, but there have been a few guesses (see http://www.dvxuser.com/V6/showthread.php?t=206797 and http://luminous-landscape.com/forum/index.php?showtopic=38713).
One approach would be to simply read every second row of sensor pixels (1500 rows read from the original 3000) and once you have those in memory, delete every second column (2000 columns left). You would end up with a 2000 x 1500 image which could then be resampled to 1920 x 1080.
I'd like to simulate what the camera appears to be doing, by generating a 4000 x 3000 test image and then asking Photoshop CS4 to delete the appropriate rows and columns. It may not necessarily be every second row; the Canon 5DMk11 appears to read every third row, so I may need to delete two out of every three rows.
Can Photoshop do that sort of thing? If so, how?Thanks for the suggestions. Yes, I did take a detailed look at your images, but they weren't 100% convincing because it wasn't clear just what was happening. And Adobe's explanation, after reading it again, explains nothing at all to someone who doesn't know how Nearest Neighbor works.
But you are correct -- Nearest Neighbor does effectively delete pixels. I proved it with the attached 6 x 6 image of coloured pixels (the tiny midget image right after this full stop -- you'll have to go to maximum zoom in PS to see it).
These are the steps to delete every second row and then every second column.
1. Select Image > Image Size.
2. Set Pixel Dimensions > Height to half the original (in this case set to 3 pixels).
3. Set Resample Image to Nearest Neighbor.
4. Click OK and the image shoould now consist of three vertical white strips and three vertical Green-Red-Blue stripes.
5. Repeat steps 1-4, but this time set Pixel Dimensions > Width to half the original (in this case set to 3 pixels). The image should now consist of three horizontal stripes Green-Red-Blue.
Just to make sure the method worked for every third pixel, I repeated the above steps but with 2 pixels instead of 3 and obtained the correct White-Green, White-Green pattern.
I resampled the Height and Width separately for the test so that I could see what was happening. In a real example, the height and width can be changed at the same time in the one step, achieving the same results as above.
Finally, how to explain how Nearest Neighbor works in the simple cases described above?
Division by 2
In the case of an exact division by two (pixels numbered from top leftmost pixel), only the even numbered rows and columns remain. To put it a different way, every odd numbered row and column are deleted.
Division by 3
Only rows and columns 2, 5, 8, 11... remain.
Division by N
Only rows and columns 2, 2+N, 2+2N, 2+3N... remain.
To put it simply, a resample using Nearest Neighbor (using an exact integer multiple) keeps every Nth row and column, starting from number two. The rest are deleted. -
How to create table with rows and columns in the layout mode?
One of my friends advised me to develop my whole site on the
layout mode as its better than the standard as he says
but I couldnot make an ordinary table with rows and columns
in th layout mode
is there any one who can tell me how to?
thanx alotYour friend is obviously not a reliable source of HTML
information.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Mr.Ghost" <[email protected]> wrote in
message
news:f060vi$npp$[email protected]..
> One of my friends advised me to develop my whole site on
the layout mode
> as its
> better than the standard as he says
> but I couldnot make an ordinary table with rows and
columns in th layout
> mode
> is there any one who can tell me how to?
> thanx alot
> -
How can we export graphs row and column wise in pdf
Hi Experts,
can some body tell, i have graphs in rows and columnswise in output(means side by side) after export to pdf graphs shows in rows only not like in output. but i need graphs rows and columns wise in pdf. how can i achive my requirement.please let me know steps.
regards,
krisHi Kris,
This is a limitation with Export to PDF. Plz. go thru' below link.
Re: WAD Application export to PDF
--Priya -
How to get number of rows and columns in a two dimensional array ?
Hello,
What would be the simplest way to get number of rows and columns in a two dimensional array represented as integers ?
I'm looking for another solution as For...Each loop in case of large arrays.
Regards,
PetriHi Petri,
See a attached txt file for obtaining two arrays with upper and lower index values
Regards
Ray
Regards
Ray Farmer
Attachments:
Get2DArrayIndex.txt 2 KB -
How to set the Selected row and Column in JTable
Hi,
i have a problem like the JTable having one Method getSelectedRow() and getSelectedColumn to know the Selected row and Column but if i want to explicitly set the Selected Row and Column,then there is no such type of Methods.If anybody has any solution then i will be thankful to him/her.
Praveen K SaxenaIs that what you're looking for? :myTable.getSelectionModel().setSelectionInterval(row, row);
myTable.getColumnModel().getSelectionModel().setSelectionInterval(column, column); -
Updating the particular row and column in a JTable
Hi,
I have a JTable which is having fixed number of columns. When i am trying to update a particular cell in the table
during programm execution i am not able to do it.
I am getting the row number and column number correctly. But when i am going to set the data it is not setting at the same row. It is setting some other row according to the m_index (according to the sorting).
i am doing :
JTableModel model = (JTableModel) m_TablePan.getTableModel();
model.setValueAt(savedData, row, column);See the convertXxxIndexToView and convertXxxIndexToModel methods.
db
Edited by: Darryl.Burke -- wrong methods suggested
Edit2: Evidently lipumama doesn't follow up on many questions posted.
One for the blacklist. -
Searching for a string in the xml present in a particular row and column.
Hi All,
We have a table in which in one of the column a complete payload xml is getting stored.
Is there any way to search for a particular string in the stored xml of a particular row?
Thanks in Advance,
BobHere is a simple example of what Blu is saying
I have create a table temp_dept like this
SQL> desc temp_dept
Name Null? Type
DEPTNO NUMBER
DNAME VARCHAR2(10)
LOC VARCHAR2(8)
EMP_XML XMLTYPE
I have loaded employee detail from emp table into emp_xml as xml data. here is a sample
SQL> select * from temp_dept;
DEPTNO DNAME LOC EMP_XML
10 ACCOUNTING NEW YORK <?xml version="1.0"?>
<ROWSET>
<ROW>
<EMPNO>7782</EMPNO>
<ENAME>CLARK</ENAM
20 RESEARCH DALLAS <?xml version="1.0"?>
<ROWSET>
<ROW>
<EMPNO>7369</EMPNO>
<ENAME>SMITH</ENAM
30 SALES CHICAGO <?xml version="1.0"?>
<ROWSET>
<ROW>
<EMPNO>7499</EMPNO>
<ENAME>ALLEN</ENAM
Now i can convert the emp_xml into a table and query like this
SQL> select d.deptno
2 , d.dname
3 , d.loc
4 , e.*
5 from temp_dept d
6 , xmltable
7 (
8 '/ROWSET/ROW' passing d.emp_xml
9 columns empno number path 'EMPNO'
10 , ename varchar2(100) path 'ENAME'
11 , job varchar2(100) path 'JOB'
12 , mgr number path 'MGR'
13 , hiredate varchar2(100) path 'HIREDATE'
14 , sal number PATH 'SAL'
15 , com number PATH 'COM'
16 ) e
17 /
DEPTNO DNAME LOC EMPNO ENAME JOB MGR HIREDATE SAL COM
10 ACCOUNTING NEW YORK 7782 CLARK MANAGER 7839 09-JUN-81 2450 0
10 ACCOUNTING NEW YORK 7839 KING PRESIDENT 17-NOV-81 5000 0
20 RESEARCH DALLAS 7369 SMITH CLERK 7902 02-APR-81 2975 0
20 RESEARCH DALLAS 7566 JONES MANAGER 7839 02-APR-81 2975 0
20 RESEARCH DALLAS 7788 SCOTT ANALYST 7566 19-APR-87 3000 0
20 RESEARCH DALLAS 7876 ADAMS CLERK 7788 23-MAY-87 1100 0
30 SALES CHICAGO 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300
30 SALES CHICAGO 7521 WARD SALESMAN 7698 22-FEB-81 1250 500
30 SALES CHICAGO 7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400
30 SALES CHICAGO 7698 BLAKE MANAGER 7839 01-MAY-81 2850 0
30 SALES CHICAGO 7844 TURNER SALESMAN 7698 08-SEP-81 1500 0
11 rows selected.
SQL>
You can apply filter for the necessary value that you are searching. -
How to create table with rows and columns in HTMLB
Hello All,
Can any one tell me how to create table in HTMLB?
Regards,
Lisa.Look at the sample BSP application SBSPEXT_HTMLB
also you can look at the below Blog..
/people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
<i>*Reward each useful answer</i>
Raja T -
How to make the first row selected before the display of ALV grid
Hello Experts,
I created a ALV grid using custom container in a screen . Now i want do the follwing:
1. i want that, the <b>first line must be selected before the display of ALV.</b>
2. I have selection buttons . But i dont want the multiselect button and the
standard toolbar in the ALV grid.
Could any one please help me regarding the above?
Thanks & Regards
Sudhansucan u pls explain in more details with an example?
I am telling u the scenario.
1. i have a screen(Modal dialog Box) containing ALV grid with selection buttons for each row (top part) and a subscreen(second part).
Now when i click on a selection button, it will display the corresponding values in the subscreen.
When this screen will display for the first time , then first row of the ALV grid should be selected and the corresponding values should be displayed in the subscreen.
i wrote the following code in the PAI. But when i select a record its not triggering the PAI.
DATA:
gi_index_rows TYPE lvc_t_row, " Internal table for indexes of selected rows
g_selected_row LIKE lvc_s_row, " Information about 1 row
l_lines TYPE i.
CLEAR g_wa_vdmeko.
*get selected row
CALL METHOD g_alv_grid->get_selected_rows
IMPORTING
et_index_rows = gi_index_rows.
DESCRIBE TABLE gi_index_rows LINES l_lines.
LOOP AT gi_index_rows INTO g_selected_row.
READ TABLE g_int_vdmeko INDEX g_selected_row-index INTO g_wa_vdmeko.
SELECT SINGLE *
FROM vdmepov
WHERE bukrs = g_wa_vdmeko-bukrs AND
styp = g_wa_vdmeko-styp AND
sbez = g_wa_vdmeko-sbez AND
svym = g_wa_vdmeko-svym AND
svnr = g_wa_vdmeko-svnr.
ENDLOOP.
I am displayinng the ALV using method "set_alv_for_first_display".
Please help if u have any idea..................
Thanks
Sudhansu -
How to make all the rows of a table editable
I have a table in a view, with visibileRowCount property as 5. The internal table which is bound to the context has 2 rows.
I want to make all the 5 rows of this table as editable. As of now, as there are just 2 rows in the internal table, only the first 2 rows of the table in the view are editable.
My idea is to avoid the use of a 'Add row' button for this table. Is it possible to do this?
Points will be rewarded. thanks.hi john....
just insert 3 more empty records into your internal table... so it becomes editable.
---regards,
alexb justin -
How to display 2 dimensional data. i.e with rows and columns?
Hi,
I want to know how to display multiple, variable
rows and columns that are got from the database through
queries in forms.
(i,e. a Matrix of Values,something similar to an Excel Spreadsheet).
Is there a component in forms similar to JTABLE that is
available in Java through which MULTIPLE, VARIABLE
rows and columns can be displayed ?.
I am not using a base table since this data is got thru
a number of packages and procedures that are used in
Loops.
NOTE : I am using forms 6i.
Thanks
Sharath.I've heard Grant mention adding a Grid component to the Forms toolbox. From the context I would guess this is not yet even under development, so it's not going to be available anytime soon. And not for 6i.
Sorry, APC -
I have tried intializing an array and replacing elements by specifying a particular row, and column, but in the end I get an array with only one element replaced, and I suspect that it is because as the for loops are running through their iterations each time the array is re-initializing. I have a simple vi that I will post below, it is not the exact situation that I have but is a good place for me to get some understanding. I have the row and column indexes being driven by the inner and outer loop iterations, which gives me the pattern I need. I am using the inner iterations as array elements. How do I set this up so that it works and d
oes keep re-initializing my array.
Attachments:
Untitled.vi 26 KBI have fixed a number of things in your vi.
You were right in thinking that the array was continuously re-initialized. To avoid this, use a shift register (right-click the loop border), which will pass the updated array into the next iteration.
Chilly Charly (aka CC)
E-List Master - Kudos glutton - Press the yellow button on the left...
Attachments:
your_vi.vi.zip 13 KB -
Getting row and column of an array element
Hi,
I have an array of 24 rows and 24 column giving me a total of 576 elements. How do I get the row and column of a particular element in an array in LabView. E.g. If I have to write to element 127 how do I get the column and row in which element 127 is located.
Regards,
Harshil
Solved!
Go to Solution.Hi Harshil,
maybe you only need to find the correct "address" of the element in your 2D array?
Use something like this:
Maybe you have to switch Row&Column output according to your numbering scheme...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Remove specific row and column from 2d array
Hi,
I would like to know how to remove the specific row and column from 2d array.
for example, I have the original 4x4 array as below
2 -1 -1 0
-1 2 0 -1
-1 -1 2 0
-1 -1 -1 3
let say that i want to remove row 2(bold) and column 2(bold), and the new 2d array should get as below
2 -1 0
-1 2 -1
-1 -1 3
Thanks.You can't remove elements of an array, it's fixed at a certain size once created. What you can do however is make a new array and only copy the things you want. Something like:public static void main(String[] args) {
Integer[][] bar = new Integer[5][5];
for (int i = 0; i < bar.length; i++) {
Integer[] baz = bar;
Arrays.fill(baz, i);
System.out.println(Arrays.toString(baz));
Integer[][] muu = new Integer[5][4];
removeColumn(3, bar, muu);
for (Integer[] mee : muu) {
System.out.println(Arrays.toString(mee));
Integer[][] smuu = new Integer[4][5];
removeRow(3, bar, smuu);
for (Integer[] mee : smuu) {
System.out.println(Arrays.toString(mee));
public static <T> void removeRow(int row, T[][] a, T[][] result) {
if (row >= a.length) {
throw new IllegalArgumentException("no row at " + row);
for (int a_r = 0, result_r = 0; a_r < a.length; a_r++) {
if (a_r == row) {
continue;
System.arraycopy(a[a_r], 0, result[result_r], 0, a[a_r].length);
result_r++;
public static <T> void removeColumn(int col, T[][] a, T[][] result) {
for (int i = 0; i < a.length; i++) {
if (col >= a[i].length) {
throw new IllegalArgumentException("no column at [" + i + ", " + col + "]");
for (int a_i = 0, r_i = 0; a_i < a[i].length; a_i++) {
if (a_i == col) {
continue;
result[i][r_i] = a[i][a_i];
r_i++;
Maybe you are looking for
-
How do you turn off the 2-sided printing feature on hp 8500 printer?
I want to print one sided only. When I have four originals I want four one sided copies. I keep getting two , two sided
-
Viewing from thinkpad through TV
How do I change the frequency on my T30 to view slides and videos on my harddrive through my TV? I connect the thinkpad to the VGA slot on my TV. The sound is OK. But I cannot view any pictures. The TV screen is showing blurred images. The freque
-
Hi all, We originally started creating InDesign extensions "manually" several years ago, as we did not yet want to pay for the original Extenson Builer 1.0. We produced our ZXP files from the contents of the bin-debug folder using Fabien Bizot's Java
-
How to acquire a video from a ip camera using TCP/IP?
I have a ip camera connected to a router and I want to acquire its video using tcp/ip. Could anyone help me? Thanks in advance, Celia
-
Re: Digital Library Empty
I am having the same issue. I try to log on to bestbuy.com tells me my password or email isn't right. I reset it. (6 times today with the same password) I log in, I go to digital downloads, and my SWTOR Cartel coins are not there. I'm done. Ordered i