Custom Table Control in VA21/22/23 Tranaction Issue

Hi Friends,
Working on SAP R/3 Release 4.6C.
There is a custom Table Control in one of the screen of VA21 Transaction.
My requirement is to insert one more Field/Column to this table Control.
The following are the sequence of fields in Table Control.
Column1
Column2
Column3
Column4
After Inserting the Field in the middle of Column1 and Column2.
The Sequence of Table Control is getting Changed.
The Table Control has to show like this.
Column1
Column2     "New Field which is added
Column3
Column4
Column5
But I'm getting as below
Column5
Column3
Column2     "New Field which is added
Column1
Column4
When executing the Table Control Screen in SE51 with Screen Name and Screen Number,I am getting the perfect output.
When executing thro VA21/22/23, Iam getting sequence mismatch.
Anyone come across this scenario. Please guide to solve this.
Thanks.

Solved.
Thanks.

Similar Messages

  • Could you please send me the links to get an idea on Custom table controls

    Hi Friends,
               I am working on custom table controls, Could you please send me any links on Custom table controls or documentation.
       Thanks and Regards,
       Sandeep Kumar Bonam

    Hello Sandeep,
    See here for the latest table features in 2004s.
    <a href="/people/bertram.ganz/blog/2006/07/03/web-dynpro-java-foundation--whats-new-in-sap-netweaver-2004s:///people/bertram.ganz/blog/2006/07/03/web-dynpro-java-foundation--whats-new-in-sap-netweaver-2004s
    This link also has a lot information on tables
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d43bb0e5-0601-0010-3a97-d9760726bf4c">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d43bb0e5-0601-0010-3a97-d9760726bf4c</a>
    Regards,
    Sudeep.

  • Populating item number in table control

    I have created a custom table control. It is very similar to the VA01 or Vl01N table controls to add items. When the user enters the material name, the item number column needs to be populated.
    Currently I have something like this
    LOOP at i_items.
    MODULE tblcntrl_modify INPUT.
    ENDLOOP
    MODULE tblcntrl_modify INPUT. "PAI
       posnr = sy-stepl * 10.
       more logic for input validation.
    ENDMODULE
    The issue I have is that when I scroll in the table control, the posnr for each item gets recalculated and they get whacked .. so I get a scenario like this
    10 mat1
    20 mat2
    30 mat3
    10 mat4
    40 mat5
    what is the best way to populate the item number. Thank you

    hi,
    u have to make one module in PAI brtn  <b>LOOP-ENDLOOP, CHAIN-ENDCHAIN</b>
    LOOP AT itab_det.
        CHAIN.
         FIELD itab_det-comp_code.
          FIELD itab_det-bill_no.
          FIELD itab_det-bill_date.
          FIELD itab_det-vend_cust_code.
          FIELD itab_det-bill_amt.
          MODULE <b>tab1_modify</b> ON CHAIN-REQUEST.
        ENDCHAIN.
        FIELD itab_det-mark
          MODULE tab1_mark ON REQUEST.
      ENDLOOP.
    <b>MODULE tab1_modify INPUT.</b>
      IF itab_det-bill_no <> ' ' .
        CLEAR:net_pr,tax,bil_amt,bil_dt.
        SELECT SINGLE fkdat netwr mwsbk FROM vbrk INTO (bil_dt,net_pr,tax)
        WHERE vbeln = itab_det-bill_no .
        bil_amt = net_pr + tax.
        itab_det-bill_date = bil_dt.
        itab_det-bill_amt = bil_amt.
      ENDIF.
      MODIFY itab_det
        FROM itab_det
        INDEX tab1-current_line.
      APPEND itab_det.
    <b>ENDMODULE.                    "TAB1_MODIFY INPUT</b>
    here i am fetching Bill Amount and Bill Date according to Entered Bill Number in Table control.
    So i am checking bill number here in If condition and when i press enter that two value automatically populated...
    reward if useful.....

  • BDC_OK code for scrolling in custon table control

    Hi All,
    I have a requirement to create a BDC program for transaction ME31K, but the problem is this ME31K transaction is enhanced adding a custom screen which has three custom table controls. Now this screen is also included in the BDC program.
    I am facing problem in tracking the BDC_OKcode for scrolling for these custom table controls. Tried with '=P+' but not working.
    While recording it is capturing '/00' for scrolling but while executing through program it is not working.
    If anybody has faced this situation before please suggest how to go about it.
    Please note '=NP'  is not avaiable as it is a custom screen.
    Thanks in advance.

    go on the screen where you have table control, put /h in command field.
    now scroll in table control, this will go in debugger and now check sy-ucomm.
    hope you get it.

  • Table control:screen painter(Module Pool)

    hi !
    Table name :ZDR_MOD.
    Internal table:ITAB.
      I am doing Custom table control in screen painter.I have done desgin in screen painter,I am not writing any doing in PAI abd PBO. while compiling it showing error like,
    "The field "ITAB-MANDT" is not assigned to a loop."LOOP ... ENDLOOP" must appear in PBO and PAI""
    Report coding:
    EPORT  ZDR_PGM_TMP.
    tables:zdr_mod.
    CONTROLS tc TYPE TABLEVIEW USING SCREEN 100.
    data:itab TYPE STANDARD TABLE OF zdr_mod with HEADER LINE.
    DATA : flg, "Flag to set the change mode
    ln TYPE i. "No. of records
    select * from zdr_mod into CORRESPONDING FIELDS OF TABLE ITAB.
    call SCREEN 100.
    INCLUDE ZDR_PGM_TMP_STATUS_0100O01.
    INCLUDE ZDR_PGM_TMP_USER_COMMAND_01I01.
    thank in advance
    Dharma

    Hi,
    When a table control is added onto the Screen Painter, it is mandatory that the fields that you have added on from the dictionary be present in your program and is used within a loop...endloop.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
       LOOP AT T_ITAB INTO WA_ITAB WITH CONTROL TABCONTROL1.
         MODULE PURCHASEITEM_DETAILS.
       ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP AT T_ITAB.
         MODULE USER_COMMAND_0100.
    ENDLOOP.
    The internal table that you declare will have the same structure as that your table control. So it always loops with respect to the table control.

  • Custom Infotype - Using Table control in the screen.  IN OM

    Hi,
    I am having a requriement where in I need to create a custom infotype using table control in the screen. I have to create this in OM and I am using PPCI transaction to create the info type. I am able to create the infotype with fields but not table control. Please let me know if any one of you came across and help me with the process I need to follow.
    Thanks in advance.
    Venkat.

    Hello,
    After you create the info type throug PPCi, you can directly go to the Sceen module program created automatically while creating Info type and edit the screen.
    activate it after your changes.
    Regards,
    Srujan.

  • Adding custom fields in table control of infotype 0591

    Dear Experts,
    My requirement is to add custom fields x y z  in the Table contol of the standard infotype 0591 (Nominations) screen in PA30 tcode.
    Is it possible to add the fields in table control after the fields share,guardian's address, without using access key.
    if  so, help me to know the procedure.
    Please suggest.
    Warm Regards
    Sinde.

    hi..
    a thread already exists with the same Subject.. pls check if it helps u....

  • Sale Order Item : Custom Field : Table Control

    I have added two fields to sale order item table control in program SAPMV45A screen no . 4900. Now the field which i have added are working fine while creating sale order but while changing those fields are not changing.
    condition is like this: the custom field are automatically filled by some logic and if the user want to change those field he will able to do. Now 1st condition is fine and when i change those field they will show the previous saved value inspite of changed value. 
    I have also added those field in additional data b tab in screen 8459 , there they are working fine but here the problem remains the same.

    Hi,
    u can use BAPI_SALESORDER_CHANGE to update the values of those fields. for that u need to extend few tables and coding that u can get from the BAPI documentation. If not getting reply back. i can help u..
    regards,
    pavan.

  • Adding custom fields to standard table control in IW51

    Hi,
    I have added 4 custom fields to the standard table QMEL through the structure CI_QMEL .
    In transaction IW51 there is a table control as show in the screenshot below.
    The 4 custom fields which i have added in the standard table should also be added to this table control.
    Can this achieved by making adjustments in SPRO settings or can it be acheived technically by using some exit?
    Thanks in advance.
    Regards,
    Vignesh Sunkasi.K

    Hi Vignesh,
    Adding new fields is not possible, but custom subscreens can be added.
    Check enhancements QQMA0001 (subscreen for notification header) and QQMA0008 (subscreen for additional data).
    It might help you.
    Thanks & Regards,
    Swati

  • 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.

  • Custom fields in migo table control not updating

    hi ,
    This is to have your valuable suggestion , wrt , following issue..
    In transaction MIGO , i have to add two fields uebto and untto in table control .
    I am able to add them in table control, but some how not able to pick data for these fields .
    error coming is :
    " System error: Incorrect Customizing for field
    ZZUEBTO".
    if any face such type of issue , answer me .
    Thanx,
    jeet

    Hi,
    Thanks for your reply.  I have added the custom fields in the item detail.  But the customer wants the custom fields in the table view also.
    Is there any screen exit available to modify the table control of MIGO?
    Thanks.

  • Adding custom fields in table control of PO

    Hi Everyone,
    I have a requirement which i need to display the custom fields in the Table Control(Item Overview) of PO. Since our Version is 4.6C there is no badi's avilable to do the changes. Please let me know how can we solve this problem.
    Mentors: Forgive me if it is repeated Post...
    Edited by: subas  Bose on Feb 5, 2010 12:10 AM

    Hi,
    Search for user exit...either screen or field exit..this will solve your problem.
    Small help on how to find a exit;
    1. find out the package
    2. go to se84 with the help of package in the cutom exit tab look for all the exit.
    3.put the brek point and tack where you can get the solution.
    Pooja

  • Dynamic tabstrips and table control in custom infotype

    Dear Experts,
    I have a requirement to create a custom infotype using tabstrips and table control. The tabstripes should also be dynamically populated. For example we have infty 8(Basic pay) used table control and 24(Qualifications) for tabstripes.
    Could you please tell me how to do this. Please do the needful ASAP.
    Thanks,
    Chaitanya.
    Moderator message - Please don't just post your requirements and ask the forum to do your work for you...especially ASAP - Thread locked
    Edited by: Rob Burbank on Oct 7, 2009 4:16 PM

    Hi Partha,
    Pls check the threads:
    Best way to store a table control into an infotype
    Re: Custom Infotype with table control - Overview/List  Screen
    Dilek

  • Table control in Custom infotype 9008

    Hi,
    I need to create a custom infotype with table control in it.
    Normally after going to PM01 and genetete it will display all the field as individual field.
    Here i need to use 4 of those field into table control format.
    Is ther any special process to create table control in custom infotypes??
    Thanks in advance,
    Satyadev

    Hi Satyadev,
    I dont have a solution for your problem, but am curious about the intent of what you are trying to do .... the purpose of the table control is to store multiple records, so if a user enters multiple records for the four fields, how are you planning to store it in the Database (PA9nnn) table considering the key would be unique .... Unless you have defined 4*X times the number of columns in your P9nnn strcutre and hence need X number of rows in table control?
    Just trying to bring up a question - so that it might help realize a solution or prospective future problem!
    Cheers,
    Aditya

  • Table Control in Custom Infotype

    Hi Everyone,
    I have created a custom infotype 9200 where i have four field bunching (zband01, zgrade01, zcurrp01, zrmrks01, zbandp02...upto 10 repeations) in PS9200 structure. I have created another structure ZQ9200 with just the above four fields in the structure. This structure field names are assigned to the table control layout fields in the module pool.
    I created another internal table and workarea with the same four field structure in the program. In PAI, in the 'loop with control TC', i am populating the internal table first. Then after the loop ends, i am loopinf the internal table and populating the P9200 structure.
    Problem here is in pa30, if i want to create a record to IT 9200, i am entering the values in the table control but could not hold the values after I press the 'Enter' button.
    PLease do help me.

    Hi
    It would be something like this
    PROCESS BEFORE OUTPUT.
    *         general infotype-independent operations
      MODULE before_output.
      CALL SUBSCREEN subscreen_empl   INCLUDING empl_prog empl_dynnr.
      CALL SUBSCREEN subscreen_header INCLUDING header_prog header_dynnr.
    *         infotype specific operations
      MODULE p9991.
      LOOP AT g_tabla WITH CONTROL g_d_tc INTO g_wa.
        MODULE pbo_tc.
      ENDLOOP.
    ************+
    PROCESS AFTER INPUT.
    *  process exit commands
      MODULE exit AT EXIT-COMMAND.
    *         processing after input
    *         check and mark if there was any input: all fields that
    *         accept input HAVE TO BE listed here
      CHAIN.
        FIELD p9991-begda.
        FIELD p9991-endda.
        MODULE input_status ON CHAIN-REQUEST.
      ENDCHAIN.
    *      process functioncodes before input-checks                      *
      MODULE pre_input_checks.
    *         input-checks:                                               *
      LOOP.
        MODULE pai_tc.
      ENDLOOP.
    *   insert check modules here:
    *&      Module  PBO_TC  OUTPUT
    *       text
    module PBO_TC output.
      MOVE-CORRESPONDING G_WA TO ZQ9991.
    endmodule.                 " PBO_TC  OUTPUT
    *&      Module  PAI_TC  INPUT
    *       text
    MODULE pai_tc INPUT.
      MOVE-CORRESPONDING zq9991 TO g_wa.
      PERFORM tc_update TABLES g_tabla
                          USING  g_wa
                           g_d_tc-current_line.
    ENDMODULE.                 " PAI_TC  INPUT
    *&      Form  TC_UPDATE
    *       text
    *      -->P_G_TABLA  text
    *      -->P_G_WA  text
    *      -->P_G_D_TC_CURRENT_LINE  text
    FORM tc_update  TABLES   p_tabla
                             USING    value(p_datos)
                                      value(p_linea).
      READ TABLE p_tabla
               TRANSPORTING NO FIELDS
               INDEX p_linea.
      IF sy-subrc = 0.
        MODIFY p_tabla FROM p_datos INDEX p_linea.
      ELSE.
        APPEND p_datos TO p_tabla.
      ENDIF.
    ENDFORM.                    " TC_UPDATE

Maybe you are looking for

  • Cannot find the Revision Level field in the item details

    Hi All, 1) I have created a PR with 2 items in the R/3 Backend using the me51n transaction in which for one of the items i have updated the Revision Level field. 2) To transfer the purchase requisitions created in the above step to the SRM system(sou

  • Move new pattern swatch

    Thanks for taking the time to read my question. I have a pattern swatch that I created in an .ai file. How can I move it so that I can use it in a new file? Thanks, Brad

  • Saving position in flash

    HI, I Have some open source flash game with me with the source code.I just wanted to save the position of the game. So when the user start the game, the game will start from where he has stopped playing last time. So he will not loose anything and he

  • ALTER SYSTEM KILL SESSION

    Hello Everybody, 1) Is there any difference between "ALTER SYSTEM KILL SESSION & "kill -9"? Which one is the preferred method? 2) When we do alter system kill 'sid, serial#'. Are we killing the user process or the server process? thanks in advance

  • Poor documentaion

    I have dowloaded the fcpx manual and find it lacking in describing any function.  As an example, when looking for information on stabilization of a clip, stabilization shows up once in a search of the manual and only says it is function of fcpx.  The