Success with export/import of Discoverer portlets?
Hi folks.
Before I begin working with the 9iAS export/import procedures, can anyone tell me if they've been successful exporting and importing pages with Discoverer portlets from one 9iAS server to another?
Are there any gotchas?
Ravishankar,
Thanks.
So are you saying:
Pages with Discoverer portlets will be transported with the Discoverer portlets in place.
However, after the transport, the end-user will have to "Edit Defaults" again.
And user customizations would have to be re-applied.
John
Similar Messages
-
Issues with Export/Import using Database & Shared buffer
Hi All,
I have a method that calls a program via a job and I am having issues passing data between the two.
Note that two different users process the method and program (via job) resp. This is how I am calling the second prog-
SUBMIT ZPROGRAM
VIA JOB l_jobname
NUMBER l_jobcount
USER i_user
AND RETURN.
I need to pass data from method to the second program and vice versa and then the method continues its processing with the data acquired from the second program.
I have tried using Import/Export using database and also shared buffer. What I have found is that most of the times I am able to pass data from method to program. However the job takes a couple of min to execute and I think that the data is not making back to the method in time.
I have looked at some useful forum links-
Problem with export/import in back ground
Re: EXPORT/IMPORT to MEMORY
but havent been able to find an answer yet. Any solution? Thanks in advance for your help!
LizHi Suhas, Subhankar
I have tested the scenario without the job previously itself and it works. Thats the reason, i am trying with the job now as my requirement is that I need to change the user while executing the second report.
Here is an example of my import/export - I am passing the return value from the second report to the first.
Code in second report-
DATA: INDXKEY LIKE INDX-SRTFD VALUE 'RET1'.
INDX-AEDAT = SY-DATUM.
INDX-USERA = SY-UNAME.
EXPORT RETURN1 TO SHARED BUFFER INDX(ST) ID INDXKEY.
Code in first report -
SUBMIT ZPROGRAM
VIA JOB l_jobname
NUMBER l_jobcount
USER i_user
AND RETURN.
Once Job close FM is executed successfully, I import the values as follows
IMPORT RETURN1 TO RETURN1 FROM SHARED BUFFER INDX(ST) ID INDXKEY3.
INDXKEY is having value RET1.
However Return1 is not having any values in first report. It has some value in executed without the job
Please note that I have tried Export/import with Database too and I am getting the same results.
Thanks for your suggestions.
Regards, Liz -
SAP is not coming up after system refresh with Export/Import option
Hi,
I have exported Java 6.40 and finished the refresh successfully. And I imported the Java successfully. After importing Java, I restarted SAP but is not coming up. When I checked the dev_w0 trace file, I got the following information.
trc file: "dev_w0", trc level: 1, release: "640"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Wed Aug 05 10:48:17 2009
B create_con (con_name=R/3)
B Loading DB library 'F:\usr\sap\IDS\SYS\exe\run\dboraslib.dll' ...
B Library 'F:\usr\sap\IDS\SYS\exe\run\dboraslib.dll' loaded
B Version of 'F:\usr\sap\IDS\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.220)
B New connection 0 created
M sysno 00
M sid IDS
M systemid 560 (PC with Windows NT)
M relno 6400
M patchlevel 0
M patchno 247
M intno 20020600
M make: multithreaded, Unicode
M pid 844
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 844) [dpxxdisp.c 1170]
I MtxInit: -2 0 0
M DpSysAdmExtCreate: ABAP is active
M DpShMCreate: sizeof(wp_adm) 20328 (1452)
M DpShMCreate: sizeof(tm_adm) 2969176 (14772)
M DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
M DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
M DpShMCreate: sizeof(comm_adm) 290000 (580)
M DpShMCreate: sizeof(vmc_adm) 0 (424)
M DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
M DpShMCreate: SHM_DP_ADM_KEY (addr: 05FE0040, size: 3391480)
M DpShMCreate: allocated sys_adm at 05FE0040
M DpShMCreate: allocated wp_adm at 05FE1B88
M DpShMCreate: allocated tm_adm_list at 05FE6AF0
M DpShMCreate: allocated tm_adm at 05FE6B18
M DpShMCreate: allocated wp_ca_adm at 062BB970
M DpShMCreate: allocated appc_ca_adm at 062C1730
M DpShMCreate: allocated comm_adm_list at 062C3670
M DpShMCreate: allocated comm_adm at 062C3688
M DpShMCreate: allocated vmc_adm_list at 0630A358
M DpShMCreate: system runs without vmc_adm
M DpShMCreate: allocated ca_info at 0630A380
M DpShMCreate: allocated wall_adm at 0630A388
M ThTaskStatus: rdisp/reset_online_during_debug 0
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation flat
M <EsNT> Memory Reset disabled as NT default
X ES initialized.
M
M Wed Aug 05 10:48:18 2009
M calling db_connect ...
C Prepending e:\oracle\IDS to Path.
C got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
C Client NLS settings: AMERICAN_AMERICA.UTF8
C Logon as OPS$-user to get SAPIDS's password
C Connecting as /@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 05B17398 05B1C458 05B1BEC0
C Attaching to DB Server IDS (con_hdl=0,svchp=05B1BE14,srvhp=05B1CA84)
C Starting user session (con_hdl=0,svchp=05B1BE14,srvhp=05B1CA84,usrhp=05B256B8)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
[dboci.c 4508]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 11395]
C Try to connect with default password
C Connecting as SAPIDS/<pwd>@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
C Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
C 0 UTF8 1 05B17398 05B1C458 05B1BEC0
C Starting user session (con_hdl=0,svchp=05B1BE14,srvhp=05B1CA84,usrhp=05B256B8)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
[dboci.c 4508]
C *** ERROR => CONNECT failed with sql error '1017'
[dbsloci.c 11395]
B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ]
B ***LOG BY2=> sql error 1017 performing CON [dblink#3 @ 428] [dblink 0428 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#3 @ 428] [dblink 0428 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1283]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9708]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M rq_info = 0
M tid = -1
M mode = 255
M len = -1
M rq_id = 65535
M rq_source = 255
M last_tid = 0
M last_mode = 0
M int_checked_resource(RFC) = 0
M ext_checked_resource(RFC) = 0
M int_checked_resource(HTTP) = 0
M ext_checked_resource(HTTP) = 0
M report = > <
M action = 0
M tab_name = > <
M
M *****************************************************************************
M *
M * LOCATION SAP-Server ord-sapproj_IDS_00 on host ord-sapproj (wp 0)
M * ERROR tskh_init: db_connect
M *
M * TIME Wed Aug 05 10:48:18 2009
M * RELEASE 640
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 9893
M * COUNTER 1
M *
M *****************************************************************************
M
M PfStatDisconnect: disconnect statistics
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 730]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 255]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 844) [dpnttool.c 357]
I have checked database connectivity with the command 'r3trans -d', it got finished with the return code 0012 and the trace.log file is showing the following information.
=======================================
4 ETW000 r3trans version 6.13 (release 640 - 17.07.08 - 08:11:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 05.08.2009 - 10:52:31
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Wed Aug 05 10:52:34 2009 0.000000
4 ETW000 [dev trc ,00000] db_con_init called 0.000000
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 0.000000
4 ETW000 [dev trc ,00000] Loading DB library 'dboraslib.dll' ... 0.000000
4 ETW000 [dev trc ,00000] load shared library (dboraslib.dll), hdl 0 8449 0.008449
4 ETW000 [dev trc ,00000] using "f:\usr\sap\IDS\SYS\exe\run\dboraslib.dll"
4 ETW000 37 0.008486
4 ETW000 [dev trc ,00000] Library 'dboraslib.dll' loaded 18 0.008504
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dboraslib.dll
4 ETW000 27 0.008531
4 ETW000 [dev trc ,00000] Version of 'dboraslib.dll' is "640.00", patchlevel (0.220)
4 ETW000 219 0.008750
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dboraslib.dll
4 ETW000 27 0.008777
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dboraslib.dll
4 ETW000 36 0.008813
4 ETW000 [dev trc ,00000] New connection 0 created 26 0.008839
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 34 0.008873
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 22 0.008895
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 25 0.008920
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 32 0.008952
4 ETW000 [dev trc ,00000] Setting DIR_CLIENT_ORAHOME is not set as environment variable,
4 ETW000 assuming using instant client with unspecified location.
4 ETW000 227 0.009179
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 130 0.009309
4 ETW000 [dev trc ,00000] got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment
4 ETW000 32 0.009341
4 ETW000 [dev trc ,00000] Client NLS settings: AMERICAN_AMERICA.UTF8 23827 0.033168
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPIDS's password 34 0.033202
4 ETW000 [dev trc ,00000] Connecting as /@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
4 ETW000 35 0.033237
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 32 0.033269
4 ETW000 [dev trc ,00000] 0 UTF8 1 0253CDB0 02541E18 02541880
4 ETW000 112 0.033381
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 29 0.033410
4 ETW000 [dev trc ,00000] Allocating server context handle 25 0.033435
4 ETW000 [dev trc ,00000] Attaching to DB Server IDS (con_hdl=0,svchp=025417D4,srvhp=025423DC)
4 ETW000 51 0.033486
4 ETW000 [dev trc ,00000] Assigning server context 025423DC to service context 025417D4
4 ETW000 41860 0.075346
4 ETW000 [dev trc ,00000] Allocating user session handle 47 0.075393
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=025417D4,srvhp=025423DC,usrhp=0254AFA8)
4 ETW000 50 0.075443
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000 4381 0.079824
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 31 0.079855
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 1017 23 0.079878
4 ETW000 [dev trc ,00000] Try to connect with default password 80 0.079958
4 ETW000 [dev trc ,00000] Connecting as SAPIDS/<pwd>@IDS on connection 0 (nls_hdl 0) ... (dbsl 640 070308)
4 ETW000 28 0.079986
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch
4 ETW000 31 0.080017
4 ETW000 [dev trc ,00000] 0 UTF8 1 0253CDB0 02541E18 02541880
4 ETW000 32 0.080049
4 ETW000 [dev trc ,00000] Assigning username to user session 0254AFA8 19 0.080068
4 ETW000 [dev trc ,00000] Assigning password to user session 0254AFA8 25 0.080093
4 ETW000 [dev trc ,00000] Starting user session (con_hdl=0,svchp=025417D4,srvhp=025423DC,usrhp=0254AFA8)
4 ETW000 32 0.080125
4 ETW000 [dboci.c ,00000] *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
4 ETW000 1691 0.081816
4 ETW000 [dbsloci. ,00000] *** ERROR => CONNECT failed with sql error '1017'
4 ETW000 28 0.081844
4 ETW000 [dev trc ,00000] set_ocica() -> OCI or SQL return code 1017 18 0.081862
4 ETW000 [dblink ,00428] ***LOG BY2=>sql error 1017 performing CON [dblink#3 @ 428]
4 ETW000 119 0.081981
4 ETW000 [dblink ,00428] ***LOG BY0=>ORA-01017: invalid username/password; logon denied [dblink#3 @ 428]
4 ETW000 30 0.082011
2EETW169 no connect possible: "DBMS = ORACLE --- dbs_ora_tnsname = 'IDS'"
=================================================================================
Kindly suggest me the solution to resolve the issue.
Thanks & regards,
MogileeswarPlease check the logs it is clrerly mentioned thet your sapsystem is not able to connect to database.
ERROR => CONNECT failed with sql error '1017' [dbsloci.c 11395] B ***LOG BY2=> sql error 1017 performing CON [dbsh#3 @ 1204] [dbsh 1204 ] B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#3 @ 1204] [dbsh 1204 ] B ***LOG BY2=> sql error 1017 performing CON [dblink#3 @ 428] [dblink 0428 ] B ***LOG BY0=> ORA-01017: invalid username/password
Check the Note------Note 713685 - Hom./Het.System Copy SAP Web AS 6.40
run these commands:
brconnect -u / -c -l E -f chpass -o SAPSR3 -password whatever_you_want
sqlplus /nolog @sapdba_role.sql SID NT
Also check the parameter DBS_ORA_SCHEMA is set to SAPSR3.
Also read note 400241.
Thanks
Rishi Abrol -
System copy with Export/Import Distribyted system UNIX database, Windows CI
HI
we have a distributed system witch I want to make a copy of
Oracle Database on HP-UX
CI + SCS on Windows
Dual stack system ABAP/Java
1) I have made an system copy with data base copy tools, and that works fine.
2) I have made a system copy export/import of a "central system"
If I try to make an export/import system copy on a distributed system it wont work.
( this work fine in a central system) I dont get anny error messages all gren checks marks !
It seems like the problem are in not finding the profiles from CI ?
It find the profiles for the sapgateway.
I someone are more interested I have more documentation with screen shots in a word document.
I Have used Installation Master SR3 and tryed with some older versions as well.
I have read SAP Note 970518 - Hom./Het.System Copy SAP NetWeaver 7.0 (2004s) SR2
SAPINST
Using virtual hosts for central and/or DB instances
SYMPTOM:
You are using virtual host names for your central instance and/or the database instance (e.g. in a HA environment). Although SAPinst finishes successfully, some export steps are not being performed.
SOLUTION:
Start the export with the property SAPINST_USE_HOSTNAME=<virtual host>.
If the central instance and the database instance run on different hosts, run the database export with SAPINST_USE_HOSTNAME=<virtual host name of the DB server> and - if you run a Java or ABAP+Java system - run the central instance export with SAPINST_USE_HOSTNAME=<virtual host nameof the central instance host>.
If you run a central system with different host names in the profiles, handle the export as a distributed export, calling SAPinst with parameter SAPINST_USE_HOSTNAME. Perform the export of the database instance on the DB server, calling SAPinst with SAPINST_USE_HOSTNAME=<virtual host of the DB server>.Hi I have received folloving answer from SAP:
You're doing everything correct - besides one thing.
When you specify the profiles during the database export it cannot be
correct to specify the profiles of the gateway instance located on
the same host.
As a consequence - it picks up the wrong instance G01 and sets the
property 'hasABAP' and 'hasJava' to 'false'... - thus the export
is empty. You can see this within the corresponding 'sapinst.log' file.
The correct procedure would be to specify the profiles of the central
instance on the Windows Machine. If you cannot access them, you should
make them available by Samba or by any type of software which makes
it's possible to export filesystems or directories from windows to
unix.
Best regards
Bent -
Problem with EXPORT IMPORT PROCESS in ApEx 3.1
Hi all:
I'm having a problem with the EXPORT IMPORT PROCESS in ApEx 3.1
When I export an application, and try to import it again. I get this error message
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 16, column 28: PLS-00103: Encountered the symbol &quot;牃慥整㈰㈯⼴〲㐰〠㨷㐵㈺′䵐&quot; when expecting one of the following: ( - + case mod new not null &lt;an identifier&gt; &lt;a double-quoted delimited-identifier&gt; &lt;a bind variable&gt; avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp in
As a workaround, I check the exported file and found this
wwv_flow_api.create_flow
p_documentation_banner=> '牃慥整⠤㈰㈯⼴〲㠰〠㨷㠵㈺′äµ
And when I replace with this
p_documentation_banner=> ' ',
I can import the application without the error.
somebody knows why I have to do this??
Thank you all.
Nicolas.Hi,
This issue seems to have been around for a while:
Re: Error importing file
I've had similar issues and made manual changes to the file to get it to install correctly. In my case, I got:
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.<br>ORA-02047: cannot join the distributed transaction in progress<br>begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||'''';end;There are several suggestions, if you follow that thread, about character sets or reviewing some of the line breaks within pl/sql code within your processes etc. Not sure what would work for you. -
Problem with export / import
Hi everybody, I am having a problem with an import. I am doing an export with a value in an user exit:
EXPORT V_NLQNR = V_NLQNR TO MEMORY ID 'QUANTL'
And after I call import in another program:
IMPORT V_NLQNR = V_NLQNR FROM MEMORY ID 'QUANTL'.
But when I check the sy-subrc I am getting 4, so I don't get anything.
Does anybody why?? Is there a problem if I call the export from an user exit??
Thanks in advance.Hello,
I think you have the right idea.
As a suggestion I would name my variables to make it clear which data is being
exported/imported. I would also use different names on the left and right side of the = sign.
Here is a working example from programs that I use:
In the first program
EXPORT intercodata FROM g_data_exp TO MEMORY ID 'INTERCOWOS'.
where g_data_exp is declared as a global variable
In the second program
IMPORT intercodata TO g_data_imp FROM MEMORY ID 'INTERCOWOS'.
where g_data_imp is declared as a global variable
The syntax that you use ( p1 = dobj1 ) should work as well, just make sure that the variable v_nlqnr to the right of the equal sign has a value before the export.
Regards
Greg Kern -
Issue with Export / Import Configuration Data in AC 5.3 migration to AC 10
Hi,
We are migrating from AC 5.3 to AC 10. As per the Migration Guide I have exported the data from AC 5.3.
The export created around 57 files on the destination with .dat extension.
Moved these files to target server Import location.
Then I have used the utility (GRAC_DATA_MIGRATION) in AC 10. Selected the Import location. and clicked Get Files.
It has uploaded some files (21 out of 57).
When I analyzed the uploaded files, I found it has uploaded only "Common Configuration" data. For the below Objects, though the export utility has created files, Import utility did not uploaded the files.
1. Business Unit
2. Critical Roles and Profiles
3. CUP Role Repository
4. Mitigation Controls
5. SOD Rules
6. Workflow
Does anyone have any idea about this issue?
Regards,
DeepakDeepak,
Can you share with me how you are importing the config data? How you are using the path? Please share this and also try toshare how you systems are distributed.
Regards,
Faisal -
Problem with export/import in back ground
Hi Experts,
I am having a requirement in which i am exporting an internal table to memory from one program and importing that in another program. in foreground it is working fine. But in background it is not working. Is there any work around.
Here is sample code.
Program1:
types:
begin of tab_type,
para type string,
dobj type string,
end of tab_type.
data:
id type c length 10 value 'TEXTS',
text1 type string value `IKE`,
text2 type string value `TINA`,
line type tab_type,
itab type standard table of tab_type,
itab1 type standard table of tab_type.
line-para = 'P1'.
line-dobj = 'TEXT1'.
append line to itab.
line-para = 'P2'.
line-dobj = 'TEXT2'.
append line to itab.
free memory id 'TD'.
export itab to memory id 'TD'.
Program2:
types:
begin of tab_type,
para type string,
dobj type string,
end of tab_type.
data:
id type c length 10 value 'TEXTS',
text1 type string value `IKE`,
text2 type string value `TINA`,
line type tab_type,
itab type standard table of tab_type,
itab1 type standard table of tab_type.
refresh itab.
import itab from memory id 'TD'.
free memory id 'TD'.
clear line.
loop at itab into line.
write: / line-para, line-dobj.
clear line.
endloop.
Thanks,
JyothiThanks for your links Venkat.
My problem is solved by using the SHARED BUFFER.
Here is the code i used inthe first program
DATA: wa_invdata(10) TYPE c VALUE 'INVDATA'.
DATA: wa_month(10) TYPE c VALUE 'MONTH'.
DATA: wa_process(10) TYPE c VALUE 'PROCESS'.
EXPORT wa_month_end TO MEMORY ID 'MONTHEND'.
EXPORT e_process = it_inv_data[]
TO SHARED BUFFER indx(st) ID wa_process.
EXPORT e_month = wa_month_end
TO SHARED BUFFER indx(st) ID wa_month.
EXPORT e_invdata = it_tab[]
TO SHARED BUFFER indx(st) ID wa_invdata.
EXPORT it_inv_data TO MEMORY ID 'PROCESS'.
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'CRDR_ ',
print_parameters TYPE pri_params.
CONCATENATE name
sy-datum
INTO name .
*CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
no_dailog = 'X'
archive_mode = '3'
IMPORTING
out_parameters = print_parameters
out_archive_parameters = archi_parameters
valid = valid_flag
EXCEPTIONS
invalid_print_params = 2
OTHERS = 4.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
print_parameters-pdest = 'locl'.
SUBMIT zsd_crdr_monthend_back_process
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
Second Program
Program zsd_crdr_monthend_back_process.
DATA: wa_invdata(10) TYPE c VALUE 'INVDATA'.
DATA: wa_month(10) TYPE c VALUE 'MONTH'.
DATA: wa_process(10) TYPE c VALUE 'PROCESS'.
IMPORT e_invdata = it_tab[]
FROM SHARED BUFFER indx(st) ID wa_invdata.
IF sy-subrc NE 0 OR it_tab[] IS INITIAL..
No data found for the Month end processing
MESSAGE s398(00)
WITH 'No Data Found'.
STOP.
ELSE.
found the data
IMPORT e_process = it_inv_data[]
FROM SHARED BUFFER indx(st) ID wa_process.
IMPORT e_month = wa_month_end
FROM SHARED BUFFER indx(st) ID wa_month.
Thanks for your help. -
Problem with Export/Import in background
Hi Experts,
I am having a requirement in which i am exporting an flag to memory from one program and importing that in another program. in foreground it is working fine. But in background it is not working. Is there any work around.
Report 1:
DATA:l_flag type c value 'X'.
free memory id 'ZFLAG'.
EXPORT L_FLAG TO MEMORY ID 'ZFLAG'.
LEAVE PROGRAM.
Report 2:
DATA:L_FLAG TYPE C.
import l_FLAG from memory id 'ZFLAG'.
free memory id 'ZFLAG'.
IF l_FLAG = 'X'.
LEAVE PROGRAM.Hi,
You can export the flag to database ..it is not required to be a internal tabel. You can refer to this link..
It is explained with example
http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm
Here obj1 can be single variable..
EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key
This will work in Background not the Export to MEMORY statement. -
Help with export/import in premiere pro
Hi Everyone
I have a question about import and export in Premiere Pro CS5.
I have some 1920*1080 .mov-files shot with canon eos 500d.
What is the best import setting for premiere pro cs5?
What is the best export setting from premiere pro (to adobe encore) to dvd?
The film is going to be projected on to a big screen. How do I get the best quality for this?
I would be very very thankful for your help!
Tamicheck your paused and/or playback resolution settings...
I've found TIFF to be the cleanest output from PPT for inclusion in video, and I've also found that the scale to frame size command usually works pretty well within Premiere. However, Photoshop's scaler uses much better algorithms and will give you a much better result. You can do a batch process on all your files and automatically create smaller versions of them if you'd like. Alternatively, you can open PPT and customize the size of your PPT slide, which should scale everything to fit your new size. Then you'll have native 720x480 TIFFs on export from PPT. -
ORA-01401 with export/import
Hi!
I'm trying to migrate database from from version 8.0 on novell to 9.2 on Linux.
I have precreated all tablespaces and all tables are succesfully created. In data import stage I got lot of "ORA-01401 inserted value too large for column" errors.
Any hints would be very welcome.
Thanks
UrosThank you for your answer, but I'm aware of what this error means.
Lets go through the procedure one more time:
1. Export form old database (8.0) is done with exp
2. Tablespaces are manually created in new database (9.2)
3. Import of tables, users, data, etc is done with dump from step 1. During import I get a lot of ORA-01401 errors, although I didn't change dump file and data in it.
I have found somewhere on the net that this could be from characterset conversion, but I'm not shure how to set charactersets to avoid this errors.
Regards
Uros -
Problems with export/import
Hi People,
I'm fairly new to the world of Oracle, I wonder if you could help me.
* Imported a dump file into Oracle 8.1.7 R3
( Came from Oracle 8.1.7 running on HP/UX, importing onto another HP/UX
system. Dump file is from one user and contains approx 7GB of data )
Once imported this leaves me with approx 10% of my disk left ( its a 9GB
partition ).
* Ran a purge script against the user's tables that removes transactional
data over 60 days old. This should get rid of 50-60% of the data.
* I then exported the table data out to a dmp file
( Compressing Extents )
* removed original user
* removed rollback segments
* removed tablespace
* recreated tablespace
* recreated rollback segment
* created user
* ran imp with the newly created dmp file
The problem i've got, is that once I import the newly created dump file,
it fills the disk up completely and the import never finishes.
Please forgive me, as i'm sure i'm doing something fundamentally wrong.
Can someone explain what i'm doing wrong and how to rectify it ?.
regards
/LarsIt seems the import is failing because the export to memory fails also.
Can you explain?
Did you check the extended debugger facilities like memory areas?
What is the structure/amount of data for ex- and import, same name, same data object?
Just reveal what you are really doing, post a few code lines.
Or not.
Regards,
Clemens -
Have a problem with exporting & importing project.
Hi all,
I have created my web dynpro project in my system. i tried to exported as zip file. and import in to my laptop. unfortunatly it asks, where to import this zip file and i have given my workspace in my laptop. but it doesn't accept it. Any one can help me by step by step. forget about what i have done. please give me your sugisstions.
thank you
Regards
RaviHai,
Right Click on You project select export as -->zip file select location finish.
to import that one.
create new project with same name (the project old name)
file-->import -->zip file Select your zip file --> select the new project nad click finish
regards,
naga
Message was edited by:
Naga Raju Meesala -
Uregent Requirement, related with export & import of internal table values
Hello All,
According to my requirement
I created a copy program(ZRSEIDOC2) which is copy program of RSEIDOC2attached in T Code WE02.
and I created another program ZXXXXXX.
Now what I am trying to do is
1. I am trying to export the final output table/internal table to program ZXXXXXX.
Export I_listedidc to memory id SID.
2. In Program ZXXXXXX, I used to submit statement & import statement for output table/internal table.
Submit ZRSEIDOC2 using selection-screen 1000.
Import I_Listedidc to memory id SID.
Which give the automated way to find out the output i.e. status,process, .
My Question is..
Is I_listedidc right table/itab, which I am using my statement?
Do I am writing the code in a right way?use:
Export I_listedidc to memory id 'SID'.
Submit ZRSEIDOC2 using selection-screen 1000.
Import I_Listedidc from memory id 'SID'.
A. -
Performance issue with Export functionality in Discovere
Hi ,
I am running a discoverer report which is taking only 3 minutes to complete. But when we try to export it to Excel , it takes 2 hours.
There are only 1500 records to be exported.
Has anyone faced this type of issue ?
Thanks for your help in advance.Pl post your version of Discoverer - are you exporting out of an EBS instance ? Does this work on other PCs or for other workbooks ? Pl see if these MOS Docs are helpful
245752.1 - Explaining Oracle BI Discoverer Session Memory Management And Server Cache Settings
237607.1 - ALERT: Required and Recommended Patch Levels For All Discoverer Versions
HTH
Srini
Maybe you are looking for
-
Hi I want to get the purchase order wise payment (check no),I have already get the miro document no in rseg,pls tell me how to get the miro accounting document no
-
Separating an image from a vector file in illustrator
I cannot figure out how to separate a graphic from a a vector file I purchased on Shutter Stock which has a bunch of graphics in the file used for design. The file has layers, and I have tried to select just one of the layers to copy and paste into
-
HT1539 If I lost my iTunes digital download code can I retrieve it?
Hello, I purchased The Bourne Identity movie and when I went to activate my digital code in my iTunes I had a error occur and my computer restarted before I had a chance to enter in my iTunes code. I went back to the universaldigitalcopy website but
-
Problem after Exporting File to PowerPoint
I've created a Self-Playing presentation in Keynote '08 (4.0.4). All transitions and delays work as intended. Saving and then playing it on my Mac shows no problem. However, repeatedly, after saving the file and then exporting it to PowerPoint, troub
-
Vonage Adapter on Network Magic Pro goes offline for no reason
1. Network Magic version: 5.5.9195.0-Pure0 2. Internet connection via Texas Communications in Bryan, Texas which is line of sight tower transmission to the dish receiver (modem) on my home. http://www.tconline.net/default.htm 3. Texas Communications