Values are not populating...

After selecting the data from LOV the values are not populating in the respective fields.
i've checked the 'LOV' no problem in that,but im think below coding have a problem.
declare
     b boolean;
begin
     :global.job:=null;
     clear_form(no_validate);     
     b:=show_lov('view');
     :GLOBAL.ADDNEW1:=0;
--     go_block('JOB_CARD_MAIN');
     GO_ITEM('JOB_CARD_MAIN.BRANCH_CODE');
     set_block_property('job_card_main',default_where,'job_no='||chr(39)||:job_card_main.job_no||chr(39));
     execute_query(no_validate);------after this line get execute the values get disappear from the field
     insert into da.mylog(username,tname,mdate,oper) values(user(),'Job Creation',sysdate,'S');
     commit;
end;
Pls help..

Which trigger do you have this code in? I'm guessing it is a Key-ListVal trigger.
Have you tested the WHE RE clause in SQL*Plus to ensure it returns a record set? Most likely, the query returns no rows which could explain why the block is empty. Also, why are you clearing the entire Form instead of just the JOB_CARD_MAIN data block? Perhaps you should try:
Go_Block('JOB_CARD_MAIN');
Clear_Block(NO_VALIDATE);Also, the EXECUTE_QUERY built-in does not have a NO_VALIDATE parameter. It only supports the following parameters:
ALL_RECORDS
FOR_UPDATE
or the combination of the two (ALL_RECORDS,FOR_UPDATE). It also allows you to set the Locking mechinism by passing the parameter NO_WAIT.
Just a suggestion, try your query in SQL*Plus to make sure it produces a record set and Comment out all the extra stuff in your code and only keep the SHOW_LOV, CLEAR_BLOCK, SET_BLOCK_PROPERTY and EXECUTE_QUERY to see if a row is returned. If yes, then add the rest of your code back one line at a time.
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Report Painter values are not populating for a particular cost center

    Report Painter(GR55) values are not populating for a particular cost center for the months of April 1 2011 where as for May onwards values are displaying correctly..We have check the transaction code KSB1 for this cost center there are some values posted for the period of April..
    Can any one help me to find out where exactly the issue is and how to resolve the same..

    Please check your variables in your report.

  • JCA adapter outbound connection properties values are not populating ..

    Hi ,
    I am struggling to find a solution for this problem.
    My managed connection factory impl has all the properties as per the java bean spec. I have also implemented hashcode and equals but i still don't see the custom outbound custom properties information populated into my ManagedConnectionFactoryImpl properties. I checked property names in both weblogic-ra.xml and ra.xml. The names are consistent.
    As per this discussion (BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite i saved the properties using Keyboard entered. I restarted my server and also i can see the saved values
    I also verified the Plan.xml that gets created when the values are updated. Please find the provided the code snippets. Any help appreciated.
    Please let me know if i need to post this in a different forum. We use weblogic 10.3.5 application server. Let me know for any more details.
    Thanks,
    Sri
    For more information:
    Following is the managed connection factory Impl
    package com.cgi.cml.common.sample.connector.ra.outbound;
    import java.beans.PropertyChangeListener;
    import java.beans.PropertyChangeSupport;
    import java.io.PrintWriter;
    import java.io.Serializable;
    import java.util.Iterator;
    import java.util.Set;
    import javax.resource.ResourceException;
    import javax.resource.spi.ConnectionManager;
    import javax.resource.spi.ConnectionRequestInfo;
    import javax.resource.spi.ManagedConnection;
    import javax.resource.spi.ManagedConnectionFactory;
    import javax.security.auth.Subject;
    public class SampleManagedConnectionFactoryImpl
         implements ManagedConnectionFactory, Serializable {
    private transient PropertyChangeSupport changes =new PropertyChangeSupport(this);
         private String databaseFileName = "";
    private String database = "";
    private String user = "";
    private String password = "";
    private String dtdPath = "";
    private String protocol = "";
    private String serverAddress = "";
    private Boolean debugMode = false;
         private PrintWriter writer;
         * Constructor for SampleManagedConnectionFactoryImpl
         public SampleManagedConnectionFactoryImpl() {
         * @see ManagedConnectionFactory#createConnectionFactory(ConnectionManager)
         @Override
         public Object createConnectionFactory(ConnectionManager cm)
              throws ResourceException {
              return new MomapiConnectionFactoryImpl(this, cm);
         * @see ManagedConnectionFactory#createConnectionFactory()
         @Override
         public Object createConnectionFactory() throws ResourceException {
              return new MomapiConnectionFactoryImpl(this, null);
         * @see ManagedConnectionFactory#createManagedConnection(Subject, ConnectionRequestInfo)
         @Override
         public ManagedConnection createManagedConnection(
              Subject subject,
              ConnectionRequestInfo cxRequestInfo)
              throws ResourceException {
              System.out.println("createdManaged Connection called");
              return new SampleManagedConnectionImpl(subject,cxRequestInfo);
         * @see ManagedConnectionFactory#matchManagedConnections(Set, Subject, ConnectionRequestInfo)
         @Override
         public ManagedConnection matchManagedConnections(
              Set connectionSet,
              Subject subject,
              ConnectionRequestInfo cxRequestInfo)
              throws ResourceException {
              System.out.println("match managed Connections called---->"+getDatabaseFileName());
              ManagedConnection match = null;
              Iterator iterator = connectionSet.iterator();
              if (iterator.hasNext()) {
                   match = (ManagedConnection) iterator.next();
              return match;
         * @see ManagedConnectionFactory#setLogWriter(PrintWriter)
         @Override
         public void setLogWriter(PrintWriter writer) throws ResourceException {
              this.writer = writer;
         * @see ManagedConnectionFactory#getLogWriter()
         @Override
         public PrintWriter getLogWriter() throws ResourceException {
              return writer;
    * Checks whether this instance is equal to another.
    * @param obj other object
    * @return true if the two instances are equal, false otherwise
         @Override
    public boolean equals(Object obj)
              System.out.println("equals method called");          
    boolean equal = false;
    if (obj != null)
    if (obj instanceof MomapiManagedConnectionFactoryImpl)
         SampleManagedConnectionFactoryImpl other = (SampleManagedConnectionFactoryImpl) obj;
    equal = (this.databaseFileName).equals(other.databaseFileName) &&
    (this.database).equals(other.database) &&
    (this.user).equals(other.user) &&
    (this.password).equals(other.password) &&
    (this.dtdPath).equals(other.dtdPath) &&
    (this.protocol).equals(other.protocol) &&
              (this.serverAddress).equals(other.serverAddress) &&
              (this.debugMode==other.debugMode);
              System.out.println("equals method returning -->"+ equal);
    return equal;
    * Returns the hashCode of the ConnectionRequestInfoImpl.
    * @return the hash code of this instance
    public int hashCode()
    //The rule here is that if two objects have the same Id
    //i.e. they are equal and the .equals method returns true
    // then the .hashCode method must return the same
    // hash code for those two objects      
    int hashcode = new String("").hashCode();
    if (databaseFileName != null)
    hashcode += databaseFileName.hashCode();
    if (database != null)
    hashcode += database.hashCode();
    if (user != null)
    hashcode += user.hashCode();
    if (password != null)
    hashcode += password.hashCode();
    if (dtdPath != null)
    hashcode += dtdPath.hashCode();
    if (protocol != null)
    hashcode += protocol.hashCode();
    if (serverAddress != null)
    hashcode += serverAddress.hashCode();
              System.out.println("hascode method called and the value is -->"+hashcode);
    return hashcode;
    * Associate PropertyChangeListener with the ManagedConnectionFactory,
    * in order to notify about properties changes.
    * @param lis the PropertyChangeListener to be associated with the
    * ManagedConnectionFactory
    public void addPropertyChangeListener(PropertyChangeListener lis)
         System.out.println("addPropertyChangeListener called");
    changes.addPropertyChangeListener(lis);
    * Delete association of PropertyChangeListener with the
    * ManagedConnectionFactory.
    * @param lis the PropertyChangeListener to be removed
    public void removePropertyChangeListener(PropertyChangeListener lis)
         System.out.println("removePropertyChangeListener called");      
    changes.removePropertyChangeListener(lis);
    public String getDatabaseFileName() {
              return databaseFileName;
         public void setDatabaseFileName(String databaseFileName) {
              this.databaseFileName = databaseFileName;
         public String getDatabase() {
              return database;
         public void setDatabase(String database) {
              System.out.println("hellloooooooooooo---->"+database);
              this.database = database;
         public String getUser() {
              return user;
         public void setUser(String user) {
              this.user = user;
         public String getPassword() {
              return password;
         public void setPassword(String password) {
              this.password = password;
         public String getDtdPath() {
              return dtdPath;
         public void setDtdPath(String dtdPath) {
              this.dtdPath = dtdPath;
         public String getProtocol() {
              return protocol;
         public void setProtocol(String protocol) {
              this.protocol = protocol;
         public String getServerAddress() {
              return serverAddress;
         public void setServerAddress(String serverAddress) {
              this.serverAddress = serverAddress;
         public Boolean isDebugMode() {
              return debugMode;
         public void setDebugMode(Boolean debugMode) {
              this.debugMode = debugMode;
         public PrintWriter getWriter() {
              return writer;
         public void setWriter(PrintWriter writer) {
              this.writer = writer;
    weblogic-ra.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-connector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
         xmlns:javaee="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-connector/1.0/weblogic-connector.xsd"
         xmlns="http://xmlns.oracle.com/weblogic/weblogic-connector">
         <jndi-name>jca/sampleRA</jndi-name>
         <enable-access-outside-app>true</enable-access-outside-app>
         <outbound-resource-adapter>
              <connection-definition-group>
                   <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
                   <connection-instance>
                        <jndi-name>jca/sampleCon</jndi-name>
    <connection-properties>
    <properties>
    <property>
    <name>databaseFileName</name>
    </property>
    <property>
    <name>database</name>
    </property>
    <property>
    <name>user</name>
    </property>
    <property>
    <name>password</name>
    </property>
    <property>
    <name>dtdPath</name>
    </property>
    <property>
    <name>protocol</name>
    </property>
    <property>
    <name>serverAddress</name>
    </property>
    <property>
    <name>debugMode</name>
    </property>
    </properties>
    </connection-properties>                
                   </connection-instance>
              </connection-definition-group>
         </outbound-resource-adapter>
    </weblogic-connector>
    ra.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <connector xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java/sun.com/xml/ns/j2ee/connector_1_5.xsd" version="1.5">
    <display-name>MomapiConnector</display-name>
    <vendor-name>CGI</vendor-name>
    <eis-type>SAMPLE</eis-type>
    <resourceadapter-version>1.0</resourceadapter-version>
    <license>
    <license-required>false</license-required>
    </license>
    <resourceadapter>
    <resourceadapter-class>com.cgi.cml.common.sample.connector.ra.SampleResourceAdapterImpl</resourceadapter-class>
    <outbound-resourceadapter>
    <connection-definition>
    <managedconnectionfactory-class>com.cgi.cml.common.sample.connector.ra.outbound.SampleManagedConnectionFactoryImpl</managedconnectionfactory-class>
              <config-property>
         <config-property-name>databaseFileName</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
    <config-property>
         <config-property-name>database</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>user</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>password</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>dtdPath</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>protocol</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>serverAddress</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>debugMode</config-property-name>
         <config-property-type>java.lang.Boolean</config-property-type>
         </config-property>
              <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
    <connectionfactory-impl-class>com.cgi.cml.common.my.connector.ra.outbound.SampleConnectionFactoryImpl</connectionfactory-impl-class>
    <connection-interface>javax.resource.cci.Connection</connection-interface>
    <connection-impl-class>com.cgi.cml.common.sample.connector.ra.outbound.SampleConnectionImpl</connection-impl-class>
    </connection-definition>
    <transaction-support>NoTransaction</transaction-support>
         <reauthentication-support>false</reauthentication-support>
    </outbound-resourceadapter>
    </resourceadapter>
    </connector>
    Edited by: 931395 on May 2, 2012 7:43 AM
    Edited by: 931395 on May 2, 2012 8:15 AM

    Arun,
    I tried, no luck and it is giving me the following error. Once the Plan.xml is created I am usinng "update" button on the console to redeploy the application using Plan.xml. When I take this route it gives me 2 options (1. update this application in place with new deployment plan 2. redploy this application using the following deployment files).
    When I use the second option eventhough there is a change in the Plan.xml nothing happens. If I use the first option then I am getting the following exception. If I put the module-override for application then only the ear is getting deployed.
    Thanks,
    Sridhar
    [BaseFlow] : No UpdateListener found or none of the found UpdateListeners accepts URI
    <May 9, 2012 9:37:47 AM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1336570667598' for task '10'. Error is: 'weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.'
    weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.
         at weblogic.application.internal.flow.DeploymentCallbackFlow.addPendingUpdates(DeploymentCallbackFlow.java:375)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.makePendingUpdates(DeploymentCallbackFlow.java:394)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepareUpdate(DeploymentCallbackFlow.java:407)
         at weblogic.application.internal.BaseDeployment$PrepareUpdateStateChange.next(BaseDeployment.java:685)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    >
    <May 9, 2012 9:37:47 AM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating update task for application 'SampleApp'.>
    <May 9, 2012 9:37:47 AM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.
         at weblogic.application.internal.flow.DeploymentCallbackFlow.addPendingUpdates(DeploymentCallbackFlow.java:375)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.makePendingUpdates(DeploymentCallbackFlow.java:394)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepareUpdate(DeploymentCallbackFlow.java:407)
         at weblogic.application.internal.BaseDeployment$PrepareUpdateStateChange.next(BaseDeployment.java:685)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    >
    <May 9, 2012 9:37:47 AM EDT> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.
         at weblogic.application.internal.flow.DeploymentCallbackFlow.addPendingUpdates(DeploymentCallbackFlow.java:375)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.makePendingUpdates(DeploymentCallbackFlow.java:394)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepareUpdate(DeploymentCallbackFlow.java:407)
         at weblogic.application.internal.BaseDeployment$PrepareUpdateStateChange.next(BaseDeployment.java:685)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepareUpdate(BaseDeployment.java:439)
         at weblogic.application.internal.EarDeployment.prepareUpdate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepareUpdate(DeploymentStateChecker.java:220)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepareUpdate(AppContainerInvoker.java:149)
         at weblogic.deploy.internal.targetserver.operations.DynamicUpdateOperation.doPrepare(DynamicUpdateOperation.java:130)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >

  • Possible Bug with SqlDataAdapter.Fillschema DataColumn.Unique values are not populated.

    Hi all,
    I have done a lot of searching for answer to this problem this evening and so far have not found a solution but have found multiple people with the same issue.
    When using SqlDataAdapter.FillSchema() from a table that contains a Primary Key and columns with Unique constraints the only DataColumn.Unique value to be populated is the Primary Key.
    From reading the MSDN entry for dbDataAdapter this is not the intended functionality
    Can anyone suggest avenues to try or where to raise this issue if the method truly is not functioning as intended?

    Hello HarborneD,
    >>When using SqlDataAdapter.FillSchema() from a table that contains a Primary Key and columns with Unique constraints the only DataColumn.Unique value to be populated is the Primary Key.
    From your description, it is not very clear how your table is defined, I tried to reproduce this issue with below table(not sure if it is similar with yours, if not, please share it with us):
    CREATE TABLE [dbo].[T20141230] (
    [ID] INT NOT NULL,
    [Name] NCHAR (10) NULL,
    [Birthday] DATETIME NULL,
    PRIMARY KEY CLUSTERED ([ID] ASC),
    CONSTRAINT uc_PersonID UNIQUE ([Name])
    And the code used to full the schema:
    SqlConnection con = new SqlConnection(@"Server=(localdb)\Projects;Database=ADO.NET;Trusted_Connection=True;");
    try
    con.Open();
    SqlCommand cmd = new SqlCommand("select * from [T20141230]", con);
    SqlDataAdapter da = new SqlDataAdapter(cmd);
    DataTable dt = new DataTable();
    da.FillSchema(dt, SchemaType.Mapped);
    da.Fill(dt);
    catch (Exception)
    finally
    con.Close();
    However, I could all columns populated with values from database. I used VS2013, .NET 4.5 and windows 8.1, you could have a try with my demo.
    >>Can anyone suggest avenues to try or where to raise this issue if the method truly is not functioning as intended
    If it is an exact issue which is not reported yet, you could post it to this site below:
    https://connect.microsoft.com/VisualStudio
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • PDF file opening with blank fields - the field values are not populated.

    Recently, our users have been facing this issue, "data not populating in the PDF fields".
    We are using FDF in PHP to load the PDF templates and apply the data to the PDF fields. This works fine on many adobe versions but showing empty fields in few adobe versions. For e.g It worked fine with Adobe Reader 10.1.3 but did not work in 11.0.
    This has been critical now as it is showing empty fields in IE11. Can you please help me overcome this issue.
    Thanks!

    All I can suggest is to try the latest Reader versions, i.e. 10.1.11 or 11.0.8.

  • Values are not populated to backing session bean from editable table!

    I have a table which has drop down list and checkbox columns. I binded table row group to an object list and binded selected properties of these columns to corresponding fields of object (#{currentRow.value['selected']}). However selected properties are not passed thru the backing bean. In action method i call the object.getSelected method and it always returns null. I am googling for 2 days but i could not find an obvious solution for this problem. please help! thanks in advance.

    put your bean code here, for resoving your problem with implicit object,

  • Values are not populating into Custom Context..

    Hi,
    Currently we are in CRM 2007(6.0), recently upgraded from SP 5 to SP 7. After upgrade one of the custom control is NOT getting populated with the values. When I click on the button, it's idsplaying CRM_UI_FRAME/WorkAreaViewSet on top of the window i.e. TITLE area. Iit's dispalying empty vlaues in 'display' mode. It supposed to display actual values. Before upgrade version it's working fine.
    I am new to CRM BOL, and not sure where to start and how to validate the functionality and where exactly the issue is? IT would be great if some one can help..and provide steps to analyse the issue. Thanks in Advance..

    Hi Mady_kris,
    If you turn on the following flag does it help?
    'Display Duplicate Variables Only Once' box in the
    workboox settings.
    thanks
    Orla.

  • Values are not populated properly - if then else conditon

    Hi,
    I 've a requirement like...
    If meinh = ZTU then lfimg/umrez else display the values of lfimg
    I 've used if then else condition afterthat i mapped to target field lfimg. But, when i check the queue the result displays correctly, but when i execute the mapping from Test tab it displays all the values for LFIMG
    My question here is ...Why the output is not display properly after i use if then else condition
    Help me how can i get proper values to display at target
    Kind regards,
    Y.Raj

    hi
    As my understanding you are giving both cases true and false the same input.
    If meinh = ZTU then lfimg/umrez else display the values of lfimg
    if meinh = ZTU
    then  umrez
    else  lfimg
    try this
    if still its not working write a simple UDF for the same.
    Regards
    Vijay

  • Custom Table Editor: values are not populated to the model

    H,
    I wrote a custom table renderer which uses JComboBox + editor, which seem to work (after editing, the displayed cell reflects the change) but after editing the table manually, the model is not altered when i call table.getModel();
    The editor part is as simple as
      class MPComboBoxEditor extends DefaultCellEditor {
            private final JComboBox box;
            public MPComboBoxEditor(JComboBox b) {
                super(b);
                this.box = b;
        }The renderer:
    public class CellRendererWithMPComboBox extends JLabel implements TableCellRenderer {
        private final Context c;
        private final JTable table;
        private DefaultTableCellRenderer rend = new DefaultTableCellRenderer();
        private JLabel label = new JLabel();
        public CellRendererWithMPComboBox(Context c, JTable table) {
            super();
            this.c = c;
            this.table = table;
         * Set this renderer to the given column
         * @param column
        public void setRendererTo(int column) {
            TableColumn col = table.getColumnModel().getColumn(column);
            col.setCellEditor(new JComboBoxEditor(JComboBox(<some values>)));
            col.setCellRenderer(this);
        @Override
        public Component getTableCellRendererComponent(JTable table, Object value,
                boolean isSelected, boolean hasFocus, int row, int column) {
            if (hasFocus && isSelected) {
                if (isSelected) {
                    setForeground(table.getSelectionForeground());
                    super.setBackground(table.getSelectionBackground());
                } else {
                    setForeground(table.getForeground());
                    setBackground(table.getBackground());
                 label.setText((value == null) ? "" : value.toString());
                return label;
            } else {
                label.setText((value == null) ? "" : value.toString());
                return label;
        }the model simply extends DeafultTableModel to get formatted numbers.
        @Override
        @SuppressWarnings("unchecked")
        public Object getValueAt(int row, int column) {
            Object o = super.getValueAt(row, column);
            Class t = getColumnClass(column);
            if (!t.getName().equals("java.lang.Object")) {
                if (o != null && (t.isAssignableFrom(Double.class) ||
                        t.isAssignableFrom(double.class) ||
                        t.isAssignableFrom(float.class) ||
                        t.isAssignableFrom(Float.class))) {
                    return FormatNumber.formatDezimal(Double.valueOf(o.toString()));
                } else {
                    return o;
            } else {
                return o;
        }Do i need to override some setValueAt method in the editor/renderer or something?
    Thanks one more time!
    Regards,
    Andreas

    I don't see any getModel() in your code extract. If the renderer renders it right after edition, then the value is probably correct in the model.
    Also, remember [this thread|http://forums.sun.com/thread.jspa?threadID=5396048], where it appeared you were not clear about which model you were looking at.
    Do i need to override some setValueAt method in the editor/renderer or something?No. But have you overridden the model's setValueAt?
    Edited by: jduprez on Jul 15, 2009 4:56 PM

  • Master data(0vtype) values are not showing in reports.

    Hi Gurus,
                 I have an info object '0VALTYPE' with 'TEXT'. I already loaded the data in
    for this object. but in reporting level i am getting the values # and 20(actual)
    even though it has so many vales(ex: 10(plan)etc). but all the values are not populating in the query.how to get all the values in reporting level.
    Thanks in advance.
    Thanks
    Raju.k

    Hi Raju,
    You have already confirmed, but still please go to infoobject 0VTYPE again and check the master data to see all values exits there.
    If yes and still in reporting you can not see those, try doing the following:
    1) Right click on 0VTYPE and click on "Activate Master Data", and/or
    2) Go to Menu --> select Attribute change run --> select 0VTYE and execute the changes.
    Regards
    Pankaj

  • Graphical mapping issue, repeated lines are not populating

    Hello All,
    i have mapping where i need to map source node and its coresponding subelements to target node and its subelemtns based on certains condition, which i did using If condition.
    Now my issue is, when mapped source node with condition , conditional field is not in the same node which i am mapping. It is in the parent node of the node which i am mapping. SO when i mapped to target node, only one occurence only its populating in target side even When lines repeated more than once its not populating all lines corespondingly. Please let me know how to populate all line items when i have validation field in parent node and child node and its subelemnts to be mapped to the target node. ( Both parent node and sub node in source and target node are unbounded) .
    Thanks in advance.
    Regards,
    Kalpana

    Thanks for your reply, My source structre looks like below.
    I have to map rows node and its coresponding fields to target node Lines which is unbounded and to its subelements when collection name = 'MATGRP_COLLN'.  I did it using if condition but , only one row tis getting populated in target LIne node. next repeated row values are not populating in target side.
    - <extensions>
    + <collection name="REGION_COLLN" />
    +  <collection name="DIVISION_COLLN" />
    + <collection name="DTL_PRCNG_COLLN" />
    + <collection name="COUNTRY_COLLN">
    - <collection name="MATGRP_COLLN">
    - <row>
    - <fields>
      <OBJECTID>-2147483540</OBJECTID>
      <UNIQUE_DOC_NAME>-21474835401248121690973</UNIQUE_DOC_NAME>
      <DISPLAY_NAME />
      <MATGRP_ITEM_NO>1</MATGRP_ITEM_NO>
      <MATGRP_NAME>10100000</MATGRP_NAME>
      </fields>
      </row>
    - <row>
    - <fields>
      <OBJECTID>-2147483539</OBJECTID>
      <UNIQUE_DOC_NAME>-21474835391248121706160</UNIQUE_DOC_NAME>
      <DISPLAY_NAME />
      <MATGRP_ITEM_NO>2</MATGRP_ITEM_NO>
      <MATGRP_NAME>10101500</MATGRP_NAME>
      </fields>
      </row>
      </collection>
      </extensions>
      </object>
      </objects>
      </fcidataexport>

  • RFC model values are not shown in table

    Hi there,
    I can't gather the values from the RFC FM in my table, while this has been done exactly the same way as other tables which do get values... Any reason for this?
    I have 2 DC's:
    -data DC which acts as a container for the RFC-imported datamodels
    -bupa DC in which the implementation is done
    Custom Controller CuCoMain (from bupa DC):
    Context:
    OutputRelContacts (model node bound to model BuPaRelationsModel.__Crm_Bb_Bupa_Rels_Output)
    cardinality: 0...n; selection: 0...1
    > Rel_Contacts_Result (node of OutputRelContacts)
    => bound to BuPaRelationsModel.__Crm_Bb_Bp_Rel_Res_Ds
    cardinality: 0..n; selection: 0...1
    There is no context input necessary since 'related contacts' is dependent of the bpnr which I pass as parameter (see below).
    Implementation in CuCoMain
    public void TriggerAccConSearch( java.lang.String Mode, java.lang.String BuPaNr )
        //@@begin TriggerAccConSearch()
         //also see comments in TriggerBuPaSearch
         accContactsInput = new __Cernum__Crm_Bb_Bupa_Rels_Input();
         accContactsInput.setRel_Mode(Mode);
         accContactsInput.setBp_Number(BuPaNr);
         try{
              accContactsInput.execute();
              wdContext.nodeOutputRelContacts().invalidate();
              accContactsOutput = accContactsInput.getOutput();
              this.wdThis.wdGetContext().nodeOutputRelContacts().bind(accContactsOutput);
         catch(Exception e){
              msgMngr.reportException(e.getMessage(),true);
        //@@end
    Context in view
    Context node OutputAccContacts (bound to CuCoMain.OutputRelContacts.Rel_Contacts_Result)
    cardinality: 0...n; selection: 0...1
    Implementation to trigger TriggerAccConSearch:
    String SelectedBuPaNr = this.wdThis.wdGetContext().nodeVOutputDetails().currentVOutputDetailsElement().getBpnumber();
         String RelMode = "C";
         this.wdThis.wdGetCuCoMainController().TriggerAccConSearch(RelMode, SelectedBuPaNr);
    RelMode & SelectedBuPaNr are filled with values.
    So what did I do wrong...? I'm out of inspiration; I've reimported the model, rebuilt the entire application, redone the context, redone the implementation but up until now nothing worked.
    Any help is greatly appreciated
    KR
    A

    Hi there,
    Yes, as stated earlier, my RFC is being called by the application and the parameters are correct (input & output). Somehow, these values just don't get transferred to the node.
    Also, you can try the following piece of code before the RFC call at the Dynpro end :
    IWDMessageManager manager = wdComponentAPI.getMessageManager();
    try{
    wdContext.current<RFC_Name>_InputElement().modelObject().execute();
    wdContext.node<Output_Node_Name>().invalidate();
    } catch(WDDynamicRFCExecuteException ce) {
    manager.reportException(ce.getMessage(), false);
    I don't think that will help in my situation. In my situation there are 3 tables which have to be filled by the nodes.
    These 3 tables are all based on the same RFC (with different input parameters). The weird thing is that one of these tables works perfectly and the others just don't work. Even weirder is that all the RFC-uses are implemented the same. (See below)
    The working RFC call (table is populated):
    public void TriggerAccRelSearch( java.lang.String BuPaNr, java.lang.String Mode )
        //@@begin TriggerAccRelSearch()
         //also see comments in TriggerBuPaSearch
         accRelsInput = new __Crm_Bb_Bupa_Rels_Input();
         accRelsInput.setRel_Mode(Mode);
         accRelsInput.setBp_Number(BuPaNr);
         try{
              wdContext.nodeOutputRelationships().invalidate();
              accRelsInput.execute();
              accRelsOutput = accRelsInput.getOutput();
              //wdComponentAPI.getMessageManager().reportWarning("TriggerAccRelSearch Result of RFC START" + accRelsOutput.getRel_Result().listIterator()..toString() + "TriggerAccRelSearch Result of RFC START");
              //wdComponentAPI.getMessageManager().reportWarning("First line: " + accRelsOutput.getRel_Result().get(0).toString());
              //currentRel_ResultElement().getRelationship().toString());
              this.wdThis.wdGetContext().nodeOutputRelationships().bind(accRelsOutput);
              wdComponentAPI.getMessageManager().reportSuccess("test accrelsearch: " + wdContext.nodeOutputRelationships().nodeRel_Result().currentRel_ResultElement().getAttributeAsText("Relationship").toString());
         catch(Exception e){
               msgMngr.reportException(e.getMessage(),true);
         finally{
              DynamicRFCModel modelinst;
              modelinst = (DynamicRFCModel) WDModelFactory.getModelInstance(BuPaRelationsModel.class);
              modelinst.disconnectIfAlive();     
        //@@end
    The non-working RFC-calls (tables are NOT populated):
    public void TriggerAccReltdEmpSearch( java.lang.String Mode, java.lang.String BuPaNr )
        //@@begin TriggerAccReltdEmpSearch()
         accReltdEmplInput = new __Crm_Bb_Bupa_Rels_Input();
         //accReltdEmplOutput = new __Crm_Bb_Bupa_Rels_Output();
         accReltdEmplInput.setRel_Mode(Mode);
         accReltdEmplInput.setBp_Number(BuPaNr);
         try{
              wdContext.nodeOutputReltdEmp().invalidate();
              accReltdEmplInput.execute();
              accReltdEmplOutput = accReltdEmplInput.getOutput();
              this.wdThis.wdGetContext().nodeOutputReltdEmp().bind(accReltdEmplOutput);
              //wdComponentAPI.getMessageManager().reportSuccess("test accReltEmp: " + wdContext.nodeOutputReltdEmp().nodeReltd_Emp_Result().currentReltd_Emp_ResultElement().getAttributeAsText("Relationship").toString());          
         catch(Exception e){
              msgMngr.reportException(e.getMessage(), true);
              msgMngr.reportSuccess("error: " + e.getCause());
         finally{
              DynamicRFCModel modelinst;
              modelinst = (DynamicRFCModel) WDModelFactory.getModelInstance(BuPaRelationsModel.class);
              modelinst.disconnectIfAlive();          
        //@@end
    and:
    public void TriggerAccConSearch( java.lang.String Mode, java.lang.String BuPaNr )
        //@@begin TriggerAccConSearch()
         //also see comments in TriggerBuPaSearch
         accContactsInput = new __Crm_Bb_Bupa_Rels_Input();
         accContactsInput.setRel_Mode(Mode);
         accContactsInput.setBp_Number(BuPaNr);
         try{
              wdContext.nodeOutputRelContacts().invalidate();
              accContactsInput.execute();
              accContactsOutput = accContactsInput.getOutput();
              wdComponentAPI.getMessageManager().reportWarning("TriggerAccConSearch Result of RFC START" + accContactsOutput.getRel_Result().toString() + "TriggerAccConSearch Result of RFC START");
              this.wdThis.wdGetContext().nodeOutputRelContacts().bind(accContactsOutput);
         catch(Exception e){
              msgMngr.reportException(e.getMessage(),true);
         finally{
              DynamicRFCModel modelinst;
              modelinst = (DynamicRFCModel) WDModelFactory.getModelInstance(BuPaRelationsModel.class);
              modelinst.disconnectIfAlive();     
        //@@end
    Parameter definition:
    __Crm_Bb_Bupa_Rels_Input accRelsInput;
    __Crm_Bb_Bupa_Rels_Output accRelsOutput;
    __Crm_Bb_Bupa_Rels_Input accReltdEmplInput;
    __Crm_Bb_Bupa_Rels_Output accReltdEmplOutput;
    __Crm_Bb_Bupa_Rels_Input accContactsInput;
    __Crm_Bb_Bupa_Rels_Output accContactsOutput;
    The table dataSources have all been bound to the context properly, as well as the table columns. Also, in the backend the correct values have been passed and retrieved.

  • Fund Value is not populated in Vendor payment

    Hi All
    We have created new balance sheet account and we are trying to post the document. Fund value is not automatically populated.  Normally during posting commitment item related fund value is automatically populated.
    If you have any idea how to populate the fund value automatically for newly created GL Account.
    Note: Transaction code FMDERIVE we have mentioned the FUND and commitment item still the problem persist.
    Regards
    K.Gunasekar
    Edited by: KGUNASEKAR on Aug 30, 2010 12:29 PM
    Edited by: KGUNASEKAR on Aug 30, 2010 12:44 PM

    Hi
    When i am trying to post the document by manually simulation itself i am getting the fund value automatically but during manual posting without simulation i am trying to post the document at that time fund value is not populated automatically. Please help.
    Regards
    K.Gunasekar

  • Grand total values are not matching with Detail report

    Report has grand totals and when I drill to the detail report, grand total values are NOT matching with parent report totals, I did some analysis but I'm clueless on this issue.
    Please provide your thoughts and insight on this issue..
    Thanks

    is your summary and detail reports hitting different facts, like summary hitting aggregate and detail report hitting it's corresponding detail level fact..?
    if then,
    From Front-end:
    Fix the filter values in detail report that are passing from master report then try delete each columns then check the grand total. If you found your values is matching by deleting particular column then you need to investigate what is the issue around with that dimension table..
    From Database side:
    1. check first aggregate table has proper aggregate data of it's detail..
    2. Take the detail report obiee generated query and try to comment each dimension table and it's corresponding joins to the facts, (before, this delete all the dimensional columns and other measures from select statement and put only that measure where you are getting wrong value, so that you need not to comment all the select and group by columns which saves your time.. ). Need to check by commenting each dimensional wid and it's table from clause, if you found that values is matching then there is some problem with wid columns data population in your ETL.
    Is that BI-Apps project?
    btw, whtz ur name?

  • In Query key figure are not populated

    Hi Gurus,
    i am using a RSCRMBAPI to get the out put of my query into a Ztable but when i run my program the Ztable is getting data but no key figures are getting populated.
    plz help
    thanks
    neelu

    Hi gurus,
    i just have 1.6lac records with six keyfigures so i think its not the problem of limitation...
    then can somebody help me how to get rid of this, no key figure values are getting populated
    thanks and regards
    Neel

Maybe you are looking for