USER_% tables needed by MapViewer

Hi,
We have a DB schema that must be copied from one DB (DEV) to another one (UAT) every night. This user owns the MapViewer definition tables. Once we drop the user (cascade) we lost all the tables USER_% tables managed by MapViewer and MapViewer can not rendered the maps. I would like to know tables needed by MapViewer to run.
So far we have found :
SDO_CACHED_MAPS_TABLE
SDO_MAPS_TABLE
SDO_STYLES_TABLE
SDO_THEMES_TABLE
Thanks
Karl

Hi Karl,
the user views are user_sdo_styles, user_sdo_themes, user_sdo_maps, user_sdo_cached_maps.
So you need to copy the contents of these user views to the other DB schema.
Joao

Similar Messages

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • Tables needed to update for reconciliation

    Hi all,
    can any one please tell me what are the tables need to be updated for bank reconciliation of checks.
    Please help me.
    Thank you,
    Bye.

    Sorry about that! You can download Firefox 3.6 here: http://www.mozilla.com/firefox/all-older

  • STZBC table need to be updated correctly for DST Brazil Change.

    Hi All,
                          STZBC table need to be updated correctly for DST Brazil Change.
    I see two options to change it:
    1) Create a new line for 2009 in STZBC -> Variable time zone rule in DT1 and create the transport
    2) Apply SAP Note 198411 (attached) in DT1 and create the transport
    I have have concern for daylight saving as according to Note 1251372 there is no standard daylight saving time in brazil .
    this note mention daylight saving for  2008/2009 (i,e daylight saving time in Brazil begins on October 19, 2008 and ends on February 15, 2009.) and this note is the latest note available.
    what would be daylight saving time in brazil for year 2009/2010? should i need to raise message to SAP asking for any new note applicable to daylight saving?
    Thanks for your help in advance.
    Thanks&Regards
    Shams

    done

  • Every table need primary key in toplink mapping to fetch the data

    Hi everyone,
    we are working on toplink mapping , it neccessary every table needs primary key. if yes, gave me example.

    Hi everyone,
    Alterations in database will not be automatically reflected in toplink so, there is any alternative
    with regards
    abusufian

  • Attach User define tables and view table need add to database into my add-o

    Hi there,
    I want to deploy an addon, there are User define tables and view table need add to database.
    I need some advice on some issues..
    1. Can I attach User define tables and view table need add to database into my addon.
    2. I wonder which chance is properly to add them, if add these user define objects in time of install and I can't get the enough information that connect to SQL server
    Thanks for any help.

    Hi Weerachai,
    Here's an example of how to create a user-defined table in code. My suggestion would be to check if it exists when your add-on starts up and then if not, create the tables, fields and objects.
    'User Table
        Private Sub CreateTable(ByVal sTable As String, ByVal sDescription As String, ByVal oObjectType As SAPbobsCOM.BoUTBTableType)
            Dim oUserTablesMD As SAPbobsCOM.UserTablesMD
            Dim iResult As Long
            Dim sMsg As String
            oUserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
            If Not oUserTablesMD.GetByKey(sTable) Then
                oUserTablesMD.TableName = sTable
                oUserTablesMD.TableDescription = sDescription
                oUserTablesMD.TableType = oObjectType
                iResult = oUserTablesMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Table: " & sTable & " Error: " & sMsg)
                End If
            End If
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserTablesMD)
        End Sub
    'User Field
        Private Sub CreateField(ByVal sTable As String, ByVal sName As String, ByVal sDescription As String, _
                                ByVal iSize As Integer, ByVal aFieldType As SAPbobsCOM.BoFieldTypes, _
                                ByVal aSubType As SAPbobsCOM.BoFldSubTypes, ByVal sLink As String, _
                                ByVal bMandatory As SAPbobsCOM.BoYesNoEnum)
            Dim oUserFieldsMD As SAPbobsCOM.UserFieldsMD
            Dim oTable As SAPbobsCOM.UserTable
            Dim iResult As Long
            Dim sMsg As String
            Dim i As Integer
            Dim x As Integer
            Dim bFound As Boolean = False
            Dim oField As SAPbobsCOM.Field
            oTable = oCompany.UserTables.Item(sTable)
            For i = 0 To oTable.UserFields.Fields.Count - 1
                oField = oTable.UserFields.Fields.Item(i)
                'MessageBox.Show(oField.Name)
                If oField.Name = "U_" & sName Then
                    bFound = True
                End If
            Next
            System.Runtime.InteropServices.Marshal.ReleaseComObject(oTable)
            If Not bFound Then
                oUserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUserFieldsMD.TableName = "@" & sTable
                oUserFieldsMD.Name = sName
                oUserFieldsMD.Description = sDescription
                oUserFieldsMD.Type = aFieldType
                If aFieldType = SAPbobsCOM.BoFieldTypes.db_Alpha Or aFieldType = SAPbobsCOM.BoFieldTypes.db_Numeric Then
                    oUserFieldsMD.EditSize = iSize
                Else
                    oUserFieldsMD.SubType = aSubType
                    oUserFieldsMD.Mandatory = bMandatory
                End If
                oUserFieldsMD.LinkedTable = sLink
                iResult = oUserFieldsMD.Add()
                If iResult <> 0 Then
                    oCompany.GetLastError(iResult, sMsg)
                    MessageBox.Show("Error Creating Field: " & sTable & "." & sName & " Error: " & sMsg)
                End If
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUserFieldsMD)
            End If
        End Sub
    If you want to create a View I think you would have to use the RecordSet object. This will ensure that you don't have to log in to the database again
    Hope it helps,
    Adele

  • Does Partitioning Tables need more Space

    Hi,
         Can some one tell me does Partitioned table need more space than a general tables(i.e with out any partition). If so what can be the percenatge difference.
    Thanks

    PaulHorth wrote:
    don't forget that your data could be such
    that certain partitions never get any rows in them - thus wasting space.
    It is not having/not having any rows in a partition but rather init.ora parameter deferred_segment_creation setting. By default it is set to true, which means segment will be created on first insert.
    SY.

  • How to share data in "User_*" tables with another schema

    I would like to share the data in the USER_SEGMENTS table with another schema. If I create a view and grant select on the view, when the other schema queries the view the data is identical to themselves querying the SYS.user_segments table directly.
    create view sys_user_segments as select * from sys.user_segments;
    grant select on sys_user_segments to A;My guess is that the SYS.user_segments table is a view based on the current user.
    Is there a way to share this data without creating a copy of the table?
    Oracle: 10g
    Thanks

    Hi,
    All the data dictionary "tables" whose names start with user_ (or all_ or dba_) are actually views, and what results they bring back depend on what schema you logged in to. I don't think there's any way to allow user A to directly see what's in user B's version of user_segments.
    Why do you need this? Can you use the all_ views instead, by giving A some privileges on B's objects?
    Failing that, you can replicate the data into a regular table. Inside a AUTHID DEFINER stored procedure, the data dictionary views (such as user_segments) are the versions of the procedure owner, so B can write a stored procedure (let's call it populate_my_segments) that populates a regular table (let's call it my_segements), and then grant EXECUTE privilges on populat_my_segments and SELECT privileges on my_segements to user A. A can then refresh the table and look at it whenever he wants to.
    If A only needs to see a little information, e.g. the total number of bytes, from B's user_segments, then B can write a function just to return that information.

  • Sales Orders Transparent Tables Needed

    I am trying to create a report with SQV1 that shows
    Sales Order 
    Sales Order Status
    Material
    Rev Level on Material
    ECN Number on Material
    ECN Description on Material
    I need the transparancy tables for
    Sales Order Detail; I tried VBAP and VBAK and both do not show me the
    Sales Order Status VBSTT
    Also I need to know the Rev Level and ECN Number and description. I
    thought they would be in MARC because the rev level shows up in the
    Material Master but it is not one of the items you can select. Any idea where
    I can find it?
    Thanks,
    Linda

    Hi
    For the sales order status, you can refer to VBUK or VBUP.
    I looked for ECN number, I think the table and the field are MARC-PRENO
    Pls check whether the same is useful to you.
    Reward point if it helps.

  • How to insert a new Row in table - Need help

    Hi everyone,
    I'm using JHeadstart 10.1.2, UIX pages and STRUTS.
    This is my situation: My page1 has a table (table1) and when I select one line from table1 and press a button, I go to page 2.
    I have an action in the Struts-Config.xml file, so I can pass some parameters to page2, like this:
    <action path="/S2PopUpObstaculos" <=PAGE2 type="oracle.jheadstart.controller.strutsadf.action.JhsDataActionSaveObstaculos" className="oracle.jheadstart.controller.strutsadf.action.JhsDataActionMapping" parameter="/WEB-INF/page/S2PopUpObstaculos.uix" name="DataForm">
    <set-property property="modelReference" value="S2AltaSociais2UIModel"/>
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=${data.S2AltaSociais2UIModel.Obstaculo},${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},${data.S2AltaSociais2UIModel.Obstaculo}"/>
    </action>
    But now, the problem is, if I don't select one Row from table1 and press the button to go to page2, I need to pass diferent parameters to page 2, like this:
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=0,${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},0"/>
    </action>
    Do you have any ideia how to do this? Can ayone help me?
    Thanks,
    Atena
    Message was edited by:
    Atena

    Hi Sascha,
    thanks very much for your replay.
    My project changed and I have another question about this. My page1 has a table (table1) and when I select one line from table1 and press a button, I go to page 2.
    I have an action in the Struts-Config.xml like this in page2 (S2PopUpObstaculos):
    <action path="/S2PopUpObstaculos" type="oracle.jheadstart.controller.strutsadf.action.JhsDataActionSaveObstaculos" className="oracle.jheadstart.controller.strutsadf.action.JhsDataActionMapping" parameter="/WEB-INF/page/S2PopUpObstaculos.uix" name="DataForm">
    <set-property property="modelReference" value="S2AltaSociais2UIModel"/>
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=${data.S2AltaSociais2UIModel.Obstaculo},${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},${data.S2AltaSociais2UIModel.Obstaculo}"/>
    </action>
    But now, the problem is, if I don't select one Row from table1 and press the button to go to page2, I need to pass diferent parameters to page 2, like this:
    <set-property property="bindParams" value="S2DominiosLevel1Iterator=0,${data.S2AltaSociais2UIModel.AlsEpsPsId},${data.S2AltaSociais2UIModel.AlsEpsId},0"/>
    </action>
    Do you have any ideia how to do this? Can you help me?
    Thanks,
    Atena

  • Tables needed for report

    Hi Experts,
    I need to build a report for the following requirement.
    Based on the input parameters: <b>MATERIAL NUMBER</b>,
                                      <b>BATCH</b>.
    I need to see in the output: <b>CUSTOMER SOLD-TO,
                                       SHIP-TO,
                                       QUANTITY,
                                       INVOICE DATE,
                                       PO,
                                       ORDER NUMBER.</b>
    Could you please let me know what are the tables i can used for this.
    Thnx a ton.

    You can get material and batch from table MCH1.
    Sales Document data comes from VBAK, and VBAP.  You can get the ship-to partner from VBPA, and you can get the invoice date via document flow table VBFA, or VBUK, VBUP.
    REgards,
    Rich Heilman

  • Read only table, need help

    I have an read only table with a check box(updatable) for each row which is the first column and it is part of the table field. The value for the
    checkbox field is Y/N in the database. I replaced the first column with a Select Boolean Checkbox, I can able to see the unchecked check box for each
    row in the browser. But, it doesn't allow me to check/uncheck. How do I make it work and how do I collect checked rows, so that I can update db. Thanks.

    you need to use the converter for Y / N value
    To make custom converter, implement javax.faces.Converter and implement following two methods
    public class ConvertYesNo implements Converter {
    public ConvertYesNo() {
    public Object getAsObject(FacesContext context,
    UIComponent component,
    java.lang.String value){
    //return value that you want to use for your business logic e.g original value from db - in this case,so when you check the chekbox, t will convert back to "Y" or N for unchecked value
    public String getAsString(FacesContext context,
    UIComponent component,
    Object value){
    //return actual 'value' for the component - for e.g "true" or "false" in this case, so when you reterive the Y/N from some static list/db it will convert to true/false
    in your jspx , assuming you will have outputtext
    &lt;af:selectBooleanCheckbox converter="{color:#3366ff}ConvertYesNo{color}" simple="true" value="#{row.bindings.dispFlag.inputValue}"
    autoSubmit="true" immediate="true"
    valueChangeListener="#{DisplayTable.displayFlagHandler}"
    id="searchFlagCheckbox"&gt;
    &lt;f:converter converterId="{color:#3366ff}ConvertYesNo{color}"/&gt;
    &lt;/af:selectBooleanCheckbox&gt;
    and make sure you have the custom converter registered in faces-config.xml
    &lt;converter&gt;
    &lt;converter-id&gt;{color:#3366ff}ConvertYesNo{color}&lt;/converter-id&gt;
    &lt;converter-class&gt;myproject.view.backing.{color:#3366ff}ConvertYesNo{color}&lt;/converter-class&gt;
    &lt;/converter&gt;
    hope this helps

  • Table Needs 1 Pt. Side Strokes that End in Solid Circle Caps

    I am working on a long document that has numerous (over 100) callout text boxes that must flow with the text. Because there will be a number of edits in the copy, I have put that text into a 1-column/1-row table. This allows the callout text to keep within the text flow of the document as edits are made to that text, as well as independently grow or shrink as edits are made to the text within the table.
    The ideal table should look like this. [This is not a formatted table; just a box of text with side strokes and 4 separate little circles added at the corners.]:
    I am working on a Table Style/Cell Style combination that can create this look, but the closest I've come is this:
    My Table Style is basically just a 1-col, 1 cell item with no fill and no stroke.
    My main Cell Style has the text indents and a 1-pt stroke on each side.
    I made a new Dots Stroke Style that is used to create the spaced dots at the corners. It uses the dotted style rule with the pattern length (spacing) set at 19 picas (the column width is 18 picas) and the corners set to "adjust gaps."
    I added a header and footer row to the table. To the header row I added a bottom stroke using the new Dots Stroke Style. To the footer row I added a top stroke that uses the new Dots Stroke Style.
    I'm getting close, but unfortunately it looks like my header and footer have inherited the side rules from the main Cell Style, and my corner dots are not sitting properly over the rules.
    Thoughts?

    @Angie – I'd solve this with 4 anchored objects (the circles) that are positioned relative to the edge of the text column (In my German InDesign: "Spaltenrand"):
    1. The basic concept:
    Now with the Story Editor open:
    You can see: The four circles are inserted as anchored objects in a separate paragraph.
    2. Now you can adjust the relative position of every circle to the edge of the cell. This is working, because InDesign is treating every cell as a separate text column.
    3. To get the positions right, you need:
    a. The size of the circle
    b. The width of the cell's stroke
    c. The insets of the cell (in my example set to zero, but your case will be different)
    This concept is very flexible. You can change the width and the height of the cell and the circles will move along:
    You can download the IDML of the example shown last here:
    Dropbox - TableCell-WithCorneredDots.idml
    Uwe

  • Problem with tables -- need help!

    I am having problems with table formatting, when using
    Preformatted text. The tables look fine in the WYSIWYG editor, but
    have lots of extra space above and below the text when looking at
    the output files.
    I will attach the code from one of the HTML files from my
    project, so you can see what I'm talking about.
    Thanks.

    Well, if you're talking about the single-celled table with
    the line:
    <p class=Preformatted>[assembly:
    Ace.AceAssembly]</p>
    </pre>
    ... you can eliminate the <P> tags. that will give you
    one line less. Otherwise, your remaining space is the result of the
    <PRE> tag. It, like the <XMP> tag, gives it one line of
    space beneath as well.
    Your alternative beyond that would be to, when needed, wrap
    up the script in Javascript. That line, for instance, wouldn't need
    it.

  • InfoSet - Z tables need to be appeared on the selection criteria

    Hi ,
    My requirement is to have Z table fields in the selection criteria in an info set.
    Currently i have an info set which has only standard SAP fields for selection. I have couple of Z tables whose fields need to be included in the selection criteria. Based on the values selected, report has to be displayed. So i believe some code has to be added for it.
    Can you please tell me how to add Z Fields in the query.
    Thanks,
    Sarika.

    Hi Sarika,
    Again refer to the above link http://shafiq.us/sap/index.php?option=com_content&view=article&id=54:adhoc-query&catid=41:adhocquery&Itemid=61
    Then go to heading "Ad-hoc Queries (Tcode: SQ01)"
    Then see Step 6-b, this is where you specify which field will be displayed on selection screen. Follow the steps and I am sure you will be able to complete your requirement.

Maybe you are looking for

  • Hard drive not found in Disk Utility

    Hello there. I wonder if anyone would be so kind to assist. Bought a second hand Macbook. Had 80gb and worked fine on Leopard. Bought a new 320gb SATA, replacing the 80gb. I have a Leopard upgrade disc and a Tiger full install 2-disc set. I insert Ti

  • Hp envy recovery error boot disc cant be found

    Hey Folks, I recently bought hp envy 1046tx notebook and updraded to windows 8. But i want to downgrade to windows 7 home basic pre installed when i buy, I got hp recovery dvd's from hp they sent it by courier. Once i started booting with than i get

  • Spry Drop Down Duplicated in Empty Space

    This is regarding this site: staging.istservice.com . My spry menu is behaving very strangely. In Firefox there is a duplicate ghost menu (just the subs) that appears on the far left of the screen (it's a very long screen shot so I will give you the

  • Help with Flash Quiz

    Using Flash 8 quiz template generate a Quiz, Then I build a new flash document and insert an empty MC, copy all the frames from the file generate by quiz template, and drag this new MC to the timeline. But it can't work properly. My purpose is to ins

  • Doubt about Report - Task Sequence - Deployments

    Hello, I have a doubt about this report Summary report for a task sequence deployment in Task Sequence - Deployments. Last Friday I did deployed in 6 desktop ran this report and display my 6 desktop's all right. Today a run this report and display no