Object namespace

Hi,
I created a package with 2 functions and a procedure as userA. When I query userA's user_objects view, the name space for the package body is different from the package and functions & procedures in it.
What is the significance of namespace col in user_objects view?
Also I am unable to compile the procedure in the package when logged in as userA. An insufficient privs error is thrown. Since I am the owner of the package and the objects in it, shouldn't I be able to compile the procedure?
Thanks.

Hi,
natet wrote:
Hi,
I created a package with 2 functions and a procedure as userA. When I query userA's user_objects view, the name space for the package body is different from the package and functions & procedures in it.How do you do that? When I create packages, only the package and the package body appear in in user_objects; the individual functions and procedures don't.
What is the significance of namespace col in user_objects view?Basically, what you might expect. Each object type is assigned to a namespace. The combination (owner, object_name, namespace) must be unique.
Most objects fall into namespace 1. Some object types have their own namespaces. E.g., indexes are in namespace 4: an index can have the same name as a table or a trigger. It's not a very good idea, but it's allowed.
Also I am unable to compile the procedure in the package when logged in as userA. I'm confused. Above, you said you created a package. Now you're saying you can't compile it. If you can't compile it, in what sense did you create it? Did you mean to say "I *tried to create* a package with 2 functions ..."?
Are you saying that you created a package, then tried to change something, and now the modified version won't compile? What did you change? Post both versions.
An insufficient privs error is thrown. Since I am the owner of the package and the objects in it, shouldn't I be able to compile the procedure?Post the exact error message, and your code (or some simplifed code that gets the same error).
You need the CREATE PROCEDURE system privilege, even if the package doesn't reference anything outside of itself.
Edited by: Frank Kulash on Apr 4, 2011 5:08 PM
Removed incorrect statement; PACKAGE specs are in namespace 1, the PACKAGE BODY is in namespace 2.

