Maintenance screen

Hi all,
My requirement is to have a maintenance screen - similar to the one in SM30 for a custom table .This screen should appear as the output of an ABAP program after certain validations. I think its possible to CALL transaction SM30 with the table name and skip first screen. But i also require to
1. Download the contents displayed in the maintenance screen to an excel spreadsheet
2. To provide F4 help for fields even not  using SAP Standard fields. For instance , i have some custom fields in this table A,B of type say CHAR10. I require to provide F4 help for this field in the maintenance screen.
Please let me know if any suggestions.
Thanks in advance,
Asha

Hi,
You can do it.
Go to SM30 in your development client and open the table.
Then go to , System -> Status -> and double click on the screen number. It will take you to Screen painter.
Now you can modify the code there, create a subroutine and do the necessary validations.
If you want F4 for a custom field you can populate the entries in an internal table and call the FM F4IF_INT_TABLE_VALUE_REQUEST. But for this you have to capture the F4 event through a method by declaring a class and assigning it to the field.
Check
https://forums.sdn.sap.com/click.jspa?searchID=888648&messageID=1366986
this also.
Regards
Subramanian

Similar Messages

  • How to change width of table maintenance screen in sm30

    Hi,
    I want to change the width of table maintenance screen in sm30 of a view. I am trying to change it through screen painter.
    But its giving me error - screen or window limit reached. I want to increase the widht to show all the fields at once.
    Is there any way for this?
    Also, earlier in table maintenance generator of view, there was one step selected. I changed it to two steps and re-generated the TMG. But again Its showing only one screen in sm30.
    Kindly tell me which step I have missed out.
    Regards,
    Seema Naharia

    I guess the links below should help in your problem ..
    http://www.saptechies.com/how-to-create-table-maintenance-generator/
    Window size on SM30
    If these do not please tell ..
    Regards,
    Manthan

  • F4 help for fields in maintenance view resp. generated maintenance screen

    Hello,
    I’m new to ABAP and I have to deal with the following requirement:
    I have a maintenance view V1 what from a maintenance screen was generated automatically by the maintenance screen generator.
    Now I have to add a search help for one field F1 of the maintenance screen. The values for the search help of F1 depend on a specific value of a second field F2 of the maintenance screen. So I need value of F2 as import parameter for f4-help. F1 and F2 come from different tables.
    As I’m new to ABAP I have several questions or thoughts:
    - I’m not able to easily add a search help to F1 because I’m using the maintenance view V1 and that’s why it is not possible to assign the import parameter F2 to the search help – right?
    - In general, its not that easy to add search help to views than tables or structures - why?
    - I’m not able to just modify the generated objects because further automatic generation of the maintenance screen will delete it – right?
    - The generated function module provides user includes to add user specific coding. Is there any chance to add a f4-help to field F1 and assign value of F2 to that search help as import parameter with coding in user include?
    - any other ideas? I did not expect this topic to be so complicated as the requirement to change f4-help in a maintenance view resp. screen isn't very special.
    can anyone help me?
    Thank You!
    Regards
    Fabian

    Hi Fabian,
    Phew! Thats quite a few questions in one... I'll try to answer them to best of my knowledge..
    You can definitely have an external Search Help for a field of a Maintenance View, by calling it directly in the Screen Action Flow, using a PROCESS ON VALUE-REQUEST (like PAI or PBO). While defining such custom code on a generated screen, always make sure you do not write the coding inside the generated includes (SVIM* or <FUGR>TOP, <FUGR>DAT, etc..). Define new includes, or use those which are not generated by View Maintenance. This way, even if the dialogue is regenerated, your custom code will not vanish.
    This will answer your questions 1 and 2 generally, and your question 3 also.
    A Maintenance View, is something where values are read and populated purely at run-time. It does not have an Entry Help or such options, as it depends on the underlying tables. I hope this further helps with questions 1 and 2.
    Coming to your question 4 and 5, which form the main question - pre-filling value of F2 while calling search-help for F1 - yes, it is possible. On the view maintenance screen, there are standard structure variables (like EXTRACT TOTAL etc), which will give you the field values of the current record. But, it can no way assure that when you call the help for F1, the field F2 is already filled!
    For this, I can suggest that you programmatically implement a check to see if F2 value is filled, and read if it is. Or, if it is not filled, maybe you can shoot a Pop-up for F2, take the value at run-time, find help for F1 and get value, and also fill the F2 value (from your implementation) into the currect screen F2 value! (Phew...it is complex...)
    But am sorry, there is no other way, wherein you can gaurentee that F2 value is pre-filled always, when you can help for F1. (You could try making F2 as obligatory on screen, but it still doesnt necessarily solve this purpose..!).
    Hope it helps. Get back to me by e-mail if you need more help, or simple post a reply.
    Regards,
    Rekha

  • Creating Customized Table and Modify Table Maintenance Screen

    Hi,
    I have already created customized table and generate the table maintenance screen, however i encountered 1 problem which is i cannot add new PAI and PBO module in the flow logic. Every time i wanna add new module, i will be getting error message saying that my user currently editing the screen. Any suggestion ?
    Thanks.
    Jon

    Hi <b>Jonathan</b>,
    Please close all the windows and relogin
    For making PAI and PBO modules, Please activate all the Table and its maintainence view.
    Now first make emptu file with <main filename>_PAI and <main filename>_PBO save and activate them.
    Now put the logic in them and then activate now call these in the main prog.. it should work...
    While activation all the sub program modules should be activated already... i suggest select all the prog and sub progs and activate them all at once...so the system automatically takes care of inner activations first...
    If u have some more quereies... please feel free to contact me...
    Regards,,
    <b>Abhishek</b>

  • Maintenance Screen - CHAR255 field to be displayed in 2 lines

    Hi,
    I have a field Comments in my z-table which is 255 char long. Inspite of my extending the field width to max the end user wants it to be displayed in 2 lines. Is this possible thru maintenance screen?
    Thank You,
    SB.

    Hi
    I suppose you're speaking about Maintenance Screen for SM30?
    If it's so, no it can't, but you can generate the single screen and then change this screen in order to display that field on 2 lines, i.e to split that field into 2 fields.
    Max

  • Table Maintenance screens ...

    hi,
    I have created a table ZREM1 and also table maintenance generator for this table.  I am using function group ZREM1 for this purpose.  I have modifiled table maintenance screens for this maintenance.
    Now I have a table ZREM2 and also table maintenance generator for this table.  I am using function group ZREM2 for this purpose.  I dont want to create separate screens for this table maintenance but want to use same screens developed for table ZREM1. 
    Table & Field Structure of ZREM1 & ZREM2 are identical.
    How I can copy or use TABLE MAINTENANCE SCREENS of ZREM1 for TABLE MAINTENANCE SCREENS of ZREM2 ??
    Regards,
    Santosh

    Hello Santosh,
    Anyways, when you specify the screen numbers while creating table maintenance dialog, you dont have to do anything. Standard SAP by itself generates the screen.
    Hence, no need to copy the screens from one Function Group to other.
    Just specify the Screen numbers in the new Function Group and Create the Table maintenance. The standard would automatically generate the screens for you.
    Hope this helps.
    Regards,
    Himanshu

  • Maintenance screens for ztables

    Hi all,
    I created ztables and i need to create maintenance screens for them.  I created maintenance tables in SM30.  what is the next step?  Thanks in advance.

    Hi Lathika,
    Besides the above, you can create a table maintance program for a z table.
    In transaction SE11, in the attribute tab of your Z table check table maintenance check box. Go to SM30 transaction, enter the ztable name and click on maintain button. Here you can enter new entries into the ztable .
    OR
    You can create a PARAMETER TRANSACTION for the transaction for SM30 .
    Follow these steps :
    1. go to transaction SE93 , give your own transaction code say ztran_tab, for maintaining your ztable.
    2. Click on create button and check the radio button Transaction with parameters (PARAMETER TRANSACTION) and click on the tick button.
    3. In the next screen enter default values:
    transaction : SM30
    check the check box skip initial screen
    4. Scroll down you will find a table control for default values
    Name of the screen field | value
    VIEWNAME | your ztable name
    SHOW || X
    Save your work.
    Now as you have created a custom transaction for maintaining your ztable this transaction can be called from any program with CALL transaction 'XXX'.
    Also please check also this weblog on table maintenance:
    /people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
    Hope this will help.
    Regards,
    Ferry Lianto

  • Problem in copying view maintenance screen

    Hi to all experts,
    I have requirement to copy a standard view with maintenance to z view . The view name V_T71ADM23 which has a function group HRECM00ADMVIEW05 i copied it to z function grp but the problem is im getting this error when im trying to put the custom function grp to the table maintenance generator.
    first error
    The screen number 0501 is already assigned
    but not referenced in the control directory
    for another maintenance dialog.
    Overwrite old screen number
    in control directory?
    yes or no
    if click yes
    second error
    View VT71ADM19 has no active version and no entry in the control directory
    View VT71ADM20 has no active version and no entry in the control directory
    View VT71ADM21 has no active version and no entry in the control directory
    View VT71ADM22 has no active version and no entry in the control directory
    View VT71ADM23 has no active version and no entry in the control directory

    how to do this
    Delete the generated modules for view VT71ADM19 from the function group ZHRG0007 using the function library.

  • Problem in translations when Table maintenance screens

    Hi,
    I have generated maintenance for a custom table. I am able to see the sceen title (= Table description) in EN (original langauge).
    However, when I login into other languages it it displaying the screen title as "?".
    Could you please let me know how to translate the screen title?
    Thanks,
    Sandeep

    Hi
    In SE11  Select -> Goto -> Translation -> Select the lang -> enter the conversion text, save and activate
    This is what I have translated
    [DD02T     00001]
    Table Details
    Tabelle Einzelheiten
    When I logged using DE, I am able to see the text.
    Shiva

  • Table Maintenance screen giving dump

    Hi All
    I have inserted a new key field in a existing Z table. After that i have adjusted the database and tried to recreate the table maintenance generator, it is giving the warning message as follows
    Table ZUPI_WIP is extendable without limits
    Field ZUPI_WIP-REVAL_FLAG shortened (new visible length: 000015)
    Field ZUPI_WIP-MATNR shortened (new visible length: 000009)
    Field ZUPI_WIP-REVAL_FLAG shortened (new visible length: 000007)
    Field ZUPI_WIP-AUFNR shortened (new visible length: 000006)
    Field ZUPI_WIP-MATNR shortened (new visible length: 000004)
    Field ZUPI_WIP-CHARG shortened (new visible length: 000003)
    Field ZUPI_WIP-REVAL_FLAG shortened (new visible length: 000003)
    When i tried to maintain this table through SM30 it is giving dump.
    Kindly help me in resolving this issue.
    Thanks & Regards
    Madhu

    Hi!
    You are making changes in the ztable after u have created the table maintenence generator so you need to again modify the table maintenece generator code also.
    so,
    in the table maintenence screen you must do these steps....like
    go this way...
    Utilities->table maintenence generator
    there
    in generated objects->change .
    check all screens and modify the table maintenece generator.
    the error will be removed.
    also the errors are warnings actually the source code is taking that much lenght in its source code try to shorten the field lenghts for which u are getting errors.
    If you still have issues plz revert yout query.
    Regards.

  • Blue maintenance screen on startup

    Any one seen this before? When booting, the iMac goes to a blue screen that simply says "maintenance".

    If this is happening at boot time it cannot be any third party addon causing this.  You can try a smc and pram reset to see if it shakes it free of this but I suspect you will need to take it to apple to clear the problem.
    Note, googling for this shows it's not a unique problem but no solutions were found.

  • Unknow field in terms of payment maintenance screen

    Hi,
    Could anyone advise me about field ZDART (Date Type) in table T052? I don't know where the value in this field derive from. I also not found this field in terms of payment screen (OBB8).
    For example, In table T052, some term of payment have date type "B", some is "D". What does it mean?
    I would appreciate for every advice.
    Thanks with best regards,
    Bird

    Hi
    That is a customized field and not a standard field..
    You need to take help from your ABAPer.
    Good Luck!
    Lucid-Mind...

  • Vendor Maintenance screen display when posting in FB01

    Hi All,
    I would like to ask your idea if ever you have encountered this issue.
    In FB01 I post a document using the vendor 999999 after entering the posting key and press the enter. Another screen displayed..that screen looks like the transaction FK01. It seems that you need to recreate again the vendor. But my question is why did that screen appears though that vendor is already created..What are instances that this screen will appear..
    Regards,
    Ekitzv

    Hi,
    That vendor must be One-time vendor.
    The concept of one time vendor is that, there is a single transaction with that vendor, like Fly-Ins.. and which are not regular.
    So, SAP has given you the facility to create a Vendor in the Account Group One time vendor, which will have one vendor Account No., in your case it is 999999, and whenever you post entry with this vendor Account No., then, at the time of posting entries, a pop up screen will come for you to enter the name, city etc..
    The balance vendor master data, like pmt terms, Recon account remains same for all, but only the name & city changes..
    So, instead of creating many such one time vendor code in the system, you create just one code and then on a case to case basis, you post liability in this vendor, and enter name ,city etc.. at the time of Invoice booking.
    =========
    When you go to FK01 to create a vendor, press F4 on Account Group, and you will see that there is a check mark for OTA(One time acount), with this tick, you can identify that whether your vendor 999999, is in the account Group OTA.
    Hope it helps..
    Regards,
    SAPFICO

  • BP Maintenance Screen - Can no longer size it or use the form settings

    All the other screens are fine, but the BP Master screen no longer has the icon in the top right that allows me to maximize the screen and I cannot drag the screen wider or bigger. Also, the Form Settings for this screen is no longer active.
    Any ideas?

    Sorry for the lack of information:
    1) I'm using the manager's login
    2) 2006A SP01 PL41
    2) This db has been around and in use for a few months now and I haven't seen this problem before.
    3) I had just updated the Payment System Tab - Payment Methods. I have two to pick from and I set the other one to the default and unchecked the original default one.

  • Error with the table maintenance screens

    Hi Experts,
    I have created a maintenance view for two tables. The first table has only one field, which is the primary key. The second table is the text table for the first table, where the description of the primary key is maintained. Initially after creating the table maintenance for these two tables, all the fields were comming correctly. The first table showed only one field in the SM30 and the second table showed all fields in SM30(primary key, its description and the language key). The table maintenance was later deleted and regenerated, due to some changes in the table. After regenerating the TMG it is seen that the first table shows all the fields in SM30 same as the second table. I feel the function group program is not getting refreshed. Is there any method to regenerate the function group.
    Thanks in advance.
    Regards,
    Anu.

    Hi Dhina,
    I deleted the TMG for both the primary table and the text table, but when I check in SE16 I still find all the fields in the primary table just like the text table.
    My first table has
    MANDT
    EDUCATION_TYPE
    My second table has
    MANDT
    LANGU
    EDUCATION_TYPE
    DESCRIPTION
    I have create a maintanence view joining the above two tables(with the following fileds MANDT, EDUCATION_TYPE, DESCRIPTION), and deleted the table maintenance of the above tables. But still when I check the first table in SE16 I can see fields MANDT, EDUCATION_TYPE, DESCRIPTION.
    What is the problem with the table maintenance?
    Any idea?
    Thanks
    Anu.

Maybe you are looking for