Iterator not reflected on entering new values for the row

Hi,
I am having an editable table coming from an EJB Stateless Session Bean. I created a data control out of the session bean and dragged and dropped the output
of the method in the session bean as a table in the jspx page. On click of the "Create" link, I have an action listener that creates a new row in the top of
the table.
DCIteratorBinding iter = DFUtils.findIterator("getMultSortReportListIterator");
RowSetIterator rowSetIter = iter.getRowSetIterator();
Row row = rowSetIter.createRow();
row.setNewRowState(Row.STATUS_NEW);
row.setAttribute("reportName", "");
row.setAttribute("sectionName", "");
row.setAttribute("userId", "");
row.setAttribute("viewCriteria", "");
rowSetIter.insertRowAtRangeIndex(0, row);
rowSetIter.setCurrentRowAtRangeIndex(0);
After the row is created, I enter values into the row and click on "Save" link. The action Listener for the save link is:
BindingContainer bindings = getBindings();
DCIteratorBinding iter = (DCIteratorBinding) bindings.get("getMultSortReportListIterator");
//Read the entered values from the iterator
Row currentRow = iter.getRowAtRangeIndex(0);
String reportName = currentRow.getAttribute("reportName").toString();
String sectionName = currentRow.getAttribute("sectionName").toString();
Long userId = Long.parseLong(currentRow.getAttribute("userId").toString());
String viewCriteria = currentRow.getAttribute("viewCriteria").toString();
//Store to database
MultipleSortReport multipleSortReportBean = new MultipleSortReport(reportName, sectionName, userId, viewCriteria);
OperationBinding operationBinding = bindings.getOperationBinding("persistMultipleSortReportTest");
Map params = operationBinding.getParamsMap();
params.put("multipleSortReportObj", multipleSortReportBean);
IMultipleSortReport multipleSortReportInfo = (IMultipleSortReport)operationBinding.execute();
The problem is that after entering the values into the newly created row, I have to tab out of the row and click with the mouse to place the cursor in the
end of the next row's first field for the iterator to reflect the entered values. If i enter the last column in the new row and after entering it I directly
click on "Save", the newly entered values are not reflected in the iterator. The iterator is still reflecting the old values of the row i.e. "" empty fields
as it was initialized during Create Row.
Can you help me fix this problem. I want the iterator to reflect the newly entered values without having to tab out of the row.

Marvin,
I would suggest starting to debug your new CT in the following order
1) ABAP - run directly in SAP to confirm you are getting the data you expect
2) Set breakpoints in ABAP and confirm your transmit is calling into your ABAP as expected
3) Java - Add breakpoints and step through your Java class to confirm it is getting back the data as expected
4) ATE - Look at the CT in the ATE to view the contents
--Bill

