ListBox with DataBase table

Hi, i need to do a ModulPool application.
I have a DB table with code and description.
My question is: Is there any way to associate that DB table to a ListBox control, so this control show the possible descriptions??
Thanks.

Declare the parameter as follows:
parameter: matnr like mara-matnr as listbox.
then in the POH event call the FM 'F4IF_INT_TABLE_VALUE_REQUEST ' for input help.

Similar Messages

  • Error binding table components with database tables

    Hi, when i try to bind table components with database tables y receive this error
    java.lang.NullPointerException
         at com.sun.sql.rowset.CachedRowSetXImpl.initMetaData(CachedRowSetXImpl.java:861)
         at com.sun.sql.rowset.CachedRowSetXImpl.getMetaData(CachedRowSetXImpl.java:2336)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getMetaData(CachedRowSetDataProvider.java:1317)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeys(CachedRowSetDataProvider.java:489)
         at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.resetTableColumns(TableRowGroupDesignState.java:261)
         at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.setDataProviderBean(TableRowGroupDesignState.java:163)
         at com.sun.rave.web.ui.component.table.TableDesignState.setDataProviderBean(TableDesignState.java:250)
         at com.sun.rave.web.ui.component.TableDesignInfo.linkBeans(TableDesignInfo.java:162)
         at com.sun.rave.insync.models.FacesModel.linkBeans(FacesModel.java:1042)
         at com.sun.rave.designer.DndHandler.processLinks(DndHandler.java:2126)
         at com.sun.rave.designer.DndHandler.importBean(DndHandler.java:880)
         at com.sun.rave.designer.DndHandler.importItem(DndHandler.java:702)
         at com.sun.rave.designer.DndHandler.importDataDelayed(DndHandler.java:376)
         at com.sun.rave.designer.DndHandler.access$000(DndHandler.java:114)
    [catch] at com.sun.rave.designer.DndHandler$1.run(DndHandler.java:298)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    There are a thing that I don't undertand. When I try to bind samples database table (Travel, for example) to table components, there are no errors. But when I try to bind table component with my remote postgresql database table, yes...the table component disappear and only a "Table" string is displayed....this error is because I use remote database?? Or because it's PostgreSQL??
    Thanks.

  • Difficulty with database table activesync

    I am using a oracle table as trusted source, also need to create LDAP account automatically through IDM. Now I can't even get IDM user created. It shows missing status in the account index. Doesn't the default active sync wizard can't deal with basic user creation in IDM?
    I have read a few post here, then I tried 2 things.
    First, customized a form for active sync by add something for accountId, password, roles...:
    <Field name='waveset.accountId'>
    <Expansion>
    <ref>activeSync.accountId</ref>
    </Expansion>
    <Disable>
    <neq>
    <ref>feedOp</ref>
    <s>create</s>
    </neq>
    </Disable>
    </Field>
    Still can't see the IDM user created. (proxy admin: configurator or self defined admin with no form), of couse far away for the creation of LDAP account.
    Second, I used reconciliation rule to confirm user if the situation was "missing", this time the IDM user get created. (But I don't want run both activesync and reconciliation).
    Then I add role in a form to set first name, last name, apssword, email and creat LDAP account: (reconciliation proxy admin set to self defined admin user)
    <Field name='waveset.roles'>
    <Display class='MultiSelect' action='true'>
    <Property name='title' value='_FM_ROLES'/>
    <Property name='availableTitle' value='_FM_AVAILABLE_ROLES'/>
    <Property name='selectedTitle' value='_FM_SELECTED_ROLES'/>
    <Property name='allowedValues'>
    <invoke name='getObjectNames' class='com.wavetset.ui.FormUtil'>
    <ref>:display.session</ref>
    <s>Role</s>
    <ref>waveset.original.roles</ref>
    </invoke>
    </Property>
    </Display>
    <Expansion>
    <list>
    <s>Employee</s>
    </list>
    </Expansion>
    </Field>
    I received error says: "user account xxxx in LDAP is not exits", checked the account index, again, account states in LDAP shows "missing"
    Can any one explain these weird IDM thing? Sun IDM is so difficult to start. I prefer a solution for active sync to resolve all these. I have see many people post similar qestions. Can any one kindly provide a full form solution. I am using IDM version 6.
    Thanks
    post2li

    I see about 2,5% CPU on Java and 1,5% on Oracle when reconciling 1500 users from a database table (IDM 5.0 SP6 on a Sun Fire 490). Maybe you can try a run without any customizations...

  • Rebate related issue with database table VKDFS & VBAK

    Hi everybody,
    I am facing the problem with the tables VKDFS and VBAK.
    In my program the report has to display the details of the agrement numbers concerning to the sale or billing doucmnets later on it has to create a credit memo for that particular customer.
    In the coding the program in very beging step, it is fetching all sales documents from VKDFS as per selections like following.
      select        * from  vkdfs into table ivkdfs
             where  fktyp  in r_fktyp
             and    vkorg  in s_vkorg
             and    fkdat  in s_fkdat
             and    kunnr  in s_kunnr
             and    fkart  in s_fkart
             and    vbeln  in s_vbeln
             and    faksk  in s_faksk
             and    vtweg  in s_vtweg
             and    spart  in s_spart
             and    netwr  in s_netwr
             and    waerk  in s_waerk.
    After this whatever the sales orders fetched here, for those all again its fetching from VBAK table as following.
    SVBAK[] = IVKDFS[]
    select * from vbak into table ivbak
      for all entries in svbak
      where vbeln = svbak-vbeln
      and   knuma in s_knuma
      and   auart in s_auart
      and   submi in s_submi
      and  (vbak_wtab).
    So, its filtering from VBAK.
    But the exact issue is that, there is one sales order which is available in VBAK but does not available in VKDFS table.
    So, my program fails to display the report regarding to that agreement number.
    As per my analysis I came to know that there are no entries in VKDFS table against to the sales orders in VBAK concerning agreement numbers.
    VKDFS-SD index: billing initiator table.
    I want to know how come this VKDFS table is updating against to VBAK table. If possible how to make this entry in that table against to the values in VBAK. But it should not effect other tables.
    Please let me know the solution if you people have any .
    Its an urgent and sev 1 tickets
    eagerly waiting for solution or some information.
    Thanks&Regards.
    J.

    Hi everybody,
    I am facing the problem with the tables VKDFS and VBAK.
    In my program the report has to display the details of the agrement numbers concerning to the sale or billing doucmnets later on it has to create a credit memo for that particular customer.
    In the coding the program in very beging step, it is fetching all sales documents from VKDFS as per selections like following.
      select        * from  vkdfs into table ivkdfs
             where  fktyp  in r_fktyp
             and    vkorg  in s_vkorg
             and    fkdat  in s_fkdat
             and    kunnr  in s_kunnr
             and    fkart  in s_fkart
             and    vbeln  in s_vbeln
             and    faksk  in s_faksk
             and    vtweg  in s_vtweg
             and    spart  in s_spart
             and    netwr  in s_netwr
             and    waerk  in s_waerk.
    After this whatever the sales orders fetched here, for those all again its fetching from VBAK table as following.
    SVBAK[] = IVKDFS[]
    select * from vbak into table ivbak
      for all entries in svbak
      where vbeln = svbak-vbeln
      and   knuma in s_knuma
      and   auart in s_auart
      and   submi in s_submi
      and  (vbak_wtab).
    So, its filtering from VBAK.
    But the exact issue is that, there is one sales order which is available in VBAK but does not available in VKDFS table.
    So, my program fails to display the report regarding to that agreement number.
    As per my analysis I came to know that there are no entries in VKDFS table against to the sales orders in VBAK concerning agreement numbers.
    VKDFS-SD index: billing initiator table.
    I want to know how come this VKDFS table is updating against to VBAK table. If possible how to make this entry in that table against to the values in VBAK. But it should not effect other tables.
    Please let me know the solution if you people have any .
    Its an urgent and sev 1 tickets
    eagerly waiting for solution or some information.
    Thanks&Regards.
    J.

  • Reconciliation with Database Table

    Hi all,
    Has anyone here tried creating Database Table resources and reconciling accounts off the data from the database? The reconciliation seems to be maxing out CPU on our Dev environment and we're not sure where the issue may lie. Our hardware is quite beefy too.
    -Tony

    I see about 2,5% CPU on Java and 1,5% on Oracle when reconciling 1500 users from a database table (IDM 5.0 SP6 on a Sun Fire 490). Maybe you can try a run without any customizations...

  • BI Administration - Synchronize with Database Table

    Hi,
    I have added 2 new columns in the Database and I want to synchronize them with the Physical Layer in BI Model.
    How can I do this without affecting any relationships?
    Thanks

    Open the Administration tool and in the physical layer, for the physical table changed, you have to create a new column with the same name/datatype of the column you have added on the database.
    as double check, click on the property "View Data" of the column just added.
    Bye,
    Nazza

  • Issue with Database table adapter

    Hi,
    Iam working on OIM 9.1.0.1
    I login as an end user & self request the DB table which is configured.
    User can assign & the xelsysadm approves ..
    The approval task is completed as seen in the End User page. In the Task Assignment History -->Task status is Pending
    Can anyone help me out on this issue.
    Error seen on console.
    ERROR,19 Feb 2011 16:00:01,421,[XELLERATE.ACCOUNTMANAGEMENT],Class/Method: tcUse
    rOperationsBean/updateUserData encounter some problems: maoErrors:An error occur
    red while retrieving process information null
    ERROR,19 Feb 2011 16:00:01,437,[XELLERATE.SCHEDULER.TASK],Class/Method: tcTskUsr
    Provision/checkPolicyUpdateFlags encounter some problems: An error occurred whil
    e retrieving process information null
    Thor.API.Exceptions.tcAPIException: An error occurred while retrieving process i
    nformation null
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUserData(Unk
    nown Source)
    at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.updateUser(Unknown
    Source)
    at com.thortech.xl.ejb.beans.tcUserOperationsSession.updateUser(Unknown
    Source)
    at com.thortech.xl.ejb.beans.tcUserOperations_voj9p2_EOImpl.updateUser(t
    cUserOperations_voj9p2_EOImpl.java:4747)
    at Thor.API.Operations.tcUserOperationsClient.updateUser(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor320.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy51.updateUser(Unknown Source)
    at com.thortech.xl.schedule.tasks.tcTskUsrProvision.checkPolicyUpdateFla
    gs(Unknown Source)
    at com.thortech.xl.schedule.tasks.tcTskUsrProvision.execute(Unknown Sour
    ce)
    at com.thortech.xl.scheduler.tasks.SchedulerBaseTask.run(Unknown Source)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper$TaskExecutionActi
    on.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at com.thortech.xl.scheduler.core.quartz.QuartzWrapper.execute(Unknown S
    ource)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:178)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
    ava:477)
    Running GENERICADAPTER
    Target Class = com.thortech.xl.gc.runtime.GCAdapterLibrary

    It's a new error now..
    The Create User task is Rejected with the below error in console.
    Running GENERICADAPTER
    Target Class = com.thortech.xl.gc.runtime.GCAdapterLibrary
    ERROR,21 Feb 2011 17:45:42,171,[XELLERATE.APIS],
    java.lang.NullPointerException
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getModelFromConnectorD
    efinition(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperationsSession.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperations_do1ndy_EOImpl.lookup(GCOperati
    ons_do1ndy_EOImpl.java:576)
    at Thor.API.Operations.GCOperationsClient.lookup(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy79.lookup(Unknown Source)
    at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unkn
    own Source)
    at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .GENERICADAPTER(adpMY_NEWTESTUSERS_GTC.java:125)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .implementation(adpMY_NEWTESTUSERS_GTC.java:70)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown
    Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unkno
    wn Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(
    Unknown Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(Unknown Sourc
    e)
    at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.autoDOBSave(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(Unkn
    own Source)
    at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.checkApproved(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.approve(Unknown Source)
    at com.thortech.xl.dataobj.tcRequestObject.handleApprovalLaunch(Unknown
    Source)
    at com.thortech.xl.dataobj.tcREQ.launchObjectApprovals(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.checkRequestReceived(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.proces
    sMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageHandlerMDB.onMessa
    ge(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:46
    6)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
    istener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
    327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:505
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ERROR,21 Feb 2011 17:45:42,250,[XELLERATE.APIS],An exception occurred while crea
    ting the GenericConenctor Model from the Connector Definition file
    ERROR,21 Feb 2011 17:45:42,250,[XELLERATE.APIS],An exception occurred while gene
    rating Generic Connector model from the connector definition xml of the connecto
    r 'MY_NEWTESTUSERS'
    com.thortech.xl.gc.exception.ConnectorDefinitionOperationsException: An exceptio
    n occurred while creating the GenericConenctor Model from the Connector Definiti
    on file
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.getModelFromConnectorD
    efinition(Unknown Source)
    at com.thortech.xl.ejb.beansimpl.GCOperationsBean.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperationsSession.lookup(Unknown Source)
    at com.thortech.xl.ejb.beans.GCOperations_do1ndy_EOImpl.lookup(GCOperati
    ons_do1ndy_EOImpl.java:576)
    at Thor.API.Operations.GCOperationsClient.lookup(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at Thor.API.Base.SecurityInvocationHandler$1.run(Unknown Source)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.security.Security.runAs(Security.java:41)
    at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(Unknown Sou
    rce)
    at Thor.API.Base.SecurityInvocationHandler.invoke(Unknown Source)
    at $Proxy79.lookup(Unknown Source)
    at com.thortech.xl.gc.runtime.GCAdapterLibrary.executeFunctionality(Unkn
    own Source)
    at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .GENERICADAPTER(adpMY_NEWTESTUSERS_GTC.java:125)
    at com.thortech.xl.adapterGlue.ScheduleItemEvents.adpMY_NEWTESTUSERS_GTC
    .implementation(adpMY_NEWTESTUSERS_GTC.java:70)
    at com.thortech.xl.client.events.tcBaseEvent.run(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.runEvent(Unknown Source)
    at com.thortech.xl.dataobj.tcScheduleItem.runMilestoneEvent(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.tcScheduleItem.eventPostInsert(Unknown Source
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.insertNonConditionalMilestones(Unknown
    Source)
    at com.thortech.xl.dataobj.tcORC.completeSystemValidationMilestone(Unkno
    wn Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.completeCarrierBaseMilestone(
    Unknown Source)
    at com.thortech.xl.dataobj.tcOrderItemInfo.eventPostInsert(Unknown Sourc
    e)
    at com.thortech.xl.dataobj.tcUDProcess.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcORC.autoDOBSave(Unknown Source)
    at com.thortech.xl.dataobj.util.tcOrderPackages.createOrder(Unknown Sour
    ce)
    at com.thortech.xl.dataobj.util.tcOrderPackages.orderPackageForUser(Unkn
    own Source)
    at com.thortech.xl.dataobj.tcOIU.provision(Unknown Source)
    at com.thortech.xl.dataobj.tcOIU.eventPostInsert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.insert(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.checkApproved(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcOBI.approve(Unknown Source)
    at com.thortech.xl.dataobj.tcRequestObject.handleApprovalLaunch(Unknown
    Source)
    at com.thortech.xl.dataobj.tcREQ.launchObjectApprovals(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.checkRequestReceived(Unknown Source)
    at com.thortech.xl.dataobj.tcREQ.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.requestapproval.InitRequestApproval.exec
    ute(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageProcessUtil.proces
    sMessage(Unknown Source)
    at com.thortech.xl.schedule.jms.messagehandler.MessageHandlerMDB.onMessa
    ge(Unknown Source)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:46
    6)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
    istener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
    327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4547)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4233)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3709)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:505
    8)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    ... 76 more
    ERROR,21 Feb 2011 17:45:42,312,[XELLERATE.GC.FRAMEWORKPROVISIONING],An exception
    occurred while generating Generic Connector model from the connector definition
    xml of the connector 'MY_NEWTESTUSERS'

  • Database table with potentially millions of records

    Hello,
    We want to keep track of user's transaction history from the performance database.  The workload statistics contain the user transaction history information, however since the workload performance statistics are intended for temporary purposes and data from these tables are deleted every few months, we loose all the user's historical records.
    We want to keep track of the following in a table that we can query later:
    User ID      - Length 12
    Transaction  - Length 20
    Date         - Length 8
    With over 20,000 end users in production this can translate into thousands of records to be inserted into this table daily.
    What is the best way to store this type of information?  Is there a specific table type that is designed for storing massive data quantity?  Also, over time (few years) this table can grow into millions or hundreds of millions of records.  How can we manage that in terms of performance and storage space?
    If anyone has worked with database tables with very large amounts of records, and would like to share your experiences, please let us know how we could/should structure this function in our environment.
    Best Regards.

    Hi SS
    Alternatively, you can use a <u>cluster table</u>. For more help refer to F1 help on <b>"IMPORT TO / EXPORT FROM DATABASE"</b> statements.
    Or you can store data as a <u>file</u> on the application server using <b>"OPEN DATASET, TRANSFER, CLOSE DATASET"</b> statements.
    You can also select to archieve data of older than some definite date.
    You can also mix your alternatives for the recent and archieve data.
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Populating JSF ListBox from DataBase

    Hi,
    im new to JSF and i have a problem populating Listboxes with database values.
    i have 3 listboxes and the 3 are populated from tables in my database.
    I would like to filter the returned(from database) values in the 2nd listbox depending on the value selected in the 1st listox.
    I dont know how to do this.
    BTW i'm usis Ibatis Abator to map the database.
    tnx

    Here is what I think you are wanting to do:
    1. Have the list box show values from a database table.
    2. Have the user make selections. Should the user return to that page later in the session, have the previous selection still selected.
    Normally, you would bind the listbox to the database table, as is shown in http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/databoundcomponents.html. The only reason I can think of for not binding directly to the database table is if there is a possiblity that the database table can change (additions, updates, deletes) during the user's session.
    Are you able to emulate the above tutorial using the Postgress database? It might be good to pinpoint whether the problem is with the Postgress driver or with the code you are writing.
    By the way, if you use a data provider to access the database, as shown in the tutorial, here is how you iterate through the data
            try {
                myDataProvider.cursorFirst();
                do {
                    [build your options list here]
                } while (myDataProvider.cursorNext());
            } catch (Exception ex) {
                error("put your message here" +
                        ex.getMessage());
                log("put your message here: " +
                        ex.getMessage(), ex);
            }You are correct to bind the selected property to a session bean property in order to perserve the user selecitons through the user's s session.

  • Saving session state in database table rather in websever for Ordering App

    Hi all,
    Ours is a ordering application (telecomm) domain.
    Currently, we are storing user sessions data (Order shopping cart session data) in middle tier (iPlanet web server) which inturn consumes lot of memory resources.
    Shopping cart could be in MBs if order is a huge business order.
    So in order to not to overtax web server (middle tier), we are thinking of storing session data directly in a database table to relieve the overhead on web server and make use of database for storage.
    I read that APEX (html db) is already using this "single metadata table" approach for session data management. But we are not using HTML DB to really look into.
    Can some one advise how to go about storing "user session data" directly in a "database table" for both storage and retrieval purposes instead of storing it in "webserver".
    How does this "metadata table" structure looks like. Is it more generic ?
    Really appreciate your time and help/suggestions.

    Joel,
    Thanks for your response. sorry, i meant to say that "the current application does not use APEX but will look into it".
    To build this is an utterly non-trivial exercise. Oh - it may not be so hard to save session state to a table when you POST a page. But you may want to reference this in many places, and it's a question of can you change all of these references to indirect references from session state in your application.In order to free up the load on webserver, we want to maintain session management in database. Could you please explain the above little more :
    How do we maintain the "user session" with "database table" ?
    Do we need to store "session data" at java object level or by page in database table ? How does the structure of this "metadata table" looks like.
    Thanks for your time.

  • Japanese and English together in database table?

    Hi all, on to my next challenge... ;-)
    I'm wondering if there are any issues with database tables that contain both Japanese and English (Roman) characters. I'm in the process of establishing an online language-learning site that will target (mostly) customers in Japan. As part of the registration process, I need to collect names in kanji (Japanese characters) along with other information in roman script (email, username, password, etc.).
    Right now I have these fields set to utf8_unicode_ci collation. Is this correct? Am I confusing character set with collation? I doubt very many of you have experience in this area, but if you do I'd love to hear from you.
    David

    Hi,
    I don´t know if my answer is of help in your particular situation -- however, I once made a CMS with ADDT where form pages had to contain both english & russian input fields, I succeeded having them display the respective chars differently this way:
    1. setting the page´s "content-type" to UTF-8
    2. no need to apply something to the "english" aka roman form fields, but...
    3. adding the following bold stuff to the "value" of a russian field, example for PHP:
    " size="100" maxlength="240" />
    I actually didn´t define any "collation" for the MySQL database, so I can´t say something about that.
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Select record from database table

    how to select a record from data-base table for current month in module-pool, i.e if current month is august then records selected should between 1/08/10 to 31/08/10.
    And, i also want to select records for last month i.e if current month is august then records selected should be between 1/07/10 to 31/07/10.
    And one thing more, it should work for every scenario. Like for months are changing then it should work according to that.
    Example: If month changes to October then current month ll be October and last month ll become September.
    Plz help me out.
    Moderator message: you chose a better forum this time, but the question is still too basic to be asked here, please (re)search yourself first, these forums are not catering to beginners.
    locked by: Thomas Zloch on Aug 8, 2010 9:41 PM

    Hi Nishant,
    You can use the option <b>ORDER BY </b> in your SELECT clause.
    This is the SAP Documentation for <b>ORDER BY </b> option.
    <i>Variant 1</i>
    <b>...ORDER BY PRIMARY KEY</b>
    <b>Effect</b>
    Sorts the selected lines in ascending order by the primary key of the database table. This variant is only permitted for SELECT * ....
    <i>Notes</i>
    Since views do not have a primary key, specifying ORDER BY PRIMARY KEY only makes sense with database tables. If, however, you do specify ORDER BY PRIMARY KEY with a view, all fields of the view are sorted in ascending order.
    <i>Variant 2</i>
    <b>ORDER BY f1 ... fn</b>
    <i>Effect</i>
    Sorts the selected records in ascending order by the specified column references f1 ... fn. If a list is also specified in the SELECT clause, the column references f1, ..., fn must appear in this list.
    By supplementing the statement with DESCENDING, you can sort in descending order using any of the fields f1, ..., fn.
    The default sort sequence is ascending order, but you can make this explicit by adding the addition ASCENDING.
    Consider this code this will select the latest 10 records form DB table(Note can use <b>Variant 2</b> for DB tables also.
    REPORT zarun_1.
    DATA : it_mara TYPE STANDARD TABLE OF mara WITH HEADER LINE.
    START-OF-SELECTION.
      SELECT * FROM mara
                INTO TABLE it_mara
                <b>UP TO 10 ROWS                "No of rows you need(give 1 here)
               ORDER BY matnr DESCENDING.    "Specify the Key Fields here.</b>
      LOOP AT it_mara.
        WRITE : / it_mara-matnr,
                  it_mara-mtart.
      ENDLOOP.
    Regards,
    Arun Sambargi.
    Message was edited by: Arun Sambargi

  • Difference between Infotype and Database table

    Hi all,
    in SAP ABAP-HR we have the concept of INFOTYPE. will anybpdy please tell me , in simple word, what exactly is it? and what are the difference of INFOTYPE with DATABASE TABLE.
    Anirban Bhattacharjee

    hi,
        infotypes contains group of logically related fields on a single screen (just like TABLE) and which is bounded by TIME CONSTRIANT (no time constrint for table).
    main diffarence is TIME CONSTRAINT, means validity period of data records in infotypes based on time constrint only.
    for more information on time constrint follow this link.........
    http://help.sap.com/saphelp_erp2005/helpdata/en/48/35c9f24abf11d18a0f0000e816ae6e/content.htm
    each infotype contains, its corresponding database table.
    ex: 0002---> personal information.
         its database table: pa0002.
        the table pa0002 contains four strctures pakey, pshd1, ps0002 and ci_p0002.
        pakey-->contains key fields information.
        psdh1--->contains last logon detils (usename....)
        ps0002--->contains infotype specific fields.
        ci_p0002--> for furthur addinf an any extra fields
    Edited by: Ashok Reddy on Jun 25, 2008 2:12 PM

  • Views Vs Database Tables

    What is better to use -  Views or Database Tables

    Hi,
    <b>VIEWS</b>
    There are 4 types.
    Database View (SE11)
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set.
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - Help View ( SE54)
    Help views are used to output additional information when the online help system is called.
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view.
    - Projection View
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    - Maintenance View ( SE54 )
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Please have a look at below link. It will help you.
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed06446011d189700000e8322d00/frameset.htm
    for more detailed info look on:
    http://www.sap-img.com/abap/what-is-the-different-types-and-usage-of-views.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+dictionary&
    <b>TABLES</b>
    Pool Tables
    1) Many to One Relationship.
    2) Table in the Dictionary has the different name, different number of fields, and the fields have the different name as in the R3 Table definition.
    3) It can hold only pooled tables.
    cluster Tables:
    1) These are logical tables that are arranged as records of transparent tables.
    2) One cannot use Native SQL on these tables (only Open SQL).
    3) They are not manageable directly using database system tools.
    These two table are used to store system data and onother for configural data.
    if u want to fetch the data from DB table u need to go for trasperent tables only.
    Bcoz transperent tables are one - one relation.
    Refer to this link
    http://help.sap.com/saphelp_nw04/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm
    INTERNAL TABLES
    There are 3 types of Internal tables.
    Standard Internal Tables:
    Standard tables have a linear index. You can access them using either the index or the key. If you use the key, the response time is in linear relationship to the number of table entries. The key of a standard table is always non-unique, and you may not include any specification for the uniqueness in the table definition.
    This table type is particularly appropriate if you want to address individual table entries using the index. This is the quickest way to access table entries. To fill a standard table, append lines using the (APPEND) statement. You should read, modify and delete lines by referring to the index (INDEX option with the relevant ABAP command). The response time for accessing a standard table is in linear relation to the number of table entries. If you need to use key access, standard tables are appropriate if you can fill and process the table in separate steps. For example, you can fill a standard table by appending records and then sort it. If you then use key access with the binary search option (BINARY), the response time is in logarithmic relation to the number of table entries.
    Sorted Internal Tables:
    Sorted tables are always saved correctly sorted by key. They also have a linear key, and, like standard tables, you can access them using either the table index or the key. When you use the key, the response time is in logarithmic relationship to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique, or non-unique, and you must specify either UNIQUE or NON-UNIQUE in the table definition. Standard tables and sorted tables both belong to the generic group index tables.
    This table type is particularly suitable if you want the table to be sorted while you are still adding entries to it. You fill the table using the (INSERT) statement, according to the sort sequence defined in the table key. Table entries that do not fit are recognised before they are inserted. The response time for access using the key is in logarithmic relation to the number of table entries, since the system automatically uses a binary search. Sorted tables are appropriate for partially sequential processing in a LOOP, as long as the WHERE condition contains the beginning of the table key.
    Hashed Internal Tables:
    Hashes tables have no internal linear index. You can only access hashed tables by specifying the key. The response time is constant, regardless of the number of table entries, since the search uses a hash algorithm. The key of a hashed table must be unique, and you must specify UNIQUE in the table definition.
    This table type is particularly suitable if you want mainly to use key access for table entries. You cannot access hashed tables using the index. When you use key access, the response time remains constant, regardless of the number of table entries. As with database tables, the key of a hashed table is always unique. Hashed tables are therefore a useful way of constructing and
    using internal tables that are similar to database tables.
    Regards,
    Priyanka.

  • After REFRESH the cached object is not consistent with the database table

    After REFRESH, the cached object is not consistent with the database table. Why?
    I created a JDBC connection with the Oracle database (HR schema) using JDeveloper(10.1.3) and then I created an offline database (HR schema)
    in JDeveloper from the existing database tables (HR schema). Then I made some updates to the JOBS database table using SQL*Plus.
    Then I returned to the JDeveloper tool and refreshed the HR connection. But I found no any changes made to the offline database table JOBS in
    JDeveloper.
    How to make the JDeveloper's offline tables to be synchronized with the underling database tables?

    qkc,
    Once you create an offline table, it's just a copy of a table definition as of the point in time you brought it in from the database. Refreshing the connection, as you describe it, just refreshes the database browser, and not any offline objects. If you want to syncrhnonize the offline table, right-click the offline table and choose "Generate or Reconcile Objects" to reconcile the object to the database. I just tried this in 10.1.3.3 (not the latest 10.1.3, I know), and it works properly.
    John

Maybe you are looking for

  • TS1382 My ipod classic is no longer displaying the ARTISTS category. how do I get it back?

    not sure why. any suggestions as to how to get the Category back into the display?

  • Reg dynamically displaying records from database into a jsp page

    I am working in a project which is using struts and hibernate.In a class I gave code for retrieving data from a table and I put it in a list. List retrieveList; public List getRetrieveList() { String SQL_QUERY ="from student s"; Query query = session

  • Release management

    Hi , I am supposed to create these procedures through program .Anyone please give me the program to create the PO release strategy & Purchase Requisition release strategy. Thanks

  • How do I embed into php ?

    Hi every one I am newborn in EA and I did my first work: a new menu for my web site. The file that I see is a "html", I need to embed the code in  "Top_menu.php" that is included in "default.php" and in the all other files of the site for my menu. Is

  • Wait time within a While Loop

    I was always under the impression that Wait Timers (e.g. Wait and Wait Ms Multiple) always executed last within a while loop. As I'm reading up on timing of real-time loops I'm finding that NI suggested using a stacked sequence structure to force tim