Text fields populated from lov mapping are not saved to database

Hi Everyone,
I'm having a wierd problem. My requirement is to autopopulate two text fields field 2 and field 3 when a value is selected from lov in field1 and save all the values to database on click of a submit button.
Using lov mapping i'm able to populate field 2 and field 3 with corresponding values based on the value selected in field1. And also field2 and field3 should be in the readonly mode so that user cannot change the value.
So to make the fields readonly i have changed the property of readonly to true for field2 and field3. But if I change the readonly property, the values for field2 and field3 are not being saved to database.
The values are getting saved to database only when readonly = true for messageTextInput item type or if the item type is a form value.
I also tried disable = true, which also didnt work.
I tried to debug by writing some sop statements in PFR, but these statements also returned null for pageContext.getParameter("field2") etc;
Can anyone please tell me how to solve this problem?
Thanks
Sunny

Hi Gyan,
I forgot to mention that , I also tried messageStyledText. Which also didn't work. I wanted to use vo.setAttribute as my last option, but i wanted to understand why the values are not saved to database when the text item is showing the values on the page.
Thanks
Sunny

Similar Messages

  • Removing songs from iTunes, that are not saved on the computer

    Hey guys.
    First of all i would like to thank you for reading my post and trying to help.
    Anyways, i rent an external harddrive from one of my friends, and he had a huge amount of songs, that i would like to get on my computer. Stupid as i am, i started downloading directly from the harddrive, which result in a lot of songs in my iTunes, that are not saved in the computer, and when i remove the external harddrive from my computer, all the songs cannot play. So after that, i saved them on my computer, and tried getting them into iTunes once again. This has resulted in a double of every songs. Which is quite much.. Are there any ways, that i can do a "Clean-up" and remove all the songs that are not saved on my computer or not working or something like that?
    I appreciate your help. Thanks in advance.

    Hi,
    If your previous library was matched on you your computer, you can retrieve your music from itunes match on your computer.
    Sign in to match and add your computer. Your library will now show all the music that is in match. You should be able to download all your music back on to your computer.
    Jim

  • How to delete images from folder which are not in the database

    I am created windows form
    i wont to delete images from the folder where i have stored images but i only want to delete those images which are not in the data base.
    i don't know how it is possible . i have written some code
    private void button1_Click(object sender, EventArgs e)
    string connectionString = "Data Source";
    conn = new SqlConnection(connectionString);
    DataTable dt = new DataTable();
    cmd.Connection = conn;
    cmd.CommandText = "select * from tbl_pro";
    conn.Open();
    SqlDataAdapter da = new SqlDataAdapter(cmd);
    da.Fill(dt);
    int count = Convert.ToInt32( dt.Rows.Count);
    string[] image1 = new string[count];
    for (int i = 0; i < count; i++)
    image1[i] = dt.Rows[i]["Image1"].ToString();
    string[] image2 = new string[count];
    for (int i = 0; i < count; i++)
    image2[i] = dt.Rows[i]["Image2"].ToString();
    var arr = image1.Union(image2).ToArray();
    string[] arrays;
    String dirPath = "G:\\Proj\\";
    arrays = Directory.GetFiles(dirPath, "*", SearchOption.AllDirectories).Select(x => Path.GetFileName(x)).ToArray();
    int b= arrays.Count();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    var del = arrays[j].ToString();
    else
    foreach (var value in del) // ERROR DEL IS NOT IN THE CURRENT CONTEXT
    string filePath = "G:\\Projects\\Images\\"+value;
    File.Delete(filePath);
    here error coming "DEL IS NOT IN THE CURRENT CONTEXT"
    I have to change anything .Will It work alright?
    pls help me
    Sms

    Hi Fresherss,
    Your del is Local Variable, it can't be accessed out of the if statement. you need to declare it as global variable like below. And if you want to collect the string, you could use the List to collect, not a string.  the string will be split to chars
    one by one.
    List<string> del=new List<string>();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    del.Add(arrays[j].ToString());
    else
    foreach (var value in del)
    string filePath = "G:\\Projects\\Images\\" + value;
    File.Delete(filePath);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    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.

  • Sent messages from secondary account are not saved in Outlook 2011 for Mac

    We are using a shared email account added in Outlook 2011 for Mac.  It's not the default account but we send from it often.
    Whenever sending from this secondary mailbox, the message is not saved in sent items folder under the secondary mailbox or the default mailbox.  There seems to be no record of the sent item anywhere.
    I verified the message is sent and received.
    All microsoft updates have been applied and we are using Exchange 2010.

    Hello,
    Please first log into OWA and check if the email are saved in the Sent Items folder.
    We can tick the option "Save copies of messages in Sent Items folder" in Outlook 2010 and Outlook 2013 to save a copy of sent message, please check if you get such option in Outlook for Mac.
    In addition, in Outlook for Windows, we can change a registry key to force Outlook to save sent emails in the default or secondary mailbox, but I'm not sure if Outlook 2011 has such trick. See:
    http://www.msoutlook.info/question/278
    Since this forum is general questions and feedback related to Outlook for Windows, it's better to post your question to the forum for Mac:
    http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macoutlook?sort=lastreplydate&dir=desc&tab=Threads&status=&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&tm=1395990325271
    The reason why we recommend posting appropriately is
    you
    will
    get the most qualified pool of respondents,
    and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Best Regards,
    Steve Fan
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Bdc - values are not saved in database

    hi mates
    im have recorded the transaction for XK01 and im using batch input session. when i process the session my transactions are failing
    can any body help me
    regards
    mano

    Hi,
    Just make sure that all the data fields are replaced with the value fields i.e. internal table fields.  and check whether u have placed the code  for save.
    PERFORM F_9000_APPEND_BT USING:
        'SAPLCJWB'           '0901'                'X',
        'BDC_OKCODE'         '=BU'                 ' '. "SAVE
    FORM F_9000_APPEND_BT USING IV_FNAM LIKE GT_BT-FNAM
                              IV_FVAL TYPE ANY
                              IV_DYNBEGIN LIKE GT_BT-DYNBEGIN.
      CLEAR GT_BT. "Clear the field string...
      IF IV_DYNBEGIN = 'X'.
        GT_BT-PROGRAM  = IV_FNAM.
        GT_BT-DYNPRO   = IV_FVAL.
        GT_BT-DYNBEGIN = 'X'.
      ELSE.
        GT_BT-FNAM     = IV_FNAM.
        GT_BT-FVAL     = IV_FVAL.
      ENDIF.
      APPEND GT_BT.
    ENDFORM. "End Of f_9000_append_bt

  • Debugging or Running from OC4J container does not save to database

    When I run a project locally, from the oc4j container, none of my user input is committed to the database, for example...
    1. any changes to an lov input field are removed upon tabbing out of the field
    2. any other changes are not saved, getTransaction().isDirty() is false
    I am unable to debug any items that require user input. I don't know when or why this started happening.
    Thanks,
    jerry.

    1. any changes to an lov input field are removed upon tabbing out of the field - may be the PPR event of LOV is handled in the controller's processFormRequest where the values are cleared
    I am unable to debug any items that require user input. ----- are you trying to get the values of input items in the processFormRequest?

  • The Informatica maps are not taking the parameters from dac

    Hi All,
    The Informatica maps are not taking the parameters from dac. We have tried setting the parameters at DAC level, task level. The parameter file is getting generated by DAC and has correct values as we expect. But when we run a full load from DAC, the initial date in Informatica is being taken as 1/1/1753. Do we need to specify the parameter file name at workflow level?
    Is there any setting that we are missing. Please guide us and let us know the steps we should take to make sure that the parameters that we set at DAC level get passed to the Informatica maps. Also mention this is happening only with dates and other parameters like data source num , soruce and target database information is getting passed to Informatica maps.
    The version of Informatica as 7.4.1 and dac version AN 328, Build date Aug 8 2007.
    Please Help me in this issue.
    Thanks in advance for all members.

    Hi Ananth.v
    Try to make sure that your parameter file's path in Infa is in-sync with the path of DAC files being generated.
    The date you are getting seems strange - which are your Source/Target DB platforms?
    In general take a look at [this thread|   http://forums.oracle.com/forums/message.jspa?messageID=3405906#3405906] , it may make some thing clearer for you.
    Hope it helps,
    Please post if you found a solution,

  • Visio 2010 - Shape Data Fields Are Not Saving

    I am having a problem with a number of shape data fields which are not saving data that has been entered into it, whether by entering it through the "shape data" or "define shape data" dialog boxes, or by editing the "shape
    sheet". 
    All data fields appear to save normally while file is open, it remains as entered.  However, when file is closed and later reopened select data fields do not retaining data correctly.  Some retain nothing (null), or revert back to a "default"
    value, see below for a couple examples:
    Rack Units:  Want to enter data as 1U, 2U, etc. ... in some cases it will save it as entered while in other cases it reverts to "1 RU", "2U", etc.
    Room:  Enter the data as I want it stored, most of the time it appears to come back empty, there are some shapes which will retain as entered.
    Comments:  Fails to retain any data
    I have looked at a number of reasons to explain why, whether the problems occur with stencils is supplied by Microsoft, a vendor, or were custom created.   Looked into whether it might have to do with a particular vendor's stencils/drawings
    but I have a number of Cisco drawings where some save those fields as entered while others do not.  I believe it could be a setting within the stencil preventing it from saving the data as entered, enabled in some cases and not in others.
    I have checked "Protection" under the "Developer" tab, but nothing appears to be set to prevent editing/storing data entered. 
    Is there some setting(s) or field(s) somewhere that I can look at to allow this data to be saved as entered?
    Is there a GLOBAL setting that can be set once within a file?
    Thank you in advance for your time to assist me in fixing these problems. Have a great day!
    MJ_NWE
    MJ

    >Can I build logic so that they can't fill in a field unless the previous field has been filled in?
    It's theoretically possible to do this (e.g. each field has an action
    of removing read-only on the next). It's considered extremely bad form
    design, because people don't always fill in fields in the order
    specified. If you watch people with a form they fill in their name,
    address, other easy stuff; then they go back for the harder stuff.
    They may want to save a form because one piece of information needs
    research.
    What you might like to consider is a large splash "FORM INCOMPLETE" in
    Red or whatever, which vanishes when all the fields are completed.
    Aandi Inston

  • Maps are not working in India after updating to iOS 6

    I bought my iPhone 4S from USA now I am in India and I updated to iOS 6 but now maps are not working.. Earlier it use to search every single place in india.. What to do??

    me too stuck up with the iOS 6 update. I was using my phone mainly for tracking roads and places. Now its useless. So guys if u r using iOS 5.1 in India dont update to iOS 6.Moreover i cant find google maps app in Appstore! can anyone find me a solution?

  • Lov Values are not showing for Discoverer Reports in Application

    Hi,
    I developed some discoverer reports, those reports having parameters with LOV. Those LOV values are showing in Discoverer Desktop, but after registering those reports in Oracle applications those LOV values are not showing. Pls let me know how resolve this issue.
    Regards,
    Hanimi.

    Hi,
    Also it is necessary to know how the LOVs are defined. Are they based on Application flexvalues for example? In which case it may be that you have not got your NLS language parameters set correctly when connecting from Applications.
    Rod West

  • When updating genius some songs from imported cds are not tagged to genius suggestion lists.

    When updating genius some songs from imported cds are not tagged to genius suggestion lists.

    All is fine now! Once genius has received your track information and has chance to digest it a fully functional, all encompassing set of genius mixes becomes, magically available. Love it!

  • Date fields for info structure S032 are not generated

    Hi Experts,
    I am trying to update set up tables for '02'  using OLI2BW. I excluded some plants from selection and executed the set up. But the job run for few mins and completed with the message "Date fields for info structure S032 are not generated".
    I couldn't see any records in RSA3.
    Please through some light on this issue.
    Points reward for usefull help.
    Please no wild guess.
    Regards,
    -N-

    Did you find out why. I am getting same message.
    Thanks
    Shalini

  • Sp_who2 -need only active sessions from users which are not the background sessions

    Hello,
    sp_who2 -need only active sessions from users which are not the background  sessions
    Please assist.
    Best regards,
    Vishal

    Its better to use DMV's to view only active sessions from users (spid>50) as mentioned by Shanky.
    You can do that using sp_who2 but it requires a bit of programming to list only user sessions.
    SELECT
    S.SESSION_ID,
    S.STATUS,
    S.HOST_NAME,
    C.CLIENT_NET_ADDRESS,
    CASE WHEN S.LOGIN_NAME = S.ORIGINAL_LOGIN_NAME THEN S.LOGIN_NAME ELSE S.LOGIN_NAME END LOGIN_NAME,
    S.PROGRAM_NAME,
    C.CONNECT_TIME,
    S.LOGIN_TIME,
    CASE S.TRANSACTION_ISOLATION_LEVEL
    WHEN 0 THEN 'UNSPECIFIED'
    WHEN 1 THEN 'READUNCOMITTED'
    WHEN 2 THEN 'READCOMMITTED'
    WHEN 3 THEN 'REPEATABLE'
    WHEN 4 THEN 'SERIALIZABLE'
    WHEN 5 THEN 'SNAPSHOT'
    ELSE CAST(S.TRANSACTION_ISOLATION_LEVEL AS VARCHAR(32))
    END AS TRANSACTION_ISOLATION_LEVEL_NAME,
    S.LAST_SUCCESSFUL_LOGON,
    S.LAST_UNSUCCESSFUL_LOGON,
    S.UNSUCCESSFUL_LOGONS,
    S.CPU_TIME AS CPU_TIME_MS,
    S.MEMORY_USAGE AS MEMORY_USAGE_PAGES,
    S.ROW_COUNT,
    S.PREV_ERROR,
    S.LAST_REQUEST_START_TIME,
    S.LAST_REQUEST_END_TIME,
    C.NET_TRANSPORT,
    C.PROTOCOL_TYPE,
    S.LANGUAGE,
    S.DATE_FORMAT,
    ST.TEXT AS QUERY_TEXT
    FROM
    SYS.DM_EXEC_SESSIONS S
    FULL OUTER JOIN SYS.DM_EXEC_CONNECTIONS C ON C.SESSION_ID = S.SESSION_ID
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(C.MOST_RECENT_SQL_HANDLE) ST
    WHERE
    S.SESSION_ID IS NULL
    OR S.SESSION_ID > 50
    ORDER BY
    S.SESSION_ID
    -Prashanth

  • How to store text field data from web dynpro application in pcd ?

    Hi Forum,
    I am new to web Dynpro.
    I want to store user specific data (a text field value) from a wd application in PCD and access it every time the user runs the application.How can I achieve this?
    Thanks,
    Mickey.

    Hi
    I created the "read" and "update" methods in my application service. How can I call them? I created and implemented the methods just like here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/340fc0ea-0c01-0010-74bf-965b11031e77
    Operations:
    - readMyEntityService:
    - updateMyEntityService
    Implementation:
    retValue = getMyEntityService().read(key);
    getMyEntityService().update(dS0);
    In Web Dynpro there is this update method with the code above (in my original post).
    How can I call the update-method????????
    Kind regards
    Bettina

  • I have a new iPad air and all of my photos from the cloud are not showing up on my new iPad air. How do I get all my photos to show up?

    Hi, I have a new iPad air, all of the photos from the cloud are not showing up. What do I need to do to get all my photos from the cloud onto my new iPad air? Thanks!!

    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)

Maybe you are looking for

  • Ipod touch 2nd gen and have ios 4.2.1. apps that will not download, higher ios version needed

    I have an ipod touch 2nd gen and have ios 4.2.1. I recently tried to download some apps and received a message that said I need a higher ios version (like 4.3 or higher). I know there used to be apps that worked before but I deleted them. When I trie

  • Free cost goods tracking

    Hi MEntors I am sending one projector to one  person to test it. then it's t's ok back to us. Here no cost will effect and .track the generator ( should not be pick any a/l accounts) How can I map this scenario in sap thanks for advance. Regards Laxm

  • Need help formating new HD  ???

    Just got a new External firewire HD to put my iTunes library. Its a G drive 500gb. Do I need to reformat the HD before transfering my iTunes folder (if so how)? Do I need to partion the HD(same how)? Don't know what to do... I want to make sure I do

  • How do I move/export a letterhead I created on Photoshop to MS Word (Mac)?

    I can get it there but I can't type on it. I'm pretty sure I've done this in the past but I can't remember how.

  • Problem when using gui in alv

    hi, i,y requirement is to place a new button in ALV applicaton toolbar. for that i have copied a standard pf status and trying to change it but nothing display when i exe. program using that status. even the standard layout dissappears. is there any