Similar Messages

  • How do I get a new value for the service name field and update it in Connection Properties?

    I am running Windows Vista. I just upgraded to Firefox 4. When I try to log on to the internet, it tells me the proxy server is refusing connections. A diagnostic reported Error 815 and said the remote server is not responding because there is an invalid value for the "Service Name" field. It said to get a new value and update it in Connection Properties. How do I do this?

    When you create a new film script, the first page you see is a title page.
    The page after this title page is the one where you generally type in your scenes.
    It looks like you are facing some issue and not able to delete any text.
    Can you please send me this script so that I can have a better look at your issue?
    You can save this script to disk by using option 'File -> Save to disk'. This will create a '.stdoc' file on your system.
    Just mail this '.stdoc' file to me at 'roverma <at> adobe <dot> com'
    Thanks

  • Urgent -Need to Add new values for the LOV field in forms

    HI,
    I am customizing an existing form. In that i need to add some values for the LOV fied which can be used during run time.
    Please Can some one help me in doing this?
    Thanks
    Suresh P

    Go to Navigator and edit the LOV or create a new one.
    hope that helps!

  • How to set new value for the existing jar file

    Help:
    I am wondering if there is a simple to update value for Manifest-Version in a existing jar file?
    Thanks!

    The jar command's -u option is about as easy as I know.
    See the jar command documentation for the details.

  • Field "Value field texts" is disabled to enter new values

    Hi there,
    I'm trying to enter new values on the field "Value field texts" from Depreciation Area, in Config Asset Value Display(Financial Accounting (New) > Asset Accounting > Information System > Configure Asset Value Display). The fields are disbled to enter new text values.
    I don't know what's happening. I've see the SAP Note 121433, but I don't intend to request the creation of a program to fill these fields. Does anyone know if there's another way to deal with this?
    Thanks in advance.

    Hi Srinivasa,
    Thanks for reply. I've checked the transaction ANSICHT following the steps said and the Master Data fields are with "No authorization" for all Depreciation areas.
    Do you know if there's another way of enable these fields? We cannot change the Authorization settings from one Depreciation Area to another.
    Thanks a lot.

  • Force a user to enter a value for a parameter.

    Hi,
    I have a report with a bunch of parameters and I want to force the user to enter values for two parameters amongst all of them. Like for example when the user doesn't select values for those 2 parameters he should get a dialog box saying "please enter value for xyz parameter" or something like that, which will force the user to enter a value for the parameters before he can see the report.
    Please let me know if BI Publisher can do this.
    Thanks,
    DY

    Thanks for your replies BIPUser. I have recently started working on BI Publisher without a lot of help around.
    The information in the link is what I was thinking of, if there is no such feature I'll have a default value for those 2 parameters.
    Thanks,
    DY

  • Set new value for VO attribut

    I have function in package on database which is param is String and return value is also String(VARCHAR2).
    That function calculate some field on db and return a result.That is OK
    I made VO in my AM.
    "SELECT package_name.func_name("string") from dual" and that is OK also.
    When I start that module I recive valid result from database based on string which I passed to function.
    And that works fine.
    Question :
    How can I change value or how can I set new value for the package_name.func_name(variable) in VO
    during runtime in my application ? ^^^^^^^^
    JDeveloper 9.0.3.988

    I have function in package on database which is param is String and return value is also String(VARCHAR2).
    That function calculate some field on db and return a result.That is OK
    I made VO in my AM.
    "SELECT package_name.func_name("string") from dual" and that is OK also.
    When I start that module I recive valid result from database based on string which I passed to function.
    And that works fine.
    Question :
    How can I change value or how can I set new value for the package_name.func_name(variable) in VO
    during runtime in my application ? ^^^^^^^^
    JDeveloper 9.0.3.988 1. When using stored procedures it would be better to use it in following way:
    Connection conn = //get it some how
    CallableStatement cs = conn.prepareCall("{call myPackage.do_something(?)}");
    cs.registerOutParameter(1, java.sql.Types.VARCHAR);
    cs.execute();
    2. You could parameterize it like this:
    CallableStatement cs = conn.prepareCall("{call " + packageName "." + funcName + "(?)}");
    cs.registerOutParameter(1, java.sql.Types.VARCHAR);
    cs.setString(1,"someString");
    cs.execute();
    String result = cs.getString(1);
    where packageName and funcName are defined elsewhere
    --hery

  • Hi, how can i break the value for a row and column once i have converted the image to the array?????​??

    Hi, I would like to know how can i break the value for a row and column once i have converted the image to the array. I wanted to make some modification on the element of the array at a certain position. how can i do that?
    At the moment (as per attachhment), the value of the new row and column will be inserted by the user. But now, I want to do some coding that will automatically insert the new value of the row and the column ( I will use the formula node for the programming). But the question now, I don't know how to split the row and the column. Is it the value of i in the 'for loop'? I've  tried to link the 'i' to the input of the 'replace subset array icon' , but i'm unable to do it as i got some error.
    Please help me!
    For your information, I'm using LABView 7.0.

    Hi,
    Thanks for your reply.Sorry for the confusion.
    I manage to change the array element by changing the row and column value. But, what i want is to allow the program to change the array element at a specified row and column value, where the new value is generated automatically by the program.
    Atatched is the diagram. I've detailed out the program . you may refer to the comments in the formula node. There are 2 arrays going into the loop. If a >3, then the program will switch to b, where if b =0, then the program will check on the value of the next element which is in the same row with b but in the next column. But if b =45, another set of checking will be done at a dufferent value of row and column.
    I hope that I have made the problem clear. Sorry if it is still confusing.
    Hope you can help me. Thank you!!!!
    Attachments:
    arrayrowncolumn2.JPG ‏64 KB

  • Not reflecting the new value of the AWvariable

    I am working with Jdeveloper and BI beans
    we are using Java Analytical workspace API for connecting and saving the user input as a Analytical workspace Variable
    by using fallowing code
    awConn.executeCommand("awvariable=value");
    here the problem is i can not made this assignment perminent in Analytical Workspace
    i.e after execution of the program i checked with AnallyticalworkSpace manager's worksheet it not reflecting the new value of the AWvariable. It is showing only old value.
    how can i do that assignment it from java api .
    any one can help me

    That other post looks different, though - the OP is now manipulating the model.The OPs statement of the problem was:
    Adding new data to the exitsting model causes the JList to display blank when I refresh the screen.
    The suggestion in the other posting was to change the model not the array and the tutorial has a working example of this.
    The OPs question was:
    When my action performed creates a new instance of the model everything works fine but is this how it should work?
    The answer to this is no, you don't need to change the model, just update the model.
    So if the OP read the other posting and read the tutorial they should have an answer to their problem.
    As you suggested there is no need to create a custom model. The example in the tutorial uses the default list model, if the OP read the tutorial they would know that.

  • How to allow user to enter new values in a segmnt which's having a ValueSet

    Hi Gurus
    I am having a DFF segment where user needs the following validation. I have to check whether the value entered by user is having status number as 5 in a custom table. I can do this by Table type Validation.
    But the problem here is, they should also be able to enter new values which not in that table.
    How i can achieve this. Appreciate your help on this.
    Thanks.
    Praveen

    Value sets allow only for standar list for validation, not a combobox that is what may help You to achieve what You want. You either have a restricted list or an open field to type whatever matches the format restrictions.
    For what You specify, I see no reason on having a table validation is the user can after all enter new values, perhaps it's to have the table values as references and avoid duplicates. Workarounds may be:
    Add an "others" value to the table, and enable another segment to enter new values and add custom validation to avoid duplicates and insert the new values to the table for future use.
    Have an independent value set and add a customization to avoid duplicates (more difficult considering typos) and insert new values.

  • Updating a row is not reflected after committing and it takes the old value

    Sir,
    I have been stuck at this problem for quite some time. So, I have a updatable table with editall property but i am controlling each column's read only property based on the value of the checkbox present in that table.So, if the user clicks on the checkbox ,the entire row becomes editable. But when i am changing the value of the row and pressing the commit button , it does not take the new value but the postback happens with the old value only. If i just drag the table as editall table and edit something , the commit button does reflect the change.
    How to solve this. Please help

    Frank,
    The reason i am not using the ClicktoEdit feature is because my aim is that the user clicks on multiple checkbox and then press the update button ,then all the checked rows becomes editable and the user can update them. But unfortunately, this feature is also not working .I am going step by step. So, i have checkboxes which the user can click to update them but it is not committing the change. Could u please help me or suggest some other way round. If u want any other information , please do ask.
    Thanks

  • EDI - ECC 6.0 DOCREL value.  Old value 46C, what's new value for ECC 6.0?

    Good morning all.  We are upgrading from 4.6C to ECC 6.0.  When  testing the inbound idocs for Purchase Orders, I am getting en  error on the DOCREL field.  It says that the value 46C is  invalid.  My question is: what is the valid value for the ECC  6.0 version of R/3?  Are there different values for different message types?  Thank you in advance!

    Hi,
    > 1 : How much space i exactly need for the same.As per document i will need 50 GB extra for DB and Some file system space for Downloading S/W and some temporary space.But as per discussion with some of my friends who did EHP5 upgrade it took approx 350 GB extra space, Also as per document in CHECKS Phase i will get the message for the sapce requirement but for the Presentation purpose i need to provide these detail to Client.Can you give your opinion.
    >
    > (Our Databse size is around 1TB )
    >
    Space required will be around 50-80 GB only. Initially you will need more space because it will ask you to create some new containers. But after upgrade you can delete old containers that will be empty and can release some space. Same has been there in post-installation steps of EHP5 upgrade guide.
    >
    > 2 : I want to know what will  be the impact on other systems like EP and PI, After activation of new functionalities how they will be reflected on the Portal or i need to upgrade my EP system as well ?????
    > Similarly what steps i need to perform for BI and PI systems.
    >
    You can check SAP note 1388258 for the same.
    Thanks
    Sunny

  • Unable to enter Input value for an ICD

    Hi All,
    I have created an element XXX which has two input values "Pay Value" and "Class". The class has the values 'A','B','C','D'. I have created a plan and set up the rate In the calculation method I have chosen "No Standard values used".
    Now when I try to assign this ICD plan to the user in the Miscellaneous plan I am not able to enter the car class. Can someone help me with this.
    Thanks
    Shekar.

    Hi Shekar
    I find the ICD setup very 'picky'! If you get one thing wrong, it doesn't work. I have detailed below the steps I usually advise people to tek. Check your setup and see if this helps.
    1. Define Plan Type, Compensation Category = Others.
    2. Define Plan. Link to Plan Type. Plan Usage = May not be in program. On Not in program Tab - define sequence, currency, enrollment rate (per pay period?), activity reference period (Monthly). Your settings may need to be different. On Plan details tab, enter plan years.
    3. Plan enrollment requirements. On the general tab, plan sub tab, make sure the method = EXPLICIT. this allows the user to enter an input value for the ICD. THIS MAY WELL BE THE SOURCE OF YOUR PROBLEM!
    Make sure the CERTIFICATION region is UNTICKED. This can also cause ICDs not to work.
    ALLOWS UNRESTRICTED ENROLLMENT must be TICKED. Otherwise there is no eligibility to the ICD.
    On the rates subregion, make sure the run strt date is set to ENTERABLE.
    4. standard Rates form. Make sure the ACTIVITY TYPE and TAX TYPE are entered. Select the ELEMENT and the INPUT VALUE and TICK the ELEMENT AND INPUT VALUE REQUIRED field.
    On the processing Information tab - TICK ASSIGN ON ENROLMENT, DISPLAY ON ENROLLMENT and PROCESS EACH PAY PERIOD. Enter PER PAY PERIOD AMOUNT in VALUE PASSED TO PAYROLL and OTHER in COMPENSATION CATEGORY.
    Let me know if this works!
    Regards
    Tim

  • How to check old and new value for a text item attached to a lov?

    Hi,
    I am new to Forms.
    I need your help in following.
    I have a form which has a text item which is attached to a LOV. I want to track what changes are being done using that form. So i want to know what was old value and what is new value.
    I can get the new value as it is there in form field. how can i know what was the old value.
    Thanks
    Prashant Pathak

    This is wrong:
    name_in(':' ||l_audit_block.field_name)
    this is right and will get you the current value of the the item:
    name_in('l_audit_block.field_name');
    Assuming the name of you block is "l_audit_block" and the name of your item is "field_name".
    Please note name_in() returns your current value for an item. In your case this may or may not be the "old" value. I define "old" value as the value it was when it was queried. If that is what you are looking for you need to use the get_item_property() call that Steve described above.
    --pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Please enter valid  value for characteristics

    Hi,
    One of our user got this error when opening a query Please enter valid  value for characteristics.
    How do I fix this since I couldn't see any errors in SU53 and authourization logs.
    thanks

    Hi Bhat,
    Check SAP notes : 1077144
    Thanks,
    Vijay.

