Text items not being refreshed by LOV items.

Hi all,
I've got a strange LOV behavior problems which I cannot solve and require your valuable time and efforts.
I've created a simple ADF JSF pages with 3 fields and the first field is LOV enabled. For all new row, after clicking the LOV icon, the LOV will show up and after selecting a particular value, it closes the LOV screen and replace it with a new row with the selected LOV data. It is all working well for all new rows just like a normal LOV should perform.
But I had problem with existing data. The row which I selected from the LOV somehow cannot referesh and overwrite any existing row (visually) but after commiting the data, it was actually written and refreshed with the correct data. Is there a property in the JHeadstart Application Definition Editor where I enforce the text items to be refreshed by the LOV items?
Thank you for your time and efforts.
Kind Regards,
John

Hi Guys,
I've performed the following scenarios attempting to refreshed Text items by the LOV Items.
Scenario 1: Create a new column called some_key load unique number into it. Set this column as the primay key and deselect existing primary keys as key attributes. Also, I've created a sequence and some_key is of type of DBSequence getting value from the new sequence starting from 1.
After generation when run and the result is:
JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 2: Create a unique index for the some_key column, rerun and the result is:
JBO-27022: Failed to load value at index 11 with java object of type oracle.jbo.domain.DBSequence due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 3: Set some_key as number instead of DBSequence (from Entity Object Editor), rerun and the result is:
JBO-27021: Failed to load CustomDatum value at index 11 with java object of type oracle.jbo.domain.Number due to java.sql.SQLException.
## Detail 0 ##java.sql.SQLException: Invalid column index
Scenario 4: Deattach the offending View Object from the Application Module. Remove the offending view link and view object. Recreate view object and view link. Reset some_key is of type of DBSequence getting value from the new sequence starting from 1 (From the Entity Object Editor). After generation when run and result is:
SUCCESSFULLY!!
So, I guess the bottom line is here are the following things which you need to perform in order to enable text item to be refreshed by LOV item (if the detail table has composite primary keys)
1.) Create a new column
2.) Load unique value to it
3.) Create unique index for it
4.) Create entity object, view object and view link object.
5.) Set the new column as primary key.
6.) Deselect the key attributes for all composite primary key columns.
Regards,
John

