Table Control Modification for Note implementation.

I am applying a note, wherein I have to add a field TAX1 to a table control. I am able to add the field, but it is shaded grey. Moreover when I run the note after doing the necessary modifications, it is giving an error 'Element TAX1 touches or overlaps other element'. Whats the solution?

Hi,
when I removed the text element, which gives the heading for that particular field, its not showing the error. But in the second table control for the same screen, it is giving the same error for an element which i did not place at all in the table control, i.e., i inserted the field ADDTAX1, but it is giving the error for ADDRATE1, which i am not inserting into the table control at all.

Similar Messages

  • How to update DBtable in table control (MPP) for selected lines.

    Hi Folks,
    I need to update DBtable from the table control after modification of  only multiple selected rows.
    But my issue. any row if edited is being modified in DBtable.
    Client does not want me to use Check box so im using Selcolumn in module pool table control.
    Please help me in resolving the issue. Let me know if you have any queries
    Thanks
    Reddy

    Hi Reddy,
    Hope it helps.
    For  Sel column.
    Declare:
    Data : SEL  TYPES XFELD in Structure.
    Double click on the sel  field     give the structure name and field name as below in screen shoot.
    In Flow logic.
    PROCESS AFTER INPUT.
    loop at it_tab.
        FIELD YTBLCTRL-SEL.
    MODULE update.
    ENDLOOP.
    MODULE Updatedb.
    In Editor.
    MODULE UPDATE INPUT.
       MODIFY it_tab FROM YTBLCTRL INDEX tbc1-current_line.
       if ytblctrl-sel IS NOT INITIAL.
       lv_cnt = lv_cnt + 1.
       endif.
    ENDMODULE.
    MODULE UPDATEDB INPUT.
    Case sy-ucomm.
    WHEN 'SAVE'.
    if lv_cnt is NE '1'.
    Message 'select more than one item.
    else.
    Update DB.
    endif.
    Endcase.
    Regards,
    Venkat.

  • Table control bdc for mb1a

    Hi All,
    Can anyone tell me is table control BDC possible for MB1A tcode
    Thanks in advance.

    well there may be 2 cases,
    1. if ur batch manahement is active and the batch is determined internally,in that case it is not possible.
    2.However if ur batch management is not active,then a bdc can be written.
    But i would suggest u use an LSMW and record using the BAPI method,SAP provides good standard BAPI's.

  • Table Control Variant For ME21N - Item level - account assignment tab.

    Dear All,
    I want to change Table Control Screen that is in Me21n(Service PO)>Item level> Account Assignment  tab -> Table control.
    In that table control i want to add one column Name is OrderNo(AUFNR) ,but system is not changing the table control.
    When i m going to change table control scrren in ---> Condition tab its working fine but not for above case.
    Please guide me to solve this issue.
    Regards,
    Sanket.

    Please provide the solution.
    Regards,
    Sanket.

  • Table control program for updating database table

    Does anybody have a sample code for a table control program which can insert/delete/update a database table?
    I mean like on the output on table control, if the user insert/delete/update the records, the corresponding records will be updated in database table also.
    Appreciate your input.
    Thanks.

    hi nuren,
    TABLES: kna1,knbk.
    DATA: v_kunnr LIKE kna1-kunnr.
    DATA: v_check TYPE c.
    DATA: BEGIN OF it_knbk OCCURS 0,
          banks LIKE knbk-banks,
          bankl LIKE knbk-bankl,
          bankn LIKE knbk-bankn,
          bkont LIKE knbk-bkont,
          koinh LIKE knbk-koinh,
          chk TYPE c,
          END OF it_knbk.
    DATA: v_ucomm TYPE sy-ucomm,
          v_dynnr TYPE sy-dynnr.
    DATA: l_index TYPE sy-index.
    data: count type i.
    CONTROLS: tc1 TYPE TABLEVIEW USING SCREEN 0200.
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'ABC'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
          text
    MODULE user_command_0100 INPUT.
      v_ucomm = sy-ucomm.
      CASE v_ucomm.
        WHEN 'DISP' OR 'CHNG'.
          IF v_kunnr <> space.
            SELECT banks
                   bankl
                   bankn
                   bkont
                   koinh
                   FROM knbk
                   INTO TABLE it_knbk
                   WHERE kunnr = v_kunnr.
            LEAVE TO SCREEN '0200'.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  MOD_KUNNR  INPUT
          text
    MODULE mod_kunnr INPUT.
      IF NOT v_kunnr IS INITIAL.
        SELECT SINGLE
               kunnr
               FROM kna1
               INTO v_kunnr
               WHERE kunnr = v_kunnr.
        IF sy-subrc <> 0.
          MESSAGE e000(zz) WITH 'INCORRECT CUSTOMER NUMBER'.
        ENDIF.
      ENDIF.
      IF v_kunnr IS INITIAL.
        MESSAGE e000(zz) WITH 'PLEASE ENTER A VALUE'.
      ENDIF.
    ENDMODULE.                 " MOD_KUNNR  INPUT
    *&      Module  STATUS_0200  OUTPUT
          text
    MODULE status_0200 OUTPUT.
      SET PF-STATUS 'ABC1'.
    SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0200  OUTPUT
    *&      Module  SCREENMOD  OUTPUT
          text
    MODULE screenmod OUTPUT.
      IF v_ucomm = 'DISP'.
        LOOP AT SCREEN.
          screen-input = 0.
          MODIFY SCREEN.
        ENDLOOP.
      ELSE."if v_UCOMM = 'CHNG'.
        LOOP AT SCREEN.
            IF screen-group1 = 'G1'.
              screen-input = 0.
            ELSE.
              screen-input = 1.
            ENDIF.
         MODIFY SCREEN.
        ENDLOOP.
    endif.
    if sy-ucomm = 'INSE'.
    loop at screen.
    IF ( tc1-current_line <> tc1-lines ).
      screen-input = 0.
    else.
    screen-input = 1.
    modify screen.
    endif.
    endloop.
    endif.
    ENDMODULE.                 " SCREENMOD  OUTPUT
    *&      Module  EXIT2  INPUT
          text
    MODULE exit2 INPUT.
      LEAVE TO SCREEN 0.
    ENDMODULE.                 " EXIT2  INPUT
    *&      Module  modify  INPUT
          text
    MODULE modify INPUT.
          IF v_check =  'X'.
            it_knbk-chk =  'X'.
            MODIFY it_knbk index tc1-current_line.
          ELSE.
            CLEAR it_knbk-chk .
         ENDIF.
    ENDMODULE.                 " modify  INPUT
    *&      Module  USER_COMMAND_0200  INPUT
          text
    MODULE user_command_0200 INPUT.
    v_ucomm = sy-ucomm.
      CASE v_ucomm.
        WHEN 'DELE'.
            DELETE it_knbk where chk eq 'X'.
            DESCRIBE TABLE it_knbk LINES tc1-lines.
        WHEN 'INSE'.
          CLEAR it_knbk.
          APPEND it_knbk.
          DESCRIBE TABLE it_knbk LINES tc1-lines.
        WHEN 'LIST'.
          LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN '0200'.
          WRITE 'Report'.
        WHEN 'BACK'.
          LEAVE TO SCREEN '0100'.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    *&      Module  validate  INPUT
          text
    module validate input.
    IF IT_KNBK IS INITIAL.
    MESSAGE E000(ZZ) WITH 'A BLANK LINE CANNOT BE SAVED'.
    ENDIF.
    endmodule.                 " validate  INPUT

  • 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

  • HELP! Presentation in 5 hours/Cannot control mouse for notes!

    Hello all! I hope someone can help me with this because I have tried everything. I have a Keynote presentation ready for presenting in 5 hours. I have plugged my Powerbook in my TV (which has VGA connection) to test my presentation out. The presentation shows up on my TV correctly, and I see on my powerbook the presenter version with timer and next slide etc. My problem is that I have notes entered into each slide that I can see from my Powerbook however I cannot scroll downwards to read them all because my mouse pointer shows up on the TV instead of my Powerbook. I'm helpless without these notes, and it will take me a while to transcribe them to another document to print. I would love to know if there is a solution for this.
    Thanks to all who can help me, extremely appreciated

    Launch Keynote. Go to the Help menu and click on Keynote Help. In the Help Viewer, click Learn About Keynote and then click on Keyboard Shortcuts. You need to use U and D to scroll notes Up or Down during a presentation. You cannot use the mouse for this. To have your cursor appear on the presentation screen, click C.
    Robert

  • Problem During table control - Item Details not filling

    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    Additionally - you simply posted your code with no explanation. Please ask a proper question
    Edited by: Rob Burbank on Sep 17, 2009 10:47 AM

    In read table I have wriiten following code as already mentioned
    MODULE read_table INPUT.
    CLEAR ok_code.
      zlc_items-mark           = wa_item-mark.
      zlc_items-posting_key    = wa_item-posting_key.
      zlc_items-account_number = wa_item-account_number.
      zlc_items-special_gl     = wa_item-special_gl.
      zlc_items-amount         = wa_item-amount.
      zlc_items-cost_center    = wa_item-cost_center.
      zlc_items-wbs_element    = wa_item-wbs_element.
      zlc_items-text           = wa_item-text.
      zlc_items-vendor         = wa_item-vendor.
      zlc_items-tax_code       = wa_item-tax_code.
      zlc_items-profit_center  = wa_item-profit_center.
      APPEND wa_item TO it_item.
      CLEAR wa_item.
    ENDMODULE.

  • How to add column in table control for transaction APPCREATE

    Hi All,
    How can i add the additional column in table control for transaction APPCREATE.
    There is structure PT1045_EXT present behind table control. But not found any customer exit or badi to display on screen.
    Please help...

    You can add new columns
    If you add new columns in tr. PHAP_CATALOG

  • Disable few record in a table control not all records

    Hi 
    I have an internal table of   6 rows with table control .first field char 1 (ws_flag) which I am using for line selection of row in the table control .
    I have to disable some rows in a table control (user can not select or deselect it).
    I don’t want to disable all rows . I just want to disable some rows depending upon the condition .
    Loop at screen doesn’t seem to be working .
    I already tried the below given code .  how does Screen-name = column name this will besatisfied in  a table control.
    Set screen attributes for table control
      loop at zzhb6_0100 with control zhb6ctl
                        cursor zhb6ctl-top_line.
        module modify_screen_0100.
      endloop.
    Then:
    module modify_screen_0100 output.
      loop at screen.
        if screen-name = 'ZZHB6_SAL_PHASE2_S-ZZMERIT_AMT'.
          if zzhb6_sal_phase2_s-zzself_funded = 'X' or
             zzhb6_sal_phase2_s-zzmed_rec     = 'X' or
             zzhb6_sal_phase2_s-zztr          = 'X'.
            screen-input = '0'.                       "Display
            modify screen.
          endif.
        endif.
        if screen-name = 'ZZHB6_SAL_PHASE2_S-ZZMERIT_AMT_SP'.
          if zzhb6_sal_phase2_s-zzself_funded = 'X'.
            screen-input = '0'.                       "Display
            modify screen.
          endif.
        endif.
      endloop.

    When using table control, chances are you have some code like this in the screen flow logic of the screen.
    PROCESS BEFORE OUTPUT.
    * PBO FLOW LOGIC FOR TABLECONTROL 'I_WOODCAPCON'
    * MODULE I_WOODCAPCON_CHANGE_TC_ATTR.
    * MODULE I_WOODCAPCON_CHANGE_COL_ATTR.
      LOOP AT   I_WOODCAP
           WITH CONTROL I_WOODCAPCON
           CURSOR I_WOODCAPCON-CURRENT_LINE.
        MODULE I_WOODCAPCON_CHANGE_FIELD_ATTR.
      ENDLOOP.
      MODULE STATUS_0300.
    Notice the MODULE I_WOODCAPCON_CHANGE_FIELD_ATTR. in the above code, this is the module which will allow you to change the attributes of the cell per row.  Notice that this MODULE is inside the LOOP statement in the PBO flow logic.
    So here is the coding for the module.
    module i_woodcapcon_change_field_attr output.
      modify i_woodcap index i_woodcapcon-current_line.
      loop at screen.
        if i_woodcap-level = 'B'
          and  screen-name = 'I_WOODCAP-PDATE'.
              screen-input = '0'.
        endif.
         modify screen.
      endloop.
    endmodule.
    Notice here that my condition statest that if the LEVEL value for the row is "B", then I want to make the PDATE of the row "not ready for input".   'I_WOODCAP is the name of the internal table associated with the table control.
    Help this helps.
    Regards,
    Rich Heilman

  • Screen Modification i Table Control

    Hi all,
       we have a requirement on modifying the screen field attributes for a table control.
      scenario : f1  f2   f3   f4
    now when the user enters the input for field f1 a pop-up  appears wherein you will have to make a selection. the selected one will copy to field f2.
    now for a particular input of f1 the field f2 for that particular row has to be greyed out.
    we are trying this by looping at <b>screen</b> table , but this is greying out  the entire column instead of that particular cell.
    Thanks in Advance.
    Kishore Kumar Yerra.

    HI,
    look at the code below write this code in the PBO flow logic, in the module of loop endloop of table control.
    check for the fields are initial or not.
    if fields contains value then make them disable other wise make them enable.
    <b>
      LOOP AT SCREEN.
        IF screen-name = 'F1'.
          IF grid_itab-F1 IS INITIAL.
            screen-input = 1.
          ELSE.
            screen-input = 0.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    </b>
    Regards,

  • Please help in Table control for fetching

    Below is the code which i m using ......but while i use modify statement after selecting row in table control it is not geting  modified.When i saw thru debugger ....it is only modifing the data which is in Header line.....plz help in this
    WHEN 'FETCH'.
    MODIFY NO_TEMP INDEX TEMP_DET-CURRENT_LINE
    FROM NO_TEMP TRANSPORTING ZCHECK.
    REFRESH IT_PO_DET.
    CLEAR IT_PO_DET.
    LOOP AT NO_TEMP WHERE ZCHECK  EQ 'X'.
      LOOP AT I_YPO_TEST
      WHERE SOLD_TO_PARTY_CD EQ NO_TEMP-SOLD_TO_PARTY_CD.
      APPEND I_YPO_TEST TO IT_PO_DET.
      ENDLOOP.
    ENDLOOP.
    IF SY-SUBRC EQ 0.
            MESSAGE S001(Z1) WITH 'RECORD FETCHED SUCCESSFULLY'.
          ELSE.
            MESSAGE E001(Z1) WITH 'NO RECORD FETCHED SUCCESSFULLY'.
          ENDIF.

    Hi dheeraj,
    The part of the code which you are showing us must be in a module which is called in the loop of the table control , in the flow logic.
    PAI section.
    loop at no_temp."
    module user_command_0100.
    endloop.
    module user_command_0100.
    WHEN 'FETCH'.
    MODIFY NO_TEMP INDEX TEMP_DET-CURRENT_LINE
    FROM NO_TEMP TRANSPORTING ZCHECK.
    REFRESH IT_PO_DET.
    CLEAR IT_PO_DET.
    endmodule.

  • Footer is not visible in Table control?

    Hi All
    I am using Table control, Footer is not visible. It is shhowing in layout, but in browser it is not showing. In properties it is checked. And Right side scrolling is working fine, but footer is not visible. We have to set programitically?? Help Please
    Cheers,
    Venkys.

    >
    sarbjeet  singh wrote:
    > From EHP4 onwards paginator has been replaced by this right scroll bar.
    >
    > if you want that back
    >
    > adding the following two parameters to the Web Dynpro Application will bring it back
    >
    > WDLIGHTSPEED (leave the value field blank)
    > WDTABLENAVIGATION set to PAGINATOR
    >
    >
    > thanks
    > sarbjeet singh
    Althought this technically will bring back the paginator; I really strongly recommend against doing this.  By turning off lightspeed you resort back to the old rendering engine.  You give up all the performance improvements that lightspeed provides.  You also give up access to new UI elements and features - like drag and drop, flashIslands, threshold slider, etc.  It seems to me like way too high a price to pay just to go back the paginator.

  • Record not shown in table control

    Hi experts,
    I am working on the module pool program with a screen 0100. There is a table control called TABL_MATR in screen 0100.
    There is no error while compiling the program. But no record shown when a record added into the table control.
    I do not want to use the headerline in the program, because I intented to do it in OO way.
    Record shown if I do like this:
    DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY WITH HEADER LINE.
    In PBO
    loop at itab_tray  " record show in the table control
    whereas record not shown if do like this:
    DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY.
    In PBO
    loop at itab_tray into wa_tray  " no record show in the table control
    Can someone guide me how to do it in the right way?
    Please help.
    Thanks in advance.

    Hi all,
    I have added the below images.
    1) http://i566.photobucket.com/albums/ss106/wkw510/pic6.jpg
    2) http://i566.photobucket.com/albums/ss106/wkw510/pic7.jpg
    3) http://i566.photobucket.com/albums/ss106/wkw510/pic8.jpg
    I have also followed what Devendra's suggested, however the same error message I get:
    "ITAB_TRAY" is not a structure or internal table with header line.
    As such I have changed the statement
    module fill_table_control output.
      MOVE-CORRESPONDING wa_tray TO itab_tray.
    endmodule.
    to
    module fill_table_control output.
      APPEND wa_tray TO itab_tray.
    endmodule.
    After changed, compiled no error.
    But, when I started to use the program I got another error which closed the whole SAP screen.
    Therefore I tried to change the TABLE CONTROL setting to
    4) http://i566.photobucket.com/albums/ss106/wkw510/pic10.jpg
    Now, everything is okay but I only get the latest record shows in the TABLE CONTROL. The record I inserted display more than one time, and filled all the table control.
    5) http://i566.photobucket.com/albums/ss106/wkw510/pic11.jpg
    I am wondering should we include
    MOVE-CORRESPONDING wa_tray TO itab_tray.
    or
    APPEND wa_tray TO itab_tray.
    According from Devendra, the PBO should only has this code
      loop at itab_tray into wa_tray
        with control tabl_matr
        cursor tabl_matr-current_line.
    *    module fill_table_control.   "shoule we exclude this?
      endloop.
    If I exclude the above code, the table control only show one record, regardless how many records are inserted.
    Something is not right here, but just cant find it out.
    Please help.

  • How can we select multiple rows in table control for module pool program?

    hi guru's
                 i cannt able to select multiple table control rows for deletion of records please give any code to select rows?
    regrards,
    satheesh.

    On the Table Control attributes there is a "Selectability" option where you choose one of: None, Single, or Multiple.  In your code you then need to pick up which rows have the selection column set to 'X'.

Maybe you are looking for

  • Problem with java source procedure

    Hello everyone, I've set up a simple example that is supposed to create an fdf file on the server. I tested my program and it works fine. Now I'm trying to do the same thing except that I would like to have my java code in the database. Here's what I

  • Updating Dashboard pages separately in OBIEE 11g

    Hi guys, I have a requirement to show multiple reports in one dashboard as tabs\pages like page1-for R1, page-2 for R2 (R!&R2 are reports) and these pages were created using different prompts for each report. but, the DB tables are the same. My probl

  • How to view DB schema in SAP B1 company

    Hi, Would you please tell me how to view Company database schema. When I use Database browser It gives Exception as "B1DBBrowser ERROR: The Type initializer for 'B1wizard.Globals'" threw an Exception. Thank you Buddhika

  • How to query based on fields in subclass

    We have 5 classes: Component, ManagedElement, System, Service and UpsService. System and Service extend ManagedElement, and UpsService extends Service. Component links two ManagedElements. There are other classes that also extend Service. If I try to

  • Need support to document the object

    Hi gurus I am supposed to document the InfoCube which i have modelled. I would like to know is there any proper documentation tool which can be used to document the object. Or if anybody is using any documentation template to document the object plea