Maybe you are looking for

  • Manual creation of idoc for a Accounting document FIDCC1

    Hi, Some of the config for the change pointer was not moved to production and some accounting documents have been created which have not triggered the IDOC. Is there a way to create the idoc for the accounting documents already created. Regards, Pune

  • ITunes 7.5 wont start & iTunes 7.4 works just fine

    Hi, i dont know what to say, im just ******... I bought a new iPod nano, and at first i realized that i basicly cant upload music...***?.. I took some books i got, and realized that i need a program, called iTunes.., ok, whatever, so, i download iTun

  • Xorg.conf , nvidia 96xx and dual head failure

    i cant get Xorg to work with nvidia driver at all. here is where i am. setup aurch linux [X] setup xserver with NV driver 1 head[X] setup dual head[] ok so i cant even get nvidia drivers to work or dual head on the NV driver. i dont have an xorg.conf

  • GL validation

    Dear All, I would like to achieve special requirement.I am wondering that I can do this with GL validation but I am not able to setup a correct structure to meet this requirement. I am sharing this with you all experts ; Requirement - IF Company code

  • EDI for Bill Of Lading

    Hi experts. I would be implementing EDI for BOL and BOL Acknowledgement. What would be the Idoc type and Message type that I should use for these documents? Is this something do-able?