Add field in table maintenance generator screen of maintenance view

Hi,
I am having a table with field user-id. I want to generate a maintenance view which will have corresponding user name as input disabled field. Since there are two tables USR21 and ADRP I need to access(not a direct check table) I will have to modify the code generated by the table maintenance generator.
Problem is that it is having one internal table EXTRACT at table control loop. That internal table cannot be accessed if you write a module inside the table control loop and try to catch. The error coming as EXTRACT is not object of structure and therefore no component. I tried to capture the value of the Loop but could not be successful. Any suggestion please.
Thanks,
Atanu

Hi,
sample:
      MODULE LISTE_UPDATE_LISTE.
    ENDCHAIN.
*--->begin of your change
    CHAIN.
      FIELD YTAB1-BILKS .
      FIELD YTAB1-BILKH .
       module check_bewar  ON CHAIN-input. "your checks
    ENDCHAIN.
*-----> end of your change
  ENDLOOP.
  MODULE LISTE_AFTER_LOOP.
->  module check_bewar  is in an includ z123_INCL
Regards Andreas

Similar Messages

  • Add Fields from table ADRC (Fields Name 1 to 4) for Open Item Processing

    Hi SAP Expert:
    Our client requires vendor/customer name to be displayed in the open item processing line layout for transaction code f-58, so they can double check if the vendor name is complete as intended. 
    We intend to add fields from table ADRC instead of REGUH since the characters in maintaining vendor/customer name is 40 characters and REGUH - ZNME1s are only 35 characters. 
    We have managed to add fields from ADRC and change the SAPDF05X program and were able to display the names in open item layout, except that the program seems to "automatically" create a generic table which only carries 30 characters of the vendor/customer name.  The source table should be RFOPS_DK but the program automatically looks up from table RFOPS_GEN for the particular fields - Name 1 to 4.  Is there a way to "instruct" the program to use RFOPS_DK instead of RFOPS_GEN?
    Hope this will merit somebody's attention... Thanks !!!

    Thanks,  i have assigned the layout via o7v3,  it is the program that i have a problem with,  actually another program that we change is the program MF05BFPO where it generates data to be displayed in the FBZ4 screen,  though we add a field with 40 characters (ADRC Name 1 to 4)  what the program dispalys is a 30 character Name1 to 4 from structure RFOPS_GEN. 
    My question is can i extend/change the structure RFOP_GEN to 40 characters,  is there any SAP standard program that will aftected if i do so?  thank very much...
    Lorena

  • ADDING A NEW FIELD IN TABLE MAINTENENCE GENERATOR

    I HAVE A REQUIREMENT OF ADDING A FIELD TO DATA BASE TABLE .
    THAT ADDED FIELD SHOULD BE ABLE TO MAINTAIN IN TABLE MAINTANENCE GENERATOR WHICH IS ALREADY THERE.
    CAN YOU GUYS TELL ME HOW TO ADD NEW FIELD IN TABLE MAINTENENCE GENERATOR.
    PLEASE TELL ME HOW TO DO THIS .
    I AM USING 4.6C

    Hi
    Add a field to existing table and delete the maintenance generator and re create the same
    Regards
    Shiva

  • Max nos of fields in table maintenance generator screen

    Hello,
    Is there any restriction on the number of colums(fields) to be displayed in the screen of table maintenance?
    Actually, I am having a Ztable with some 100 fields and when I generate the table maintenance using Single Screen, it give me error for dynpro creation. But it works with 68 or less fields.
    Can anyone help me out in this?
    Thank You.
    reg,
    Pankaj

    Hi,
    you can change your table:
    if your table is like glt0 or lfc1,
    you can assign month to key of the table :
    FIELD     KEYFLAG
    MANDT     X
    BUKRS     X
    GSBER     X
    GJAHR     X
    WAERS     X
    MONAT     X "<-
    WRBTR     
    Andreas

  • Fields update on Table maintenance generator screen

    HI All..
    I have a custom table with five fields. I did table maintenance generator on it. It has Screen 1 as overview screen and scree 2 as single screen.
    Now of the five fields two fields are user name and date. When i enter data on the other three fields and save it on the second screen - iam able to update the two fields for username and date and display on the screen two itself.
    But if iam not saving the data on the screen 2 and going back to screen 1 and then save it - iam not able to update the user name and date and also to display the username and date on the screen.
    Any suggestions are helpful..
    Thanks and will reward helpful answers.

    In this case..
    Iam having the functionality of SM30 through table maintenance generator.
    On Screen 2- single screen - user name and date is working as i had written the logic in the relevant PBO and PAI module.
    But if user is not saving the data in screen screen2 and coming back to screen 1- which is overview screen and then try to save it-- all other fields are getting saved except the username and date..
    Thanks.

  • SELECT-OPTIONS in table maintenance generator screen

    Hi
    Is it possible to create SELECT-OPTIONS in table maintenance screen?
    My requirement is to allow the user to enter single Company code and Range of G/L Accounts in the Table Maintenance input screen. Please let me know.
    Thanks
    Abdul Hakim

    Hello Tamas,
    As a matter of fact we can add a custom selection-screen to the TMG screen & without manually modifying the TMG
    You can do so by using the [Event AA: Instead of the Standard Data Read Routine|http://help.sap.com/saphelp_nw04s/helpdata/en/91/ca9f56a9d111d1a5690000e82deaaa/content.htm].
    Please check the code snippet:
    DATA: gv_fldate TYPE s_date.
    * User-defined selection-screen
    SELECTION-SCREEN: BEGIN OF SCREEN 9000.
    PARAMETERS:     p_carrid TYPE s_carr_id OBLIGATORY.
    SELECT-OPTIONS: s_fldate FOR gv_fldate OBLIGATORY.
    SELECTION-SCREEN: END OF SCREEN 9000.
    *&      Form  sub_yvsflight_event_aa
    *       text
    FORM sub_yvsflight_event_aa.
      DATA: ls_temp_data TYPE yvsflight,
            lt_temp_data TYPE STANDARD TABLE OF yvsflight.
    * Call the user-defined selection-screen
      CALL SELECTION-SCREEN 9000 STARTING AT 25 10.
    * Populate the int. table TOTAL
      PERFORM get_data_yvsflight.
    * Delete the records which are not required
      LOOP AT total.
        ls_temp_data = <vim_total_struc>. "Copy to local struct.
        IF ls_temp_data-carrid NE p_carrid OR
           ls_temp_data-fldate NOT IN s_fldate.
          DELETE total. "Remove the record from the TOTAL
        ENDIF.
      ENDLOOP.
    ENDFORM.                    "sub_yvsflight_event_aa
    BR,
    Suhas

  • Increasing  size of table maintenance generator screen

    Hi
    normally when we create table maintenance generator for a ztable the size of the maintenance screen will be standard
    can any one tell how to increase the size of that screen.
    vamsi

    Hi
    Check the links
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm
    /message/2831202#2831202 [original link is broken]
    Reward points if useful
    Regards
    Anji

  • Canceling previous table maintenance generator screen

    Hi all,
    When we create a screen via table maintanence generator to enter data into the table.
    However I want to cancel this action, is it possible? That is, I have used table maintenance generator and completed the all process, however now I want to cancel it...
    Thanks.

    Hi,
    There is a delete button in Table Maintenance Generator. Click it. Select all the Options and click Delete.
    Awrd points if useful
    bhupal

  • Add field in listing/exclusion selection screen

    Hi, expert, i have create a condition table for my listing type Z001. there is a field name ZZABCD in the condition table. In VB03, I can see the conditon table in 'Key combination'. Now i want to add the field into the selection screen when i click the button 'Condition info' in VB03. Please advice. Thanks.

    Dear Rick,
    go to OV06, there select the table in which you want to add field. And then select the Add Field and search and add your required field.
    Also,
    while assinging accesses to access seq., select the table you want to add against the access seq. and in that table, add the newly created field. And finally save.
    There is no need to change other setting as you want to add only the field.
    Now try the field should be displayed
    regards,
    Sagar

  • Download contents from Table Maintainance Generator screen.

    Hi,
    We have a Z table in our SAP system.
    Recently a Table maintenance generator has been created for this table so that we could add entries to this table.
    The user wants to be able to download the information on the Table Maintenance generator to excel.
    In the menu bar - > System - > List - > Save -> The option Local Folder, Report tree and local file are grayed out. How can they be made available.
    Thanks,
    Rohit

    Dear
    The way it is defined in the above post is right .
    You can do one more thing modify the program which have been generated in as SAPZTABLE .
    open tht source code and one PF_STATUS button in the menu bar and then use funtion module GUI_DOWNLOAD  which will help u to download excel .
    rgds aryan

  • Add fields to logical database selection screen

    Hello,
       Is it posible to add a field in the default selection screen of a logical database.?
    I´m using ELM. In the default selection screen, only the lifnr and ekorg fields are shown. I want to show the matnr field, is it posible?
    Thank you!

    Hello,
    If you go to the attributes of report, where you are using Logical Database;
    there is a button named 'Report Category', which controls the field on selection screen...
    If you select that one you can choose report category and also can create your own category
    Thanks

  • Adding field to Table Control using screen exit

    Hi Folks,
    I have a requirement of adding a field in Table control of Standard SAP transaction also updating the same in standard SAP database table.
    The field is also not existing in the table, it is also added to the table using Append Structure.
    Will this be possible using some Screen Exit?
    Thanks in Advance.
    Punit

    Hi Punit,
    There are various screen user exits(QQMA0001,QQMA0008,QQMA0010,
    QQMA0011,QQMA0012) available for this transaction but all are related to adding a subscreen.So, I am not very sure whether we can modify a table control for this transaction. So, If possible if u r requirement still can be acheived with creation of a subscreen then it would do only if the exits which were mentioned above belongs to u r main screen..
    Regards,
    Swaroop

  • Add field to the MB26 selection screen

    Hi All,
    I need to add a new field called Purchasing group to the selection screen of MB26.
    I can do the Implicit enhancement at the end of the selection screen as a new block.
    But in my requirement I need it in the middle to the both blocks called "Selection from Reservations" and "Selection of Orders".
    For this could you please help me to solve.
    Thx in Advance.

    Hello,
    If you go to the attributes of report, where you are using Logical Database;
    there is a button named 'Report Category', which controls the field on selection screen...
    If you select that one you can choose report category and also can create your own category
    Thanks

  • Populating Quantity fields in Table Maintainance generator Events.

    Hi all,
    I have a custom table, in that i have to check the material number and the quantity of the previously present entries and current entry which i am adding in the before save event.
    However in the total table.... The value of material is getting populated correctly but the value of the quantity is not the actual one which i have entered, It is taking the value 0.00 at runtime.
    Please suggest me the approach when we have to deal with the Quantity fields in the table events.
    Thanks in advance for your help.
    Regards,
    Anuja

    Hi,
    The reference for the Quantity field is provided in the Custom table. However the value of the Quantity is taken as 0.00 at run time.
    Please refer to the below code.
    LOOP AT total.
        IF <action> EQ space.
          l_wa_temp-matnr = total+3(18).
        l_wa_temp-bmenge = total+95(13).
          APPEND  l_wa_temp TO l_i_temp.
          CLEAR l_wa_temp .
        ENDIF.
      ENDLOOP.
    however the  l_wa_temp-bmenge is getting populated as 0.00 however the actual value entered for it is 10
    Regards,
    Anuja

  • Purpose of table maintenance generator

    wht is the purpose of table maintenance generator

    Hi Pavan,
    The purpose of table maintainence generator is to enable the table maintenance through SM30, and to implement and validation etc on table field inputs.
    SE11->Utillities->table maintainence generator
    You need to enter the values of following fields:
    1. Table name
    2. Authorization group , and authorization object (select the suitable one )
    3. Function group and package
    4. Maintainence type : single or double screen maintainence view depending on the option selected.
    5. Maintain screen number : you may specify a value or let the system generate one for you.
    The validation code for the table entry is written in the flow logic of this screen. Even some of the fields may be made display only , by adding suitable code in the logic or directly disabling the input in table control in the layout.
    Table maintanance is for creating,adding datas to an existing table.
    it is for adding muiltiple records at a time in the table
    A table can be manipulated by a program or manually.
    When creating table, you will find a check box 'Table maintenance allowed'. If we
    check that option, we can manually enter entries using SE16 or table
    maintenance generator screen.
    SE16 is for data browser.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table
    maintenance generator.
    In the table maintenance generator screen, we should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually we will create with one
    step. we should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, we find display, Maintain options.
    We can view the table contents by choosing Display and we can create table
    entries by choosing Maintain.
    In the production system, end-users will not be having access to transaction
    codes like SE11 and SE16. Developers will not be having access to many
    transaction codes including the above two.
    To view the contents of the database table, we will use SE16n in Production
    system. Please find out the difference between SE16 and SE16n.
    All these authorizations will be maintained by BASIS team, by creating access
    profiles.
    So in order to edit or create the contents of a database table, we should go for
    table maintenance generator. In real time, authorizations will be maintained in
    production system. (even in development and Test systems to some extent).
    There is an audit like Sarbanes-Oxley Act for American clients, where every thing
    will be audited by government agency. To know more about SOX, use the links on
    the right hand side of this page.
    The second reason is, we can edit or create multiple entries at a time, using table
    maintenance generator.
    Apart from that we have options like 'Enter conditions' in table maintenance
    screen SM30. Please try to find out the use of those, by creating an example.
    Table Maintenance generator: Difference between one step and two steps.
    While creating table maintenance generator, we find below options:
    When we choose one step, we have to give the screen number in Overview Screen field.
    When we choose two step, we have to give both overview screen number and single screen number.
    You can give any number for screen. Don’t give 1000 screen number. As this
    number is reserved for selection screen.
    When we choose two step, two screens will be created for table maintenance. For
    single step only one screen will be created.
    When we choose two step, table maintenance will work as follows
    Go to SM30, give the table name for which you have created table maintenance-
    Overview screen will be displayed. To create entries, when you click on ‘new
    entries’. Another screen will be displayed, where you give input and save. You can
    enter one record at a time.
    Go to SM30; give table name for which you have created table maintenance-
    Overview screen will be displayed; To create entries click on ‘new entries’, you can
    enter the records on the same screen. You can enter multiple records at a time.
    We use single step generally, as it is user friendly.
    To completely understand the difference and above points please do exercise by
    creating table maintenance generator in both ways (using single step and two
    step).
    Link: [http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ed2d446011d189700000e8322d00/content.htm]
    Link: [http://help.sap.com/saphelp_46c/helpdata/en/a7/5133ac407a11d1893b0000e8323c4f/frameset.htm]
    Link: [/message/2831202#2831202 [original link is broken];
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.

Maybe you are looking for

  • Detecting Overset from inside another textframe:Javascript

    I had written an applescript that will find overset text boxes, and tried and fix them (if the text box expanded to far into another it wouldn't fix it). now I'm trying to do it in Javascript. I was able to write some code that works on a normal text

  • How do i transfer contacts from iphone to computer?

    My Iphone is smashed and i cannot see the screen, how can i transfer all of my contacts to a printable file on my computer? phone is still working inside and still rings when i get a text i just cannot see or touch anything on the screen thus making

  • Print Quality Notification

    Hello Experts, My client needs to take 3 prints of quality notification everytime as 1 copy goes to Vendor, 1 copy to Accounts & 1 with IQC. But even if we select no. of copies more than 1, It prints only 1 copy & every time we need to create new spo

  • "Pass through" greyed out when sharing

    I'm working with mpeg4 clips in imovie. When I try to "share" I use the "expert" settings and choose the same format to export: mpeg 4, but I take a big quality hit, even with the highest settings. Since the files are already mpeg4, I then try to sel

  • FM to find the serial number

    Hi, Is there any function module to find out the serial number from equi(equipment) if I have material,plant and storage location fields. Please let me know if avialable. Any inputs would be appreciated. Thanks, Raj