Export wrapped procedure
Dear DBAs,
After loading a dump file using the impdp utility, i noticed that the wrapped procedures are created without any statements .
Do you have any idea about this ?
Thx in advance
Gentlemen,
thank you for being interested about my situation.
in fact the situation is not to go and read the codes, i already have the codes unwarapped, but later the customer should support his database without the need of reading code.
the problem is that the customer is a bank, and at the end of month he needs to create a temporary database, for accounting reasons (they want the cust_balances to be fixed at this day). so how to create a temporary database without a dump and let the banking application works fine ??
thx again for your help
Similar Messages
-
Export/import procedure for foreign trade field in PO item
Hi Experts,
I met a problem in import PO. Is there a possible way to make the Export/import procedure for foreign trade field in PO item automatically be determined?
Thanks,
EmilyIF the import data tab shows up is depending on customizing for foreign trade data.
The setting is done in IMG
MM > Purchasing > Foreign Trade/ Custome > Control FT data in MM SD documents > Import screens in purchasing document -
AS EXPORT TABLES, PROCEDURES, AND TRIGGERS MORE?
Hi,
I've finished my application on Oracle XE, and make the export of Workspace, the Scheme, then
and export tables, procedures, triggers, etc, from Oracle XE to install on another computer?
I appreciate your partnership and Attention ...
Reynel Salazar Martinez ...por la parte de utilidades se genera la opcion
ddl...
y listo -
Mandatory field Export/Import Procedure for Foreign Trade
Hello all!
Is there any possibilty to define the field Export/Import Procedure for Foreign Trade
within the infoset as a mandatory field?
Table T162 doesn't show me this field.
Kind regards,
BarbaraHello,
in customizing under "Materials Management --> Purchasing --> Foreign Trade/Customs --> Control Foreign Trade Data in MM and SD Documents --> Incompleteness Schemas for Foreign Trade Data" you can create an incompletion procedure defininig the documents fields assigning a control type. Then in the subsequent customizing step "Foreign Trade Data in MM and SD Documents" you can assign the Incompleteness schema to each country code, choosing import or export.
Hope to be useful.
Best regards,
Andrea -
Hi SD Gurus,
In sales order how to get the value in Netvalue.
and my yesterday query has not solved
in my pricing procedure there is no certain conditions JA1I,JA1S,JA1X........
when i try to create sales order it showing automatically this conditions.
is there any solutions to trace the conditions apart in sales order-> sales tab->Analysis..
my yesterday's query
i have one query regarding the pricing procedure.
my clinet have 4 pricing procedures, in that Export Pricing procedure also included.
when i try to create export order in that order it showing extra conditions which one has not included in export pricing procedure. how it come shows,is there provision to display like that, if it there what could be the process.
Regards
Muralimurali kongara wrote:>
> in my pricing procedure there is no certain conditions JA1I,JA1S,JA1X........
> when i try to create sales order it showing automatically this conditions.
Dear Murali,
In OVKK, check pricing determination is properly maintained. And in VA01 - Header level in Sales Tab, check whether the same pricing procedure has come based on your pricing determination
Hope you will get some idea
regards,
Sagar -
Update the export import procedure in ME23n!!
Hi,
Is ther any exit/badi available which can be used for updating Export/Import Procedure for Foreign Trade ( EIPO-EXPRF) for transaction ME23n...
Regards
GunjanME23N is a display transaction not update.
ME21N / ME22N / ME23N has a BADI that gives access to a lot of the PO data - ME_PROCESS_PO_CUST
Note that this BADI has a number of methods with parameters defined as "Importing" which makes it look like you cannot change data, but some of these parameters are "TYPE REF TO" objects which themselves have methods such as GET_DATA and SET_DATA that actually allow you to access and change the fields.
Search for previous posts including "ME_PROCESS_PO_CUST" - there is sample code in some of them.
In transaction SE19, if you display the BADI then select menu option goto>sample code>display, you will be able to drill down on the PROCESS_ITEM method to some SAP supplied sample code.
Andrew -
Exporting system procedural objects and actions
Hi
Version-Oracle 11.2.0
When i'm trying to export a blank dump it's getting hanged'.Even after 4 hours it's showing
'exporting system procedural objects and actions'.
Following is the command
'exp username/password file=E:\Export\Blank.dmp log=E:\Export\Blank.log full=y indexes=n rows=n'
Any helpuser588120 wrote:
Hi
Version-Oracle 11.2.0
When i'm trying to export a blank dump it's getting hanged'.Even after 4 hours it's showing
'exporting system procedural objects and actions'.
Following is the command
'exp username/password file=E:\Export\Blank.dmp log=E:\Export\Blank.log full=y indexes=n rows=n'
Any helpTry to export only one table
Do you get any error on your log file?
If you fail to export any table, then try to TRACE the Data Pump job. Use the following Metalink note:
*Export/Import DataPump Parameter TRACE - How to Diagnose Oracle Data Pump [ID 286496.1]*
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
OEM 12c export Deployment Procedure - partool
Hello,
We want to export a Deployment Procedure with the emctl partool utility (E27046-01-D.4 Exporting Deployment Procedures). Before we export the procedure we need to control the Software Library: $ORACLE_HOME/bin/emctl partool check.
When we run the command we get an Error:
ERROR !
Software Library has not been setup !
Please configure Software Library and try again.
But from our point of view we have set up the Library, because you need to have one for the Agent deployment. Under Enterprise/Provisioning and Patching/Software Library I can see the different folders of the Software Library.
We checked the log files for any changing right after the execution of the check command (bash-3.2$ find -name *.log -amin 2) but there were no entries in any log file.
What do we have to do to eliminate this error?
Thanks in advanceThis is a bug and we are working on the fix for this issue. This issue is with "partool check" command only, all other partool commands are fine.
For now, customers should ignore this error if they have already setup the swlib.
Edited by: user780562 on 08-Mar-2012 02:24
Edited by: user780562 on 08-Mar-2012 02:27 -
Export stored procedure using sql dev
Hi,
I would like to export stored procedure.
I notice there is a menu in sql dev ('Database Export').
It will saves the export in .sql file.
What is this .sql file will contain?
What is the difference between this .sql file and .dmp file in expdp?
What are the advantages and disadvantages in using these methods?
Thanks.
Edited by: 859102 on Jul 26, 2011 1:34 AM
Edited by: 859102 on Jul 26, 2011 1:35 AMAny sqldev export is in normal readable format, with CREATEs, INSERTs and such.
EXP/EXPDP in contrast stores binary data only readable with IMP/IMPDP.
IMO, the sqldev method is better for small exports (of few objects and/or data), and EXPDP is better for full schema or DB exports as it's a lot faster.
Have fun,
K. -
Need help to create export table procedure
Hi,
I have created a procedure, which may use to do following things:
1. first create a duplicate table of sys.aud$ records
2. export that duplicate table
here I am enclosing my code:
1. create or replace procedure crt_tab
2. is
3. sqlstring varchar2(100);
4. tablename varchar2(100);
5. sys_date varchar2(100);
6. h1 number;
7. begin
8. select to_char(sysdate,'DDMMYYYY_HH12MISSAM') into sys_date from dual;
9. tablename :='AUDIT_RECORD_'||sys_date;
10. sqlstring := 'create table ' || tablename|| ' as select * from sys.aud$';
11. execute immediate sqlstring;
12. h1 := dbms_datapump.open(operation=>'EXPORT',job_mode=>'TABLE',job_name=>NULL,version=>'COMPATIBLE');
13. dbms_datapump.add_file(handle =>h1, filename =>tablename||'.dmp',directory =>'AUDIT_RECORD', filetype =>1);
14. dbms_datapump.add_file(handle =>h1,filename =>tablename||'.log',directory =>'AUDIT_RECORD',filetype =>3);
15. dbms_datapump.metadata_filter(h1,'NAME_LIST','(''tablename'')');
16. dbms_datapump.start_job(h1);
17. dbms_output.put_line('Data Pump job started successfully');
18. end;
Well, in line number 15. I am passing a variable tablename as a parameter to dbms_datapump.metadata_filter but it exporting an empty dump. Could you please let me know how to pass a variable value in this.
looking forward to your early response.
Regards,
M.A.Bamboat
[email protected]SQL> ed
Wrote file afiedt.buf
1 DECLARE
2 l_dp_handle NUMBER;
3 l_last_job_state VARCHAR2(30) := 'UNDEFINED';
4 l_job_state VARCHAR2(30) := 'UNDEFINED';
5 l_logfilename VARCHAR2(20) := to_char(sysdate, 'DDMMRRRR') || '.log';
6 l_expfilename VARCHAR2(20) := to_char(sysdate, 'DDMMRRRR') || '.dmp';
7 l_tbl_name VARCHAR2(30) :='EMP';
8 BEGIN
9 l_dp_handle := DBMS_DATAPUMP.OPEN(operation => 'EXPORT',
10 job_mode => 'TABLE',
11 remote_link => NULL,
12 job_name => 'SAUBHIK_EXPORT',
13 version => 'COMPATIBLE');
14 DBMS_DATAPUMP.ADD_FILE(handle => l_dp_handle,
15 filename => l_expfilename,
16 directory => 'SAUBHIK',
17 filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);
18 DBMS_DATAPUMP.ADD_FILE(handle => l_dp_handle,
19 filename => l_logfilename,
20 directory => 'SAUBHIK',
21 filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
22 dbms_datapump.metadata_filter(handle => l_dp_handle,
23 name => 'NAME_EXPR',
24 value =>'= '||''''||l_tbl_name||'''');
25 dbms_datapump.start_job(l_dp_handle);
26 dbms_datapump.detach(l_dp_handle);
27 EXCEPTION
28 WHEN OTHERS THEN
29 dbms_datapump.stop_job(l_dp_handle);
30 RAISE;
31* END;
SQL> /
PL/SQL procedure successfully completed.
SQL> SELECT * FROM user_datapump_jobs;
JOB_NAME OPERATION JOB_MODE STATE DEGREE ATTACHED_SESSIONS DATAPUMP_SESSIONS
SAUBHIK_EXPORT EXPORT TABLE EXECUTING 1 0 2
SQL> /
JOB_NAME OPERATION JOB_MODE STATE DEGREE ATTACHED_SESSIONS DATAPUMP_SESSIONS
SAUBHIK_EXPORT EXPORT TABLE NOT RUNNING 0 0 0
SQL> /
no rows selected
SQL>
oracle@ubuntu-desktop:~/Documents$ pwd
/home/oracle/Documents
oracle@ubuntu-desktop:~/Documents$ ls -l 05092011*
-rw-r----- 1 oracle oinstall 98304 2011-09-05 15:07 05092011.dmp
-rw-r--r-- 1 oracle oinstall 928 2011-09-05 15:07 05092011.log
oracle@ubuntu-desktop:~/Documents$ -
Can we use export/import command in a stored procedure itself?
If Oracle database version is less than 10g, then probably you can use external procedures to call exp/imp. However if you are using 10g, then you can use datapump API. Search for DBMS_DATAPUMP for more examples.
-
Export/Import Procedure for Foreign Trade
Dear all,
Could you please explain me the field "Export procedure"?
This can be found in the delivery:
Transaction: VL03n --> Item --> Foreign Trade/ Customs --> Origine / Destination / Business
I know how the default value of this field is found. What I have to know, is the outcome of changing these value. Is this field only for statistical/ information reasons or is there a link to an other function?
Thanks,
ThomasDear Thomas,
The field is meant for indicating the customs procedure into which the goods are to be entered (eg. export or reexport, outward processing). It is part of official customs declaration forms in the EC ("Single Administrative Document"/SAD). Like the other fields on the tab page "Foreign Trade/Customs", it is generally only needed in case of cross-border sales/deliveries. The content of these fields is stored in table EIPO which is usually referenced by the billing document. In case of an export, for example, you could issue the customs declaration based on these and other billing document data. (Nowadays, export declarations are to be filed electronically in the EC. The data are thus transferred to either SAP GTS or a third-party software.)
And yes, they are in parts also relevant to export statistics.
Best regards,
Christiane
Edited by: Christiane Schnellenbach on Mar 19, 2010 11:24 AM -
VPRS condition in export pricing procedure
Hi All,
I have done the configuration for export sale scenario. I created a complete cycle from sales to Billing and documents are getting created.
As there was no VPRS condition in standard pricing procedure for exports (JINEXPO), i have not included in my Pricing procedure. Pl note no "CIN" is introduced in our project.
My doubt is why "VPRS" is not included in the std pricing proced, and how cost will be captured in the export sale?
Regards
Anand.MHi,
please reff this link.
http://sapsdforum.com/2007/10/23/pricing-in-sd-in-great-detail -
We are looking for a way to backup/restore a wrapped packaged procedure. I don't see a way of doing so via imp/exp, and copying and attempting to copy and paste the wrapped contents in a text editor resulted in an "invalid" package body at compile time. Ideally, we'd like some utility for backup restore on just a single package body. How are others doing so?
I am certain that exp and imp can work for these procedures. If not, I have been overlooking a bad problem for a long time.
Tim -
How to get a list of WRAPPED procedures, functions and packages?
We have over 1000 stored procs, functions and packages.
We want to find out which ones are WRAPPED and which ones are not.
How to do it using 1 SQL statement.
I tried USER_OBJECTS, USER_SOURCE but there is no column indicating that that procedure is wrapped.
Also no data dictionary view on this: SELECT * FROM dict WHERE table_name LIKE '%WRAP%'; returns 0 rows.
Any help on this would be greatly appreciated.
Edited by: Channa on Feb 19, 2010 3:38 AMThanks Max for the SQL. This gave the solution BUT u have to do a small correction.
SQL> select name,
2 decode(sum(decode(instr(upper(text),'WRAPPED'),1,1,0)),0,'NOT WRAPPED','WRAPPED') wrapped
3 from user_source
4 group by name;
will give only NOT WRAPPED ones. This is becuase instr(upper(text),'WRAPPED') will NOT return 1 if WRAPPED is found but a number greater than 1.
So U have to do this to get both wrapped and unwrapped.
SQL> select name,
2 decode(sum(decode(instr(upper(text),'WRAPPED'), *0,0,1* )),0,'NOT WRAPPED','WRAPPED') wrapped
3 from user_source
4 group by name;
Edited by: Channa on Feb 21, 2010 9:38 PM
Maybe you are looking for
-
How i got my all contacts back to my iphone
plz help me out how i got back to all my contacts back to my iphone 4s
-
2 Ipods 1 Macbook Itunes account and 1 windows itunes account (same user)
Ok... I purchased a new Ipod nano for traveling and have it synced to my work laptop. I have a 5th generation Ipod 30g for home and it is synced to the macbook. Both have music downloaded from one account (mine) and I would like to join the 500 some
-
My program stops and i don't know why...
I am not sure if i have a problem with my code or the VM but I'm assuming it's my code and hoping someone can help. I already searched through the forums and the bug database and I found some things I thought could maybe be my problem but after more
-
The feature you are trying to access is on a network resource that is not available
I get this message at the end of downloading iTunes10.5 can anyone help please?
-
File Content Conversion in PI 7.1 (file to Proxy)
Hi I am working on a file (text) to Proxy scenario in PI 7.1 version, where I receive the file as shown below 1. Record is header 2. 2nd and 3rd records are Details with the different formats 3. Last Record is trailer File will have the 2nd and 3rd