SBO 2005 combo box does not update value at first time
Hi!I developed an addon for sbo 2004 with a combo box populated with the months of the year, and it works. The same code run on SBO 2005 works only after the second selection. Has anyone found the same problem?
definition of the item:
item = form.Items.Add("oMese", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
item.Left = 245
item.Top = 5
item.Width = 80
item.DisplayDesc = True
combo = item.Specific
combo.DataBind.SetBound(True, "", "uMese")
combo.ValidValues.Add(1, "Gennaio")
combo.ValidValues.Add(2, "Febbraio")
event handling:
inside ItemEvent in case the item is selected
Case SAPbouiCOM.BoEventTypes.et_COMBO_SELECT
Select Case pVal.FormUID
Case "PRG_UFM_0002_RegIVAAcq"
retCode = oTy_RACQ.FormComboSelect(pVal, BubbleEvent)
Public Shared Function FormComboSelect(ByVal pVal As SAPbouiCOM.ItemEvent, _
ByRef BubbleEvent As Boolean, _
ByRef funCaller As Object, _
ByVal funCallerID As Integer, _
ByRef aForm As SAPbouiCOM.Form) _
As Integer
Dim msg As String
Dim edt As SAPbouiCOM.EditText
Dim cmb As SAPbouiCOM.ComboBox
Dim obt As SAPbouiCOM.OptionBtn
Dim cbx As SAPbouiCOM.CheckBox
Dim mtx As SAPbouiCOM.Matrix
Try
If pVal.Before_Action = True Then
Select Case pVal.ItemUID
Case "oMese"
Dim stre As New strEstremi
cmb = aForm.Items.Item("oMese").Specific
edt = aForm.Items.Item("anno").Specific
If Not cmb.Selected Is Nothing Then
GetEstremiPeriod(edt.Value, cmb.Selected.Value, "M", stre)
edt = aForm.Items.Item("dtFrom").Specific
edt.String = stre.dtFrom
edt = aForm.Items.Item("dtTo").Specific
edt.String = stre.dtTo
End If
end function
thank you I hope is enough otherwise please tell me
Similar Messages
-
PROMPT WITH DEFAULT VALUES DOES NOT DISPLAY VALUES THE FIRST TIME
Hi,
With one of our scorecard reports, when you select a division, the leader role/leader prompt picklist values do not get populated the first time. Because this is only happening in reports we have written in house, we do not see this happening to the reports that are installed as default.
Is there any workaround known for this error.
Thanks and RegardsHey can somebody please let me know how to go about this isssue ..
Thanks -
My sons just bought me an ipad mini especially so that I could check a certain website on which I sign up for jobs throughout the day. The website is updated constantly throughout the day with new jobs and the status of the jobs I already have accepted and worked on. (It shows the percentage of the job that has been done.) It worked fine only the first time I logged on with the mini. Since then (yesterday,) when I check the website, it lets me log in, but I only see the same exact information that was there the first time I went to the website using the mini. It seems to be 'frozen' on that particular first look. It doesn't update at all.
I know it is not updating because I have also been checking with my notebook computer and with the notebook, the website is up to date.
Maybe its Safari?
I had the same problem when I used a friend's iPad.
I wonder if there is a setting or something that I could change to allow the website to update to the time I check it.
If not, then the ipad mini is a terrible disappointment and I would like to return it.
If you can help me, I would be extremely grateful.
Thanks in advance...This issue can be caused by corrupted cookies or cookies that are blocked.
*check the permissions on the about:permissions page and in "Tools > Page Info > Permissions"
Clear the cache and remove cookies only from websites that cause problems.
"Clear the Cache":
*Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
*Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
*Do NOT click the Reset button on the Safe Mode start window
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Page does not load for the first time
Hi,
When I enter the URL to load the page, it does not work, i.e I get page not found message. But when I refresh(F5) the page gets loaded. This is just not for the login page but all my report and form pages and this happens only for the first time I try to access in the day. I couldnt understand why it happens? Can someone help me to understand the problem I am facing?
ThanksWhat does the appache log says?
Your appache server home > Apache > Apache > logs > access_log.current_date
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Combox box does not populuate for very first record creation in table
Hello All,
I am using ADF 11.2 BC and ADF Faces in my project. I have a ViewObject based on EntityObject with LOV's defined. When the environment is fresh i.e. no data is present in EntityObject physical table, drop down downs are not populated with I attempt to create a new record using ADF JSF page. This page is within ADF Train and when I hit Next button validation error pops up and after that I see drop down values. Is there some configuration I am missing to initialize the drop downs?
Please advise.
Thanks,
DipalRepost
-
I’ve updated the IOS7 from the iPhone, and after 3 hours, it asks to connect it to iTunes. after i connect it to iTunes it asks me that require update, then i agreed to update it runs for another 3 hours, and then a message shoed as "this iPhone needs to be restored, then i restore it. i lost all application and data. after two days i got a message that update is available of IOS7, which means my updates were useless. please advise on the way of updates, and do i will lose my data, and how i can recover?
Thanks, Lawrence. That's answered the 1st part of my question. Just wish I could get 2 the stage where I get all the icons on my screen!
-
Combo box entries not refreshing as per new data
Hi,
I am using Oracle SOA PS3 version.
I have created an Updating ordered List report on a DataObject. I created a filter on a field 'NAME' and made that filter associated that to a prompt. The prompt is visible as a drop down on top of a report.
Before I open the report there is no data in DataObject and the combo box does not show any options. But after the report is opened data comes into the dataObject and the rows appear in report also. But when I try to see the entries in the combo box, I dont see anything there.
The entries in combo box are not getting refreshed dynamically as per the newly arriving data. Any idea of how to get this done .. ?
Any Information on this will be helpful.
Thanks,
Raj KumarHi,
Do the below checks,
1) Check if you have maintained correct Key values where the data is stored in your report.
2) Check if you have data for the specific combination of dimension members using EVGET function
3) Check if the data is there in the backend for the specific combination of dimension members using the transaction RSA1
4) Create new Report of that type and check if the data is flowing.
Hope this helps,
Regards,
G.Vijaya Kumar -
Type 2 SCD -- does not update the old value.
I have following columns in the source table:
SSN, credit_score
In the target, I have following columns,
SK_ID, SSN, credit_score, flag
I am flagging the old credit_score as 'N' when updating the row and at the same time it is supposed to enter a new credit score with flag 'Y' in another row.
Second, If a row is completely new, It should be inserted with the flag 'Y'.
SK_ID is the surrogate key and SSN is the natural key, My trigger column is credit_score.
The problem is that when I run this type 2 mapping, it does not update anything but inserts the new rows only.
I have posted the screen shots at the following link.
http://www.box.net/shared/ea9v48r0xa
Thanks for your help in advance.First of all, thanks for the reply...
You can also look at the screen shots I posted in previous post.
Here is how I am updating the rows (update logic).
If source_SSN=target_SSN and source_credit_score!=target_credit_score
then flag = 'N' (this is the update from 'Y' to 'N' after which i will insert a new row containing new value of credit_score with flag 'Y')
As an example, if my old rows in the target table were:
sk_id SSN credit_score flag
101 2212 654 Y
102 3023 707 Y
Now let's say my source table has these values.
SSN credit_score
2212 648
2220 690
Then my target table should be like this:
sk_id SSN credit_score flag
101 2212 654 N
103 2212 648 Y
102 3023 707 Y
104 2220 690 Y
Do you see what I mean... -
Hi All,
I am new here . We have batch split in Delivery and 601 happens for the individual batches and billing we bill for the entire quantity . Hence the RG1 does not update the excise values for the batches and it is showing as zero (upon extraction in J2I6). Upon research through the program the latest note which i presume is patched
The latest note is N158234 which does not show in the program but seems have been patched considering we are using the Latest version of SAP .
As you see above in the billing we have billed for the whole quantity but RG1 does not update for the since the batches are zero .
My programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split .
Now i have checked few other projects in my company and they all seems to be following the program . So i am wondering whether my process or some customization is missing .
Sales order (no batch determination) , in delivery the batches are picked through wm to and batch split happens in the delivery . Then billling for the whole quantity . We have automatic excise invoice creation enabled so no J1IIN .
Can somebody help me .
Thank youMy programmer says because of some note related to cancellation where it says about values H & J in vbfa table and due to which program does not go through the Note for the batch split
Which field (H & J) they were referring in VBFA ?
i have checked few other projects in my company and they all seems to be following the program
How about the other projects' values in VBFA where your techinical team is guessing some issue. Have you compared this?
Since you have already the note 158234 implemented in your system, ideally, you should not face any issue.
G. Lakshmipathi -
Value of two combo box is not persistent on change of a third combo box
Hi All:
I have flex page in which i have 3 combo boxes. I would be
selecting first 2 combo box and when i select the third combo box ,
i would get the value of previous two combo selection and display
data accordingly.
My problme here is when i do a change in 3rd combo box the
values of other combo boxed are defaulted to "Select..." without
maintaining my previous selection.
I am stuck in this for a while. I would really appreciate if
you can help me out in this.
Thanks
Kanthere's a typo. fix it or remove it:
var a:Number;
var b:Number;
function First(evt:Event):void{
a = evt.target.value;
trace(a);
compareF();
cbFirst.addEventListener(Event.CHANGE, First);
function Second(evt:Event):void{
b = evt.target.value;
trace(b);
compareF()
cbSecond.addEventListener(Event.CHANGE, Second);
function compareF(){
If (a > b){
trace("a is greater")
else
trace(b is greater); -
Real time ROLAP or Automatic molap cubecube does not update the value
Hello Everyone,
I am working with Real time Rolap and Automatic MOLAP cube. I had created cube using AdventureWorks DW sample given by Microsoft Tutorial. when i fire insert query, It updates data. It works fine in both the cases after reconnecting in SSMS and SSAS browser.
But I have a one database table in SQL server with 4 varchar and 10 numeric fields [simple table with one primary key without any relationship with other table]. I tried to create both type of cube from direct database table [selecting varchar fields as
dimensions and numeric as measures], created partitions, specified server side tracking table. It processes the cube. but when i add rows into this table. It inserts record but does not update in SSAS browser or SSMS browser.
Please help me what is the problem???
Thanks in Advance!I noticed the same behavior reported by Bob: Not regarding the "process filter" or the "update frequency" selected "CPU Time" column is only updated when details dialog is open. I noticed it just today (which triggered the search here), I wonder if this "feature" has been always present or maybe activity monitor is getting lazy?
Regards,
Mauro -
How can I make the combo box turn to the value of black.
When the show button is pressed (and not before), a filled black square should be
displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
the displayed shape and the altering should take effect immediately.When the show button is pressed,
the image should immediately revert to the black square, the combo box should show the value that
correspond to the black.
Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
how can I make the combo box turn to the value of black.
Any help or hint?Thanks a lot!
coding 1.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
public class test extends JFrame {
private JPanel buttonPanel;
private DrawPanel myPanel;
private JButton showButton;
private JComboBox colorComboBox;
private boolean isShow;
private int shape;
private boolean isFill=true;
private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
"green", "lightgray", "magenta", "orange",
"pink", "red", "white", "yellow"}; // color names list in ComboBox
private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
Color.gray, Color.green, Color.lightGray, Color.magenta,
Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
public test() {
super("Draw Shapes");
// creat custom drawing panel
myPanel = new DrawPanel(); // instantiate a DrawPanel object
myPanel.setBackground(Color.white);
// set up showButton
// register an event handler for showButton's ActionEvent
showButton = new JButton ("show");
showButton.addActionListener(
// anonymous inner class to handle showButton events
new ActionListener() {
// draw a black filled square shape after clicking showButton
public void actionPerformed (ActionEvent event) {
// call DrawPanel method setShowStatus and pass an parameter
// to decide if show the shape
myPanel.setShowStatus(true);
isShow = myPanel.getShowStatus();
shape = DrawPanel.SQUARE;
// call DrawPanel method setShape to indicate shape to draw
myPanel.setShape(shape);
// call DrawPanel method setFill to indicate to draw a filled shape
myPanel.setFill(true);
// call DrawPanel method draw
myPanel.draw();
myPanel.setFill(true);
myPanel.setForeground(Color.black);
}// end anonymous inner class
);// end call to addActionListener
// set up colorComboBox
// register event handlers for colorComboBox's ItemEvent
colorComboBox = new JComboBox(colorNames);
colorComboBox.setMaximumRowCount(5);
colorComboBox.addItemListener(
// anonymous inner class to handle colorComboBox events
new ItemListener() {
// select shape's color
public void itemStateChanged(ItemEvent event) {
if(event.getStateChange() == ItemEvent.SELECTED)
// call DrawPanel method setForeground
// and pass an element value of colors array
myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
myPanel.draw();
}// end anonymous inner class
); // end call to addItemListener
// set up panel containing buttons
buttonPanel = new JPanel();
buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
buttonPanel.add(showButton);
buttonPanel.add(colorComboBox);
JPanel radioButtonPanel = new JPanel();
radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
Container container = getContentPane();
container.setLayout(new BorderLayout(10,10));
container.add(myPanel, BorderLayout.CENTER);
container.add(buttonPanel, BorderLayout.EAST);
setSize(500, 400);
setVisible(true);
public static void main(String args[]) {
test application = new test();
application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
coding 2
import java.awt.*;
import javax.swing.*;
public class DrawPanel extends JPanel {
public final static int CIRCLE = 1, SQUARE = 2;
private int shape;
private boolean fill;
private boolean showStatus;
private int shapeSize = 100;
private Color foreground;
// draw a specified shape
public void paintComponent (Graphics g){
super.paintComponent(g);
// find center
int x=(getSize().width-shapeSize)/2;
int y=(getSize().height-shapeSize)/2;
if (shape == CIRCLE) {
if (fill == true){
g.setColor(foreground);
g.fillOval(x, y, shapeSize, shapeSize);
else{
g.setColor(foreground);
g.drawOval(x, y, shapeSize, shapeSize);
else if (shape == SQUARE){
if (fill == true){
g.setColor(foreground);
g.fillRect(x, y, shapeSize, shapeSize);
else{
g.setColor(foreground);
g.drawRect(x, y, shapeSize, shapeSize);
// set showStatus value
public void setShowStatus (boolean s) {
showStatus = s;
// return showstatus value
public boolean getShowStatus () {
return showStatus;
// set fill value
public void setFill(boolean isFill) {
fill = isFill;
// set shape value
public void setShape(int shapeToDraw) {
shape = shapeToDraw;
// set shapeSize value
public void setShapeSize(int newShapeSize) {
shapeSize = newShapeSize;
// set foreground value
public void setForeground(Color newColor) {
foreground = newColor;
// repaint DrawPanel
public void draw (){
if(showStatus == true)
repaint();Hello,
does setSelectedIndex(int anIndex)
do what you need?
See Java Doc for JComboBox. -
TextBox does not update when drop down list selection changes
I have drop down list the user can select a client name from. Once the client is selected and the "view report" button is clicked it the report has a textbox that displays the Client name or it is supposed too.
The report will display the first client name but any subsequent client name does not display on the first. I am pretty sure that is because I have chosen the "Dataset" where the both the "values' have "first" in front of the field.
How do I get the textbox to update to match as each client is chosen from the drop down list? I cannot use the report "parameter" I am passing to the stored procedure because the drop down list's parameter is the database name not the client
name.
Any help is appreciated.
Thanks,
SueOkay, sorry but I am just getting back to my report. I still cannot display the Client Name in a text box at the top of my report. The textbox must be dynamic because my client name can be one of many that is picked from a drop down list box.
I added a textbox and tried to use the "join" with my Parameter - clientname.
In the textbox expression I used the following:
=JOIN(First(Fields!ClientName.Value,
"GetDatabaseName"),",")
I got this error message:
[rsRuntimeErrorInExpression] The Value expression for the textrun Textbox1.Paragraphs[0].TextRuns[0] contains an error: Overload resolution failed because no Public 'Join' can be called with these arguments:
'Public Shared Function Join(SourceArray As String(), [Delimiter As String = ]) As String':
Argument matching parameter 'SourceArray' cannot convert from 'String' to 'String()'.
'Public Shared Function Join(SourceArray As System.Object(), [Delimiter As String = ]) As String':
Argument matching parameter 'SourceArray' cannot convert from 'String' to 'Object()'.
Preview complete -- 0 errors, 1 warnings
I also tried setting up a "filter" on the clientname using these instructions
Right-click the dataset (GetDatabaseName) to open the Dataset Properties.
Click Filters in the left pane, add a filter like below:
Expression:[DBName]
Operator: In(multiple-parameter) or =(signal-parameter)
Value:[@DBName]
I get an error message too which I am not even going to display.
I can set it up and run it as long as I don't want to change the value in the "textbox" to match the value in the drop down list. I am totally frustrated at this point. Why won't it work?
Simply put - I want the value selected in my drop down list box to match the value in my textbox at the top of my report if drop down list says "Susie" then I want "Susie" in my textbox or if drop down changes to "Bobby" then I want Bobby to show up in my
textbox when I generate my report.
Any suggestions of what else I may need to try?
Thanks for the help.
Sue
Sue -
Text box does not display the date??
I have a text box <input type="TEXT" name="invoiceDate" readonly></input>. I select the date using datepicker .The date gets displayed in the text box.Then i click on "Show" button which loads the same jsp page again.
When the page is loaded the text box does not show the date.
I try to save the date in the text box as
<% String date1=request.getParameter("invoiceDate");
<input type="hidden" name="date1" value="<%=date1 %>">
<%>
The value is saved in this hidden variable..
Plz help me what to do next
ThanksIts a hidden field and that's why it isnt displayed.
Use
<input type="text" name="date1" value="<%=date1 %>"> ram. -
How I can stop the combo box with list of values from fireing validations
Hi I'm using Jdeveloper 11.1.2.3.0
Using Hr Schema employees table
I Display employees data in af:table
and I make List Of values on Department_id filed to easy change the employee department
and another one on Job_id filed
and Imake them UI Hints as ( combo box with list of values ) in the employeesVO
the problem is when I Select a value from department or jobs ( combo box with list of values )
fires the entire filed validations for mandatory atributes
Note : the af:table Property ( contedelivery) is set to (immediate )
How I can stop the combo box with list of values from fireing validationscheck it out.,
http://andrejusb.blogspot.in/2012/09/what-to-do-when-adf-editable-table.html
Maybe you are looking for
-
F110 - Error Msg "No payment due to delete flag or posting block"
When I use F110 To auto payment a AP open item, the system show the message "Vendor <Vendor Code> <Company Code>: No payment due to delete flag or posting block" in job log. The AP open item information : amount 480. bline date : 2008/09/29 payment t
-
The photo orientation on the CHAPTERS THEME main page is vertical. How do I change it to horizontal? thank you
-
Sender Radio Button disabled for Idoc adapter
If u clearly observe ....... Whats the necessity or significance of not having a sender communication channel(sender side radio button is disabled) and sender agreement in scenarios pertaining to Idocs....
-
HT1386 sync calendar does not work
Since Update to OS 10.7.4 - ITunes do not recoqnize the address book and I can not sync the contact to the iPhone. What to do?
-
Can anyone tell me why this does not work MS sql server: select * from (select * from table) This yields "Incorrect syntax near ')'." This works fine in oracle... Many Thanks.