Similar Messages

  • Item Texts Is Not Being Created in BAPI_BILLINGDOC_CREATEMULTIPLE

    Hi.
    I am Using Bapi TO Create Invoice, Every thing is created successfully , but item text is not being created. Code is as below.
    DATA: s_vbap TYPE vbap,
                t_billing TYPE STANDARD TABLE OF bapivbrk WITH HEADER LINE,
                t_datain TYPE STANDARD TABLE OF bapikomfktx WITH HEADER LINE,
                t_return TYPE STANDARD TABLE OF bapireturn1 WITH HEADER LINE,
                t_success TYPE STANDARD TABLE OF bapivbrksuccess WITH HEADER LINE.
          SELECT SINGLE * FROM likp
          WHERE vbeln = v_del_doc_no.
          SELECT SINGLE * FROM lips WHERE
          vbeln = v_del_doc_no.
          t_billing-salesorg = likp-vkorg.
          t_billing-ref_doc = likp-vbeln.
          t_billing-ref_item = lips-posnr.
          t_billing-doc_number = v_del_doc_no.
          t_billing-itm_number = lips-posnr.
    *      SELECT SINGLE fkarv FROM tvak
    *            INTO  t_billing-ordbilltyp
    *            WHERE auart EQ zsoa_so_header-auart.
          SELECT SINGLE auart FROM vbak
                      INTO  t_billing-ordbilltyp
                      WHERE vbeln EQ order_num.
          t_billing-price_date = sy-datum.
          t_billing-ref_doc_ca = likp-vbtyp.
          t_billing-material = lips-matnr.
          t_billing-plant = lips-werks.
          APPEND t_billing.
          BREAK-POINT.
          CLEAR: t_datain.
         t_datain-ref_doc = v_del_doc_no.
          t_datain-ref_item = '000010'.
          t_datain-applobject = 'VBBP'.
          t_datain-text_id    = '0001'.
          t_datain-langu      = sy-langu.
          t_datain-format_col = '*'.
          t_datain-text_line  = 'FSG 2829'.
          APPEND t_datain.
          CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
            TABLES
              billingdatain = t_billing
              textdatain    = t_datain
              return        = t_return
              success       = t_success.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          LOOP AT t_return.
            itab_msg-type = t_return-type.
            itab_msg-msg =  t_return-message.
            APPEND itab_msg.
            CLEAR  itab_msg.
          ENDLOOP.
          READ TABLE t_success INDEX 1.
          p_i_bill_doc = t_success-bill_doc.
        ENDIF.
      ENDIF.
      CLEAR: itab_so_items, itab_so_items[] , delivery_no , itab_return[].
    So Text FSG 2829 is not being created in Item Text.....

    Hi Tahir,
    You can check with the below thread
    A question of BAPI_BILLINGDOC_CREATEMULTIPLE
    Regards,
    Pawan

  • The xml is not being refreshed

    hello
    i am trying to build an online calendar in which the user can
    save his massages.
    the problem i have is that once the user saved the messages
    the first time, the next times he logs in the messages are not
    being refreshed. meaning that the user will always see his first
    messages and it does not refresh.
    the way it works is that after u press save, it creates an
    xml file that is loaded the next times.
    if you delete the cache than the correct info appears.
    i tried to research it but havent really figured out a way to
    solve it. maybe its something to do with http headers i dont
    know...
    the calendar is on :
    http://www.omrihecht.com/calendar/calendar.html
    any help will be appreciated.

    the code i am using to load the xml is :
    prevData.onLoad = function (success : Boolean)
    if (success)
    loadPreviousData ();
    showErrorMessage ("loading data")
    } else
    showErrorMessage ("welcome "+loginName.text)
    myIdentifier = Math.round (Math.random () * 10000);
    prevData.load (fileToLoad + "?uniq" + myIdentifier);
    and on explorer it works ok, on firefox it doesnt
    if you will look at it, when it finds the file it has to
    load, it displays "loading data", if it doesnt find it it displays
    "welcome "+username..
    if you will use the following username = 123 and
    password=456789 than you will be able to see the difference between
    the browsers..

  • Text element not gettin refreshed in smart form

    Hi
    Text element does not get refreshed in the smart form preview. 
    I have a selection screen on which i have a few selection parameters and three application
    toolbar buttons. "Save" , "Preview" and "Print". At the end of selection screen I have a
    button "text" which when clicked takes me to the text element editor(FM  'TEXT_EDIT' )
    I have to enter a project number on the selection screen, enter all other details and
    then click on the "Text" button. I would then change /edit some text etc and come back
    to sel screen. Now i click on preview , the smart form shows up and the text gets dispalyed
    with the modified text. 
    I am passing the text name by appending "sometext" + project number to the TEXT_EDIT
    and while eiditing and as a parameter to the smart form. In the smart form i have given the variable in the "include text".
    Now Herez the problem.
    I am still in selection screen and clik on the "text" button and it takes me to the
    text editor. Now i add more lines, save and come back. Now i clik on preview
    button and it displays the old text data.
    When i come out of the transaction and renter , clik on the preview it displays data
    correctly. Now if i repeat the steps
    1.edit text button , add a few lines
    2.preview button, shows data as entered in step 1.
    3.edit text button, add few more lines
    4.preview button .. the text displays is from step 1 and not 3.
    I am not sure if this is lot of info for anybody to write an answer straight away but
    if u need more info i can provide. I can do a read_text in the smart form but its toooooo
    much of a pain for the data i need to display. million adjustments to be taken care of.
    What could be the problem ? I have given all the basic settings like save parameter
    in edit_text fm , checked all the print preview options in sdn.
    Here are my questions
    1. Why is the text element not getting refreshed.
    2. After a form is displayed for preview , will it store anywhere in the buffer ? if yes
        is there any method to clear it ?

    Hi,
      The problem is not with text elements, it might be your size of window which you are using to display the text elements. Check your window size and modify that accordingly.
    Cheers,
    Bujji

  • My 4S has stopped ringing. Voicemail's disabled but if you call me, you'll hear it ring your end but it does nothing at mine and freezes if I make a call. Texts are not being delivered or coming through delayed. Ringer is on, tone enabled - help!

    My iPhone 4S has stopped ringing altogether. Voicemail is disabled but if you call me, you'll hear it ringing at your end but it does nothing my end and freezes in the phone app if I make a call (doesn't ring or connect and doesn't freeze the phone, just the calling part). Texts are not being delivered or coming through delayed. Ringer is on, tone enabled - help!
    I've disabled roaming so it only runs on wifi (this after getting a £4k phone bill...) and I can use Skype, Viber and WhatsApp with no problem at all.
    Would really appreciate any help at all!
    Many thanks.

    Hi there - am with Orange and they said nothing wrong with account and service running normally.  They said if they had cut me off I would've received a text (debatable with current message receiving situation!) and when I called out it would say 'calls from this number are barred'.  Also if you called me it would say something similar.  But it doesn't, it will ring and ring until it rings off but nothing happens at all on my handset. Not even a missed call notification.  If I call out, it will display that it is calling the number but that's it.  If I cancel the call it will constantly display 'ending call'.  If I come out of the phone and go to another app then revist phone it will start calling that last dialled number - without ever getting as far as ringing or connecting.

  • My texts are not being delivered to iPhone operators as an iMessage, only to non iPhone operators?

    My texts are not being delivered to iPhone operators as an iMessage, only to non iPhone operators?

    Check that iMessage is turned on in Settings > Messages and that the Apple ID in Settings > Messages > Send & Receive is correct, along with your phone number and email account(s).

  • My outgoing texts are not being recieved.  How do I fix this?

    I got my iPhone a few days ago and I am my texts are not being received. Any suggestions?

    Apple has a pretty comprehensive trouble shooting guide in Mail Setup, Troubleshooting etc..

  • Text messages not being sent to computer

    My text messages are not being forwarded to my computer anymore, and I can't text to non-iPhone users

    Handoff Continuity Troubleshooting
    Handoff Continuity Troubleshooting (2)
    iPhone, iPad, iPod touch, and Mac using Continuity - Connect

  • International texts are not being received?

    Hello folks
    I have an iPhone 5.
    I can make and receive local and international calls. I can send and receive local text messages. I can receive international text messages but cannot send them. I have an International calling and texting plan.
    iMessage works fine as does Viber. I have been in contact with Verizon and have been told everything is working fine. They say my text messages are being sent. But none of my international contacts receive them. My international contacts have service providers that are on the Verizon list and they all can receive international texts.
    I also contacted Apple and they said the problem was with Verizon as the phone works fine.
    Does anyone else have this or a similar issue? It's very frustrating.
    Any assistance would be greatly appreciated.
    Many thanks

    Hello Mazaz,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Have a nice day,
    Mario

  • Why is my text message not being delivered

    Why is my messages not being delivered?

    1. Messages on the iPad can only be sent to other iDevices
    2. The receiving party must also be registered with iMessage
    Note: The two above conditions must be met.

  • Why the hyperlink blue text is not being created for .cat & .ad domains? Is it for using Catalan language on them?

    I was just trying to share a catalan website with a friend and I realized that the .cat domain was not being hyperlinked. Then I tried with a lot of domains such .es, .fr, .pt ...  Finally I got that all domains are working well except for those with a catalan speaking like .cat or .ad (.ad is the domain for adorran websites, Andorra is a country dude!). As a Catalan speaker I'm really upset with you.
    Usage details:
    Device: iPhone 4s 16GB
    Software version: iOS 8.2
    Software language: Catalan & Spanish (I tried with both)
    Tried apps: Whatsapp, iMessage, Notes & other Apple Apps.
    PS: This is not happening with Android, I've asked for...

    http://freelance-it.com.mx/forma-correcta-de-utilizar-la-pestana-drivers-dentro-de-mdt-2013/
    Freelance-IT http://www.freelance-it.com.mx

  • Text memory not being cleared after SAVE_TEXT

    Hi ,
    I am using SAVE_TEXT function module ( along with SAVE_MODE_DIRECT = 'X')  to write some data into the text elements of a Sales order during creation. This activity is being done in the SAVE_DOCUMENT method.
    The problem is that once the text is saved to the sales order and I attempt to create a new SALES_ORDER using VA01, the old value ( from the already saved order) appears in the text elements.
    I tried using FREE MEMORY ID ,but the same did not work.
    Any thoughts on how I can flush the memory text.
    Thanks,
    Jasmit
    <removed by moderator>
    Edited by: Thomas Zloch on Jan 15, 2012 9:40 PM

    Hi All,
    I tried with refreshing the table, using the SAVE_MODE_DIRECT ='X' and blank, but the issue still persists.
    I was under assumption that SAP might be clearing the text memory before every new transaction and then initiating the text determination procedure. However, this does not looks like the case..
    Any thoughts on alternate solutions.
    Regards,
    Jasmit

  • International Texting - Messages not being sent.

    I maintain regular contact with somebody overseas, and we have used internatonal texting often on a daily basis for the past few years. Recently, most of my messages have stopped coming through. Yesterday afternoon, I sent five consecutive text messages. The reciever did not get anything until this morning, and it was only one of the five messages I sent. The rest seem to have been lost (I'm ommitting the fact that the message that WAS recieved, was missing the last two characters a minor gripe).
    Knowing this, I re-sent one of the five messages that was lost but 45 minutes later, it still did not come through. I then dialed *228 and updated my roaming capabilities, as it was recommended here. I sent another, fresh, short text message but this one was not received either. 
    I am texting somebody in Poland. This has worked (as far as I know) without a hitch for a long time, and I still receive every message that is sent to me.
    1) I would like to know how to fix this.
    2) I would like to know if I'm being charged for every text message that Verizon fails to send?

    That's strange that it would stop all of a sudden. Did either of you add an app or change anything?
    I would try deleting each other as a contact, then one of you try to send a message to the other using the full 10-digit number. If that is successful, add the contact back from the received message, and then REPLY to that message so the other can add from the received message.
    Something may have happened to corrupt one or both contacts so things are messed up. By deleting (then reboot the phone) and adding back in it may solve the issue.
    it may not, but it's worth a try.

  • Text is not being displayed in sync on a label when looping through a list -- how to fix?

    I have a list of states (50 states).  I loop through this list (in a winform app -- VS2012) and want to display the current state ID that is being processed in the loop in the text property of a label.  I precede the label.Text = StateID line with
    Application.DoEvents() but I am also (in Debug mode) writing the same text to the console.  The console displays correctly, but there appears to be a lag in the label.Text property
    List<string> StateList = new List<string> { "al", "ak", "az","ar","ca","co","ct","de","fl","ga",...};
    foreach (string stateID in StateList)
        Application.DoEvents();
        lblStateID.Text = "State is " + stateID;  //--there is a lag here
    I vaguely recollect something about a NotifyPropertyChanged event.  I know this is common in WPF, but is there something similar in winform?  Or is there a way to make the desired text to be displayed in the label.Text property in synchronization
    with the loop?
    Rich P

    Thank you.  This is way simpler than implementing the INotifyPropertyChanged Interface.  Although, here is an article on the INotifyPropertyChanged Interface and event
    http://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged(v=vs.110).aspx
    Rich P

  • Why isn't a normal text message not being delivered to just one number ?

    Since the IOS update a few weeks ago I've discovered that text messages I've been sending to a T mobile phone haven't been received, whereas they always were before. I've texted from another phone successfully so the problem is not their end. This is not a problem with Imessaging - all the help and advice appears to be with this issue. It's just normal text messaging that isn't getting through. Any advice would be appreciated !

    Have you contacted your carrier, since this is a carrier feature?

Maybe you are looking for

  • Need switching back to interleaved.

     Couple of days ago the homehub3 has decided it will switch back to "Fast" latency from "interleaved" and has been causing issues which has needed me to unplug the DSL line and replug it back in after the Broadband light has switched off every evenin

  • Exception while opening a JSP file

    HI, I have created a JSP page which contains embedded Oracle reports build using Oracle Report Builder. I have deployed the JSP created above to the Oracle Application Server but when i try to open the JSP file it gives the following error: 500 Inter

  • How do I install Adobe Flash Player when each time I try I get a "Light Room" ad and can't proceed from that point?

    When I try to download Adobe Flash Player I encounter an advertisement for Light Room and Creative Cloud that I can't get past and the download does not take place --

  • Lighting effects not showing up in CS5

    This plug-in is not showing up on both CS5 and CS 5.1 running on a MAC OSX 10.6.7 Italian system. I have tried both from the Italian versions of PS and even from one new version in English of PS5.1 and it isn't to be found under the menu "rendering"

  • Connecting to Wifi with G4 at home

    So I'm using a G4 Flatsceen, in the past I've always used dial up. But now my building has free Wifi! Woo hoo for me. My airport card in the computer finds it and I can get full bars but i still can't get online. My building gives me the password, wh