Let me Enable the Data base Updations in my View
Hi,
I am learing J2EE myself. I would like to know wether the Entity Bean will show me the current updation in a List Component whenever the admin changes the record in the core database whitout any intervention of the user in the View?
If it is possible please send me a set of EJB and DB sample code. If it is not possible please give me some other suggestion.
Thank You.
Hi,
I am learing J2EE myself. I would like to
know wether the Entity Bean will show me the current
updation in a List Component whenever the admin
changes the record in the core database whitout any
intervention of the user in the View?
If it is possible please send me a set of
EJB and DB sample code. If it is not possible please
give me some other suggestion.It's a pure configuration issue (google on e.g. EJB legacy database and your appserver)
Similar Messages
-
Function module updating the data base table
Hi,
This post is regarding the function module not updating the data base table.
I am calling the FM SD_SHIPMENT_HEADER_CHANGE inside the ZFM. It's returning success an changing the table c_xvttk_new with the new TDLNR value. But it's not updating the Shipment table VTTK-TDLBR or VT02N Forwarding agent.
When I directly updating Forwarding agent in VT02N it's updating fine.
Please let me know what the extra step need to be included to update or COMMIT the FM for updating
Forwarding Agent(VTTK-TDLNR).
Best Regards,
Maheshhi friend,
This link wont five u the complete help but if u ananyse it then it might provide u some idea......
BAPI change shipment doc
regards
kanishak -
I can't change the country of the billing address. Now I'm living in another country and I cancelled the account I had registered. Now I can't update anything and they don't let me change the data. What could I do?
Of course you can update now. BTW, how exactly did you cancel this, did you contact AST or what?
-
How to know who has created a particular record in the data base table
Hi All...
Can any one tell me how to track the information about who has entered the records in to the data base table....
Thanks in advance...You could check the Created By and Created On fields if your tables contains these fields.
OR
You could check the table DBTABLOG if table logging is enabled for the table
OR
You could check the Change document tables CDHDR and CDPOS.
-Kiran
Please mark useful answers -
My data are not gettitng enterted in the data base
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.sql.*;
public class Main implements ActionListener
Frame mainf;
MenuBar mb;
MenuItem List,admitform,inquiry,exit;
Menu newm,update;
Inquiry iq;
Admit ad;
Register reg;
Main()
mainf=new Frame(" Engg College V/S Mumbai University ");
mb=new MenuBar();
newm=new Menu(" New ");
update=new Menu(" Update ");
List=new MenuItem("List");
admitform=new MenuItem("Admit");
inquiry=new MenuItem("Inquiry");
exit=new MenuItem("Exit");
newm.add(List);
newm.add(admitform);
newm.add(inquiry);
newm.add(exit);
mb.add(newm);
mb.add(update);
mainf.setMenuBar(mb);
exit.addActionListener(this);
List.addActionListener(this);
inquiry.addActionListener(this);
admitform.addActionListener(this);
mainf.setSize(400,300);
mainf.setVisible(true);
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == List)
reg=new Register();
if(ae.getSource()==inquiry)
iq=new Inquiry();
if(ae.getSource()==admitform)
ad=new Admit();
if(ae.getSource()==exit)
mainf.setVisible(false);
public static void main(String args[])
new Main();
}>My data are not gettitng enterted in the data
base
no real surprise to me.Can u please help me ??How? There's no connection and prepared staments anywhere in your code. Do you think the database will update itself automagically? -
Re: Does anyone know where the data base
We do maintain a searchable indexed archive at
http://pinehurst.sagesoln.com/listarchive. Recently because of Sage office
moves and other IT intensive activities I've been lax about getting it
updated. I'll try to get it straightened out in the next week or so.
Jamie Fox
Systems Administrator
Sage IT Partners
[email protected]
(415) 399-7210
David Trudell wrote:
>
that contains a history of all the messages sent reside? I tried looking on
sageit.com, but I couldn't find it.
Thanks
David Trudell
There are two major products to come out of Berkeley: LSD and
UNIX. We don't believe this to be a coincidence.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>David,
Try this:
<a
href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>
<http://pinehurst.sageit.com/listarchive/>
-----Original Message-----
From: David Trudell [mailto:[email protected]]
Sent: Wednesday, January 20, 1999 2:18 PM
To: [email protected]
Subject: Does anyone know where the data base
that contains a history of all the messages sent reside? I tried looking on
sageit.com, but I couldn't find it.
Thanks
David Trudell
There are two major products to come out of Berkeley: LSD and
UNIX. We don't believe this to be a coincidence.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Maintain dimension members directly into the data base
Hi,
We need to update the dimension members directly into the data base.
Instead of going into the administration and entering manually.
I tried just updating the table mbr and dim. but that didn't work.
Any insight on that?To update the dimension members from the backend tables, update the mbr<dimension>> table and process the dimension either from BPC Admin Console or a SSIS BPC Admin Task. The dimension processing will automatically update the dim<<dimension>> table in the backend.
However, the updated dimension members can not be seen from the frontend in the BPC Admin. To see the updated dimension member sheet in the current client machine, use Export Dimension option in BPC Admin Console.
To see the updated dimension an all client machines and get reflected in the current view, please follow this URL:
Re: BPC 7 MS Update dimension (Make_dim task)
Hope this helps. -
My phone will not let me download the most recent update for iOS 7.1. It says I need a wifi connection and will not allow me to push the 'Download & Install' button, even when I am at home and my wifi is on. How do I fix this?
Unfortunately yes, though technology would never move on if it kept to older standards and did not strive to do more.
The app store always gives you the option to use a previous version of the app IF it is available for your device.
Sorry but you are stuck without new hardware.
PJRS -
How to delete copyed wrongly in the data base
Hi Gurus,
I copy the cube 0IC_C03 to Z0IC_C03.
After that i went to RSZC--> copy from 0IC_C03 to Z0IC_C03 all the queries, but when i am copying i dint remove the _1 beside each query. when i repeat system telling queries already in the data base. can you tell how to delete and copy freshly.
Points Assure.
Thanks
AmarendraHi,
you can use rszdelete where you can choose the queries and query objects which you want to delete.
After this you can start the copy again.
regards
Cornelia -
I have a macbook purchased in 2009. I just purchased a new ipod and am in a loop of updates that seems to have no end. Do I need snow leopard? Will that then let me use the latest itune update?
You need to buy Snow Leopard from the online Apple Store. You don't need Mountain Lion.
(85170) -
Insertion of image in the data base - Help-me!!!!
hello for all..., Well, somebody has some example of insertion of image in the data base saw upload, using JSP (Scriptlets)?
or some example that I can insert in the bank the name of the image, and the image in a directory!???????
Thank�s!if u r using sql server then u can define a column as TEXT and insert the file as binayr data, along with that u can store the file name.
While retirving u can creat a fileiputstream and read the binary data and displya the image in the browser.
Another way is to use upload servlet and store the image files in the server hard drive and store the image name and path in datbase . -
Custom field values are not storing in the data base
Hi Friends,
We have created one Custom field called ZZ_APPROVER in Rfx Header , we have included this field in the below stuctures
1.INCL_EEW_PD_HEADER_CSF_BID
2.INCL_EEW_PD_HEADER_CSF
The data type of this field ( ZZ_APPROVER ) is CHAR and the length is 1 . we have given 2 fixed values in Value Range
1 -
X+2 Approver
2 --- Provisional Approver
so when we select either 1 or 2 ( in Drop Down ), its displaying properly on RFx Screen, but when we try save this document the values are not strong in the data base.
Can any one give me idea why its not stroring in the data base
Thanks in Advance
Kumar SriniHi Ganapathy,
A Record is created in table BBP_PDHSC , for other z fields, the values are stroing , but for this field ( ZZ_APPROVER ) [ drop down list ], the value is not stroring
Thnx
Kumar Srini -
Extraction time while updating the data from update rule
Hello Friends,
Can you please tell me that why it is taking more time while updating the data from update rule to data target.
I believe that it is taking 40% of total extraction time.
Is there any specific reason for it?
Prompt reply will be appreciated.
Regards,hi,
check if you have complex transformation in that update rules, like calculation, read from other tables, etc.
take a look 'bw loading performance and analysis' doc
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1955ba90-0201-0010-d3aa-8b2a4ef6bbb2
and bi performance tuning knowledge center
Business Intelligence Performance Tuning [original link is broken]
there e-learning for bw performance
hope this helps. -
Featching Data From The Data Base Using DI API in Matrix
Hi
All of u i am shahid i faced a problem when i retrive
the selected data from the data base using matrix plz.
Healp me!.
Thanks
Mohd Shahid.
SAP Techinical Consultent
Option Strict Off
Option Explicit On
Friend Class UseMatrix
'// This parameter will use us to manipulate the
'// SAP Business One Application
Private WithEvents SBO_Application As SAPbouiCOM.Application
Private oForm As SAPbouiCOM.Form
Private oMatrix As SAPbouiCOM.Matrix
Private oColumns As SAPbouiCOM.Columns
Private oColumn As SAPbouiCOM.Column
'// declareing a DB data source for all the Data binded columns
Private oDBDataSource As SAPbouiCOM.DBDataSource
'// declaring a User data source for the "Remarks" Column
Private oUserDataSource As SAPbouiCOM.UserDataSource
' This Function is called automatically when an instance
' of the class is created.
' Indise this function
Public Sub New()
MyBase.New()
'// set SBO_Application with an initialized application object
SetApplication()
'// Create the UI
CreateFormWithMatrix()
'// Add Data Sources to the Form
AddDataSourceToForm()
'// Bind the Form's items with the desired data source
BindDataToForm()
'// Load date to matrix
GetDataFromDataSource()
'// Make the form visible
oForm.Visible = True
End Sub
Private Sub SetApplication()
'// Use an SboGuiApi object to establish connection
'// with the SAP Business One application and return an
'// initialized appliction object
Dim SboGuiApi As SAPbouiCOM.SboGuiApi
Dim sConnectionString As String
SboGuiApi = New SAPbouiCOM.SboGuiApi
'// by following the steps specified above, the following
'// statment should be suficient for either development or run mode
sConnectionString = Environment.GetCommandLineArgs.GetValue(1)
'// connect to a running SBO Application
Try ' If there's no active application the connection will fail
SboGuiApi.Connect(sConnectionString)
Catch ' Connection failed
System.Windows.Forms.MessageBox.Show("No SAP Business One Application was found")
End
End Try
'// get an initialized application object
SBO_Application = SboGuiApi.GetApplication()
'SBO_Application.MessageBox("Hello World")
End Sub
Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles SBO_Application.AppEvent
Select Case EventType
Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
SBO_Application.MessageBox("A Shut Down Event has been caught" & _
Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
'// terminating the Add On
System.Windows.Forms.Application.Exit()
End Select
End Sub
Private Sub CreateFormWithMatrix()
'// Don't Forget:
'// it is much more efficient to load a form from xml.
'// use code only to create your form.
'// once you have created it save it as XML.
'// see "WorkingWithXML" sample project
'// we will use the following object to add items to our form
Dim oItem As SAPbouiCOM.Item
'// we will use the following objects to set
'// the specific values of every item
'// we add.
'// this is the best way to do so
Dim oButton As SAPbouiCOM.Button
Dim oStaticText As SAPbouiCOM.StaticText
Dim oEditText As SAPbouiCOM.EditText
'// The following object is needed to create our form
Dim creationPackage
creationPackage = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.UniqueID = "UidFrmMatrix14"
creationPackage.FormType = "TypeFrmMatrix14"
'// Add our form to the SBO application
oForm = SBO_Application.Forms.AddEx(creationPackage)
'// Set the form properties
oForm.Title = "Quality Check"
oForm.Left = 336
oForm.ClientWidth = 620
oForm.Top = 44
oForm.ClientHeight = 200
'// Adding Items to the form
'// and setting their properties
'// Adding an Ok button
'// We get automatic event handling for
'// the Ok and Cancel Buttons by setting
'// their UIDs to 1 and 2 respectively
oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 5
oItem.Width = 65
oItem.Top = 170
oItem.Height = 19
oButton = oItem.Specific
oButton.Caption = "Ok"
'// Adding a Cancel button
oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 75
oItem.Width = 65
oItem.Top = 170
oItem.Height = 19
oButton = oItem.Specific
oButton.Caption = "Cancel"
'// Adding a Text Edit item
'oItem = oForm.Items.Add("txtPhone", SAPbouiCOM.BoFormItemTypes.it_EDIT)
' oItem.Left = 265
'oItem.Width = 163
'oItem.Top = 172
'oItem.Height = 14
'// Adding an Add Phone prefix column button
' oItem = oForm.Items.Add("BtnPhone", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
' oItem.Left = 160
' oItem.Width = 100
' oItem.Top = 170
' oItem.Height = 19
' oButton = oItem.Specific
' oButton.Caption = "Add Phone prefix"
'// Add the matrix to the form
AddMatrixToForm()
End Sub
Private Sub AddMatrixToForm()
'// we will use the following object to add items to our form
Dim oItem As SAPbouiCOM.Item
'// we will use the following object to set a linked button
Dim oLink As SAPbouiCOM.LinkedButton
'// Adding a Matrix item
oItem = oForm.Items.Add("Matrix1", SAPbouiCOM.BoFormItemTypes.it_MATRIX)
oItem.Left = 5
oItem.Width = 500
oItem.Top = 5
oItem.Height = 150
oMatrix = oItem.Specific
oColumns = oMatrix.Columns
'// Adding Culomn items to the matrix
oColumn = oColumns.Add("#", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "#"
oColumn.Width = 30
oColumn.Editable = False
'// Add a column for Item Code
oColumn = oColumns.Add("DSItemCode", SAPbouiCOM.BoFormItemTypes.it_LINKED_BUTTON)
oColumn.TitleObject.Caption = "Item Code"
oColumn.Width = 40
oColumn.Editable = True
'// Link the column to the ITEM master data system form
oLink = oColumn.ExtendedObject
oLink.LinkedObject = SAPbouiCOM.BoLinkedObject.lf_Items
oColumn = oColumns.Add("DSItemName", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Item Name"
oColumn.Width = 80
oColumn.Editable = True
'// Add a column for BP Card Phone
oColumn = oColumns.Add("DSWhs", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Ware House"
oColumn.Width = 40
oColumn.Editable = True
'// Add a column for BP Card Phone
oColumn = oColumns.Add("DSQuantity", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Quantity"
oColumn.Width = 40
oColumn.Editable = True
'// Add a column for Combo Box
oColumn = oColumns.Add("DSQuality", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
oColumn.TitleObject.Caption = "Quality"
' oColumn.ValidValues.Add("OK", "")
'oColumn.ValidValues.Add("NOT OK", "")
oColumn.Width = 40
oColumn.Editable = True
oColumn = oColumns.Add("DSReport", SAPbouiCOM.BoFormItemTypes.it_EDIT)
oColumn.TitleObject.Caption = "Remarks"
' oColumn.ValidValues.Add("OK", "")
'oColumn.ValidValues.Add("NOT OK", "")
oColumn.Width = 40
oColumn.Editable = True
'// Add a column for BP Card Phone
' oColumn = oColumns.Add("DSPhoneInt", SAPbouiCOM.BoFormItemTypes.it_EDIT)
' oColumn.TitleObject.Caption = "Int. Phone"
'oColumn.Width = 40
'oColumn.Editable = True
End Sub
Public Sub AddDataSourceToForm()
'// every item must be binded to a Data Source
'// prior of binding the data we must add Data sources to the form
'// Add user data sources to the "International Phone" column in the matrix
' oUserDataSource = oForm.DataSources.UserDataSources.Add("IntPhone", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
'// Add DB data sources for the DB bound columns in the matrix
oDBDataSource = oForm.DataSources.DBDataSources.Add("OITW")
End Sub
Public Sub BindDataToForm()
'// getting the matrix column by the UID
oColumn = oColumns.Item("DSItemCode")
'oColumn.DataBind.SetBound(True, "", "DSCardCode")
oColumn.DataBind.SetBound(True, "OITW", "ItemCode")
'oColumn = oColumns.Item("DSItemName")
'oColumn.DataBind.SetBound(True, "OITW", "ItemName")
oColumn = oColumns.Item("DSWhs")
oColumn.DataBind.SetBound(True, "OITW", "WhsCode")
oColumn = oColumns.Item("DSQuantity")
oColumn.DataBind.SetBound(True, "OITW", "U_QCStock")
'// to Data Bind an item with a user Data source
'// the table name value should be an empty string
' oColumn = oColumns.Item("DSPhoneInt")
'oColumn.DataBind.SetBound(True, "", "IntPhone")
End Sub
Public Sub GetDataFromDataSource()
'// Ready Matrix to populate data
oMatrix.Clear()
oMatrix.AutoResizeColumns()
'// Querying the DB Data source
oDBDataSource.Query()
'// setting the user data source data
'oUserDataSource.Value = "Phone with prefix"
oMatrix.LoadFromDataSource()
End Sub
Private Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.ItemEvent
If (pVal.FormUid = "UidFrmMatrix") Then
If ((pVal.itemUID = "BtnPhone") And _
(pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And _
(pVal.Before_Action = False)) Then
AddPrefix()
End If
If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_UNLOAD) And _
(pVal.Before_Action = False)) Then
SBO_Application.MessageBox("Form Unloaded, Addon will terminate")
System.Windows.Forms.Application.Exit()
End If
End If
End Sub
Public Sub AddPrefix()
Dim i As Integer
Dim PhoneExtCol As SAPbouiCOM.Column
Dim newPhone As String
Dim oItem As SAPbouiCOM.Item
Dim oEditTxt As SAPbouiCOM.EditText
'// Get the prefix edit text item
oItem = oForm.Items.Item("txtPhone")
oEditTxt = oItem.Specific
'// Flush user input into datasources
oMatrix.FlushToDataSource()
'// Get the DBdatasource we base the matrix on
oDBDataSource = oForm.DataSources.DBDataSources.Item("OCRD")
'// Iterate all the records and add a prefix to the phone
For i = 0 To oDBDataSource.Size - 1
newPhone = oDBDataSource.GetValue("phone1", i)
newPhone = newPhone.Trim(" ")
oDBDataSource.SetValue("phone1", i, oEditTxt.String + newPhone)
Next
'// Load data back to
oMatrix.LoadFromDataSource()
End Sub
End ClassHi Shahid,
I am not sure what your question is. The code you pasted looks like the MatrixAndDataSources example that comes with the SDK. What are you trying to do?
Thanks,
Adele -
Inconsistency in Data Replication to the Data Base MEREP_207 (SAP Mobile)
Hello
I have the following problem in WAS 7.00 SP16 (Usage type Mobile Infrastructure):
Scanario: Backend driven replication (T51, Server Driven), SyncBO = Reservation
Case A:
When modifying data in the backend with transaction MB22, in some cases (Replicated database is empty for that SyncBO), all the items (010) are generated in the data base MEREP_207 which PARENT_SYNC_KEY = '00000000 all the items with the same TOP = '00000000')
Case B:
When modifying in the backend with the transaction data with MB22, hundreds of records (items) are generated in the data base MEREP_207,
with the same PARENT_SYNC_KEY, but with a different R3KEY (items with the same header). R3KEY here represents the R3KEY of the TOP plus a sequence.
No one of the SAP Notes I searched applies to the current version of WAS.
Thank you very much for the help.
Best regards.Hi,
it seems you key filed has the same value always or you do not have a key field - what I do not get if you talk about Notes - are you using a standard SAP Mobile App or is you mobile AP custom build?
Well, if I get it right you end up with just one dataset instead of 100 and always the last one overwrites the one before (cause SyncKey is the same)?
In that case, please check you data model for KeyFields and check that these are different. What do you do in the getlist and getdetail handlers?
Oliver
Maybe you are looking for
-
Sending oracle report automatically
Hello, Can anybody help in figuring from oracle reports 10g to send automatically to pdf format report to a sepcific email address? if could please give a sample code to achieve thsi? Thanks a lot...
-
What type of interface for replacement optical drive?
I have a white, NOT unibody Macbook, model MacBook5,2. The optical drive is broken, and it's out of warranty. Happily, I'm not squeamish about swapping it out myself. However, I'm finding conflicting info online about what kind of drive I actually ne
-
Default Storage Location in MIGO
HI, We have materials stored in specific and unique storage location. Our user want to default the SLOC in MIGO as he does not want to enter each and every time. Currently, system was not proposing it unless we mention in PO. But, the buyer may not k
-
HT201238 How to downgrade the storage capacity? step by step please:-)
How to downgrade the storage capacity? step by step please:-)
-
FCPX audio fix for microphone POPs or BOOMs. B's, P's & T's
I'm editing footage, with FCPX, of a man speaking who was wearing a lav mic. I have a moment where he says the word, "intentions" and when he pronounces that first 't' the mic captured a really loud pop from his voice, almost like a booming sound. An