Select column by ordinal position
Is there any way to select columns by ordinal position rather than by name?
Something like
Select t.[1] as col1, t.[2] as col2
FROM table t
The question comes because of a very specific situation where I've got 2 databases that have exactly the same schema at a column/datatype level but the column names are different. There are a few other ways to skin the cat but I'm interested
if it can be done this way - without a join to syscolumns ;)
Chuck
I can select by column ordinal. A little complex but it works - tested on a two column lookup-table (key-value)
declare @TableName
varchar(50) = 'yourtablename'
declare
@Col1 varchar(100)
= (Select
top 1 Col_Name((Select
Object_ID (@TableName)), 1
) -- 1 is the ordinal (column index)
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_NAME =
@TableName)
declare
@Col2
varchar(100)
= (Select
top 1 Col_Name((Select
Object_ID (@TableName)), 2
) -- 1 is the ordinal (column index)
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_NAME =
@TableName)
exec
'Select '
+ @Col1
+ ',' +
@Col2 + ' From '
+ @TableName
+ ' Order By ' +
@Col2
Similar Messages
-
How to add a new column to specific position
Hi,
How to add a new column to specified position in a existing table.
I have using the oracle database 10g.
This below code is not working in oracle 10 g
example:
ALTER TABLE EMPLOYEE ADD DEPT NUMBER FIRST:
ALTER TABLE EMPLOYEE ADD DEPT NUMBER AFTER JOB:
Please provide the correct syntax.Hi,
When you add a column to the existing table, the column added i.e., for ex updatedon appers in the last. If you want the columns to be
displayed in Specific order. Just give the column names in the SELECT.. statement.
For your Information, But it is not good in Table design. Just to give something useful.
If you want to add a column at a specified position,
Rename the position column to the new column name
For Ex: (OLD_COLUMN_NAME-Hiredate)
ALTER TABLE EMP RENAME COLUMN OLD_COLUMN_NAME TO TEMP_HIREDATE;Add a New Column to Table
ALTER TABLE EMP ADD LAST_DATE DATE;Then, Alter the Table to rename the new column that is added.
ALTER TABLE EMP RENAME COLUMN LAST_DATE TO OLD_COLUMN_NAME;And, Rename TEMP_HIREDATE to your actual collumn.
ALTER TABLE EMP RENAME COLUMN TEMP_HIREDATE TO LAST_DATE;In practise, this won't be a good approach but you can get something useful about renaming the
column atleast.
Thanks,
Shankar -
JTable - Column swap disabling for selected columns
Hi,
In my JTable i want to disable the swapping of selected columns, table.getTableHeader().setReorderingAllowed(false); this disables the whole table swapping.
Is there anyway to disable only selected column swapping?
Thanks in advance.
Yours,
ArunI was able to disable the column swapping in all the ways, i.e. i've solved the problem that i've said in my previous post.
The following are the scenario'scovered, if the user wants to disable swapping of 1st and 2nd column of a JTable
1. Donot allow dragging of the 1st and 2nd column and
2. If the user drag-drop 3 or 4 th column in place of 1st or 2nd column, then undo the swap operation by re-swapping the columns.
Try the following example
import java.awt.Point;
import java.awt.event.MouseEvent;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.event.MouseInputListener;
import javax.swing.plaf.basic.BasicTableHeaderUI;
import javax.swing.table.JTableHeader;
import javax.swing.table.TableColumnModel;
public class FixedTableColumnsExample
FixedTableColumnsExample()
String[] columnNames = {"First","Last Name","Sport","# of Years","Vegetarian"};
Object[][] data = {
{"Mary", "Campione","Snowboarding", new Integer(5), new Boolean(false)},
{"Alison", "Huml","Rowing", new Integer(3), new Boolean(true)},
{"Kathy", "Walrath","Knitting", new Integer(2), new Boolean(false)},
{"Sharon", "Zakhour","Speed reading", new Integer(20), new Boolean(true)},
{"Philip", "Milne","Pool", new Integer(10), new Boolean(false)}
JTable table = new JTable(data, columnNames);
TableColumnModel columnModel = table.getColumnModel();
EditableHeader test = new EditableHeader(columnModel);
table.setTableHeader(test);
JFrame frame = new JFrame("Table Fixed Column Demo");
frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
JScrollPane scrollPane = new JScrollPane(table);
frame.getContentPane().add( scrollPane );
frame.setSize(400, 300);
frame.setVisible(true);
public static void main(String[] args)
new FixedTableColumnsExample();
class EditableHeader extends JTableHeader
public EditableHeader(TableColumnModel columnModel)
super(columnModel);
public void updateUI()
setUI(new EditableHeaderUI());
class EditableHeaderUI extends BasicTableHeaderUI
boolean is1and2Swapped = true;
protected MouseInputListener createMouseInputListener()
return new MouseInputHandler((EditableHeader) header);
class MouseInputHandler extends BasicTableHeaderUI.MouseInputHandler
protected EditableHeader header;
public MouseInputHandler(EditableHeader header)
this.header = header;
public void mouseDragged(MouseEvent e)
int draggedColumnIndex = ((EditableHeader)e.getSource()).getDraggedColumn().getModelIndex();
if(draggedColumnIndex != 0 && draggedColumnIndex != 1 )
super.mouseDragged(e);
is1and2Swapped = true;
else
is1and2Swapped = false;
public void mouseReleased(MouseEvent e)
int draggedColumnIndex = ((EditableHeader)e.getSource()).getDraggedColumn().getModelIndex();
Point p = e.getPoint();
TableColumnModel columnModel = header.getColumnModel();
if(p.x < 0)
p.x = 0;
int index = columnModel.getColumnIndexAtX(p.x);
super.mouseReleased(e);
if((index == 0 || index == 1) && is1and2Swapped)
header.getColumnModel().moveColumn(index,draggedColumnIndex);
}Is there anyother better way to do the swap disabling? If so please suggest me.
This solution is having one disadvantage.
Consider the following scenario,
a) 1 and 2 are fixed columns.
b) Move column 4 to 3rd position
c) Move new 3rd column to 1st or 2nd column's position
d) the new 3rd column is moving to position 4(its original position when the model was created) instead of position 3.
This is because the TableColumModel is not updated properly. I'm working on that. Any Suggestions?
Thanks
Arun. -
How to show two seperate pivot tables with one select column
Hi All
My client wishes to have two pivot tables, one showing positive results and the other showing negative results.
For Example:
DIMENSION
BUSINESS A 1000
BUSINESS B 500
BUSINESS C 100
DIMENSION
BUSINESS A -1000
BUSINESS B -500
BUSINESS C -100
Is it possible to then select the different DIMENSION with one select column for both?
ThanksNot sure I got it right try this
for Number column pull twice and set col*-1
use 2 pivot table for each number type
cool as ~ http://cool-bi.com -
Report Does Not Follow Select Column Order
Hi all,
Apex 2.2 on 10gXE
I always encounter this problem, the display column on report does not follow the select column sequence order in the "region source".
It is very tedious clicking the up/down arrow one-by-one in the "report attributes" especially if the display columns are plenty like 40 columns.
Is there a fix/patch or alternative tips for this bug?
Thanks a lot,
Edited by: 843228 on May 24, 2011 10:32 PMApex 2.2 on 10gXEStart by upgrading from this old unsupported version.
>
I always encounter this problem, the display column on report does not follow the select column sequence order in the "region source".
It is very tedious clicking the up/down arrow one-by-one in the "report attributes" especially if the display columns are plenty like 40 columns.
Is there a fix/patch or alternative tips for this bug?
>
This is not a bug. APEX maintains the original column order of the report. This avoids problems downstream in areas like the processing of <tt>g_fnn</tt> arrays in declarative tabular forms, where the assigned arrays are column-order dependent.
APEX 4.x fixes column ordering bugs that could lead to report corruption, and includes drag-and-drop column ordering in the new tree view in addition to the up/down arrow re-ordering.
If you really want column order to follow that in the source query, the workaround is to create a new report using the modified query. -
Interactive Report - Include Non-selected Column in Row Text Search
Hi,
We have an interactive report that contains many columns. NAME VARCHAR2(30), TYPE VARCHAR2(30) etc and DESCRIPTION VARCHAR2(4000).
Normally the DECRIPTION column would not be shown (avalilable for dispaly via 'Select Columns' but not selected), however we need the default Row Text Search (ie direct entry into the search field instead of creating a column filter) to search the DESCRIPTION field wether it is selected for display or not.
This will allow the user to enter a term that may be contained in the DESCRIPTION to find records without trying to display a 4000 character field in the report - which just looks horrible.
We are using ApEx 4.1.1.
Thanks,
Martin FiggHi Ray,
As I expected this has got us very close. We went with the code:
select
facility_id,
facility_name,
'<span title="' || facility_desc|| '">'||substr(facility_desc,0,50)||decode(sign(length( facility_desc)-50),1,' (More...)',NULL)||'</span>' facility_desc,
equipment_id,
equipment_name,
'<span title="' || equipment_desc|| '">'||substr(equipment_desc,0,50)||decode(sign(length( equipment_desc)-50),1,' (More...)',NULL)||'</span>' equipment_desc,
from
rf_full_item_list_vwhich works well. The only issue is that when you download to csv you get the html tags etc as well. Put I am a lot closer to a solution than we were.
Thanks again.
Martin -
How to find out the selected column in Table Control
Hi all,
How to find out the selected column in Table Control?
Thanks & Regards,
YJRHi,
Let your table control name in Screen painter be TC1.
READ TABLE TC1-COLS INTO WA_COLS (some wok area)
WITH KEY SELECTED = 'X'.
IF SY-SUBRC = 0.
CLEAR: W_DUMMY, W_COL_NAME.
SPLIT WA_COLS-SCREEN-NAME AT '-' INTO W_DUMMY
W_COL_NAME.
endif.
W_COL_NAME gives you the column name.
Hope it helps.
cheers
sharmistha -
How to select columns in a table by their column id and not the column name
Hello,
How do you select columns from a table based on their column_id.
I have create a view
but other than Select * , i cant now select one just one column from it
the view as follow:
create view count_student as
select a.acode "acode",aname "Activity Name",count(ae.acode) "Number of student joined"
from aenrol ae, activity a
where a.acode= ae.acode
group by a.acode,aname;The issue is that you have decided to use quoted column names. A pretty horrible idea (mostly for the reasons that you are now finding).
Re-create the view and get rid of the silly double quotes. -
How to export selected columns in a table using expdp of oracle10g
Hi all..
I have a table with 10 columns and i want to export only 4 columns(selected columns) data using expdp
Pl. tell me if we can do this and if yes what is the syntax.
Thanks..
SekharThat's not possible, you could use QUERY to specify where clause but not columns in select clause,
for example,
QUERY=employees:'"WHERE department_id > 10 AND salary > 10000"'
you could use
create table2export as select c1,c2,c3,c4 from tableof10columns;and export the temp table. -
Error in TCode iview Select a line or position the Cursor correctly
Hi All,
I am getting the below error while selecting the row in Tcode iview
Select a line or position the Cursor correctly.
You have not selected a delivery or a delivery item for processing and the cursor is not positioned on a valid line, even after i am
selecting the Delivery and click on the execute button
My system config :
NW04s SP 20
Thanks&Regards
MurthyHi Murthy,
Create the Iview again.Hope the issue will resolve.
Thanks,
Arun -
Changes to selected columns to display in Details tab in Task Manager are not saved during a reboot
I use Task Manager on Server 2008 R2 to monitor performance. I have added several columns to the Processes tab using View..Select Columns. I have added CPU time, I/O read/write/other bytes, etc.
The equivalent in Server 2012 is the Details tab. I figured out how to add these same columns - right click on the column headers, and choose "Select columns". This is not obvious by the way.
However these selections are not persistent across a reboot. So every time I reboot, I need to add the columns back to the display. That is not the case with Server 2008 R2 - they are persistent.
I am using a domain administrator userid, but not using roaming profiles.
This is a retrogression vs. Server 2008 R2. Can it be fixed?Hi,
I meant that both the added columns of Windows Server 2008 R2 and Windows Serve r2012 RC are persistent.
You may install a new Windows Serve r2012 RC to check the symptom.
Currently, you may perform a System File Checker (SFC /Scannow) to check the result.
Regards,
Arthur Li
TechNet Community Support
Arthur, I have the exact same problem as David Trounce. The problem exists, as he described it, and I don't think you are understanding it. Please pass this problem/bug/defect report to someone else so that it can be logged and fixed before
RTM. Thanks! -Kent -
How to export only selected columns of WD ALV to excel
Hi,
I have WD ALV report with EXPORT button (since standard button was not working properly i just hide that and added custom one) & standard dropdown to choose layout. Out of 20 columns user may choose n number of columns, the same number of columns i need to transfer to xls. How to export only selected columns to xls. Any method or FM to filter number of columns being transfer to xls. please advise
Rgds
sudhanshuHi,
Where exactly we are (or going to be) using this reference i.e., CL_SALV_WD_CONFIG_TABLE. Im passing contents, filename & MIME type as:
call function 'SCMS_STRING_TO_XSTRING'
exporting
TEXT = TEXT
importing
BUFFER = XTEXT.
WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE(
**path to the word file
I_FILENAME = 'WDP.xls'
String Variable
I_CONTENT = XTEXT
File Type
I_MIME_TYPE = 'EXCEL' ).
In CL_SALV_WD_CONFIG_TABLE we have few methods related to column settings however not sure where exactly we will be using this class reference. can you please give some idea so that i can do some r&d in that.
Rgds
Sudhanshu -
How to put image in table selection column in advanced table
i need to put some image(not a picture, its just a traingalur shape image with different colour which indicates some messages to the user if suppose user adds a data which is duplicate with other row or he may copy existing row and dont change it.) can any one give me an idea of how to achieve this
Are you looking for image in selection column or as a separate column?
--Shiv -
How to freeze the selection column in the table control of the module pool.
hi ,
in my module pool there is a row selection field <b>w/selcolumn</b> of the table control called as mark.
how to freeze the selection column where there is no record in the table control row.
or in other words where wa is initial.
thanks
ektaHi all,
in the PBO of the screen the following code is written.
say the selection column is MARK and is declared in the data as well.
thanks
ekta
*************************C O D E **************************************************
MODULE disp_tabctrl1 OUTPUT.
IF flag_c = 1.
READ TABLE it_create_data INTO wa_material_data
INDEX tab_ctrl1-current_line.
ELSE.
READ TABLE it_material_data INTO wa_material_data
INDEX tab_ctrl1-current_line.
IF sy-subrc = 0.
IF ok_code_0101 = '&SEL1'.
mark = 'X'.
ELSEIF ok_code_0101 = '&DSEL'.
mark = ' '.
ENDIF.
ELSE.
LOOP AT SCREEN.
IF screen-name = 'MARK'.
screen-input = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
index_t = tab_ctrl1-top_line.
index_d = tab_ctrl1-top_line + n.
ENDMODULE. " DISP_TABCTRL1 OUTPUT -
Select columns from table for display in alvgrid.
Hi all,
i have the following:
i do select a tablename and pass it as a parameter. then this table is loaded into an internal table and displayed in an alv-grid.
what i now want to do is a step between the both:
after the internal table with its structure is loaded, i want to display the field columns and i want them to be selectable so that in the next step the alv - grid is selected only with the selected columns ( just now it allways runs with all columns - even the not needed ).
Any ideas for that would be appreciated. Is there some tutorial on that or some sample ?hi
chk this sample code:
*REPORT zdemo_alvgrid .
TABLES: ekko.
type-pools: slis. "ALV Declarations
*Data Declaration
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid,
gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
*Start-of-selection.
START-OF-SELECTION.
perform data_retrieval.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
form build_fieldcatalog.
There are a number of ways to create a fieldcat.
For the purpose of this example i will build the fieldcatalog manualy
by populating the internal table fields individually and then
appending the rows. This method can be the most time consuming but can
also allow you more control of the final product.
Beware though, you need to ensure that all fields required are
populated. When using some of functionality available via ALV, such as
total. You may need to provide more information than if you were
simply displaying the result
I.e. Field type may be required in-order for
the 'TOTAL' function to work.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
fieldcatalog-key = 'X'.
fieldcatalog-do_sum = 'X'.
fieldcatalog-no_zero = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
i_callback_top_of_page = 'TOP-OF-PAGE' "see FORM
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups = gd_tabgroup
it_events = gt_events
is_print = gd_prntparams
i_save = 'X'
is_variant = z_template
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
form data_retrieval.
select ebeln ebelp statu aedat matnr menge meins netpr peinh
up to 10 rows
from ekpo
into table it_ekko.
endform. " DATA_RETRIEVAL
Form TOP-OF-PAGE *
ALV Report Header *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
CONCATENATE sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) INTO wa_header-info. "todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header.
i_logo = 'Z_LOGO'.
endform.
FORM USER_COMMAND *
--> R_UCOMM *
--> RS_SELFIELD *
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
Check function code
CASE r_ucomm.
WHEN '&IC1'.
Check field clicked on within ALVgrid report
IF rs_selfield-fieldname = 'EBELN'.
Read data table, using index of row user clicked on
READ TABLE it_ekko INTO wa_ekko INDEX rs_selfield-tabindex.
Set parameter ID for transaction screen field
SET PARAMETER ID 'BES' FIELD wa_ekko-ebeln.
Sxecute transaction ME23N, and skip initial data entry screen
CALL TRANSACTION 'ME23N' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDFORM.
*& Form BUILD_EVENTS
Build events table
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[].
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " BUILD_EVENTS
*& Form BUILD_PRINT_PARAMS
Setup print parameters
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " BUILD_PRINT_PARAMS
*& Form END_OF_PAGE
form END_OF_PAGE.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip.
write:/40 'Page:', sy-pagno .
endform.
*& Form END_OF_LIST
form END_OF_LIST.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip.
write:/40 'Page:', sy-pagno .
endform.
**reward if helpful
regards,
madhu
Maybe you are looking for
-
Xml data into non-xml database.. solution anyone?
Hi, My current project requires me to store the client's data on our servers. We're using Oracle9i. Daily, I will download the client's data for that day and load it into our database. My problem is that the data file is not a flat file so I can't us
-
Hi, i was just going through this Wiki [General Overview on Project System |http://wiki.sdn.sap.com/wiki/display/PLM/GeneralOverviewonProjectSystem] ,and I found that the entire wiki contents are nothing but the content of following SAP Help pages:-
-
F8 Function Key Not Working In DreamWeaver
No response in the Adobe DreamWeaver forum, so here goes... The F8 function key used to bring up the Files window in DreamWeaver on previous Mac machines, but I'm trying to figure out why it won't on a new installation of Adobe CS3 on a brand new Mac
-
Hi everyone, I am in a serious situation. I have this HP Touchsmart IQ526t that I bought in year 2009, recently the hard disk found faulty by hardware diagnostic tool. I ave replace a new 2G hard disk with 7200rpm. When I tried to install recovery di
-
Disk Utility - Permissions Database keeps listing errors.....
Someone could help in deciphering what could be wrong with my OS. Every time I run the Disk Utility to do a verify/repair database permissions, it get a series of errors being displayed. I copy herewith the history of a verify permission: Verify perm