Reg: table control values to be updated during POV event

Hi all,
      i need to design the screen for table control. which should contain Four input fields and input should be selected by F4 help. So i have used POV event to handle this. Once the user selected values from the F4 help, Immediately it has to populate the Table control fields based on input selection. I have tried several ways but it was not successful.
Please help me regarding this will be appreciated .
Regards,
Sreenivasa Sarma K.

Hi,
Make use of the 'SEARCH HELP' property of the fields in the table control.
Just get the search help names for those 4 fields and place it to this property.
Also change the 'Poss. Entries Key' property as 1 or 2.
Regards,
R.Nagarajan.

Similar Messages

  • Table control itab not getting updated.

    Hi,
    I have a table control created with the help of the wizard.
    There are initailly no entries in the table and the user enters it during execution.
    However the entries do not get updated in the internal table.
    The modify statement below fails giving sy-subrc value 4.
    MODIFY gt_bank_det_new
        FROM gwa_bank_det_new
        INDEX zbp_bank_dt_new-current_line.
    Can you suggest what could be going wrong. There are no type mismatches and the table is a standard one.
    Thanks in advance.
    Arindam.

    Hi
    in PBO
    Loop at itab with control tc.
    endloop.
    In PAI,
    loop at gt_bank_det_new.
    module  modify_tab.
    endloop.
    in Program
    module modify_tab
    describe table  itab lines tc-lines.
    if tc-lines <= tc-current_line.
    MODIFY itab FROM wa INDEX tc-current_line.
    else.
    append wa to itba.
    endif.
    endmodule.
    Cheers
    Ramchander Rao.K

  • Drop down list in Table Control - Value disappeared after pressing ENTER

    Dear Gurus,
    I have a problem in one of my development where I used a table control in which one field is a drop down list.
    I used VRM_SET_VALUES and VRM_GET_VALUES for populating the values from the programand not use any domain level value table for that field.
    My problem is when I select one value from this list , and pressing enter , the value get disappeared. But if I use a domain for this field with value table then everything working properly.
    My doubt is am I doing some miss coding or using the VRM_ function modules improperly ?
    I am sharing some code with you
    in PAI :
    CALL FUNCTION 'VRM_GET_VALUES'
        EXPORTING
          id            = 'ITAB-FIELD3'    "This is drop down list element on screen
        IMPORTING
          values        = values[]    " even it is not the expor parameter...it will work..
       EXCEPTIONS
         id_not_found   = 1
         OTHERS         = 2.
      IF sy-subrc NE 0.
      No sy-subrc check required.
      ENDIF.
    IN PBO
    CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id     = 'IVBAP-ERNAM'
                values = values[].
    Can you please help me.
    Thanks .

    HI,
    The link contains the list box creation, just check if this might help.
    Re: Getting values back from a listbox.
    Regards and Best wishes.

  • Field is not populating in BDC from Table Control value????

    Hi Experts,
    After adding a new Quantity (MY_QUANTITY) field to the existing Table control, I populated the data from SAP into it.
    Now, the user will change (if he wants) its value, then he clicks the Push Button by expecting the posting of the Document i.e.in other words. the Control encounters the statement of MY_FORM_CREATE_ABAVN_VIA_BDC in my Prog.
    But, MY_QUANTITY (changed, even not changed too) value/s is not passing in to my BDC_DATA table/code?
    I am doing BDC for ABAVN transaction and wanting the Quantity filed of ''Partial Retirement'' tab to b populated in BDC. So, I am using as,
    SAPLAMDP--Screen 100--Field as ANLA-MENGE (its a Subscreen/Tabs of SAP Screen)
    So,
    1) Problem is with my BDC code?
    2) or, ''SAPLAMDP--Screen 100--Field as ANLA-MENGE'' is this wrong?
    3) or else any other?
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar

    Hai sridhar,
    The problem is within the BDC  Code.
    Because For the effect of adding the field there is no correspong change in bdc is done.So record one more time use the latest one(After adding the field)
    Hope this helps you.
    Regds,
    Rama.Pammi

  • Table control values are not able to read with out a user action.

    Hi All,
    I am working with a module pool programing and I am calling 3 sub screens into my main normal screen.
    In one of the sub screen, I have created a table control and getting the initial values from database and displaying.
    Now I try to change the couple of fields in my table control and with out user action (not pressing Enter after changing the values in table control).
    I try to save the edited/changed values in table control into the database. But I am not able to do so, since the change values are not able to pick.
    My requirement is end user will not do any action(press the enter key ) and he directly presses the save button which is defined in the main normal screen.
    Kindly suggest some solution.
    Thanks
    Geetha

    Hi Geetha,
                    in SAP Default While pressing save button the modified value will pick up because
    Save button will perform enter function also.
    Regards,
    Thangam.P

  • Reg:Table Control in Custom Screen

    Hi All,
    I am having a requirement of adding a custom screen in vendor master,interms of adding field i done it successfully by using BADI's,but now i added a table control in the custom screen,now whenever am trying to create a new vendor its showing vendor successfully created for the company code,but if i try to open any transaction after that am getting an error like "Express document "Update was terminated" received from author "Reference User Development"" , and if i go for transcation code XK03 if i try to open the particular vendor its showing error "Vendor has not been created".
    Regards
    Arpitam

    Hi Suchithra,
    For each and every fields in the screen will have by default properties as Group number which Group1 and Group3 but when u create a table control manually you might have forgot to maintain the the Group number details because of which it is showing in display rather in change.
    Please maintain the Group details in screen field properties and check. I think it will work.
    Regards,
    Aditya.

  • Reg: Table control list box

    Hi All,
    Can anyone please explain with sample code how to get values from the table control list box and save it the internal table.
    regards,
    karthik

    *& Report  ZTABLEC
    REPORT  ZTABLEC.
    tables : mara.
    data : it like mara occurs 0 with header line.
    data : begin of it1 occurs 0 ,
           matnr like mara-matnr ,
            end of it1 .
    data: OK_CODE  type SY-UCOMM .
    data :STATUS like zaiod3-status .
    controls : t1 type tableview using screen 1000.
    call screen 1000.
    *&      Module  STATUS_1000  OUTPUT
          text
    MODULE STATUS_1000 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    select * from mara into table it up to 10 rows.
    ENDMODULE.                 " STATUS_1000  OUTPUT
    *&      Module  USER_COMMAND_1000  INPUT
          text
    MODULE USER_COMMAND_1000 INPUT.
    IF SY-UCOMM = 'SAVE'.
    IT-MATNR.
    append it .
    modify MARA from it.
    ENDIF.
    ENDMODULE.                 " USER_COMMAND_1000  INPUT
    *&      Module  create_dropdown_box  INPUT
          text
    MODULE create_dropdown_box INPUT.
    SELECT matnr FROM mara
                      INTO CORRESPONDING FIELDS OF TABLE it1.
             CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
               EXPORTING
               DDIC_STRUCTURE         = ' '
                 RETFIELD               = 'MATNR'
               PVALKEY                = ' '
               DYNPPROG               = ' '
               DYNPNR                 = ' '
               DYNPROFIELD            = ' '
               STEPL                  = 0
               WINDOW_TITLE           =
               VALUE                  = ' '
                VALUE_ORG              = 'S'
               MULTIPLE_CHOICE        = ' '
               DISPLAY                = ' '
               CALLBACK_PROGRAM       = ' '
               CALLBACK_FORM          = ' '
               MARK_TAB               =
             IMPORTING
               USER_RESET             =
               TABLES
                 VALUE_TAB              = IT1
               FIELD_TAB              =
               RETURN_TAB             =
               DYNPFLD_MAPPING        =
              EXCEPTIONS
                PARAMETER_ERROR        = 1
                NO_VALUES_FOUND        = 2
                OTHERS                 = 3
             IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
             ENDIF.
    ENDMODULE.                 " create_dropdown_box  INPUT
    IN PAI & PBO SECTION...
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1000.
    loop at it  with control t1.
    endloop.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1000.
    loop at it.
    endloop.
    MODULE USER_COMMAND_1000.
      PROCESS ON VALUE-REQUEST.
      FIELD mara-matnr MODULE create_dropdown_box.
    FOR LAYOUT SECTION .......................
    CREATE A TABLE CONTROL SELECT A FIELD OF TABLE CONTROL ON WHICH YOU WANT TO CREATE A LIST BOX
    DOUBLE click on that open a tool box click the drop down list box select the list box .
    save check activate
    regards
    Aniruddh Singh

  • Reg table control

    hi,
    Created table control with 10 lines, if user enters first line and presses enter , second line is getting disbled.
    i need all the lines in the table control to be in enable mode and if he enters second line it should be captured.
    please help me in sorting out this problem.

    HI Sudha,
    This has been answered many a times, Please do search before posting.
    in PBO.
    MODULE status_0100.
    in Program.
    MODULE status_0100.
    describe table itab  lines tc-lines.
    if tc-lines = 0.
    tc-lines = 100.
    else.
    tc-lines = tc-lines + 100.
    endif.
    endmodule.
    Cheerz
    Ram

  • Reg Table Control ---- URGENT

    HI to ALL,
    i have a table control with some fields.On that,
    if Form type = F, then program allows user to enter vendor code in vendor field.
    if form type = E, then program  didnt allow users to enter vendor in vendor field.
    How will i do it for that vendor field???? for form type = E, the vendor field doesnt allow input
    i tried in PBO.but it doesnt works fine.

    Why you say you tried PBO what did you try in that event.
    You need to use the logic of LOOP AT SCREEN.........

  • Reg : Table control row settings to change mode

    Hi geeks.
            I am working on a requirement where the table control has to be in display mode at the time of prepopulating(initial display).This works fine and could get all columns in display mode for which i used column properties of table control. I could select a row from the table control and created a button above the table control for copy of the row which is added to the last row of the TC. I could get this with out any issues. They want the added row to be in changed mode whereas the other rows selected previously should remain in the display mode. Can anybody help me out to solve.Timely help will be appreciated <removed by moderator>
    Regards  ,
    Kumar.
    Edited by: Vinod Kumar on Aug 2, 2011 9:21 AM

    This thread will assist you.
    [Table control with non editable rows;
    Make use of some flag for identifying the new records that will be appended in itab on the press of the button.
    Then in PBO,
    loop at itab with control tc cursor tc-current_line.
    module editnewrow.
    endloop.
    module editnewrow output.
    if itab-flag  =  'X'.
    loop at screen.
        screen-input  =  1.
        modify screen.
      endloop.
       itab-flag  =  ' '. (resetting back to non-editable state for consequent press of the button)
       modify itab index tc_4000-current_line.
      endif.
    endmodule.

  • Re:Reg table control

    Hi,
       i have 2 fields in table control.
    flag                     ship1
    if flag =y               then i should have this column enabled for writing in table    control   other wise disable
        how to implement logic for it

    if flag = 'X'.
    loop at screen.
      if screen-name = 'flag'.
        screen-invisible = 1.
        modify screen.
      endif.
    endloop.
    else.
    loop at screen.
      if screen-name = 'flag'.
        screen-invisible = 0.
        modify screen.
      endif.
    endloop.
    check with various screen options.....

  • Reg:Table Controls

    Hi,
       Can anyone please tell  me how to do table controls with screen shots .

    Hi,
    Check the following link:
    http://www.****************/Tutorials/ABAP/TableControl/Demo.htm
    Regards,
    Bhaskar

  • Analog DC: Values will not update during simulation

    Hello,
    i created a simple analog DC circuit (12V) with a 100 Ohm Potentiometer, a 50 Ohm resistor and a multimeter at the potentiometer. If I start the simulation it always show me the same Value of 8V. Regardless of which value I set with the slider (0-100%) during the simulation, nothing happens.
    Did I something wrong with the configuration or is that a know bug?
    Thanks!!!

    I am not sure of your circuit configuration, but I have tried different configuations and it seem to work fine. I will post the circuit file for you to examine. This contains 2 circuits on the same schematic with 2 different configurations for the pot.
    Let me know if this is incorrect. If this isn't what your doing then try posting your file for us to examine.
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day
    Attachments:
    Potentiometer Circuit.ms10 ‏52 KB

  • I need more than 255 charater value return from the table control screen.

    Hi guys,
    I used this function module to get the dynamic table control value changes, but it export me back only 255 character value.
    because the 'DYNPFIELDS' internal table structure hold only 255 character. kindly help me in this reg to get more than 255 character length.
    or any other solution.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          DYNAME     = '/A1SSPC/USR_RALG_FILL'
          DYNUMB     = '1000'
        TABLES
          DYNPFIELDS = TBDYNPFIELDS.
    kindly provide me if you have any solution.
    reg,
    hari

    Hi,
    Try using the Text Editor for more info go throught the Control Examples
    Utilities--> Examples -->  Control Examples in SE38
    Regards
    Ramchander Rao.K

  • Updation of data in table control

    Hi friends,
    i have developed a custom tab in purchase order.
    in that customer tab i created a push button.
    after pressing the push button it will call a user defined screen with table control.
    after entering the data in the table control a z table should update with the information
    given in the table control including purchase order number created after saving the po.
    can any one help me
    Thanks and Regards,
      Ramesh

    Hi,
    go to xm06 function group --> screen which you have created ..create a module in PAI event and capture the table control values ...as entered and pass to memeory id .....through export statement ...
    in the function module EXIT_SAPMM06E_012 get the exported values through import  parameters ...and update the ztable...
    Thanks,
    Shailaja Ainala.

Maybe you are looking for

  • Upload data from Excel to Itab

    Dear All, Suppose I have data in the form of a matrix and I need to upload the data into the database after validation. The excel sheet is of the format: Emp Empdept E1     E2     E3     E4     E5     E6     E7     E8     E9      E1     MEC     0    

  • BlackBerry Desktop v6.1.0 B38 Won't install and hangs on Windows 7 64 bit

    I'm new here and would be very grateful for your help. When i try to install v6.1.0 B38 on my Windows 7 64 bit PC I have problems and it will not install. It goes as far as telling me that it has installed and would i like to run it.  I then click ye

  • Problem creating schema source while using WebService in MessageMapping

    Hi, scenario is RFC2WS. Problem that occurs is that when i want to use a method from WebService in MessageMapping XI won't import the structure. I am getting following error. The WSDL is from an external portal on which a WebService is ready to invok

  • Vendor notification Action box

    Hi, I have a problem with in vendor notification X1, when login SAP in other language and go to the QM02  transaction , in action box two item description shown below is missing 1.Action Required 2. Receipt of evidence. In English login its coming bu

  • Consolidation operators during Dimension creation

    Hi everyone, During dimension hierarchy creation, by default all Generations get default (+) addition as the consolidation operator. How can I ignore(~) few members from consolidations at same or different generations ? Thank you in advance