Hi  urgent pls suggest when i press enter the data disappears...

hi
i have develop,ed a module pool for table maintianece
in which  there are theree fields
customer number name  email id
now when i dont press enter at first field ie customer number after entering all data
and save the data is saved properly for all three fields
but if after e ntering the customer number i press enter and then enter name and email id
and save the data for email is not saved and also if i just press enter again the data in email id column which i entered disappears
can anyone suggest reason and solution for it
regards
Arora

hi
here is my code
PROCESS BEFORE OUTPUT.
  LOOP   WITH CONTROL TABLE_ZCUST_EM_CREATE."AT T_ZCUST_EM_CREATE
    MODULE STATUS_0200.
  ENDLOOP.
*Process after input
PROCESS AFTER INPUT.
  MODULE CANCEL_200 AT EXIT-COMMAND.
  LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_zcust_em_CREATE ." .".
   MODULE USER_COMMAND_0200.
    CHAIN.
      FIELD t_ZCUST_EM_create-ship_to .
     MODULE set_field_validation ON CHAIN-REQUEST.
    ENDCHAIN.
    MODULE USER_COMMAND_0200.
  ENDLOOP.
here ship_to is customer number
ship_to_name is name
and email id is email id field
pls suggest on this code also if u want i can give code for the module validation and user commarnd 2000
as below
MODULE STATUS_0200 OUTPUT.
  w_lines_200 = sy-loopc.
*Reading table t_zcust_em_create for screen 200.
  read table t_zcust_em_create
    index table_zcust_em_create-current_line.
*Refreshing The Internal table 't_zcust_em_temp'
  refresh:t_zcust_em_temp.
ENDMODULE. 
MODULE set_field_validation INPUT.
  CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
               INPUT         = t_zcust_em_create-ship_to
            IMPORTING
                OUTPUT       = t_zcust_em_create-ship_to.
  select single kunnr from kna1 into v_kunnr
          where kunnr = t_zcust_em_create-ship_to.
      if sy-subrc = 0.
       select single name1 from kna1 into t_zcust_em_create-ship_to_name
       where kunnr = t_zcust_em_create-ship_to.
      else.
      t_gui1-fcode = 'BACK'.
      append t_gui1.
      t_gui1-fcode = 'EXIT'.
      append t_gui1.
      t_gui1-fcode = 'SAVE'.
      append t_gui1.
      SET PF-STATUS 'AIMS_200' excluding t_gui1.
      message E002 with t_zcust_em_create-ship_to.
         endif. "kna1
ENDMODULE.                 " set_field_validation  INPUT
MODULE USER_COMMAND_0200 INPUT.
*Setting it for select/deselect entries
  move:t_zcust_em_create to t_zcust_em_create_sel.
  append t_zcust_em_create_sel.
  clear:t_zcust_em_create_sel.
*Getting internal table t_zcust_em_create with control
  read table t_zcust_em_create
         with key ship_to = t_zcust_em_create-ship_to.
*Getting internal table for create entries: screen-200
  if sy-subrc ne 0 and t_zcust_em_create-ship_to ne space .
    append  t_zcust_em_create     .
    move:t_zcust_em_create to t_zcust_em_create_tmp.
    append t_zcust_em_create_tmp .
    clear:t_zcust_em_create_tmp  ,
          t_zcust_em_create      .
  endif.
  clear:t_cols.
*Getting the value of  w_fill_200.
  describe table t_zcust_em_create lines w_fill_200.
ENDMODULE.                 " USER_COMMAND_0200  INPUT
PLEASE SUGGEST
REGARDS
ARORA
  module read_table_value_0200.

