JDeveloper, export/import of UML diagrams
Hi All,
We (Oracle Poland) are looking for a tool/extension enabling import of UML diagrams (activity, use-case) into JDeveloper.
We are particularly interested in exchanging information between JDeveloper and Sybase PowerDesigner.
I appreciate very much every information about such solutions.
Regards,
Joanna
To import a UML diagram in JDeveloper, create a XMI of the UML diagram to be imported.
-Select File>New
-Select General>Diagrams>UML Class Diagrams from XMI Import
Similar Messages
-
UML diagrams using Jdeveloper 9.0.3
I would like to get some help from people who have used Jdeveloper 9.0.3 for creating UML diagrams.
scenario
I have 2 packages namely com.pack.bo and com.pack.ejb created using Jdev.
I have business objects represented in UML inside bo package and have SB's inside ejb package.
Now how would i show the relationships from ejb's to bo's diagramatically ?
Is there any way to show the above mentioned ?
ThanksHi,
You could use the Dependency relationship to show the connection on a diagram. Also you could use Notes and Note Attachements to further annotate any relationship.
Regards,
Gerard Davison -
JDeveloper shows a fatal error when create Database or UML Diagrams
My Platform is Windows 7 x64 with JDeveloper 11.1.2.3
JDeveloper shows an error when I do this:
1) Create a new Database Diagram.
2) Create a Table in this Database Diagram.
3) Delete the Database Diagram.
4) Try to create a new Database Diagram again.
5) JDeveloper shows a Fatal Error, and the ADF Model Project still to be corrupt after restart JDeveloper.
The same happens with UML diagrams.
Do you know any solution for that?
Best Regards,I found the reason of this error.
This error happens, if you store your ADF Application Project in a Network Drive, if you store your projects in local drives all works fine.
Regards, -
Jdeveloper 10.1.2 UML Import Internal Problem
I restarted Jdeveloper after rebooting my pc. I am running version 10.1.2.0.0. build 1811. Steps involved in encountering this error:
1) created new uml class diagram
2) attempted to drag (or right-click and choose add to diagram) a java source file from the same project into the uml diagram.
Message
BME-99003: An error occurred, so processing could not continue.
Cause
The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
java.lang.NullPointerException
at oracle.bm.diagrammer.registry.RBaseShape.setDefaultCore(RBaseShape.java:379)
at oracle.bm.diagrammer.shape.BaseDiagramShape.initProperties(BaseDiagramShape.java:505)
at oracle.bm.diagrammer.shape.BaseDiagramShape.initShape(BaseDiagramShape.java:383)
at oracle.bm.diagrammer.shape.BaseDiagramNode.initShape(BaseDiagramNode.java:318)
at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:5120)
at oracle.bm.diagrammer.BaseDiagram.addShape(BaseDiagram.java:5051)
at oracle.bm.diagrammer.BaseDiagram.createShapesFromInfo(BaseDiagram.java:4121)
at oracle.bm.diagrammer.registry.RCompositeDiagram.dropList(RCompositeDiagram.java:1224)
at oracle.bm.addinUtil.IDEAppContext$14.run(IDEAppContext.java:4304)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:171)
at oracle.ide.controls.progress.AbstractProgressDialog.dispatchThisEvent(AbstractProgressDialog.java:535)
at oracle.ide.controls.progress.AbstractProgressDialog.showDialog(AbstractProgressDialog.java:387)
at oracle.bm.addinUtil.IDEAppContext.dropNavigatorNodeLater(IDEAppContext.java:4401)
at oracle.bm.addinUtil.IDEAppContext$12.run(IDEAppContext.java:4030)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Action
If further errors occur, you should restart the application.
Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.Thanks Vohra.
That problem is solved .
But when i am trying to invoke my face jsp page from my login servlet ,means generating JSF view from non JSF request i am getting this error
07/08/10 12:08:17 processing jsf fcFactory com.sun.faces.context.FacesContextFactoryImpl@127344
DEBUG ! Created new view for /Register.jsp
DEBUG ! get defaultLocale en_US
DEBUG ! Locale for this view as determined by calculateLocale en_US
DEBUG ! RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
DEBUG ! render(com.sun.faces.context.FacesContextImpl@121b0d8)
DEBUG ! phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@121b0d8)
DEBUG ! Entering RenderResponsePhase
DEBUG ! About to render view /Register.jsp
DEBUG ! About to render view /Register.jsp
DEBUG ! servletPath /servlet/Login
DEBUG ! pathInfo null
DEBUG ! Using default mapping extension null
WARN ! Unable to determine FaceServlet mapping for servlet path '/servlet/Login'.
DEBUG ! URL pattern of the FacesServlet executing the current request null
DEBUG ! Found no URL patterns mapping to FacesServlet
In the html it is showing error that
"Current application deployment descriptor does not allow to include it in the response."
Any help will be appreciated.
Thanks in advance.... -
Cannot find UML diagrams in the "New" dialog
I must be missing something simple but I can't for the life of me figure out how to create a UML diagram in JDev 11g. I had previously had the beta version with which I had no problems. But since I installed the release version, there is no "Diagram" category in the "New" dialog.
Are there different packages of the product that have different capabilities? It doesn't seem so from the download site. Or is there an extension I'm missing?
I've searched the forum to no avail.
I'm running on Mac OS X 10.5.6. Below is my version info:
Thanks.
-bob
About
Oracle JDeveloper 11g 11.1.1.0.1
Java Edition Version 11.1.1.0.1
Build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
Copyright © 1997, 2008 Oracle. All Rights Reserved.
IDE Version: 11.1.1.0.31.51.88
Product ID: oracle.jdeveloper
Product Version: 11.1.1.0.31.51.88
Version
Component Version
========= =======
CVS Version (External) (CVS) 1.12.13 (client/server)
Java(TM) Platform 1.6.0_07
Oracle IDE 11.1.1.0.31.51.88
Versioning Support 11.1.1.0.31.51.88
Properties
Name Value
==== =====
apple.awt.graphics.UseOpenGL false
apple.awt.graphics.UseQuartz false
apple.laf.useScreenMenuBar true
awt.nativeDoubleBuffering true
awt.toolkit apple.awt.CToolkit
ceditor.java.parse.large 1500
ceditor.java.parse.small 300
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
compiler.vmargs -Xmx512m
EDITOR_J2SE_VERSION 1.5
feedbackmanager.disable true
file.encoding MacRoman
file.encoding.pkg sun.io
file.separator /
ftp.nonProxyHosts local|*.local|169.254/16|*.169.254/16
gopherProxySet false
http.agent Mozilla/5.0 (Java 1.6.0_07; Mac OS X 10.5.6 x86_64; en_US) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.bootstrap.start 1231962124743961000
ide.build JDEVADF_MAIN.BOXER_GENERIC_081203.1854.5188
ide.conf /Applications/jdevjavabase11110/jdeveloper/jdev/bin/jdev.conf
ide.config_pathname /Applications/jdevjavabase11110/jdeveloper/jdev/bin/jdev.conf
ide.debugbuild false
ide.devbuild false
ide.editions oracle.studio, oracle.j2ee, oracle.jdeveloper
ide.extension.role.search.path jdev/roles
ide.extension.search.path jdev/extensions:sqldeveloper/extensions
ide.firstrun false
ide.java.maxversion 1.7
ide.java.minversion 1.6.0_04
ide.main.class oracle.ide.boot.IdeLauncher
ide.max.jar.handles 500
ide.patches.dir jdev/lib/patches
ide.pref.dir /Users/rlf/.jdeveloper
ide.product oracle.jdeveloper
ide.splash.screen splash.gif
ide.startingcwd "/Applications/jdevjavabase11110/jdeveloper/jdev/bin"
ide.throttleLocale true
ide.user.dir /Users/rlf/.jdeveloper
ide.user.dir.var JDEV_USER_HOME,JDEV_USER_DIR
ide.work.dir /Users/rlf/jdeveloper
insight.suppresshidden true
INSIGHT_OMIT_HIDDEN true
java.awt.graphicsenv apple.awt.CGraphicsEnvironment
java.awt.printerjob apple.awt.CPrinterJob
java.class.path ../../ide/lib/ide-boot.jar
java.class.version 50.0
java.endorsed.dirs /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/endorsed
java.ext.dirs /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext
java.home /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
java.io.tmpdir /tmp
java.library.path .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_07-b06-153
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Apple Inc.
java.vendor.url http://www.apple.com/
java.vendor.url.bug http://bugreport.apple.com/
java.version 1.6.0_07
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Apple Inc.
java.vm.version 1.6.0_07-b06-57
line.separator \n
mrj.version 1040.1.6.0_07-153
oracle.home /Applications/jdevjavabase11110/jdeveloper
oracle.macosx.disableWebBrowser true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
os.arch x86_64
os.name Mac OS X
os.version 10.5.6
path.separator :
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
socksNonProxyHosts local|*.local|169.254/16|*.169.254/16
sun.arch.data.model 64
sun.awt.exception.handler apple.awt.CToolkit$EventQueueExceptionHandler
sun.awt.keepWorkingSetOnMinimize true
sun.boot.class.path ../lib/lwawt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/sunrsasign.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar:../../rdbms/jlib/ojdi.jar
sun.boot.library.path /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.launcher SUN_STANDARD
sun.jnu.encoding MacRoman
sun.management.compiler HotSpot 64-Bit Server Compiler
sun.os.patch.level unknown
user.country US
user.dir /Applications/jdevjavabase11110/jdeveloper/jdev/bin
user.home /Users/rlf
user.language en
user.name rlf
user.timezone America/New_York
windows.shell.font.languages en
xdf.enablexdf true
Extensions
Name Identifier Version Status
==== ========== ======= ======
Ant oracle.ant 11.1.1.0.31.51.88 Loaded
Bug Database oracle.jdeveloper.bugdb 11.1.1.0.31.51.88 Loaded
Check For Updates oracle.ide.webupdate 11.1.1.0.31.51.88 Loaded
Code Editor oracle.ide.ceditor 11.1.1.0.31.51.88 Loaded
Command Line Formatting Support oracle.jdeveloper.ojformat 11.1.1.0.31.51.88 Loaded
Command Line Make/Rebuild Support oracle.jdevimpl.oj-compiler 11.1.1.0.31.51.88 Loaded
Component Palette oracle.ide.palette1 11.1.1.0.31.51.88 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.0.31.51.88 Loaded
Extended IDE Platform oracle.javacore 11.1.1.0.31.51.88 Loaded
Extension Designtime Core oracle.jdeveloper.extensiondt.core 11.1.1.0.31.51.88 Loaded
Extension Designtime UI oracle.jdeveloper.extensiondt.ui 11.1.1.0.31.51.88 Loaded
External Tools oracle.ide.externaltools 11.1.1.0.31.51.88 Loaded
Feedback oracle.ide.feedback 11.1.1.0.31.51.88 Loaded
File Support oracle.ide.files 11.1.1.0.31.51.88 Loaded
Help System oracle.ide.help 11.1.1.0.31.51.88 Loaded
History Support oracle.jdeveloper.history 11.1.1.0.31.51.88 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.0.31.51.88 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.0.31.51.88 Loaded
JDeveloper oracle.jdeveloper 11.1.1.0.31.51.88 Loaded
Java Annotation Inspector oracle.jdeveloper.annotation.inspector 11.1.1.0.31.51.88 Loaded
JavaBeans, Swing, and AWT oracle.swingawt 11.1.1.0.31.51.88 Loaded
Local Help for Java Edition oracle.java.help 11.1.1.0.0 Loaded
Log Window oracle.ide.log 11.1.1.0.31.51.88 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.0.31.51.88 Loaded
Navigator oracle.ide.navigator 11.1.1.0.31.51.88 Loaded
Nightly Indexing support oracle.ideimpl.indexing-rt 11.1.1.0.31.51.88 Loaded
Object Gallery oracle.ide.gallery 11.1.1.0.31.51.88 Loaded
Oracle IDE oracle.ide 11.1.1.0.31.51.88 Loaded
Oracle JDevloper Deployment Core Module oracle.deploy.core 11.1.1.0.31.51.88 Loaded
Peek oracle.ide.peek 11.1.1.0.31.51.88 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.0.31.51.88 Loaded
Profiler oracle.jdeveloper.profiler 11.1.1.0.31.51.88 Loaded
Properties File Support oracle.jdeveloper.props 11.1.1.0.31.51.88 Loaded
Property Inspector oracle.ide.inspector 11.1.1.0.31.51.88 Loaded
Refactoring oracle.jdeveloper.refactoring 11.1.1.0.31.51.88 Loaded
Replace With oracle.ide.replace 11.1.1.0.31.51.88 Loaded
Runner oracle.ide.runner 11.1.1.0.31.51.88 Loaded
Search Bar oracle.ide.searchbar 11.1.1.0.0 Loaded
SearchBar Commands oracle.ide.searchbar.commands 11.1.1.0.31.51.88 Loaded
VHV oracle.ide.vhv 11.1.1.0.31.51.88 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.0.31.51.88 Loaded
Versioning Support for CVS oracle.jdeveloper.cvs 11.1.1.0.31.51.88 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.0.31.51.88 Loaded
Virtual File System oracle.ide.vfs 11.1.1.0.31.51.88 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.0.31.51.88 Loaded
XML Compare oracle.jdeveloper.xml-compare 11.1.1.0.31.51.88 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.0.31.51.88 Loaded
XML Editing Framework Java Integration oracle.jdeveloper.xmlef 11.1.1.0.31.51.88 Loaded
appoverview oracle.ide.appoverview 11.1.1.0.31.51.88 Loaded
audit oracle.ide.audit 11.1.1.0.31.51.88 Loaded
audit-core oracle.ide.audit.core 11.1.1.0.31.51.88 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
dependency-java oracle.jdeveloper.java.dependency 11.1.1.0.31.51.88 Loaded
dependency-refactor oracle.jdeveloper.refactoring.dependency 11.1.1.0.31.51.88 Loaded
dependency-xsd oracle.jdeveloper.xsd.dependency 11.1.1.0.31.51.88 Loaded
deploy-ant oracle.deploy.ant 11.1.1.0.31.51.88 Loaded
deploy-rt oracle.jdevimpl.deploy-rt 11.1.1.0.31.51.88 Loaded
ide-diagnostics oracle.ide.diagnostics 11.1.1.0.0 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.0.31.51.88 Loaded
oracle.ide.filequery oracle.ide.filequery 11.1.1.0.31.51.88 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.0.31.51.88 Loaded
palette2 oracle.ide.palette2 11.1.1.0.31.51.88 Loaded
performance oracle.ide.performance 11.1.1.0.31.51.88 Loaded
searchbar-gallery oracle.ide.searchbar.gallery 11.1.1.0.31.51.88 Loaded
searchbar-help oracle.ide.searchbar.help 11.1.1.0.31.51.88 Loaded
searchbar-index oracle.ide.searchbar.index 11.1.1.0.31.51.88 Loaded
status oracle.ide.status 11.1.1.0.31.51.88 LoadedThe answer is in the second line of the About Box dump
Oracle JDeveloper 11g 11.1.1.0.1
Java Edition Version 11.1.1.0.1
You're running the Java Edition of the product not the full Studio*.* If you downloaded and installed the studio edition then the issue will be that you started the product with the Java Dvelopment role - You can fix that simply:
Tools > Preferences > Roles, check the Always prompt for role selection at startup and then restart JDeveloper. -
Best practice metadata export/import for WebCenter portal
Hi
I'm using JDeveloper to build the WebCenter portal. When I let's say register a portlet producer along with my portal, the information about it is stored in the metadata. In case I want to move my portal from the integrated WLS which JDeveloper provides to another WebLogic server with WebCenter installation - steps which I need to do are:
1) Export the metadata from JDeveloper
2) Import metadata to my target Weblogic server
3) deploy the application
Am I missing something?
To export/import metadata from JDeveloper to another Weblogic (equipped with WebCenter) server I should use the WLST script, right?
ThanksA little correction: IAS Version is Oracle9i Application Server Release 1 version 1.0.2.2.2
-
Practical use of UML diagramming tool....
Hi ,
the use of UML diagramming tool is to present the system to end user (use cases) ... like the Entity Relationship Diagram in the Oracle Designer....
However , i 'd like to ask if the product of this tool can be used as a base to produce something else afterwards in the whole system...
I mean that in Oacle Designer , when the analyst designs the ER Diagram and saves it to the repository... this can be used to automatically generate the tables... in the repository also and then to the database...!!!!!
Is there analogous using UML diagramming tool....?????
Many thanks,
SimonThe UML class diagram can generate Java classes and ADF Business Components.
The Database modeler in JDeveloper can generate the database objects.
Also when you are designing the page flow diagram you are actually building the JSF or Struts flows.
The hands-on-lab that you can find on the right side of this page:
http://www.oracle.com/technology/products/jdev/collateral/4gl/formsdesignerj2ee.html
Shows off some of the model to code capabilities of JDeveloper: -
How to create a UML diagram from a existing .java/.class file?
I want to create a UML diagram from a existing .java/.class file automatic in JDeveloper. Can I get it? thanks!
create a new class diagram and then simply drag the java classes from your project onto the diagram area.
-
What to use For Developing a UML diagrams Tool??
Hi!
I am student of BS(Computer Sciences) and am doing my Final Year Project. I am implementing a research Thesis and my project involves developing an environment that would allow the Modeler/user to draw UML diagrams like Visual Paradigm, Rational Rose etc. I further(if i found time for that) would be writing a "Code Generation Engine" that will generate the Java code for the drawn UML diagrams. I am more than good at Java and am developing my project in Java.
The thing about which i am confused is that how to develop an environment that would allow the drawing of UML diagrams. I was first considering to work on NetBeans Visual Library API but i found it too much Generic, i mean i had an overhead of managing the UML diagram details in terms of my "custom Widgets". Then some one told me about Eclipse Graph Editing Framework(GEF). But i am not quite sure about it. I wanted to ask that should i use NB Visual Library or Eclipse GEF or if there is any other Java Library allowing to draw UML diagram and possibly generating the XMI(a kind of XML standard) of the drawn UML diagrams for parsing it and generating Code.If some one knows a solution please answer!
Any refernce would be appreciated!
thanks,
Hassan Ali.I am more than good at Java and am developing my project in Java.Perhaps you are good at the java LANGUAGE, but that is not what matters here; you need to be good at system architecture, design and implementation for which Java may be a tool to do part of the job. Why don't you pick something that does not take a team of skilled developers to create over a number of years (and even then the product is generally flawed)?
Remember: papers are more important than the end product when you are in school. I did a project that was basically two web based systems (servlet/JSP/XML-RPC) to which a PDA device could connect to indicate medical problems. I made a few basic apps, one of which was a simple picture of a human on which you could point where it hurts. Depending on the zone that was pressed, the system would determine how alarming it was and if immediate action would need to be taken (the heart of course was red alert). One other such applications was a simple big red button that read PANIC.
The design was pretty basic; web services for application communication, real time management interface to see incoming messages, very basic PDA applications for the end user part. But two things made our grade shoot to the stars.
- one person who entered the project really late (and did no development at all) made an absolutely fantastic powerpoint presentation talking about the elderly and people with heart conditions and such and so forth (queue in pictures of elderly people and children with toothpaste smiles) and there were even truthful statistics thrown in there.
- a last minute addition was that the systems were linked together; if one would fail (which would be the worst case scenario where the power would go out and the backup power supply would not last long enough), the other would take messages and forward them to the failed system as soon as it was up again so no calls would ever be completely lost, even if there would be some sort of a delay.
That was it. The fact that everything worked was nice; the fact that we had a wonderful presentation, a big pile of documents and we managed to work in a backup system was what rocked the world. -
Memory Limitation on EXPORT & IMPORT Internal Tables?
Hi All,
I have a need to export and import the internal tables to memory. I do not want to export it to any data base tables. is there a limitation on the amount of memroy that is can be used for the EXPORT & IMPORT. I will free the memory once I import it. The maximum I expect would be 13,000,000 lines.
Thanks,
Alex (Arthur Samson)You don't have limitations, but try to keep your table as small as possible.
Otherwise, if you are familiar with the ABAP OO context, try use Shared Objects instead of IMPORT/EXPORT.
<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/13/dc853f11ed0617e10000000a114084/frameset.htm">SAP Help On Shared Objects</a>
Hope this helps,
Roby. -
Using set/get parameters or export/import in BSP.
Hi All,
Is it possible to use set/get or export/import in BSP?
We need to set/export some variables from a BADI and get/ import them in the BSP application.
Code snippet will be of great help..
Thanks,
AnubhavHi Anubhav,
You can use the Export / Import statements for your requirement,
from the BADI use EXPORT to send the variable data to a unique memory location
with IDs
e.g.
*data declaration required for background processing
DATA: WA_INDX TYPE INDX.
**here CNAME is the variable you want to export
EXPORT PNAME = CNAME TO DATABASE INDX(XY) FROM WA_INDX CLIENT
SY-MANDT ID 'ZVAR1'.
and in the BSP application use the IMPORT statement to fetch back the values
set with the IDs above.
IMPORT PNAME = LV_CNAME
FROM DATABASE INDX(XY) TO WA_INDX CLIENT
SY-MANDT ID 'ZVAR1'.
deletes the data to save wastage of memory
DELETE FROM DATABASE INDX(XY)
CLIENT SY-MANDT
ID 'ZVAR1'.
Regards,
Samson Rodrigues -
Issue with Memory ID export / import
Hi Experts,
We are facing strange issue during export/import from memory ID.
We are exporting value to Memory ID from module pool program and trying to import same value in SAP workflow method.
While importing the value from memory ID it is failing to import and gives sy-subrc =4.
Any idea how can we do export/import in module pool program to Workflow method?
Regards,
SanjanaHi sanjana,
Please check the link. Here you can find some examples also.
http://wiki.scn.sap.com/wiki/display/Snippets/Import+and+Export+to+Cluster+Databases
P.S
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3bf8358411d1829f0000e829fbfe/content.htm
You just need to create a key and an ID to save data into INDX table.Once its saved you can use same key and id to import .
Again mentioning , dont forget to delete using same key and ID once you have imported else it may give error.
Regards,
Sandeep Katoch -
Best choice for exporting / importing EUL
Hi all
I have been tasked with migrating an EUL from a R11 to a R12 environment. The Discoverer version on both environments is 10.1.2 and the OS is Solaris on oracle db's.
I am unfortunately not experienced with Discoverer and there seems to be no one available to assist for various reasons. So I have been reading the manual and forum posts and viewing metalink articles.
I tried exporting the entire eul via the wizard and then importing it to the new environment but i was not successfull and experienced the system hanging for many hours with a white screen and the log file just ended.
I assumed this was a memory problem or slow network issues causing this delay. Someone suggested I export import the EUL in pieces and this seemed to be effective but I got missing item warnings when trying to open reports. This piece meal approach also worried me regarding consistency.
So I decided to try do the full import on the server to try negate the first problem I experienced. Due to the clients security policies I am not able to open the source eul and send it to our dev. I was able to get it from their dev 11 system but I dismissed this as the dev reports were not working and the only reliable eul is the Prod one. I managed to get a prod eex file from a client resource but the upload to my server was extremely slow.
I asked the dba to assit with the third option of exporting a db dump of the eul_us and importing this into my r12 dev environment. I managed this but had to export the db file using sys which alleviated a priviledge problem when logging in, I have reports that run and my user can see the reports but there are reports that were not shared to sysadmin in the source enviroment are now prefixed with the version 11 user_id in my desktop and the user cannot see her reports only the sysadmin ones.
I refreshed the BA's using a shell script I made up which uses the java cmd with parameters.
After some re reading I tried selecting all the options in the validate menu and refreshing in the discover admin tool.
If I validate and refresh the BA using the admin tool I get the hanging screen and a lot of warnings that items are missing( so much for my java cmd refresh!) and now the report will not open and I see the substitute missing item dialogue boxes.
My question to the forum is which would be the best approach to migrate the entire eul from a R11 instance to a R12 instance in these circumstances?
Many thanks
Regards
NickHi Srini
The os and db details are as follows:
Source:
eBus 11.5.2
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
SunOS 5.10 Generic_142900-11 sun4u sparc SUNW,Sun-Fire-V890
Target:
ebus 12.1.2
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production DEV12
SunOS 5.10 Generic_142900-11 sun4u sparc SUNW,Sun-Fire-V890
Yes the DBA initially did an exp for me using EUL_US as the owner but a strange thing happened with privileges and also, some of the imported tables appeared in the target environment under the apps schema(21 tables) even though the eul_us exp had been 48 tables.
I also had a problem on the db with "eul_us has insufficient privileges on table space discoverer" type errors.
I checked the eul_us db privileges and was unable to resolve this initial privilege error even though the privileges were granted to eul_us.
The dba managed to exp as system and then import it with the full=y flag in the import command which seems to bring in the privileges.
Then I ran the eul5_id.sql and then made up a list of the business areas and made a sh script to refresh the business areas as follows:
java -jar eulbuilder.jar -connect sysadmin/oracle1@dev -apps_user -apps_responsibility "System Administrator" -refresh_business_area "ABM Activities" -log refresh.log
This runs successfully and I can log in select business area and grant access to the users. The reports return data.
Then one of the users said she can't see all her reports. I noticed some if I opened desktop that were sitting there prefixed with a hash and her version 11 user id.
So back to the manuals and in the disco admin help the instructions are to first go to view > validate > select all options then go to the business area and click file refresh. This gives me a lot of warnings about items that are missing. I assume this is because the item identifiers brought across in the db dump are the version 11 ones and thus not found in the new system.
Any suggestions?
Many thanks
Nick -
Project duplication: Copy/Paste vs. Export/Import
Anyone have any thoughts on project duplication?
Presently I am copying a project and then pasting it into multiple new locations then renaming them. Recently I was in a training session where the instructor suggested exporting the project and then importing it claiming database size savings. Can anyone shed any insight?
Thanks in advance.I can't imagine why an export/import would be a smaller footprint within the database than a project copy/paste. Not to mention that if you are talking about a relatively large project it can take a substantial amount of time to export and import. One of our schedules that is about 18k activities takes approximately 1.5 hours to export/import where as a project copy/paste only takes about 10 minutes. Note that we do not copy the baseline schedules when replicating projects.
-
Error when exporting/importing
I am using MDM 7.1
When I export the schema from my Dev system to import into QA I get the following Error:
"This repository requires additional steps before transport. See the MDS log for details.
In the log my issue is that I am trying to export an Assignment that includes an expression that uses "look-ups".
In my Dev system I removed the expression to confirm if this is the issue, once I no longer have expressions with look-ups then it allows me to export the schema. I then tries to import it to QA (since the expressions are not changing I planned on excluding them from the import as a temporary workaround.
however I get the same error message when trying to import. It seems that I can not export or import with a system that has an assignment with an expression that uses look-ups.
Is there some config I am missing?Hi Brad,
assignments/validations are a general problem when it comes to Schema exports/imports! What you can do in case there are not too many assignments - is to delete the assignments and create them new (manually) after you have imported the schema.
Hope this helps a little.
Regards,
Erdal
Maybe you are looking for
-
Installing Oracle 8.1.7 on Red Hat Linux Advanced Server 2.1
Hello, how the subject says I'd like to install Oracle 8.1.7 on Red Hat Linux Advanced Server 2.1. Can anybody of you say me where to find a good HOWTO/Documentation?? It would be nice if you help me! Konstantin
-
Hyper-V host server upgrade from Server 2008 R2 Enterprise SP1 to Server 2012 R2 Datacentre
We are about to upgrade our Hyper-V host servers from Server 2008R2 Enterprise SP1 to Server 2012 R2 Datacentre to take advantage of the latest Hyper-V features. This only concerns the host servers and not the guest VMs running on the hosts (they wil
-
Pages says its updating and cannot be opened, but its not.
When I try to open Pages it says it is updating and cannot open when updating. However I see no update in progress and nothing seems to be happening. Its been a few days, tried restarting.
-
Backup drive now read-only after upgrafe to 10.5.2
Cannot change permissions (as root or as myself) on external drive. Any ideas? No problems before OS upgrade
-
Problem to extract data using DS 2LIS_11_VAHDR & 2LIS_11_VAITM
Hello Experts, my requirement is to extract the SD sales Item & sales header data int BI. while executing the Reports in BI I find some incosistencies in data Ex: for for some Sales organizations 0CRM_NUMDOC = 17 and the corresponding 0N