Similar Messages

  • Insufficient authorization to create object namespace definition in PI

    Hi,
    I have a user who's getting  "insufficient authorization to create object namespace definition" when creating a name space in enterprise service builder in PI.  The users has sap_all and sap_new in profile but still getting the same error. Any suggestions??

    Hi,
    please try to set  the following parameter in the Exchange Profile  to " false ".                                                                               
    'com.sap.aii.util.server.auth.activation'  
    Afterwards restart the J2EE engine and retest....
    b.rgds, Bernhard

  • Object / Namespace Scope in ESR

    Hi
    We have a file2RFC scenario in our current Pi 7.0 that we need to move on to Pi 7.11. It consists of a sender SC and a receiver SC. The sender SC contanins a namespace with the sender SI and the receiver SC contains the RFC target structure and the mapping (java). There it works fine.
    In PI 7.11 I got following two problems with this scenario:
    1. I cannot export the source XSD schema in the OM -> because the namespace of the SI of the sender SC cannot be found altough the object is selected in the Source Operation area.
    2. I got the same problem inside my Java Mapping. There the namespace in the sender cannot be found.
    The whole thing works, if i move the SI to my receiver SC.
    How can i configure my ESR to find the namespace and according objects in another SC?
    Thanks in advance
    Michael

    Do you mean, that i need to configure the sender SC as underlying Software Component Version on the Details Ribbon?
    If i do so, the XSD export works but the mapping doesn't.

  • Re Importing Previous versions of Object / Namespaces in Integration Rep

    Hi I have the following scenario.
    I have exported my namespace as a tpz file from the XI Dev system.  And then I make some changes to  some objects in the same namespace . But I  want the previous version (previously exported tpz file ) back . So when I try to import the previous tpz file back into the integration repository , I am able to do this activity sucessfully but no changes of the previous version are applied . The current version is still present in the namespace .
    And a strange thing is happening . The 2 Object Attributes in the Display Software Components Version Page   "Objects are orignal Objects" and "Objects are modifiable" are unchecked now for the SWCV .
    But when I exported the previous version they were checked. I am not sure what is happening . Can any one please suggest .
    thanks
    regards
    Nilesh

    Hi,
    *You want to get back to the previous version.
    If you have exported the very first verion creating a .tpz file then follow these few steps :
    first export the current namespce.
    Delete the current Namespce.
    Import the previous version or the very first version of the namespace which you ,, you can trace it by the date&time stamp patched to it.
    Activate the new namespace.
    *the object are checked as because of the security reason.
        there is absolutely no problem in that, these are unchecked  so that no one will be able to edit it manually with the proper transport which you can see in production/ quality environment.
    Hope this will help.
    Assign point if help
    Thanks,
    JAY

  • Namespace deletion error for ghost objects

    Hi people.
    I need to remove a namespace in ESR.
    I have first deleted all objects and activated it and then I tried to remove the namespace from the Namespace Definition List.
    After removed the namespace item and saving the change, I receive the following error:
    Cannot save object Namespace Definition
    Namespace cannot be deleted since the software component version still contains objects in namespace http://www.sapcons.com/Edm_EE/
    Delete the objects first
    In fact, running the Export functionality and saving the summary result in a file I have a list of objects but, at this point, I don't know how to delete. Could be a cache problem? I cleaned all cache available in Administration web page but without result.
    Could someone help me?
    Ciao
    Nicola

    Double clicking the software component, delete all the namespaces present in the software component, and do not save it.
    Now delete all the default datatypes in all the namespaces present in the software component and now save the software component and activate the changes.
    Now double clicking the software component> Goto Software component version menu> from the drop down select the delete option. this will delete the software component from IR.
    Now goto SLD and select the software component and remove it.
    Then clear the SLD cache. Now the software component will be deleted.
    Also refer this blog:
    How to : Delete Software Component from Integration Builder

  • Copy of SAP ESS objects to new namespace

    Hi,
    I need to take a copy of SAP ESS objects to new namespace and later want to do customization in the new object. I have requirement in which I do not want to change SAP delivered objects (sap.com)
    Scenario:
    (1)     Original object namespace: esscapdata u2026..sap.com
    (2)     New object namespace:      esscapdata u2026..abc.com
    Please let me know the solution ?

    Hi Anmol,
        Changing the name space is not very easy and might result in lot of errors. If required you first need to migrate the DC's to your new SC following the steps given in the post above. You need to do this only if required. For only changing the name space it is not required.
       Open the DC's in Developer Studio. You will have to manually go to every java file and change the package name to the required package name. Once you change the package name there will be lot of errors. You will need to fix the errors manually. Mostly it will be package not found error. Once all the errors are fixed a DC build will create the new files in your new package structure.
      Ideally this is not required for customization.
    Regards,
    Sanyev

  • I can't activate the table... because Namespace /ICMPAC00/ does not exist !

    Hi guru,
    I'm doing upgrade from R3 4.7 to ECC6.0.  I have to correct an error in Phase ACT_700 phase
    This is the error :
         4 EDT013 Table "/ICMPAC00/P_T050" was not activated
    I tried to correct the errore by activating manually the table trought SE11 in the shadow instance,
    if I try to edit the table this error appears:
    Namespace /ICMPAC00/ does not exist
    Message no. TO123
    Diagnosis
    Object DEVC /ICMPAC00/PROVV is in namespace /ICMPAC00/. However, this namespace does not exist in your SAP system.
    Objects from the namespace /ICMPAC00/ can only be edited if the namespace is in the namespace tables.
    System Response
    Editing is terminated.
    Procedure
    Choose an object name that is not assigned to the namespace /ICMPAC00/ (this means that it cannot begin with /ICMPAC00/).
    For a list of the namespace prefixes in the SAP system, go to the Transport Organizer tools (Transaction SE03) and choose -> Objects -> Namespace Information System -> Select namespace.
    I can't correct the error , because I can't modify the table !
    Any idea to solve the problem ?
    Thank's , Antonio Voce.

    Question : it is not sufficent to create namespace ?
    The table are not active in data dictionary, it means that are unusable...
    I think that it is sufficent to create the namespace.
    Do you know how to correct the errore mentioned in the first post :
    Objects from the namespace /ICMPAC00/ can only be edited if the namespace is in the namespace tables.
    If I correct this error I can activate the table and the upgrade can go on.
    Thank's.

  • Installing a New Language- Mass Updating Info Object Descriptions ?

    We recently installed a new language in our BI 7 system (Patch 16). But the Active SAP delivered info objects (namespace 0nnnn...) did not 'inherit' the SAP provided translations into the new language.
    I can update each info object one by one with descriptions in the new language.
    I can use the translation utility (once I figure it out) to updated the descriptions.
    I can activate standard business content which seems to contain the new language.
    But I'm hoping for something easier and less intrusive. I'm hoping there is a hidden SAP program that merely adds the description in the new language to my existing info objects from the Standard Business Content, without any reverse engienering, redesign, and so forth.
    Is anyone aware of anything like that ?

    Here's the answer from our discussion with SAP.
    There is a program RSDG_LANGUAGE_AFTER_IMPORT that you can run. This program replaces the object description texts in your active SAP Delivered objects with the text description from the Delivered version in the language that you just installed.  Here are OSS notes that are relevant to this issue : OSS Note 562436 and 877049.
    We executed this report using these criteria to replace default English descriptions with the business content descriptions in Polish for our implementation:
    Langauge Key "PL"
    Do not Overwrite Texts turned OFF
    It worked rapidly (150 CPU seconds) and flawlessly. I will say that the program looks for and changes the desription of EVERY object that it can find, and there is no control over changing just query elements or info objects. So step carefully. We plan on running this program in each system (after unlocking) so that we do not have to transport every single standard content object through our development / tests / production environment.
    Once you are finished with this, you will, of course, need to use the translation tools to translate your custom objects. I've personally found the BI 7 translation tools to be much easier to work with than the earlier versions, but that may simply be a symptom of our upgrade process (we just upgraded to BI 7 from BW 3.5)

  • Pass object to xslt stylesheet and invoke its methods

    I'd like to pass an external created object to a xslt stylesheet to dynamically modify the xslt file at run time. After searching around for weeks, I'm really desperate.
    I used Xalan transformer's method setParameter(name, obj) to initialize a variable in xslt file with this object. Then the object's method was invoked.
    The class that I want to invoke the method:
    class test{
    private String testString = "abc";
    public String valueOf(){
    return testString;
    xslt file:
    <xsl:param name="myType"></xsl:param>
    <<xsl:variable name="new-pop"
    select="my-class:valueOf($myType)">
    Any help is greatly appreciated.
    Thank you.
    Message was edited by:
    Orbital
    Message was edited by:
    Orbital

    Thank sabre. I have looked through your link.
    The problem is for all the info I knew, we can only
    create a new object inside the stylesheet using new()
    and then invoke this particular object's instance
    method.
    However, I want to pass an already created java
    object into the stylesheet and then invoke its
    method.
    Xalan seems to not allow this. I have tried to pass
    an object as the parameter of
    transformer.setParameter(name, object) but it doesn't
    work.
    Any one know what 3rd party transformer that allow to
    pass object directly into xslt?setParameter will work... in your XSL, you should have
    <xsl:param name="myParam" />set the parameter in your transformer like what you had in your post...
    In your XSL header, you must declare the your Java object namespace and path, such as:
    xml:myJavaObject= "com.MyCompany.MyJavaObject"then in your template or anywhere that you want to use your object, you should have:
    <xsl:variable name="runningMyMethod" select="myJavaObject:myJavaMethod($myParam)" />The XSL will treat $myParam as the instance object, if there is any other method parameters needed to be passed in do:
    <xsl:variable name="runningMyMethod" select="myJavaObject:myJavaMethod($myParam, 'blah', 'blah')" />Good luck.

  • Help in creating first Web DynPro object on 7.4 Trial. Access Key Error

    Hi, I have an NetWeaver 7.40  instance (release 7.9.08.005) running on the aws. I have successfully converted the system from initial state to DEMOACCESS.
    However, I cannot create a new Web DynPro object. The dialog asks for the access key. I have already installed the NPL license earlier.
    I went through the steps to find what the user DEVELOPER's access key was by looking at the DB table. When I put that access key in this dialog, it says it is invalid.
    Is Web DynPro development available as part of the trial instance?
    Thanks,
    Allan

    Thanks for quick reply. I was indeed logged in as the DEVELOPER user. That was not it.
    I found the answer... the test component was named incorrectly. I tried to start with 'MyComponent' and that seems to be a reserved namespace. I used 'ZMyComponent' and all was fine. I even went through the tutorial below successfully.
    https://help.sap.com/saphelp_nw70/helpdata/en/e6/2c4b29dc87c6409d6469ec390e8f3d/content.htm?frameset=/en/ed/1228b7a2e9c44a9b2822636a98a850/frameset.htm
    Maybe I need the basic info on what object namespace is allowed for this trial release if anyone knows? I vaguely remember seeing something about that when I saw the license page a while back.
    Until next time! Thanks.

  • Write permission for PISUPER?

    Hello,
    I'm trying to create a namespace definition with PISUPER user but I'm getting error:
    Insufficient authorization to create object Namespace Definition
    and checking Java log I get the following:
    PISUPER | ACCESS.ERROR | W,7f36457071b411e0aa8ae8b9c0a801e6 | | Permission=[write], Principal=[USER.R3_DATASOURCE.PISUPER]
    How can I add the necessary read/write/maintain permissions to this user?
    PISUPER is service user, not locked and already has the next roles:
    SAP_ALM_ADMINISTRATOR
    SAP_ALM_CUSTOMIZER
    SAP_BC_AI_LANDSCAPE_DB_RFC
    SAP_BC_ALM_ADMIN
    SAP_BC_ALM_ALERT_USER
    SAP_BC_ALM_CUST
    SAP_BC_BASIS_ADMIN
    SAP_BC_BASIS_MONITORING
    SAP_BC_WEBSERVICE_ADMIN
    SAP_BC_WEBSERVICE_PI_CFG_SRV
    SAP_ESF_ADMIN
    SAP_PAF_ADMIN
    SAP_SLD_ADMINISTRATOR
    SAP_SLD_CONFIGURATOR
    SAP_SLD_DEVELOPER
    SAP_SLD_GUEST
    SAP_SLD_ORGANIZER
    SAP_XI_ADMINISTRATOR
    SAP_XI_ADMINISTRATOR_ABAP
    SAP_XI_ADMINISTRATOR_J2EE
    SAP_XI_BPE_ADMINISTRATOR_ABAP
    SAP_XI_BPE_CONFIGURATOR_ABAP
    SAP_XI_BPE_MONITOR_ABAP
    SAP_XI_CONFIGURATOR
    SAP_XI_CONFIGURATOR_ABAP
    SAP_XI_CONFIGURATOR_J2EE
    SAP_XI_CONTENT_ORGANIZER
    SAP_XI_CONTENT_ORGANIZER_ABAP
    SAP_XI_CONTENT_ORGANIZER_J2EE
    SAP_XI_DEMOAPP
    SAP_XI_DEVELOPER
    SAP_XI_DEVELOPER_ABAP
    SAP_XI_DEVELOPER_J2EE
    SAP_XI_MONITOR
    SAP_XI_MONITOR_ABAP
    SAP_XI_MONITOR_J2EE
    Thanks in advance!

    We had the same error with namespace creation.
    SAP XI expert advised next:
    "'com.sap.aii.util.server.auth.activation'
    This parameter is used to activate the UME user management on J2EE side
    with further authorisation checks. Because there are no authorisations
    assigned on the UME, editing is denied for all user in integration
    repository when this parameter is set to true.If you do indeed have to
    set this parameter you will need to restart the J2EE engine."
    After setting com.sap.aii.util.server.auth.activation - false  and      com.sap.aii.ib.server.acl.enable - unchecked issue gone.

  • How to copy the predeliverd XI Scenarios and interfaces to our SWCV ?

    Hi friends,
    How to copy the predeliverd XI Scenarios and interfaces to our SWCV ?
    Will all the relevant objects will be copied ? or we need to copy one by one ?
    Do we need to create separate SWCV ?

    Thanks , Then the namespaces defined in copying object will automaticaly change  to copied object namespace?
    do we need to do anthing in SLD ?
    Normally , predeliverd contents are uneditable right ? when we are copying all , will they allow to change the scenarios and BPM  objects , like message type and interface type , mapping etc ?

  • How to Import exported mapping in SAP XI

    Hello
    I have a exported mapping from Integration repository file with .xim extension. How we can can import it another XI server.
    Thanks
    Chaitanya

    Hi,
    If u import any objects then ur file be .tpz extension. I m surprised how ur file extension is .xim extension.
    have u followed the same process which is mentioned below:
    1) tools->export->select->FTP/CMS-> selct whole SWCV,individual objects,namespace and finish.
    after whole process it will give the .tpz file name u need to take the file from that FTp server and u need to follow the reverse process in IR.
    Import:
    tools->import->ans go on.
    Refer the link for process.
    http://help.sap.com/saphelp_nw04/helpdata/en/a8/5e56006c17e748a68bb3843ed5aab8/frameset.htm
    Thnx
    Chirag

  • Generating PDF with XML and XSL

    Hi, quick basic question...
    I'm trying to generate pdf doc from xml with xsl.
    I'm using following sample code from xml.apache.org
    response.setContentType("application/pdf");
    Driver driver =new Driver();
    driver.setOutputStream(response.getOutputStream());
    driver.setRenderer(Driver.RENDER_PDF);
    Transformer transformer=TransformerFactory.newInstance()
    .newTransformer(new StreamSource("foo.xsl"));
    transformer.transform(xmlsource, new SAXResult(driver.getContentHandler()));
    xmlSource is my regular xml that wants to be pdf.
    is foo.xsl any regular xsl that I use to coonvert xml into html?
    or is it some special xsl that is tailored for pdf.
    Is this what is called xsl-fo?
    Thanks
    IL

    Hi IL,
    XSLT can translate XML to something else. It is most suited to transforming to another tree-like format (XML, HTML, etc.) but can be 'asked' to produce other kinds of output, flat text for example.
    It is driven by an XSL file which is a series of patterns to match and output to produce.
    This XSL file can be used to generate another XML document in which the nodes come from the Formatting Object namespace. These describe, in generic terms the format of an output document based upon the contents of the original XML.
    The formatting object XML document can then be used as input to a formatting object XML processor which can generate PDF output from it.
    You may want to check out:
    www.w3c.org
    for all the stuff on XML, XSL, XSLT, Formatting Objects, etc., and:
    xml.apache.org
    for imformation on Xalan, which is an XSL processor and FOP, which is a formatting object processor.
    Hope that helps,
    Peter.

  • How to import msg files into Outlook with Powershell

    Hello,
    I want to import contact msg files on the file system into Outllok.
    Before I want to delete all contacts in this contact folder.
    Can you show me how please.
    Frank

    # 1 - try to not create lots of interim items as it make it harder to shutdown Outlook.
    # 2 - To delete all items in a folder:
          $namespace.GetDefaultFolder(10).Items |%{$_.delete()}
    The following code of your makes no sense.  What are you trying to do?
    $SourceFiles = Get-ChildItem -path "D:\ccc\*" -include *.msg      #-recurse
    foreach ($_ in $SourceFiles)
            $x ++
            $MailItem = $_
            $olMailItem = $NameSpace.OpenSharedItem($MailItem)
      [void]$olMailItem.Move($objContactFolder)
    This is a better construct:
    Get-ChildItem -path "D:\ccc\*" -include *.msg |
         ForEach-Object{
              $nameSpace.OpenSharedItem($_).Move($namespace.GetDefaultFolder(10))
    But I don't think it is correct.  What are you trying to do?
    ¯\_(ツ)_/¯

Maybe you are looking for

  • How do i delete photos that were synced off my pc to my ipod??

    how do i delete photos that were synced off my pc to my ipod?? when i first connected my ipod to my pc all photos on my computer were put/synced onto my ipod they are now becoming a hassle as they take up to much space!! please help!!

  • Exception occurs only the first time

    The server listens on a port to which client connects in applet mode. Every time client connects to server for the first time (i.e. after a fresh server installation), the client pops an exception: java.io.InvalidClassException: javax.swing.ImageIcon

  • Copy contacts from one ipod to anotehr

    I have an ipod touch and just won a brand new one.  I need to know how to copy over all my contact and email etc from my old one to the new one. Cathaleen

  • Reinstalling iTunes

    When I try to start iTunes, I am getting a message that "iTunes cannot run because some of its required files are missing.  Please reinstall iTunes." When I try to reinstall, the dowload gets stuck at the step identified as "unregistering iTunes auto

  • Best external drive for backup using USB port on TC

    My Time Capsule drive is too small and I would like to use a USB hub and plug it into the port on the device. I will have a printer and external drive plugged into the hub, which will be plugged into the Time Capsule. What type of external drive is b