VK code for Enter

when i try the code
Robot r = new Robot();
r.keyPress(20);
r.keyRelease(20);
it works for all the VK values i found except for 20 for return, i jus get Invalid key code Eception. can any one tell me the integer code for enter?
thanks

i tried that but it doesn't seem to work. ...Here is a little example I made.
Does it work as you expect?import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
/** Example of using the Robot to type in a text field,
use the enter key, and activate a button via the space bar. */
class ActivateButtonUsingRobot {
   static Robot robot;
   static void activateKey(int keycode) {
      robot.keyPress( keycode );
      robot.keyRelease( keycode );
      robot.delay( 150 );
   public static void main(String[] args)
      throws AWTException {
      // if headless, exit early
      robot = new Robot();
      final JFrame f = new JFrame();
      f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
      JTextArea ta = new JTextArea("1st line!",10,20);
      f.getContentPane().add(ta, BorderLayout.CENTER);
      JButton button = new JButton("Press Me!");
      button.addActionListener( new ActionListener() {
         public void actionPerformed( ActionEvent ae ) {
            JOptionPane.showMessageDialog(
               f, "Button Activated!" );
      f.getContentPane().add(button, BorderLayout.SOUTH);
      f.pack();
      // put frame in center of screen
      f.setLocationRelativeTo(null);
      f.setVisible(true);
      Dimension screensize =
         Toolkit.getDefaultToolkit().getScreenSize();
      // move mouse to center of screen, and ..
      robot.mouseMove(
         screensize.width/2, screensize.height/2 );
      // ..activate the frame
      robot.mousePress( InputEvent.BUTTON1_MASK );
      robot.mouseRelease( InputEvent.BUTTON1_MASK );
      robot.delay( 400 );
      // try using enter key..
      activateKey( KeyEvent.VK_ENTER );
      activateKey( KeyEvent.VK_ENTER );
      // this text should have a blank line above it..
      activateKey( KeyEvent.VK_H );
      activateKey( KeyEvent.VK_I );
      // move to the button
      robot.keyPress( KeyEvent.VK_CONTROL );
      robot.keyPress( KeyEvent.VK_TAB );
      robot.keyRelease( KeyEvent.VK_TAB );
      robot.keyRelease( KeyEvent.VK_CONTROL );
      robot.delay( 500 );
      // try activating the button..
      activateKey( KeyEvent.VK_SPACE );
}

Similar Messages

  • Code  for  'enter' button in user command.

    hi experts,
                       i have developed a initial screen as selection screen for table control.
    data is displayed in second screen(table control).
    <b></b>when user enters inputs in selection screen and presses enter on keyboard
    it should execute to second screen. code for enter button. <b></b>

    Hello,
    in the PBO process should you have the next code:
    for example:
    case sy-ucomm.
    when 'ENTER'.
        CALL SCREEN 0200. " The second window
    when 'SAVE'.
    when ...
    endcase.
    You should have all conditions in the case statement, otherwise you have a error.
    Regards,

  • BDC OK CODE FOR ENTER NOT RECORDING

    I m creating a BDC Programme for uploading OLD PO date from excel to SAP System.
    All PO's are Service PO.
    PO's date and Delivery Date is in back date.
    My programme working fine.
    But i have to press enter manually due to   PO  Date = back date and Delivery date is also back date.
    SHDB unable to record this event.
    How to record this event.
    Is there any way to disable system messages during BDC Programme.
    When I press enter two times my programme runs very well.
    Kindly help me.
    Its very much urgent.
    Code is give below.
    REPORT zbdcme21n
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    DATA : l_file TYPE rlgrap-filename.
    DATA:   e_group_opened.
    PARAMETERS session RADIOBUTTON GROUP ctu.  "create session
    *DATA : session RADIOBUTTON GROUP ctu.
    DATA : group(12).                      "group name of session
    group = 'BDC'.
    *PARAMETERS: user(12) DEFAULT sy-uname.     "user for session in batch
    DATA : user(12).
    user = sy-uname.
    *DATA :  keep AS CHECKBOX.       "' ' = delete session if finished
    DATA :  keep TYPE checkbox.
    keep = 'X'.
    *PARAMETERS: holddate LIKE sy-datum. "'X' = keep   session if finished
    DATA : holddate LIKE sy-datum.
    holddate  = sy-datum.
    PARAMETERS ctu RADIOBUTTON GROUP  ctu.     "call transaction
    DATA:   bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF i_tab OCCURS 0, "excel data stored in this file.
    row TYPE alsmex_tabline-row,
    col TYPE alsmex_tabline-col,
    value TYPE alsmex_tabline-value,
    END OF i_tab.
    DATA : BEGIN OF wa_line1 OCCURS 0, "excel data stored in this file.
    row TYPE alsmex_tabline-row,
    col TYPE alsmex_tabline-col,
    value TYPE alsmex_tabline-value,
    srno TYPE i,
    END OF wa_line1.
    DATA : wa_line2 LIKE wa_line1 OCCURS 0 WITH HEADER LINE .
    DATA : wa_hdr1  LIKE wa_line1 OCCURS 0 WITH HEADER LINE .
    DATA : wa_hdr  LIKE i_tab OCCURS 0 WITH HEADER LINE .
    DATA : wa_line LIKE i_tab OCCURS 0 WITH HEADER LINE .
    DATA : w_cnt TYPE i . "store total no of  pos
    DATA : w_hdr_counter VALUE 1. "for header line count
    DATA : w_line_counter VALUE 1. "for Line Item Counter.
    w_cnt = 0.
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    PARAMETER: dataset TYPE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN: END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR dataset.
      PERFORM upload_file.
    *include bdcrecx1.
    START-OF-SELECTION.
      PERFORM process_itab.
    *include bdcrecx1.
    START-OF-SELECTION.
      PERFORM open_group.
    **********************start for header
      w_hdr_counter = 1.
      WHILE w_hdr_counter <= w_cnt.
        PERFORM bdc_dynpro      USING 'SAPMM06E' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RM06E-BEDAT'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        READ TABLE wa_hdr1 WITH KEY col = 2 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'EKKO-LIFNR'
                                      wa_hdr1-value.            "'800000'.
        READ TABLE wa_hdr1 WITH KEY col = 3 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-BSART'
                                      wa_hdr1-value. "'ZS'.
        READ TABLE wa_hdr1 WITH KEY col = 4 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-BEDAT'
                                      wa_hdr1-value. " '14.01.2008'.
       PERFORM bdc_field       USING 'RM06E-LPEIN'
                                     'T'.
        READ TABLE wa_hdr1 WITH KEY col = 13 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-EEIND'
                                      wa_hdr1-value.   "'14.01.2008'. "Delivery Date
        PERFORM bdc_field       USING 'RM06E-LPEIN'
                                      'T'.
        READ TABLE wa_hdr1 WITH KEY col = 6 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'EKKO-EKORG'
                                      wa_hdr1-value. "'serv'.
        READ TABLE wa_hdr1 WITH KEY col = 7 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'EKKO-EKGRP'
                                      wa_hdr1-value. "'dce'. Purchase Group
        READ TABLE wa_hdr1 WITH KEY col = 8 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-EPSTP'
                                      wa_hdr1-value. "'d'. Item Category
        READ TABLE wa_hdr1 WITH KEY col = 9 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-KNTTP'
                                      wa_hdr1-value. "'p'. Account Asign Category
        READ TABLE wa_hdr1 WITH KEY col = 10 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-WERKS'
                                      wa_hdr1-value. "'1001'.Plant
        READ TABLE wa_hdr1 WITH KEY col = 11 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-LGORT'
                                      wa_hdr1-value. " '1101'. Store Location
        READ TABLE wa_hdr1 WITH KEY col = 12 srno = w_hdr_counter.
        PERFORM bdc_field       USING 'RM06E-MATKL'
                                      wa_hdr1-value. "'c003'. Material Group
        PERFORM bdc_dynpro      USING 'SAPLMLSP' '0200'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
    ********************end of Header Data*******************
    data i type n value 1.
    data bfield type string.
        LOOP AT wa_line1 WHERE col = 1 AND srno = wa_hdr1-srno.
        READ TABLE wa_line2 WITH KEY COL = 14 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
          PERFORM bdc_field       USING 'RM11P-HEADTEXT'
                                        wa_line2-value. " 'Earthwork text'.
        concatenate 'ESLL-SRVPOS(' i ')' into bfield.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                       bfield.  " 'ESLL-SRVPOS(01)'. "increase counter
         PERFORM bdc_field       USING 'RM11P-NEW_ROW'
                                       '10'.
          READ TABLE wa_line2 WITH KEY COL = 15 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
          PERFORM bdc_field       USING  bfield "'ESLL-SRVPOS(01)'
                                        wa_line2-value.  "'5000000000'.
        concatenate 'ESLL-MENGE(' i ')' into bfield.
          READ TABLE wa_line2 WITH KEY COL = 16 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
          PERFORM bdc_field       USING   bfield "'ESLL-MENGE(01)' "qty
                                        wa_line2-value. "'15'.
          concatenate 'ESLL-MEINS(' i ')' into bfield.
          READ TABLE wa_line2 WITH KEY COL = 17 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
          PERFORM bdc_field       USING bfield "'ESLL-MEINS(01)'
                                        wa_line2-value.  "'ft3'.
          concatenate 'ESLL-TBTWR(' i ')' into bfield.
          READ TABLE wa_line2 WITH KEY COL = 18 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
          PERFORM bdc_field       USING   bfield  " 'ESLL-TBTWR(01)'
                                        wa_line2-value.  "'150'.
          PERFORM bdc_field       USING 'BDC_OKCODE' "Manually added
                                        '/00'.
          PERFORM bdc_dynpro      USING 'SAPLMLSK' '0200'.
          concatenate 'ESKN-PS_PSP_PNR' i ')' into bfield.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'ESKN-PS_PSP_PNR(01)'.
          PERFORM bdc_field       USING 'BDC_OKCODE'
                                        '/00'.
          PERFORM bdc_field       USING 'VRTKZ1'
                                        'X'.
          concatenate 'ESKN-SAKTO(' i ')' into bfield.
          READ TABLE wa_line2 WITH KEY COL = 19 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
          PERFORM bdc_field       USING 'ESKN-SAKTO(01)' "GL Account No.
                                        wa_line2-value.  " '6010010'.
          concatenate 'ESKN-PS_PSP_PNR(' i ')' into bfield.
          READ TABLE wa_line2 WITH KEY COL = 20 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
          PERFORM bdc_field       USING 'ESKN-PS_PSP_PNR(01)'
                                        wa_line2-value. " 'HR/KMP-KU'. "WBS Element
          PERFORM bdc_dynpro      USING 'SAPLMLSK' '0200'.
          PERFORM bdc_field       USING 'BDC_CURSOR'
                                        'ESLL-INTROW'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BACK'.
        PERFORM bdc_field       USING 'VRTKZ1'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLMLSP' '0200'.
        i = i + 1.
        ENDLOOP.
       PERFORM bdc_field       USING 'BDC_OKCODE'
                                     '=BACK'.
       PERFORM bdc_field       USING 'VRTKZ1'
                                     'X'.
       PERFORM bdc_dynpro      USING 'SAPLMLSP' '0200'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
    *perform bdc_field       using 'RM11P-HEADTEXT'
                                 'Earthwork text'.
    *perform bdc_field       using 'BDC_CURSOR'             "Start Service Line 2
                                 'ESLL-SRVPOS(02)'.
    *perform bdc_field       using 'RM11P-NEW_ROW'
                                 '10'.
    *perform bdc_field       using 'ESLL-SRVPOS(02)'
                                 '5000000006'.
    *perform bdc_field       using 'ESLL-MENGE(02)'
                                 '10'.
    *perform bdc_field       using 'ESLL-MEINS(02)'
                                 'kmk'.
    *perform bdc_field       using 'ESLL-TBTWR(02)'
                                 '500'.
    *perform bdc_dynpro      using 'SAPLMLSK' '0200'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'ESLL-INTROW'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'VRTKZ1'
                                 'X'.
    *perform bdc_dynpro      using 'SAPLMLSK' '0200'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'ESKN-PS_PSP_PNR(01)'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'VRTKZ1'
                                 'X'.
    *perform bdc_field       using 'ESKN-SAKTO(01)'
                                 '6010010'.
    *perform bdc_field       using 'ESKN-PS_PSP_PNR(01)'
                                 'HR/KMP-KU'.
    *perform bdc_dynpro      using 'SAPLMLSK' '0200'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'ESLL-INTROW'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '=BACK'.
    *perform bdc_field       using 'VRTKZ1'
                                 'X'.
    *perform bdc_dynpro      using 'SAPLMLSP' '0200'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '/00'.
    *perform bdc_field       using 'RM11P-HEADTEXT'
                                 'Earthwork text'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'ESLL-KTEXT1(01)'.
    *perform bdc_field       using 'RM11P-NEW_ROW'
                                 '10'.
    *perform bdc_dynpro      using 'SAPLMLSP' '0200'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '=ESB'.
    *perform bdc_field       using 'RM11P-HEADTEXT'
                                 'Earthwork text'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'ESLL-KTEXT1(01)'.
    *perform bdc_field       using 'RM11P-NEW_ROW'
                                 '10'.
    *perform bdc_dynpro      using 'SAPMM06E' '0120'.
    *perform bdc_field       using 'BDC_CURSOR'
                                 'RM06E-EBELP'.
    *perform bdc_field       using 'BDC_OKCODE'
                                 '=MALL'.
    *perform bdc_field       using 'RM06E-EBELP'
                                 '10'.
        PERFORM bdc_dynpro      USING 'SAPMM06E' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RM06E-EBELP'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=KOPF'.
       PERFORM bdc_field       USING 'RM06E-EBELP'
                                     '10'.
        PERFORM bdc_dynpro      USING 'SAPMM06E' '0101'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'EKKO-EKGRP'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=TXK'.
    *perform bdc_field       using 'EKKO-EKGRP'
                                 'DCE'.
    *perform bdc_field       using 'EKKO-PINCR'
                                 '10'.
    *perform bdc_field       using 'EKKO-UPINC'
                                 '1'.
    *perform bdc_field       using 'EKKO-WAERS'
                                 'INR'.
    *perform bdc_field       using 'EKKO-WKURS'
                                 ' 1.00000'.
        PERFORM bdc_dynpro      USING 'SAPMM06E' '0103'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RM06E-LTEX1(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BU'.
        PERFORM bdc_field       USING 'RM06E-LTEX1(01)'
                                      'Old PO no.'.
    *perform bdc_transaction using 'ME21'.
        w_hdr_counter = w_hdr_counter + 1.
      ENDWHILE.
      CALL TRANSACTION 'ME21' USING bdcdata  MODE 'A'.
      PERFORM close_group.
    ***************forms************
    FORM upload_file.
      CALL FUNCTION 'WS_FILENAME_GET'
      EXPORTING
    *def_filename = ' '
    *def_path = ' '
    *mask = ' '
      mode = '0'
      title = 'Choose the Appropriate excel sheet for service PO upload'
      IMPORTING
      filename = dataset
    *EXCEPTIONS
    *inv_winsys = 01
    *no_batch = 02
    *selection_cancel = 03
    *selection_error = 04
      l_file = dataset.
      PERFORM read_exceldata.
    ENDFORM.                    "UPLOAD_FILE
    *&      Form  READ_EXCELDATA
          text
    FORM read_exceldata.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
      filename = l_file
      i_begin_col = 1
      i_begin_row = 2
      i_end_col = 25
      i_end_row = 4
      TABLES
      intern = i_tab
    EXCEPTIONS
    INCONSISTENT_PARAMETERS = 1
    UPLOAD_OLE = 2
    OTHERS = 3
    ENDFORM.                    "READ_EXCELDATA
      create batchinput session                                          *
      (not for call transaction using...)                                *
    FORM open_group.
      IF session = 'X'.
        SKIP.
        WRITE: /(20) 'Create group'(i01), group.
        SKIP.
      open batchinput group
        CALL FUNCTION 'BDC_OPEN_GROUP'
          EXPORTING
            client   = sy-mandt
            group    = group
            user     = user
            keep     = keep
            holddate = holddate.
        WRITE: /(30) 'BDC_OPEN_GROUP'(i02),
                (12) 'returncode:'(i05),
                     sy-subrc.
      ENDIF.
    ENDFORM.                    "OPEN_GROUP
      end batchinput session                                             *
      (call transaction using...: error session)                         *
    FORM close_group.
      IF session = 'X'.
      close batchinput group
        CALL FUNCTION 'BDC_CLOSE_GROUP'.
        WRITE: /(30) 'BDC_CLOSE_GROUP'(i04),
                (12) 'returncode:'(i05),
                     sy-subrc.
      ELSE.
        IF e_group_opened = 'X'.
          CALL FUNCTION 'BDC_CLOSE_GROUP'.
          WRITE: /.
          WRITE: /(30) 'Fehlermappe wurde erzeugt'(i06).
          e_group_opened = ' '.
        ENDIF.
      ENDIF.
    ENDFORM.                    "CLOSE_GROUP
    *&      Form  BDC_DYNPRO
          text
         -->PROGRAM    text
         -->DYNPRO     text
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
    ****bdc field************
    FORM bdc_field USING fnam fval.
    IF FVAL <> NODATA.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDIF.
    ENDFORM.                    "BDC_FIELD
    FORM process_itab.
      APPEND LINES OF i_tab TO wa_hdr  .
      DELETE wa_hdr WHERE col > 13 .
      APPEND LINES OF i_tab TO wa_line  .
      DELETE wa_line WHERE   col <> 1   AND col <  14 .
      DATA : w_sr TYPE i.
      w_sr = 0.
      LOOP AT wa_hdr.
        IF wa_hdr-col = 1.
          w_sr = wa_hdr-value.
        ENDIF.
        wa_hdr1-row = wa_hdr-row.
        wa_hdr1-col = wa_hdr-col.
        wa_hdr1-value = wa_hdr-value.
        wa_hdr1-srno = w_sr.
        APPEND wa_hdr1.
        w_cnt = wa_hdr-row.
      ENDLOOP.
      w_sr = 0.
      LOOP AT wa_line.
        IF wa_line-col = 1.
          w_sr = wa_line-value.
        ENDIF.
        wa_line1-row = wa_line-row.
        wa_line1-col = wa_line-col.
        wa_line1-value = wa_line-value.
        wa_line1-srno = w_sr.
        APPEND wa_line1.
      ENDLOOP.
      w_sr = 0.
      CLEAR wa_line2.
      LOOP AT wa_line1.
        wa_line2-row = wa_line1-row.
        wa_line2-col = wa_line1-col.
        wa_line2-value = wa_line1-value.
        wa_line2-srno = wa_line1-srno.
        APPEND wa_line2.
      ENDLOOP.
    ENDFORM.                    "PROCESS_ITAB
    ***************forms************

    Hi Pradeep
    I find there is a problem in your code
    When ever you use
    PERFORM bdc_field USING 'BDC_OKCODE'
    you should follow it up with
    PERFORM bdc_dynpro USING <prg name> <screen number>
    Please find code below with changes from a part of your code
    PERFORM bdc_field USING 'RM06E-MATKL'
    wa_hdr1-value. "'c003'. Material Group
    * comment this statement is not needed now.
    * PERFORM bdc_dynpro USING 'SAPLMLSP' '0200'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '/00'.
    READ TABLE wa_line2 WITH KEY COL = 14 SRNO = wa_hdr1-srno ROW = wa_line1-ROW.
    * Put the bdc_dynpro for the prg name and screen number (I might be wrong with prg name and
    * Screen  number
    PERFORM bdc_dynpro USING 'SAPLMLSK' '0200'.
    Reward points as this will definitely help you
    Edited by: Sriram Chandran on Mar 15, 2008 4:39 PM

  • What is the code for entering data in tablecontrol as in smartform....?

    Hi
    1.I create 2 tabs in Modulepool Programming.
    2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
    3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
    4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
    5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
    6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
       without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
       should be displayed in smartform as of Tablecontrol.
    where I want to write these code....? and what code i want 2 write...?
    can anybody help me

    >
    dileepbandla wrote:
    > Hi
    >

    > 1.I create 2 tabs in Modulepool Programming.
    > 2.In First Tab, I enter the data and when i click the SAVE button the data should be saved in my custom table ZDILEEP.
    > 3.In Second Tab,I put an Tablecontrol and DISPLAY the data what i have to save in first tab and i do 3 operations as DELETE,UPDATE,ADD A RECORD.
    > 4. I Create a button in Application Toolbar as FORM,whenever i click this button the SMARTFORM will be triggered.
    > 5.In SmartForm, I put an TableControl and display the data and i put SUM of SALARY.
    > 6.Now My Requirement is At run time, if i add a record or update a record that should be displayed in smartform,
    >    without clicking the pushbuttons UPDATE,ADD A RECORD i.e. without using custom table ZDILEEP the data
    >    should be displayed in smartform as of Tablecontrol.
    You need to read the table control data along with Custom table data before you call the smartform and passing data to smartform.
    > where I want to write these code....? and what code i want 2 write...?
    >
    In PAI. What code? - Probably, loop at table control and get the data into another internal table then pass this data into smartform interface.
    >
    >  can anybody help me

  • Am i the only one who when trying to enter the code for creative cloud activation ?

    I give up,i have been trying to activate a 3 month subscription for CS6 from Staples and every time i try the code it will not work.  I have used the chat live and spent about 3 hours already going nowhere.  I do not like talking on the phone to some help desk overseas and the only thing i think left to do is to return the junk.

    I tried all that and even took a picture of the numbers and blew them up so a blind person could read them and had 3 others read them off.  A simple way to fix the problem is get someone on Adobes staff to find a font that most people can read from whatever product the stick it to.
    John McDonough
    Date: Wed, 1 Aug 2012 18:33:58 -0600
    From: [email protected]
    To: [email protected]
    Subject: Am i the only one who when trying to enter the code for creative cloud activation ?
        Re: Am i the only one who when trying to enter the code for creative cloud activation ?
        created by David__B in Adobe Creative Cloud - View the full discussion
    Hey John,
    Not sure if it helps or not, but I know sometimes with codes like that its really hard to tell certain characters apart, O - like in Oscar versus 0 - number and number 1 versus lowercase L like in Lima.
    Might test entering it both ways if you have any suspect characters?
    -Dave
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4592955#4592955
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4592955#4592955. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Creative Cloud by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I am trying to update some apps but my ipad wont let me because it wants me to enter the security code for my credit card and I dont want to do that so how do i fix this?

    I am trying to update some apps but my ipad wont let me because it wants me to enter the security code for my credit card and I dont want to do that how can i fix this?

    Try temporarily disabling your firewall and antivirus.

  • When I try to enter codes for digital movie downloads it tells me "code redemption is temporarily unavailable. Try again later." Customer support has been no help. Anyone else have this problem?

    When I try to enter codes for digital movie downloads it tells me "code redemption is temporarily unavailable. Try again later." Customer support has been no help. Anyone else have this problem?
    Am sick of going back and forth with what has turned out to be worthless customer support. Have sent them so much info and pictures, no help. All they do is send me links for instructions on how to redeem the codes. I know how to redeem, I have redeemed at least 50 codes. To them I am obviously an idiot though. To me it seems to be a problem on their end, but can't get an answer from them on why it is telling me code redemption is unavailable. Please help! Anybody!

    Confirming my suspicions with every passing hour. Support on this forum is non-existent like the support from Apple support. But, you got my money now... why would you care?

  • MacBook Pro to my iMac with the firewire it makes me enter the Key product code for Office:Mac2011

    When I connect my MacBook Pro to my iMac with the firewire to use as a monitor it makes me enter the Key producy code for Office:Mac 2011 every time.
    Then when I disconnect my MacBook I have to enter the product key again to use office on it???
    Any ideas??

    Post on the Office forums:  http://answers.microsoft.com/en-us/mac

  • I cannot enter the key code for updating to QuickTime Pro 7 as there is no Icon in Preferences and no Registration option in menu?

    I have followed the clear instructions to enter the purchased key code for QuickTime Pro 7. There are two options offered:-
    1. Go into Preferences and select the QuickTime Player icon and enter the code that way.
    2. Open QuickTime Player and open up ‘registration’ and enter the key code.
    For whatever reason I have neither option available to me although QuickTime player is on my system and I use it regularly. It is version 10 build (118). I have run software updates and there is no upgrade available. I have downloaded the latest version and tried to load it but this fails because the system finds a version already available. I have attempted to uninstall but whilst it moves it from the Application folder, it remains on the Mac as it is part of the system files. So I cannot use the Pro version. The iMac is a 27” Intel about a year old and has all the software updates available to me installed.
    Any offers for suggestions or past experiences that can help me overcome this conundrum?

    Both answers were spot on. I made the mistake yesterday of downloading the version for Leopard in my haste. I also thought the issue was related to having to uninstall the current version X.
    So the moral of the episode is check the version you have and make certain you download the correct version for your system. All works now.
    Thanks chaps!

  • HT5047 I've just downloaded ver 7 operating software AND ENTERED A SECURE CODE FOR THE PHONE NOW I CAN"T USE IT TO OPEN  A MESSAGE FROM FACE BOOK

    I just downloaded 0s 7 ser a code for security and when i recieved a nessage from facebook and was asked to enter the code it would:nt work and finally locked my phone. Help!!

    Reinstall Safari 5.1.1
    If that doesn't help install the Mac OS X 10.6.8 Update Combo. It's ok to do this even though you are already running v10.6.8.
    Restart your Mac after installing software.

  • My iTunes card won't redeem and when I try to it comes up with this "The gift certificate or prepaid card code you entered has not been properly activated. Please contact iTunes Store costumer support for assistance" can anyone help me?

    My iTunes card won't redeem and when I try to it comes up with this "The gift certificate or prepaid card code you entered has not been properly activated. Please contact iTunes Store costumer support for assistance" can anyone help me?

    Is the store that you bought the card from nearby so that you can try going back and asking if they can activate the card properly ? If it's not, or if they can't/won't activate, then you will need to do as the message says and contact iTunes Support (these are user-to-user forums) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes (you will probably need to give them images of the front and back of the card, and possibly its receipt)

  • I got an itunes giftcard for my birthday and when i tried to add it on my balance on my ipod touch it says the code you entered is not  recognized as a valid code. but i just got this card brand new for my birthday.

    i got an itunes giftcard for my birthday and when i tried to add it on my balance on my ipod touch it says the code you entered is not  recognized as a valid code. but i just got this card brand new for my birthday.

    Make sure you're using the correct code. For most iTunes cards, the code is under the scratchoff area on the back of the card. For more information, see this support article:
    http://support.apple.com/kb/TS1292
    If you can't get to work after perusing that page, contact the iTunes Store Support; instructions are at the bottom of that article.
    Regards.

  • You are not allowed to enter a tax jurisdiction code for country US

    Hi All,
    We are having this message popping up "You are not allowed to enter a tax jurisdiction code for country US" when we try to add an item to a shopping cart. SRM 4.0 Classic scenario.
    Also when i process the shopping cart and create a PO out of it, our R/3 4.6C dosnot let me release the PO and error message is :"no tax jurisdiction code found"
    I have looked at some of the earlier threads but i could not find a definite solution. Has anybody faced similar problems? Please let me know !
    Thanks
    Sundeep

    Hi Sudeep,
    How did it work? Do you have to implement any BADI's or SRM or R/3 side? As we are getting same error while creating Shopping Cart in SRM.
    I have checked the plant data in R/3 and Jurisdiction code has been maintained there.
    Please advise
    Thank you
    Ritesh

  • Impossible to enter IBAN code for Serbian vendor

    Hi,
    I want to enter the IBAN code for a vendor from Serbia (Country code: RS), but I get the message BF00016: generation not possible/
    The bank details are:
    IBAN: RS35160053020009138705
    BIC: DBDBRSBG
    Banca Intesa a.d. Beograd
    Milentija popovica 7b
    11070 Novi Beograd
    SERBIEN
    What could be the reason?
    Thank you for your advice.
    Kind regards,
    Linda

    Hi Linda,
    Do you have note 1032697 implemented in your system (or actually the instruction it gives)?
    Regards,
    Eli

  • Enter the Section code for line number '000'

    Dear Consultants,
    While posting the Travel Expenses, The system generates posting documents but gives error as "Enter the Section code for line number '000'". Please advise me about the activity to which this error is related to. I am giving Document type as AB.
    This error is seen only if the Expense Type is related to some Vendor account like Expenses by company (Service provider's vendor a/c) or Advances paid to the employee & Expenses incurred by employee (Employee Vendor account)
    Regards,
    Bindumadhav
    Edited by: BINDUMADHAV AMBIKE on Mar 26, 2011 7:18 PM

    I found that some validation criteria were maintained in Tcode OB28. We can edit those validation criteria to exclude Travel Management. OR it was suggested by FICO to use posting key as 34 instead of 31.
    This solved my problem.

Maybe you are looking for

  • Issue in creating Database Connection to HFM Applicaion through workspace

    Hi, This is a fresh installation. We are trying to create a new database connection in workspace for HFM Application. When i click on the Application selection icon, it gives me the below error message, *"Error connecting to database connection nasby

  • After saving a file using Excel 2010 in the My Documents folder, it cannot be found using the open button in Excel 2010

    When certain files are saved using Excel 2010 to the My Documents folder, they cannot be found by using the Open button within Excel 2010.  But the file is always found using My Computer and following the path to My Documents.  What is even odder is

  • PDF merkwürdig nach oben verschoben

    Hi, wir nutzen Acrobat 9 Standard und produzieren Dokumente aus Word 2003. Seit kurzem aber sind die ausgegebenen PDFS nach oben verschoben (siehe Anhang) - es sieht so aus, als sei die Größe irgendwie auf nur 90 statt auf 100 Prozent. Gut sehen kann

  • Graph in a subscreen area

    Hi Experts, How do you create a graph in a subscreen? I checked out transaction GRAL but all the graph charts popup in a separate screen. Moreover I do not want the BOXES internal table attached to the chart.  How do you suppress this functionality?

  • How to create simlinks in Finder?

    Morning. I'ld like to create in Finder.app simlinks as well as aliasses. Is there a tool to enable the Finders context menue to let me create simlinks? TIA and kind regards, Friedrich