Similar Messages

  • Why do my email addresses change when I press enter after each To: entry?

    When I start to type a contact name in the text box for a recipient of an outgoing email, typing the first letter no longer brings up contacts that start with that letter. Then, after I select the correct one from further down the list (and it appears, highlighted) when I press Enter, the field changes from the desired recipient to the top one in the list.
    This has changed very recently. I have been using TBird for over two years without this issue.

    It is a bug, actually two.
    See [[https://bugzilla.mozilla.org/show_bug.cgi?id=1107844 Bug 1107844]] Recipient autocomplete: For multiple matches, select dropdown result other than first using mouse click, confirm with Tab or Enter, and TB uses 1st result instead (i.e. private msg gets easily addressed and sent to random recipients)
    [[https://bugzilla.mozilla.org/show_bug.cgi?id=970456 Bug 970456]] Recipient autocomplete: Implement scoring algorithm to prioritize "beginsWith" wordwise matches over "contains" matches: search for "be" should toplist "Ben" and "Betty" over "HolBErt" (having "be" in the middle of word)

  • Hi one pressing enter the fields are converted to upper case

    hi
    in table maintiance module pool program i have created thre are three fields
    kunnr name1 and email id
    now on pressing enter on maintiance screen the all the theree fields are converted to upper case i want to avoid this conversion to upper case....
    pls suggest
    and on pressing enter PAI is callled i want to avoid pai being called at this point of time
    regards
    Arora

    yes i have activated the table
    for tabel mantiance generater it is coming as disble so i suppose no need to gernereate table mantiance gerneartor again/
    ys in dynpro for shp to name uppe or lower case check box is checked but it is coming as disabled.
    pls suggest  how to delect it and wht does upper/lower case check box in special attributed means?
    regards
    nishant

  • Enter the date of production

    Hello
    While doing confirmation in SRM 7.0 , SP 07 , i am getting error as "Enter the date of production". any body aware of this issue.
    Regards
    Ashish

    4. Question:
    You use Transaction MIGO to enter a goods receipt for the purchase order . When you post the goods movement, the system issues error message 12 018: "Enter the date of production".
    After you enter the production date, the system issues message 12 006 "Existing SLED (&1) has been changed to &2 by the program", however, the original date is still displayed. Was the document updated correctly with the new SLED anyhow?
    Answer:
    The material document has been posted with the correct, changed date - even if no change occurred on the screen, and as a result the current date could not be displayed.
    This system response is also described in Note 212342, point 2 'New system response', which is valid for materials managed in batches and those that are not managed in batches.
    faq :- Note 519303 - FAQ: Goods movement with Transaction MIGO
    Note 212342 - 12018: SLED is not copied
    Symptom
    You enter a goods receipt for the purchase order by using Transaction MIGO. The material ordered is to be handled in batches in this case.Error message 12018 "Enter the date of production" is issued when you post the goods movement.However, the system also generates this error message when you have entered the date of production.
    Furthermore the date of production on tab page 'Batch' is always overwritten by the date of production from the batch master record provided the batch is already marked in the purchase order

  • Data getting deleted from screen fields when  I Press Enter

    Hi Folks,
    I have a serious Issue need to resolve it urgently. I have created a subscreen in PS Module
    Prog: SAPLXCN1(Subscreen)
    Screen: 0600.
    Enhancement: CNEX0006.
    I have created a screen and populated the data via search helps, when I fill all the custom fields with values and press enter my data is getting deleted please give me quick solutiojn.
    Thanks & Regards,
    Ramcharan.

    Hi RAM,
    Check the Code where you are writning , (PBO or PAI)
    After that check the sy-ucomm for Enter and write your code accordingly,,.
    Thanks & regards,
    Dileep.C

  • Search bar doesnt launch a search when I press Enter key

    When I type something in the search bar, it shows me suggestions. On pressing Enter, it selects the highlighted suggestions. Now that I press Enter again to launch the search query, nothing happens. Search query doesnt go to the network till I mouse-click the lens icon in the search bar.
    This works fine in my windows machine, so I know it is a supported feature.

    No, problems here on Linux with the search bar and the Enter key.<br />
    Do you have the official Firefox version from the Mozilla site or a special Ubuntu branded version?<br />
    Ubuntu usually makes a lot of changes to their branded version and it is possible that they have disabled the Enter key.<br />
    You can try the version from the Mozilla site to see if that works better if you have the Ubuntu version.
    *Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    You can create a new profile as a test to check if your current profile is causing the problems.
    See Basic Troubleshooting: Make a new profile:
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • HT2513 How do you change the name of a reminder in the reminder list.  I right click and then choose "get information"  I can change the colour of the reminder but when I type in the name that I want and then press enter the name stays as "untitled".

    How do you change the name of a reminder in the reminder list.  I right click and then choose "get information"  I can change the colour of the reminder but when I type in the name that I want and then press enter the name stays as "untitled"

    Jerry,
    Thanks for replying again. I've got a little bit further thanks to you. I tried the US keyboard layout as you seemed pretty definte that it should work. This time I applied the setting and also started the language toolbar and selected it from there.
    Hey presto, I've got the @ where it should be. Excellent.
    However the single quote ' works in a weird way. When I press it, it doesn't show up on the screen. But when I press another key, I get the single quote plus the next key I press. When I press the single quote twice, I get 2 of them. This is also the same with the SHIFT ' key. i.e. for the double quotes.
    Very strange. I'll look at other keyboards and see where that gets me.
    Thanks,  Maz

  • Lines appear under all text when you press enter--edit?

    Hello,
    I have a text box, whose formatting I want to edit.
    When you press enter a horizontal line appears automatically before you enter in text on the new line. I want to edit this line so it is closer to the text.
    Where do I go to edit this feature? I already looked in text frame options and I know that it is not a style.
    Thanks,

    Sounds like a paragraph rule.

  • Why doesn't it begin a new paragraph when I press "enter?"

    Supposedly, when in paragraph mode, you can begin a new paragraph by pressing "Enter" in Windows.  But, when I press "enter" it commits and takes me out of paragraph editing mode.  This is very frustrating.  What is the remedy?

    I only experience the problem when I'm trying to do paragraph text in Adobe CS4.  I have a Lenovo laptop that has 2 enter buttons:  one with the number keys and the second with the alphabet keys.  For whatever reason, both enter keys "commit" the text when pressed.  I did find out that if I press the FN key with the Enter Key, then it takes me to the next paragraph.  But, that is a little "weird" since regular paragraph text doesn't work like that.  Can this be changed in my settings?
    Thanks,
    Becki Miller

  • Clearing the TextArea texts when I press Enter key

    How to clear the texts that I have typed into the TextArea when I press Enter Key?
    I have now added a TextArea instance called input_txt to the stage and added an component event listener to detect when I press enter key. Then an event fires up which first reads the input to a string variable.
    But next I need to automatically clear the texts in the TextArea.
    How to do that?
    function readInput(event:Event):void
        input = input_txt.text;
        trace(input);
        // removing texts in the text input area-------- how?
    input_txt.addEventListener(ComponentEvent.ENTER, readInput);
    Please help.
    Thank You

    ComponentEvent.ENTER occurs before the line feed is added to the text, and is not cancelable, so you'll probably need to set a flag and do the clearing in an Event.CHANGE handler. Something like this:
    import fl.events.ComponentEvent;
    input_text.addEventListener(ComponentEvent.ENTER, readInput);
    input_text.addEventListener(Event.CHANGE, changeHandler);
    var clearing:Boolean=false;
    function readInput(event:Event):void
        input = input_txt.text;
        trace(input);
        clearing=true;
    function changeHandler(event:Event)
    if(clearing)
      input_text.text="";
      clearing=false;

  • MODULE POOL WHEN WE PRESS ENTER KEY IN A TBL CONTROL THEN CURSOR GO TO FIRS

    DEAR ALL,
                    IN MODULE POOL WHEN WE PRESS ENTER KEY IN A TBL CONTROL THEN CURSOR GO TO FIRST INPUT/OUTPUT BOX  I WANT THE CURSOR WILL STAY ON THAT TBL CONTROL COLUMN.
      PLZ TELL ME HOW I CAN DO THIS.
    THANKS
    SHASHI
    Moderator message: no upper case please, search for available information before posting.
    Edited by: Thomas Zloch on Mar 11, 2011 11:50 AM

    Hi,
    This is possible only for check boxes and radio buttons.
    for others you atleast need to double click.
    please note double click is possible.
    regards
    Ramchander Rao.Krishnamraju

  • Empty cells will be filled when you press ENTER

    Hello Experts,
    how can you do the following
    I type in a particular cell any number (3 or 4 or 8 etc.) and all the
    empty cells in the ALV should be filled witt the enterd number when I press ENTER
    Is somewhere a tutorial or an example ?
    Regards
    Sas

    first read the value ... then loop at screen .  ,, then give the all fields value equal to that value .... then change screen ..

  • When pressing enter the values are converted to upper case in module pool

    hi
    tehre are three fields for maintanece in module pool
    wheni press enter the fields are converted to upper case i want to avoid this as i dont want to have the upper case
    i need to save in table as waht user has inputed not in upper case
    so i dont want the fields to be automatically converted to upper case whne pressing enter on screen
    regards
    Nishant

    hi Nishant ,
    <b>The solution to ur problem is breifly explained with a sample module pool program .</b>check it below :
    IN the TOP INCLUDE**********************
    DATA :
           wempid TYPE z7684dp-empid ,   " same name as in the screen declaration
           wname TYPE  z7684dp-name,
           wacc TYPE  z7684dp-account,
           wdesg TYPE  z7684dp-designation,
           ok_code TYPE sy-ucomm ,
           wa_z7684dp TYPE z7684dp,
           t_z7684dp TYPE STANDARD TABLE OF z7684dp,
    *****IN THE PAI OF THE SCREEN 100(for example)***********
    MODULE user_command_0100 INPUT.
      CASE ok_code .
        WHEN 'CRE' .                 " function code for the pushbotton to insert the values
    TRANSLATE wdesg TO LOWER CASE.
    TRANSLATE wempid TO LOWER CASE.
    TRANSLATE wname TO LOWER CASE.
    TRANSLATE wacc TO LOWER CASE.
          wa_z7684dp-empid = wempid .
          wa_z7684dp-name = wname .
          wa_z7684dp-account = wacc .
          wa_z7684dp-designation = wdesg .
          INSERT INTO z7684dp VALUES wa_z7684dp .
          IF sy-subrc EQ 0 .
            MESSAGE 'SUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ELSE .
            MESSAGE 'UNSUCCESSFUL INSERTION TO TABLE' TYPE 'I' .
          ENDIF.
          CLEAR: wa_z7684dp , wempid , wname , wacc , wdesg.
    REVERT BACK WITH ANY FURTHUR QUERIES
    <b>DO REWARD WITRH POINTS IF USEFUL :)</b>

  • Is there a way? When I type something in the search engine feature, is there a way that when I press enter to search, it comes up in a new tab, rather on the page I am using?

    When I type something in the search engine feature, is there a way that when I press enter to search, it comes up in a new tab, rather on the page I am using?

    Yes, and I presume you mean both the search engine results, and the pages opened from the results.
    Without making any changes you could always use '''Alt+Enter''' once you typed something into the search bar, or the location bar so that it would appear in a new tab. From the search results page you could always use "'''Ctrl+click'''" or "'''Ctrl+Shift+click'''" to open link n a new tab
    * Firefox and other Browser Keyboard Shortcuts (Comparison Table)<br>http://dmcritchie.mvps.org/firefox/keyboard.htm
    * Keyboard shortcuts | How to | Firefox Help<br>https://support.mozilla.com/kb/Keyboard%20shortcuts
    The configuration entries of interest:
    * '''browser.search.openintab''' user set boolean '''true'''
    * '''browser.tabs.openinnewtab''' user set boolean '''true'''
    Documentation
    * http://dmcritchie.mvps.org/firefox/tabs_config.htm
    * http://kb.mozillazine.org/About:config_entries (I use keyword shortcut of :"aboutconfig:" )
    * http://dmcritchie.mvps.org/firefox/tabs.htm
    Google settings:
    * [x] Open search results in a new browser window.
    :By default Google opens links in its search results to the same new tab, but I believe that the configuration changes supplied also fix that because I no longer have to use the keyboard shortcuts to override.
    Tools ("Alt+T") > Options > Tabs
    * [x] Open new windows in a new tab instead

  • When i press enter on my editable ALV nothing happens - Why?

    Hi,
    i have an editable alv on an tabstrip and when i press enter after changes nothing happens, although i have programmed check_changed_data.
    That´s not normal, or? Mayby somebody can give me a hint.
    Timo

    Hi,
    After changing the data use the following method to refresh the table.
        CALL METHOD W_GRID1->REFRESH_TABLE_DISPLAY.
    If it solves your problem dont forget to reward me points.
    Regards,
    --Suman

Maybe you are looking for