11g export to rep
I was taught by Oracle that 11g no longer generates or uses the .rep file. However, it is available under File > Export. Is this the same as the old Generate rep (Ctrl+T)?
What is this used for in 11g and how can it be run?
Edit... I guess rwrun is alive and well.
So now I'm really confused as to what's going on.
Thank you.
Edited by: New Rodeo on Aug 13, 2010 9:48 AM
we are facing exactly same issue. We are trying to export from 11gR1 database using 9i client and import it into 9i database. 11g is having character set AL32UTF8 and target 9i is having WE8ISO8859P1.
While exporting NLS_LANG variable was set to AMERICAN_AMERICA.WE8ISO8859P1 and while importing the same was done. Even then I am facing following error while importing,
Import: Release 9.2.0.7.0 - Production on Mon Jul 23 05:42:15 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Export file created by EXPORT:V09.02.00 via conventional path
import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character setSegmentation Fault(coredump)
Any idea what might be the issue.
Edited by: user12044386 on Jul 23, 2012 1:40 AM
Edited by: user12044386 on Jul 23, 2012 1:51 AM
Similar Messages
-
We like to export data from 11g db to 9i db. tried the following:
1. Execute 9i export on 11g db app schema
2. Execute 11g export on 11g db app schema
3. Execute 9i import from step 1 into 9i db.
4. Execute 9i import from step 2 into 9i db.
Received core dump and the following error in both cases:
Export file created by EXPORT:V09.02.00 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)Memory fault(coredump)
Is there a way to move 11g data to 9i, besides sqlloader ?we are facing exactly same issue. We are trying to export from 11gR1 database using 9i client and import it into 9i database. 11g is having character set AL32UTF8 and target 9i is having WE8ISO8859P1.
While exporting NLS_LANG variable was set to AMERICAN_AMERICA.WE8ISO8859P1 and while importing the same was done. Even then I am facing following error while importing,
Import: Release 9.2.0.7.0 - Production on Mon Jul 23 05:42:15 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Export file created by EXPORT:V09.02.00 via conventional path
import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character setSegmentation Fault(coredump)
Any idea what might be the issue.
Edited by: user12044386 on Jul 23, 2012 1:40 AM
Edited by: user12044386 on Jul 23, 2012 1:51 AM -
Is there any way to export a BPMN process in BPM 11g to XPDL?
Thanks,
Ruiwe are facing exactly same issue. We are trying to export from 11gR1 database using 9i client and import it into 9i database. 11g is having character set AL32UTF8 and target 9i is having WE8ISO8859P1.
While exporting NLS_LANG variable was set to AMERICAN_AMERICA.WE8ISO8859P1 and while importing the same was done. Even then I am facing following error while importing,
Import: Release 9.2.0.7.0 - Production on Mon Jul 23 05:42:15 2012
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Export file created by EXPORT:V09.02.00 via conventional path
import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character setSegmentation Fault(coredump)
Any idea what might be the issue.
Edited by: user12044386 on Jul 23, 2012 1:40 AM
Edited by: user12044386 on Jul 23, 2012 1:51 AM -
Import data to 9i from 11g export error.
Dear All,
My new production server has 11g up running. I like to move data from the 11g to the legacy system of 9i as a backup server. Both servers are Linux. Both 9i and 11g clients are installed on a XP computer. I found the information that I need to use 9i exp on 11g and 9i imp to 9i database. If this is the way, can someone help me to clarify it more? What exactly do I need to do? Thank you in advance for your help! Here is what I did and received an error.
On the XP Oracle client side:
Copied 9i's exp.exe to 11g BIN directory. Then execute C:\product\11.2.0\client_1\bin\exp user/passwd@RESRCH STATISTICS=none FILE=AriesExport.dmp TABLES=(DATASRC,DATASET,SUBTASK_PARMS,EXPERIMENTER,CHANNELS,COILS,SPEAKERS,LEDS,TRIAL,TS_DATA)
It created an error of ORA-12541 no listener. Needless to say, the database is working fine.
If use the original 11g's exp.exe, the above command runs successfully.
The 11g tnsnames.ora in C:\product\11.2.0\client_1\network\admin
RESRCH =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip address)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = RESRCH.AAA.BBB.EDU)
)This is the windows screen shot with the command
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
E:\>C:\oracle\ora92\bin\exp user/password@RESRCH STATISTICS=none FILE=SmilExport.dmp TABLES=(FILTERS) log=SmilExp.log
Export: Release 9.2.0.1.0 - Production on Fri Dec 2 10:07:50 2011
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
A few seconds the windows error message pop up. -
I have Oracle 11g (11.1.0.6) in one server, and I have 10g (10.2.0.3) database in all other server. I am trying to do EXP (normal export not expdp) of my 10g database using the 11g client. I am getting the following error.
Export: Release 11.1.0.6.0 - Production on Wed Jul 22 15:17:03 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses WE8MSWIN1252 character set (possible charset conversion)
EXP-00008: ORACLE error 1003 encountered
ORA-01003: no statement parsed
. . exporting table SNP_DT
EXP-00008: ORACLE error 904 encountered
ORA-00904: "MAXSIZE": invalid identifier
EXP-00008: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00024: Export views not installed, please notify your DBA
EXP-00000: Export terminated unsuccessfully
Is there any way way to solve this. Could some one please help me.
Thanks
Mano
Edited by: Mano Rangasamy on Jul 22, 2009 3:24 PM
Edited by: Mano Rangasamy on Jul 22, 2009 3:26 PMI have the same issue, but my client (export) is 11.1.0.7.0 and my database is 11.1.0.6.0. I beleaved that the same versions (11) have to work toghether. But they do not.
Does it mean that I have to reinstall my client to have en export that works? -
OBIEE 11g: Export to entire dashboard issue
HI,
My dashboard contains four pages and each page contains one report.
if I export to entire dashboard then am getting first 25 rows from each report only.
How to get all rows from each report.
Note: Each report contains around 2000 rows. That's why I didn't put display all rows by default.
Regards,
Srinivas.Hi,
Edit the each dashboard and check Print properties.
1. Edit the Dashboard
2. In Tools select 'Print Options' i.e down to 'Dashboard Properties' option
3. select Print Rows 'All' instead of 'Visible'
4. Now save and export the dashboard.
Now you will be able to export all the data from the dashboard report.
Hope it helps,
Bose -
Exporting .rep Files to Excel via openDocument?
Hi,
as the documentation states, only .rpt can be directly exported to excel via openDocument's sOutputFormat.
Others created with Desktop Intelligence (.rep) can "only" be exported to PDF and HTML via sOutputFormat.
However, in the WebIntelligence Toolbar there is the possibility to Export those .rep Files after generation.
The URL for the export looks like /saveAsPDForXLS.jsp (or something like that), and as far as i remember a sEntry GET var is passed with the query.
This sEntry var - i suppose so - is an unique id for the freshly generated document?
Anyway, my question is, isnt there a way to use openDocument to export .rep Files to excel?
thanks!
attilaHi Ted,
exactly, but as i mentioned when the request is finished and e.g. the pdf document embedded in a frame shows up, there is the chance to export it via the toolbar to csv/excel.
When selecting that option, a redirection to /saveAsXLSorPDF.jsp (or so) is fullfilled.
I'm not sure what exactly happens between that redirect, maybe you can help me on that point.
The sEntry parameter being passed to saveAsXLSorPDF.jsp, where from (or how) is it generated?
Does the sEntry param depend on the openDocument URL request, Is there some special algoritm for generating that sEntry?
To make it clear, what im thinking about is:
I can make an openDocument URL Request
sleep(20min)
Make another request to saveAsXLSorPDF.jsp with the sEntry which i could generate by myself, if i knew what algorithm is underneath!
Thanks in Advance
attila -
Importing the dump into 10g which exported from 11g server
hi
can i import the dump into 10g which exported from 11g server?
thanks
nidhiknidhi wrote:
hi
can i import the dump into 10g which exported from 11g server?
thanks
nidhiHi Nidhi,
No, if you want to use an 11g export dump and import it using 10g utilities to a 10g database.
Yes, if you use 10g export utility to extract 11g database data, and use 10g import utility to import in 10g database.
For more information on export/import compatibility, please check:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28319/exp_imp.htm#
HTH
Regards,
Z.K. -
Export from 11g and import to 9i
I have run exp from machine runing oracle 9i to export tables from
another machine running oracle 11g .Export is working fine but while
importing in Oracle 9i it is giving the following errors.
import done in US7ASCII character set and AL16UTF16 NCHAR character
set
import server uses WE8ISO8859P1 character set (possible charset
conversion)
IMP-00003: ORACLE error 96 encountered
ORA-00096: invalid value for parameter plsql_compiler_flags, must be
from among NON_DEBUG, DEBUG, INTERPRETED, NATIVE
IMP-00000: Import terminated unsuccessfully
Can anybody suggest how to do this.
Thanks for your valuable time.Duplicate post
export from 11g and import to 9i
Srini -
Error during dump file Import from 11g DB into XE database
Hi ,
I have a dump file exported from a 11g database. First i imported this dump file into another 11gdb test database and it worked fine.
Later i tried to import it into an XE database. But import completed with error message as shown below. This error message appeared only for few tables.
IMP-00015: following statement failed because the object already exists:
Note - I created a new schema in XE database and tried to import the dump into this schema. So there is no chance for the object to exist before the import operation.
Does anyone have any idea why import in XE fails? Is there any limitation/restriction in XE?
FYI - All the tables that failed to import contains LOB data in it. Is LOB datatype is not supported in XE? Does this cause the problem during import?
Regards,
Ashok Kumar.GGoing from 11g to XE(10g) is problematic for two reasons 1st - 11g exports not necessarily compatible with an earlier version and 2nd I have found that in some cases 11g exports can have problems when importing back into another 11g(11.1.0.7) instance due to stack overruns whereas an 10g export to 11g normally works fine..
./bob h. -
IMP-00013: at 11g database
I have done schema level export and import with same schema name as user name and password. No Imp_full_database role at target database(import).
while importing it is throughing the below errors.
IMP-00013: only a DBA can import a file exported by another DBA
IMP-00000: Import terminated unsuccessfully
My Oracle version is 11.2.0
Can any one provide me the solution / some links to find the solution?here is how i did it. Its my example, u have to create tablespaces and tables according to your database. hope u are using 10g or 11g
EXPORT
SQL> conn /as SYSDBA
Connected.
SQL> drop directory EXPDIR;
Directory dropped.
SQL> create or replace directory expdir as '/u01/app/oracle';
Directory created.
SQL> GRANT READ,WRITE ON directory expdir TO SYSTEM;
Grant succeeded.
SQL> EXIT
[oracle_db~]$ expdp system dumpfile=export.dmp logfile=export_logfile.log directory=expdir
IMPORT
[oracle@dbhost ~]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Sat Feb 18 19:52:17 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: / as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> create or replace directory expdir AS '/u01/app/oracle';
Directory created.
[oracle_db~]$ mkdir /u01/app/oracle/oradata/sh
SQL> CREATE tablespace "HAS_TABLESPACE" LOGGING datafile '/u01/app/oracle/oradata/sh/has_01.dbf' SIZE 100M
2 autoextend ON MAXSIZE 3072M EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
Tablespace created.
SQL> create user has identified by oracle default tablespace has_tablespace quota unlimited on has_tablespace;
User created.
SQL> grant create session, dba, create table, create role to has;
Grant succeeded.
SQL> create user RECEPTION identified by oracle default tablespace has_tablespace quota unlimited on has_tablespace;
User created.
SQL> create user KITCHEN identified by oracle default tablespace has_tablespace quota unlimited on has_tablespace;
User created.
SQL> create user ACCOUNTS identified by oracle default tablespace has_tablespace quota unlimited on has_tablespace;
User created.
SQL> create user MANAGEMENT identified by oracle default tablespace has_tablespace quota unlimited on has_tablespace;
User created.
SQL> GRANT READ,WRITE on directory expdir TO HAS;
Grant succeeded.
SQL> grant read,write on directory expdir to reception;
Grant succeeded.
SQL> grant read,write on directory expdir to kitchen;
Grant succeeded.
SQL> grant read,write on directory expdir to accounts;
Grant succeeded.
SQL> grant read,write on directory expdir to management;
Grant succeeded.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@dbhost ~]$ impdp has dumpfile=export.dmp logfile=export_logfile.log directory=expdir; -
How to do an export of oracle 8i database and import in 11g database?
user a 8i export or 11g export(not expdp)LEARNING_ORACLE wrote:
How to do an export of oracle 8i database and import in 11g database?
user a 8i export or 11g export(not expdp)You need to use 8i exp utility to import the data and import to 11g with 11g imp utility.
Regards
Anurag -
Multiple listener on 9i and 11g
Hi all
I have 9i and 11g installation on same oracle user.
3 of db are using 9i and 1 of db is using 11g binaries
my 9i listener is working fine but when i try to do tnsping for 11g db which is upgraded from 9i is not working.... TNS_ADMIN is set 11g.
echo $TNS_ADMIN
/spqa01/app/oracle/product/11.1.0/network/admin
which tnsping
/spqa01/app/oracle/product/11.1.0/bin/tnsping
when i do tnsping SPD1
Attempting to contact (description=(address=(protocol=tcp)(host= qdchudaa)(port=1527))(connect_data=(sid=SPD1)))
TNS-12541: TNS:no listener
listener of the 9i have below entries
LISTENER_SPQA =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.qdx.com)(PORT = 1526))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = SPQA_EXTPROC))
SID_LIST_LISTENER_SPQA =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = SPQA1.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = SPQA1)
(SID_DESC =
(GLOBAL_DBNAME = SPQA2.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = SPQA2)
(SID_DESC =
(GLOBAL_DBNAME = RMANTST.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = RMANTST)
(SID_DESC =
(GLOBAL_DBNAME = SPD2.QDX.COM)
(ORACLE_HOME = /spqa01/app/oracle/product/9.2.0)
(SID_NAME = SPD2)
----------tnsnames.ora of 9i
SPD1 =
(DESCRIPTION =
(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1525)))
(CONNECT_DATA =(SERVICE_NAME = SPD1.qdx.com) (INSTANCE_NAME = SPD1)))
SPQA1.QDX.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME=SPQA1.qdx.com)
SPQA1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME = SPQA1.qdx.com)
INSTANCE_NAME = SPQA1)
SPQA1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME=SPQA1.QDX.COM)
SPQA2.QDX.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME=SPQA2.qdx.com)
====================listener.ora of 11g
LISTENER_SP11 =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc1))
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.qdx.com)(PORT = 1527))
SID_LIST_LISTENER_SP11 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME= /spqa01/app/oracle/product/11.1.0 )
(PROGRAM = extproc)
same tnsnames.ora in 9i in 11g
both compatible is set to 11.1.0 and local_listner is set to (ADDRESS =(PROTOCOL=TCP)(HOST=xxx)(PORT=1527))
How to configure listener which can support 11g instances separatly
please helpHow to configure listener which can support 11g instances separatly hi in this case you need to put 9i & 11g network files in different locations for example
ORACLE 9i:-
export TNS_ADMIN=/u01/app/oracle/product/9.2.0/db_1/network/admin
ORACLE 11g:-
export TNS_ADMIN=/u02/app/oracle/product/11.1.0/network/admin
then export which listener you wan...
TWO_TASK(tns connection string) & TNS_ADMIN(path of network files $ORACLE_HOME/network/admin) before if you want to use specific listener either 11g or 9i.
HI Sb,
can you correct if im wron. Thanks -
EA1 - Error with exporting output to xls
Hi,
I've experiencing error when I try to export output to xls format.
Error data showed below.
OS Win XP Pro SP2
DB Oracle 11g
Export Data -> xls
Output -> Clipboard or File
java.lang.NumberFormatException
at java.math.BigDecimal.<init>(BigDecimal.java:368)
at java.math.BigDecimal.<init>(BigDecimal.java:647)
at oracle.dbtools.raptor.format.ExcelFormatter.printColumn(ExcelFormatter.java:170)
at oracle.dbtools.raptor.format.ui.TableFormatterWrapper.print(TableFormatterWrapper.java:114)
at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:173)
at oracle.dbtools.raptor.format.ResultsFormatter$1.doWork(ResultsFormatter.java:133)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
at java.lang.Thread.run(Thread.java:595)
Message was edited by:
msuticThis bug was logged and fixed last week, but did not make the build you have. This fix will be in the next Early Adopter drop. I am unable to give you the bug number at this point.
Regards
Sue -
Hi expart.
Pls tell me I am create Alv report so i m using fun module
resue_alv_grid_display . so the report o/p is comming in grid format but i m using end-of-page .but footer line n't showing the write statement . In grid o/p is possible to display footer if it is possible then tell me .
Its urgents sir...
Regards
Bhabanihi check this..here i am able to display the footer..
*& Report ZVG_ALV_SLIST2 *
report zvg_alv_slist2 .
ALV
type-pools: slis.
G L O B A L I N T E R N A L T A B L E S
data: gt_fieldcat type slis_t_fieldcat_alv,
gs_layout type slis_layout_alv,
gt_events type slis_t_event.
data: it_sort type slis_t_sortinfo_alv ,
wa_sort type slis_sortinfo_alv .
data: gs_print type slis_print_alv.
data: begin of it_sflight occurs 0,
carrid like sflight-carrid,
connid like sflight-connid,
fldate like sflight-fldate,
price like sflight-price,
planetype like sflight-planetype,
seatsmax like sflight-seatsmax,
seatsocc like sflight-seatsocc,
paymentsum like sflight-paymentsum,
end of it_sflight.
*DATA: GI_SFLIGHT LIKE STANDARD TABLE OF ST_SFLIGHT.
data: g_repid like sy-repid.
data: gt_list_top_of_page type slis_t_listheader.
data: v_total(5).
start-of-selection.
g_repid = sy-repid.
perform init_fieldcat using gt_fieldcat[].
perform build_eventtab using gt_events[].
perform build_comment using gt_list_top_of_page[].
perform get_data.
perform set_layout using gs_layout.
SORTING
clear wa_sort.
wa_sort-fieldname = 'CARRID'.
wa_sort-up = 'X'.
wa_sort-group = '*'.
wa_sort-subtot = 'X'.
append wa_sort to it_sort.
clear wa_sort.
wa_sort-fieldname = 'CONNID'.
wa_sort-up = 'X'.
wa_sort-group = 'UL'.
wa_sort-subtot = 'X'.
append wa_sort to it_sort.
DISPLAY LIST
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_interface_check = ' '
i_callback_program = g_repid
i_callback_user_command = 'USER_COMMAND'
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
it_sort = it_sort[]
it_events = gt_events
is_print = gs_print
tables
t_outtab = it_sflight
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.
*& Form INIT_FIELDCAT
form init_fieldcat using p_gt_fieldcat type slis_t_fieldcat_alv.
data: ls_fieldcat type slis_fieldcat_alv,
l_index type sy-tabix.
data :rep like sy-repid.
rep = sy-repid.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = rep
i_internal_tabname = 'IT_SFLIGHT'
i_inclname = rep
changing
ct_fieldcat = gt_fieldcat
exceptions
inconsistent_interface = 1
program_error = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type 'S' number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-subrc.
endif.
sort gt_fieldcat by col_pos.
loop at gt_fieldcat into ls_fieldcat.
l_index = sy-tabix.
if ls_fieldcat-fieldname = 'PRICE'.
ls_fieldcat-do_sum = 'X'.
ls_fieldcat-sp_group = 'X'.
modify gt_fieldcat from ls_fieldcat index l_index .
endif.
endloop.
endform. " INIT_FIELDCAT
*& Form BUILD_EVENTTAB
form build_eventtab using p_gt_events type slis_t_event.
data: ls_event type slis_alv_event.
clear ls_event.
ls_event-name = slis_ev_top_of_page.
ls_event-form = 'XTOP_OF_PAGE'.
append ls_event to p_gt_events.
clear ls_event.
ls_event-name = slis_ev_top_of_list.
ls_event-form = 'XTOP_OF_LIST'.
append ls_event to p_gt_events.
clear ls_event.
clear ls_event.
ls_event-name = slis_ev_end_of_page.
ls_event-form = 'XEND_OF_PAGE'.
append ls_event to p_gt_events.
ls_event-name = slis_ev_end_of_list.
ls_event-form = 'XEND_OF_LIST'.
append ls_event to p_gt_events.
clear ls_event.
endform. " BUILD_EVENTTAB
*& Form BUILD_COMMENT
form build_comment using p_gt_list_top_of_page type slis_t_listheader.
data: ls_line type slis_listheader.
ls_line-typ = 'H'." = Header, S = Selection, A = Action
ls_line-key = 'KEY'.
ls_line-info = 'INFO'.
append ls_line to p_gt_list_top_of_page.
endform. " BUILD_COMMENT
*& Form SELECTION
form get_data..
data: l_rows type i value 3.
Read data from table SFLIGHT
select carrid
connid
fldate
price
planetype
seatsmax
seatsocc
paymentsum
from sflight
into table it_sflight.
up to l_rows rows.
sort it_sflight.
endform. " SELECTION
*& Form SET_LAYOUT
form set_layout using p_gs_layout type slis_layout_alv.
* P_GS_LAYOUT-F2CODE = P_F2CODE.
p_gs_layout-zebra = 'X'.
p_gs_layout-colwidth_optimize = 'X'.
p_gs_layout-no_input = 'X'.
p_gs_layout-no_colhead = space.
p_gs_layout-totals_text = 'Total Price'.
p_gs_layout-subtotals_text = 'Sub Total'.
p_gs_layout-totals_only = 'X'.
p_gs_layout-key_hotspot = 'X'.
p_gs_layout-detail_popup = 'X'.
p_gs_layout-no_subtotals = space.
p_gs_layout-expand_all = 'X'.
p_gs_layout-group_buttons = 'X'."space.
endform. " SET_LAYOUT
FORM XTOP_OF_PAGE *
form xtop_of_page.
data : lv_page(5),
lv_text(20).
MOVE SY-PAGNO TO LV_PAGE.
write:/ 'X_TOP_OF_PAGE'.
endform. "xtop_of_page
FORM XTOP_OF_LIST *
form xtop_of_list.
write:/ 'X_TOP_OF_LIST'.
endform. "xtop_of_list
FORM XEND_OF_PAGE *
form xend_of_page.
write:/ 'X_END_OF_PAGE'.
endform. "xend_of_page
FORM XEND_OF_LIST *
form xend_of_list.
write:/ 'X_END_OF_LIST'.
data : lv_page(5),
lv_text(20).
data : l_lines type i,
l_line type i.
clear v_total.
write sy-pagno to v_total left-justified.
export v_total to memory id 'V_TOTAL'.
do sy-pagno times.
lv_page = sy-index.
concatenate 'Page' lv_page 'of' v_total
into lv_text separated by space.
if sy-index = 1.
read line 2 of page sy-index.
else.
read line 1 of page sy-index.
endif.
sy-lisel+60(20) = lv_text.
modify current line .
enddo.
endform. "xend_of_list
USER_COMMAND *
form user_command using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
case r_ucomm.
when 'EXIT'.
leave to screen 0.
when '&IC1'.
data: text(256),text1(6),text2(5).
move rs_selfield-tabindex to text1.
move rs_selfield-sumindex to text2.
concatenate 'Double clicked on (field:'
rs_selfield-fieldname
'Value:'
rs_selfield-value
text1
text2
into text
separated by space.
call function 'POPUP_TO_DISPLAY_TEXT'
exporting
textline1 = text.
endcase.
endform. "user_command
regards,
venkat .
Maybe you are looking for
-
How can I get the ipad to connect to itunes 10.6.3?
How can I get the ipad to connect to itunes 10.6.3?
-
Problem with item/component quantity in BOM
Dear All, Our requrement for few BOM components are 6,250FT and 1.540,123 FT respectively.(i.e. six point two five zero foot and One thousand five hundred and fourty foot and point one two three inches). This unit is perfect in transaction CS02/CS03
-
Loading custom modules and setting execution policy to enable on powershell startup
how do I load custom modules when i startup powershell. And also how do I allow execution of scripts as well on startup? thanks
-
Flash player 10.1 Help ( ActiveX control and Download manager)
I've been trying for several hours to download the new flash player 10.1. I tried everything in the FAQ and still nothing. I tried un-installing the older version that I had (9.3.3), and still nothing.Then when the download manager gets to the end
-
How to change the icon of the Frame(JFrame)
my doubt is, how to change the by default icon(sun coffee cup) icon of a frame to a small user defined icon. thank you, Ranjith.M