Changing overview screen of maintenance view

Hi expert,
I have to insert three fields on the screen of maintenance view apart from the table fields. on PBO section of the screen i have put my logic to populate them.
plz help its urgent....
sample code will be very helpful

Hi,
You can write the code in the SE51, just find the Program name for that one(System -> Status), Then goto SE51 and write the logic, there in the PBO write the logic to fill the fields according to your requirment.
As per SAP standard, it is not recommended to change the overview screens, becaue, it you generate the table maintanence screen then this code will be disapper and your fields will be deleted ..
Regards
Sudheer

Similar Messages

  • 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

  • E-recruiting: changing overview screens in the candidate profile

    Hi,
    I have used customer include CI_P5104 to introduce two new fields on the Candidate education BSP. These have appeared ok. I also want these new fields to appear on the overview screen of the candidate's education but the columns on the bsp 'education_overview.bsp' appear to be hardcoded. Does anyone know how this overview can be controlled. I can't find anywhere in configuration. Does it require a customer version of the BSP?
    Also, I have hidden the field 'Highest degree/certificate' through flexibilization but this continues to appear on the overview screen of the education element in the candidate profile wizard. Can this be controlled without development work on the BSP?
    Any help appreciated

    Hi Priya,
    I am already using flexibilisation with a context and successfully generating the URLs. The overview I am talking about is not the smartform/pdf overviews but the overview of the records which are maintained in the education infotype record. If fields are hidden using flexibilisation they are correctly suppressed on infotype 5104. As the candidate maintains their education history the records are built up on the infotype. This is the overview I am referring to. The fields which are hidden during flexibilisation do not seem to be hidden from this view even though URLs are regenerated with the correct context.
    Thanks,
    Jim

  • Column change overview screen of infotype 1001?

    Hello,
    I run transaction pp01 and choose an object (whatever type, let say S-position). For a particular object, I choose  Relationshpis infotype (IT 1001) and choose overview icon. I see some columns of a displayed table.
    I would like to replace Abbrevaiation column to Name column. So, instead of a position abbreviation I want to see a full name of the position.
    Can someone tell me how to make it?
    Regards
    Rafal

    Hi,
    Can anyone answer my question?
    Pliiiiizzzz

  • For new entries pass input screen values to PBO of maintenance view

    For maintaining Z table using a customized program with selection screen and FM   'VIEW_MAINTENANCE_CALL' is called . Its working fine for selecting existing entries as per selection screen values. In case if there is no entry found as per input values the maintenance screen comes blank with "No entries found that match selection criteria".
    Instead of this want to pass input screen values on maintenance view if no entry is found thru PBO selection screen. The total & extract tables are empty. No suitable event is found. How this can be done.
    Thanks
    pt

    You could try in a first step to read database to check existence :
    CALL FUNCTION 'VIEW_GET_DATA'
      EXPORTING
        view_name   = 'ZXXXX'
      TABLES
        dba_sellist = it_sellist
        data        = data
      EXCEPTIONS
        OTHERS      = 1.
    If data found, call the view maintenance
    CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
      EXPORTING
        action      = 'U'
        view_name   = 'ZXXXX'
      TABLES
        dba_sellist = it_sellist.
    else create one new record providing required value in a work area
      CALL FUNCTION 'VIEW_MAINTENANCE_SINGLE_ENTRY'
        EXPORTING
          action               = 'INS'
          view_name            = 'ZXXXX'
          insert_key_not_fixed = ' ' " if full key provided
          no_transport         = 'X'
        TABLES
          dba_sellist          = it_sellist
        CHANGING
          entry                = wa_zxxxx
        EXCEPTIONS
          OTHERS               = 1.
    Regards,
    Raymond

  • How to change labels in maintenance view

    Hi,
    i have created a maintenance view on a table.
    i attached this view to a transaction.
    when i run that transaction the table is appearing for display of values
    and new entries. but i want to change labels of the appearing view.
    is there any way?
    please suggest me.
    raju

    Hi,
    to handle GuiXT central in SAP: use transaction SHD0. There is also an online help for further information.
    in SHD0 transaction variants are defined: alternative tcodes, where normally fields are hidden and default values are assigned.
    Enter standard tcode in field TCODE, enter z-tcode in field TCVARIANT and create just something for playing...
    In upper part you will find flag GiuXT-Script and in upper part is 'i'-button for help in using this transaction (this blue-i-help-button is also in starting screen, docu is implemented like SPRO-docu).
    Approach with SHD0 ensures transportation of scripts and automated download to local Guis - so some help to handle bigger installations.
    Regards,
    Omkar.

  • 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

  • Problem with table maintenance generator overview screen

    I added a field in a custom table and then used table maintenance generator to regenerate the table maintenance screen.
    I used 2 step to generate. The problem that I have is the field not displayed in the overview screen though it is visible in the single screen ( ie the second screen).
    I am not sure where the problem is as the field is not visible at all in the table control of overview screen.
    Please help me on this as to what could be the problem.

    Usually it is enough to regenerate both screens and the modules, but sometimes it doesn't pick up all the changes. In that case just delete the maintenance dialog and recreate it. That should do it.
    Regards,
    Michael

  • How to use table maintenance view in module pool screen

    hi ,
    want to use table maintenance view in a module pool screen so that i can edit, insert, delete and update date in to the ztable.please help.

    You can simply call it via SM30.   Or you can call the table maintence view from any program(report or module pool) using a function module.
      call function 'VIEW_MAINTENANCE_CALL'
           exporting
                action                       = 'U'
                view_name                    = 'Z_Table_Name'
           exceptions
                client_reference             = 1
                foreign_lock                 = 2
                invalid_action               = 3
                no_clientindependent_auth    = 4
                no_database_function         = 5
                no_editor_function           = 6
                no_show_auth                 = 7
                no_tvdir_entry               = 8
                no_upd_auth                  = 9
                only_show_allowed            = 10
                system_failure               = 11
                unknown_field_in_dba_sellist = 12
                view_not_found               = 13
                others                       = 14.
    Regards,
    RIch Heilman

  • Maintenance view event for validation when changing data

    Hi All,
    I have a maintenance view on a table that should validate some fields during user input.
    I am using event 05 'Creating a new entry' to validate fields when user creates new entry in the table. That works fine.
    I would like to have the same validations happening when the user changes fields of records already existing in the database. I tried to use event 01 'Before saving the data in the database' but the problem with this is that user can change many fields of many records before clicking 'Save'. I would like to have the error raised for incorrect entry already after the change.
    So far I could not find an event to do this but only by changing the code itself. The problem with that is whenever the code is regenerated the custom part is lost.
    Is there an event I can use that would help me achieve this?
    Thanks in advance.

    Hi Abhishek,
    I tried event 21, I`m playing around with that since that`s the only one triggered when I press Enter.
    The problem with this is that
    - the check runs when you press enter, so you can still change many fields of many records (one step maintenance) before the validation runs
    - you can`t raise an error message, because only the key fields will be input ready, the non-key fields will be readonly
    The way I currently handle is I undo the changes in 21 (get previous field values from TOTAL) and raise an information message i/o an error informing user to check the entry.
    What I`m looking for is an event that will raise a message and set focus on the incorrect field (if there`s one such).

  • Table maintenance view not saving changes

    Hi experts
      I have created a Z table with corresponding maintenance view (with transaction). Also, there is a Z program to insert records into the table from xls file.
      When accesing the maintenance view, I can add and remove entries, but the problem is:
           when I update a record, if the records has been created using the maintenance view, then changes are saved to database, but if I try to modify a record added by using the Z program, none of the modifications are saved to DB.
      I have re-created maintenance view, and table properties (delivery class A, display/maintenance allowed ...) seem to be OK.
    Can someone provide some help with this?.
    Many thanks in advance for your help.
    Best  regards,
    Carlos.

    HI
      Thanks for your answer, but didn't work.
      Below my program (
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_fin
          i_begin_col             = 1
          i_begin_row             = 2
          i_end_col               = 9
          i_end_row               = 9999
        TABLES
          intern                  = gt_fichero
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
      LOOP AT gt_fichero INTO gs_fichero.
        CASE gs_fichero-col.
          WHEN 1. "Proyecto
            "Validaciones
            gs_unidades-proyecto = gs_fichero-value.
          WHEN 2. "Tipología
            "Validaciones
            gs_unidades-tipologia = gs_fichero-value.
          WHEN 3. "Alias
            "Validaciones
            gs_unidades-identificador = gs_fichero-value.
          WHEN 4. "Superficie
            "Validaciones
            TRANSLATE gs_fichero-value USING ',.'.
            gs_unidades-superficie = gs_fichero-value.
          WHEN 5. "Estado
            "Validaciones
            gs_unidades-estado = gs_fichero-value.
          WHEN 6. "Entrega
            "Validaciones
            gs_unidades-entrega = gs_fichero-value.
          WHEN 7. "PVPCoste
            "Validaciones
            TRANSLATE gs_fichero-value USING ',.'.
            gs_unidades-pvpcoste = gs_fichero-value.
            "Se añade el registro a la tabla de datos maestros
            INSERT ztt_fi_unidades FROM gs_unidades.
            CLEAR gs_unidades.
            IF sy-subrc EQ 0.
              gv_total_correctos = gv_total_correctos + 1.
            ELSE.
              gv_total_erroneos = gv_total_erroneos + 1.
            ENDIF.
            gv_total_registros = gv_total_registros + 1.
          WHEN OTHERS.
        ENDCASE.
      ENDLOOP.

  • How to change columns in PO overview screen

    In standard SAP in PO Overview screen the first column will be Status and second will be Item, however in our system it is changed and the first column is short text and second is qty and then followed by status column.
    How can i interchange it back to normal.

    Just Select The Total Column, then Drag & Drop accordingly..
    whereever you want..
    Alternatively you can do by
    in the top right corner of the item overview you have a button for table control (above the vertical scroll bar).
    If you click that button, you get a pop-up from where you can customize the layout.
    Press the blue info button there and read how this is to be done.

  • How to assign maintenance view to a selection screen field in a program.

    Hi Experts,
    I have created a custom table. Now, I have a program where there is a selection screen field for example "Load". After entering a value in the selection screen, and press enter, the user must be redirected to the maintenance view of the custom table to modify the specifed record.
    Can anyone help me on how to do that?
    Thanks a lot for ur precious help.
    Regards,
    Aksh

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • Is it Possible to change Maintenance view Structure SALV

    Hi,
      In Maintenance View is it possible to change  POP UP field display. In maintenance view we have 'Position'  button ,when clicked on that  the key fields of the Table used in the maintenance view is displayed ,is there any possibilities to restict the field display from 3 to  2.
      POP-UP  is called  when ' POSITION '  is clicked  . POPUP_GET_VALUES_USER_HELP   is the FM called . Is it possible to make changes to the structure SALV.
    Any Events possible for make changes to structute SALV.
    With Thanks,
    dina.   

    How can it become 120 all of a sudden? Afterall, it is from the table that you are selecting.
    Please explaing in details what your problem is.
    I don't understand what is happening here.
    CREATE OR REPLACE FORCE VIEW MYVIEW
    (ITEM_CODE ,
    SHIP_TO_CODE,
    ON_ORDERS,
    REQ_DELIVERY_DATE,
    PO_LINE_NO)
    AS
    (SELECT
    decode(instr(item_code, '.', -1),
    length(item_code),
    substr(item_code, 1, length(item_code)-1),item_code) as item_code,
        SHIP_TO_CODE,
        ON_ORDERS,
        ORDER_DATE,
        CUSTOMER_PO_NUM
    FROM T407_CUST_PO_DTL T407,
         (SELECT SHIP_TO_ID,
            SHIP_FROM_ID,
            POHD_ID,
            CUSTOMER_PO_NUM,
            ORDER_DATE
         FROM T406_CUST_PO_HDR) T406,
         (SELECT decode(ON_ORDER_OVERRIDE,'-99999',ON_ORDER,NULL,ON_ORDER,ON_ORDER_OVERRIDE) as on_orders,
                 cust_product_id,
                 order_gen_date
          FROM T401_ORDER_GEN) T401,
         (select ship_to_code,
                 ship_to_id
          from t306_ship_to) t306,
         (select ship_from_code,
                 ship_from_id
          from t208_ship_from) t208
    WHERE t407.pohd_id = t406.pohd_id
    and t407.customer_product_id = t401.cust_product_id
    and t406.order_date = t401.order_gen_date
    and t406.ship_to_id = t306.ship_to_id
    and t406.ship_from_id = t208.ship_from_id
    );You could've just used RTRIM(ITEM_CODE, '.')
    Cheers
    Sarma.

  • PO Screen Layout change, Addition of one column in Item Overview screen!

    Hi All,
    I have one typical requirement where in user wants to add one column in the Item overview screen, example "Reason for ordering" which is there in Item Detail under Retail Tab!
    Can anyone suggest, How can i get this done? and also i want to know if  there is any possibility to add this field at header level??
    please let me know if i'm not clear in describing the issue...
    Suggestion and solutions would be rewarded & appreciated,
    Thanks in Advance..
    Regards,
    Siddaram

    hi,
    Check sap note 458591..
    Regards
    Priyanka.P

Maybe you are looking for