Parameter transaction for view maintenance

Hi there, please help
I've created a parameter transaction(ZTRN) for a view maintenance(ZVIEW) with the ff
Skip initial screen = X
VIEWNAME = 'ZVIEW'
UPDATE = X.
How can i change this transaction/view so that only 1 record can be maintained, i.e how/what
parameters to provide before calling the transaction so that only one record can be maintained. With the above settings all records are displayed.
I've tried using UPDATE_LTD = X but its not helping either.
Thanks in advance

I don't think this is possible in the way you want it to. What you could do is use the standard events provided by the maintenance view. In these event create a check that only one record can be changed or even displayed.
I don't have a SAP system to give you an example but I can refer you to this:
[Maintenance events|http://help.sap.com/saphelp_nw70/helpdata/EN/91/ca9f0ea9d111d1a5690000e82deaaa/content.htm]
Edited by: Micky Oestreich on Aug 6, 2008 2:41 PM

Similar Messages

  • Parameter transaction for table maintenance - multiple tables?

    Hello,
    I am very familiar with creating a parameter transaction to call SM30 for a specific Z-table of ours.
    However, I have 14 tables that a group of users will need to maintain. Rather than create 14 different transactions in SE93, what are my options?
    When creating a parameter transaction in SE93, I get the error that the field 'VIEWNAME' is used more than once. There has to be a way to achieve this with only one transaction.
    Thank you very much,
    Michael

    I dont think you can create a single transaction with multiple VIEWNAME's.Options I would suggest you is create a simple report with radio buttons for each table and call the FM "VIEW_MAINTENANCE_CALL" with the viewname based on user selection and create a single transaction to the report or create transaction for each and create a Area menu with all the 14 transaction.

  • How to create transaction for a maintenance view, Thank you.

    How to create transaction for a maintenance view,
    Thank you.
    deniz...

    Hi Deniz,
    Go to se93.
    Then create the new T.code.
    Under that select parameter Transaction.
    Then give the sm30 in the t.code in default values tab.
    check the checkbox skip initial screen.
    in classification tab.
    click checkbox inherit gui attributes..
    Now below..
    In the default values..
    select
    viewname and give ur table name.
    UPDATE= Xsave
    view - table name ( Should be upper case
    update X ( should be upper case).
    http://www.sap-basis-abap.com/sapbs011.htm
    Hope this helps you.
    Regards,
    Viveks

  • SE93: Parameter Transaction for SE38

    Hello
    I want to create a parameter transaction to display my program in edit mode.
    i.e. Instead of going to SE38 and change my program.
    There are lots of websites describing how to call SM30 in edit mode for a particular View. I just wanted to know if it possible with SE38 also..
    I have entered the following screen-field values in SE93 but the new transaction stays on the initial screen of SE38, even though skip initial screen option is checked.
    Field: RS38M-PROGRAMM
    Value: ZTEST
    Field: RS38M-FUNC_EDIT
    Value: X
    I must somehow pass some additional value which would account for clicking the "Change" button.. but how?
    I know about Call Transaction, BDCs etc.. but really wanted to know if its possible via parameter transaction...

    Hi, Shrikaant
    Follow the Steps Bellow then you will understand with is Difference Between SE38 and SM30
    1. Run T-Code SM30
    2. Go to Menu Path System => Status
    3. From the System Status Box Double Click Screen 100
    4. It will bring you in Screen Painter Select Layout button
    5. On the you will see some Fields under buttons Display, Maintain and Transport
    6. These buttons are hidden for Screen SM30
    7. So you are setting this value in Parameter Transaction UPDATE = 'X'
    This option is not available in SE38 so you can't do the same for this Transaction.
    Hope you understand, Please reply if any confusion
    Thanks and Regards,
    Faisal

  • How to create a variant used in SM30,View variant in Parameter transaction?

    Dear Team,
    I have a view V_TCURR. For which I would be creating a parameter transaction for transaction SM30 by filling the default Values section (VIMDYNFLDS-LTD_DTA_VR, VIEWNAME,TVIMV-VARIANT). The values for first two fields are obvious.
    The question is on TVIMV-VARIANT How can we create a variant which can be used in tcode SM30.
    Delving a  little deeper show that these variants Obsolete since R/3 Release 3.1I: Selection variant for a table or maintenance view.
    Since R/3 Release 4.0, there are view variants instead of selection variants.
    The field only exists for reasons of backwards compatibility.
    If thats is so, How do I use the same in parameter transaction..?
    I have tried creating a view variant and use it parameter transaction but in vain..
    Please help resolve my problem. I hope I am very clear. If still need any clarification, please get back to me.
    Thanks a lot in advance,
    Reagards,
    Sai.
    P.S. Though there are multiple quuestions on simlar subjects none of them has been either answered or is completely relevant to mine.

    Dear Suman,
    Thanks a lot for the answer. Actually the Tcode is getting created if I do what you have said me.
    But when I run the tcode which was created by view variant created, I am not getting the desired details .
    To be more clear..
    Previously there was a variant (TMIMV-VARIANT) created with follwing criteria..
    Table TMIMV.
    TABNAME    VARIANT AS4POS            VIEWFIELD NEGATION OPERATOR     VALUE         AND_OR      TABIX
    V_TCURR     ZTHB     1     KURST     NOT     EQ     M     AND     2          
    V_TCURR     ZTHB     2     KURST     NOT     EQ     DWBP     AND     2          
    V_TCURR     ZTHB     3     TCURR          EQ     THB     OR     4          
    V_TCURR     ZTHB     4     TCURR          EQ     USD     OR     4          
    V_TCURR     ZTHB     5     TCURR          EQ     US$          4     
    When we run tcode created by paramaeter transaction.. viewname as  V_TCURR, TMIMV-VARIANT. I am getting the desired records for updation.
    But if I do the same using View variant with the same selection criteria
    Table            Field name     Operator      Comaparison  AND/OR
                                                                   Value
    TCURR     KURST     NE     'M'     AND
    TCURR     KURST     NE     'DWBP'     AND
    TCURR     TCURR     EQ     THB     OR
    TCURR     TCURR     EQ     USD     OR
    TCURR     TCURR     EQ     US$
    And the run the tcode created by using the view variant .. I am getting No entries found that match selection criteria...
    Could you please help and let me know if I am missing any step.. Kindly also check from your side how this can be achieved.
    Thanks a lot in advance,
    Sai.

  • Adding maintenance transaction for a Z table

    Hello All,
    Can anyone tell how to add a maintenance transaction for a Z table.
    Thanks in advance.
    Best Regards,
    Sasidhar Reddy Matli.

    Hi
    Check this:
    able maintennace generator is used to create screen to maintain values in a table. Once you create maint generator you can goto transaction SM30 and add data to table . In SAP it is more relevant to customizing data.
    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'.
    Regards,
    Vishwa.

  • Providing authorization for parameter transaction

    hello all,
              I have created a parameter transaction for a table maintainance generator(table a z-table). the requirement is, we want to provide authorization only for few users so how can we go forward...
    with regards,
    sandeep akella.

    When you are parametrizing any TCoe then there is no changes happen in the Authorization checks from the original. So you need to take care this in the following way:
    1. Go to table TDDAT and find out the Authorization Group of that z-table. If nothing found, please create a Custom Auth group and assign the table to that grp in SE54.
    2. Now go to the role through which you want to provide access to that table to the users or create a new role and add the Parametrized Tcode in the menu of the Tcode.
    3. In authorization data, please assign the Authorization group for that particular table in S_TABU_DIS and provide the activity as per your requirement.
    4. Assign the role to the users.
    Regards,
    Dipanjan

  • Parameter Transaction

    Hi All,
    I have created a Parameter transaction for SM30 by which I am able to maintain entries in my user-defined table. But, I would like to restrict the entries displayed (not using the conditions in SM30) by creating the selection screen where only the few fields of the user-defined table are presented for selection and based on that I get output. I want the full functionality of the parameter transaction(creation , deletion of the entries) though.
    if some one has any ideas kindly let me know.
    Thanks,
    Manish

    Hi Manish,
    I don't know if a two-step maintenance is good for you as suggested in one reply here, but if your requirement is to give user a SM30 feature but have a selection screen of your own, then here is an example of how you can achieve that with a custom program. I don't think you can achieve that with just parametric transaction and without using conditions and without modifying the maintenance screens.
    Let me know if you have any questions regarding this code. This program is for a Z table mainetnance which has two fields, a code and a description. Users are given a choice of entering their criteria for either the code or the description or both. This criteria is internally converted to a format that the table maintenance function module understands. The result is that users get to see and maintain only the records that they wanted.
    REPORT test.
    *                       DB TABLES AND STRUCTURES                       *
    TABLES: sscrfields,
            z_group.
    *                          INTERNAL TABLES                             *
    *-- Internal table for seltab
    DATA : i_seltab LIKE vimsellist OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF i_excl_tab OCCURS 0,
           pfkey LIKE sy-pfkey.
    DATA: END OF i_excl_tab.
    *                             VARIABLES                                *
    *                             CONSTANTS                                *
    *------------------------ Selection Screen ---------------------------*
    *-- Maintain EOQ Tables: Initial Screen
    SELECTION-SCREEN BEGIN OF BLOCK selscr WITH FRAME TITLE text-000.
    SELECTION-SCREEN SKIP 1.
    *-- Select the table you want to maintain
    SELECTION-SCREEN BEGIN OF BLOCK program WITH FRAME TITLE text-001.
    PARAMETERS : p_table LIKE dd02l-tabname DEFAULT 'Z_GROUP'.
    SELECTION-SCREEN END OF BLOCK program.
    SELECTION-SCREEN BEGIN OF BLOCK fursel WITH FRAME TITLE text-002.
    *-- Selections for EOQ groups
    SELECT-OPTIONS: s_group FOR z_group-group,
                    s_descr FOR z_group-descr NO-EXTENSION
                                              NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK fursel.
    *-- display or maintain options
    SELECTION-SCREEN PUSHBUTTON: /10(20) update  USER-COMMAND upda
                                                     MODIF ID ind,
                                  35(20) display USER-COMMAND disp
                                                     MODIF ID ind.
    SELECTION-SCREEN END OF BLOCK selscr.
    INITIALIZATION.
      PERFORM initialize_variables.
    AT SELECTION-SCREEN OUTPUT.
    *-- set the PF Status for the selection screen
      PERFORM set_sel_screen_pf_status.
      LOOP AT SCREEN.
        CHECK screen-name = 'P_TABLE'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDLOOP.
    AT SELECTION-SCREEN.
      CHECK NOT p_table IS INITIAL.
      PERFORM call_maintenance USING sscrfields-ucomm.
    START-OF-SELECTION.
    END-OF-SELECTION.
    *--------------------- Routines used in the program -------------------*
    *       FORM initialize_variables                                     *
    FORM initialize_variables.
      MOVE: 'Update'(006)  TO update,
            'Display'(007) TO display.
    ENDFORM.                  " initialize_variables
    *       FORM SET_SEL_SCREEN_PF_STATUS                                 *
    FORM set_sel_screen_pf_status.
      MOVE 'ONLI' TO i_excl_tab-pfkey.
      APPEND i_excl_tab.
      CLEAR i_excl_tab.
      MOVE 'SJOB' TO i_excl_tab-pfkey.
      APPEND i_excl_tab.
      CLEAR i_excl_tab.
      MOVE 'PRIN' TO i_excl_tab-pfkey.
      APPEND i_excl_tab.
      CLEAR i_excl_tab.
      MOVE 'DYNS' TO i_excl_tab-pfkey.
      APPEND i_excl_tab.
      CLEAR i_excl_tab.
      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
           EXPORTING
                p_status  = '%_00'
                p_program = 'RSSYSTDB'
           TABLES
                p_exclude = i_excl_tab.
    ENDFORM.                      " SET_SEL_SCREEN_PF_STATUS
    *&      Form  call_maintenance
    *       To display the maintenance of the table entered.
    FORM call_maintenance USING action LIKE sy-ucomm.
      DATA: l_view_action.
      IF action = 'UPDA'.
        l_view_action = 'U'.
      ELSEIF action = 'DISP'.
        l_view_action = 'S'.
      ELSE.
        EXIT.
      ENDIF.
    *-- prepare the select statement for the call
      PERFORM prepare_sel_statement.
      CALL FUNCTION 'VIEW_MAINTENANCE_CALL'
        EXPORTING
          action                               = l_view_action
    *   CORR_NUMBER                          = '          '
    *   GENERATE_MAINT_TOOL_IF_MISSING       = ' '
    *   SHOW_SELECTION_POPUP                 = ' '
          view_name                            = p_table
    *   NO_WARNING_FOR_CLIENTINDEP           = ' '
    *   RFC_DESTINATION_FOR_UPGRADE          = ' '
    *   CLIENT_FOR_UPGRADE                   = ' '
    *   VARIANT_FOR_SELECTION                = ' '
    *   COMPLEX_SELCONDS_USED                = ' '
       TABLES
         dba_sellist                          = i_seltab
    *   EXCL_CUA_FUNCT                       =
    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
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " call_maintenance
    *       FORM prepare_sel_statement                                    *
    FORM prepare_sel_statement.
      CLEAR: i_seltab, i_seltab[].
      PERFORM prepare_seltab_for_grp.
    ENDFORM.                       " PREPARE_SEL_STATEMENT
    *       FORM PREPARE_SELTAB_FOR_GRP                                   *
    FORM prepare_seltab_for_grp.
      IF NOT s_group[] IS INITIAL.
    *-- if any criteria is entered for the GROUP field
        CALL FUNCTION 'VIEW_RANGETAB_TO_SELLIST'
          EXPORTING
            fieldname                = 'GROUP'
    *       APPEND_CONJUNCTION       = ' '
          TABLES
            sellist                  = i_seltab
            rangetab                 = s_group.
      ENDIF.
      IF NOT s_descr[] IS INITIAL.
    *-- if any criteria is entered for the GROUP DESCRIPTION field
        CALL FUNCTION 'VIEW_RANGETAB_TO_SELLIST'
             EXPORTING
                  fieldname          = 'DESCR'
                  append_conjunction = 'AND'
             TABLES
                  sellist            = i_seltab
                  rangetab           = s_descr.
      ENDIF.
    ENDFORM.                       " PREPARE_SELTAB_FOR_GRP
    Hope this helps.
    Srinivas

  • Create transaction for table

    Hi experts,
    Can anybody help how to create transaction for table maintenance generation?
    Thanks in advance,
    Zak.

    Hi
    Check this:
    Table maintennace generator is used to create screen to maintain values in a table. Once you create maint generator you can goto transaction SM30 and add data to table . In SAP it is more relevant to customizing data.
    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'.
    Regards,
    Vishwa.

  • View maintenance dialog

    Hi all,
    I am facing an issue in view maintenance dialog, during UCCHECK, it is showing as error with description as follows:
    Generated Code for View Maintenance Dialog is not Unicode-Compatible You can
    regenerate with the program RSVIMT_UC_VIEW_MAINT_GEN
    I am still doubt. What is the impact if I generate it as proposed? Are our own coding removed after generation? Thus we need to code manually again.
    Thanks !
    Chika

    It seems that you're in the Unicode system and the dialog is not Unicode compatible. This program will not remove any code, as long as it has been added using the proper methods (user exit, designated enhancement, etc.). In the worst case it will display an error message.
    You might want to check in advance whether your code is Unicode compatible though.

  • How to find Transaction for a Known Table maintenance View

    Hello Friends,
    May I know how to find transaction for a known table maintenance View.
    Thanks,
    Best Regards,
    Sudhanshu Garg

    Goto SE16 Transaction and enter TSTCP Table
    Here PARAM = /SM30 VIEWNAME=Table name*;UPDATE=X;
    enter table name in bold.
    Thanks
    Seshu

  • Authorization object for parameter transactions

    Hi all,
    I'm trying to restrict transaction VL10h for shipping point,this transaction is a parameter transaction and is not controlled by an authorization object directly.when I run a trace , transaction Vl10x shows up. The authorization object that is being checked is V_LIKP_VST.
    Note : The requirement is when the user executes transaction VL10h he/she should be able to display only those shipping points they are authorized to.
    Please advice.
    Thanks,
    Mohan.

    Hi Mohan,
    For transaction VL10H you can specify values for the following fields in authorization object V_LIKP_VST:
    -Activity:
    01     Create or generate
    02     Change
    03     Display
    04     Print, edit messages
    18     Deliveries from coll. proc.
    24     Archive
    25     Reload
    85     Reverse
    -Shipping point: Here you must set the restriction for each group of users that are allowed for the maintenance of the shipping points that are used for delivery processing.
    You can restrict the access through these fields.
    Regards,
    Leandro

  • F1 documentation for a Parameter Transaction

    Hello
    I have a Parameter Transaction in a customer namespace and need to create F1 documentation for it. Is it possible?
    (Created in SE93 and linked to SM30).
    I can't find anything in the menus, online help or this forum.
    The transaction is part of an Area Menu and ideally I would like to provide some F1 help there.
    Thanks
    Graham

    Hi
    I looked in SE61 but there is no drop down menu item for Transaction.
    Balu:
    I have an Area Menu for example:
    TR1
    TR2
    TR3
    ......etc
    Transaction TR1 is linked to a report so I created docu for this and now the user can position the cursor on TR1 in the menu, press F1 and see a popup with the documentation.
    Transaction TR2 was created as a parameter transaction linked to a View via SE30 (selected as a dialog transaction). The user can start TR2 and gets a View where they can enter data and use F1 for the individual fields. Up to here everything works OK.
    What is missing is to allow the user to select TR2 and use F1 to see some documentation whilst still in the menu.
    Since TR2 isn't linked to a report or data element I can't find a way to create docu for it.
    Thanks
    Graham

  • How to Extract Data for a Maintenance View, Structure and Cluster Table

    I want to develop  3 Reports
    1) in First Report
    it consists only two Fields.
    Table name : V_001_B
    Field Name1: BUKRS
    Table name : V_001_B     
    Field Name2: BUTXT
    V_001_B is a Maintenance View
    For this one I don't Find any Datasource
    For this Maintenance View, How to Extract the Data.
    2)
    For the 2nd Report also it consists Two Fields
    Table name : CSKSZ
    Field Name1: KOSTL (cost center)
    Table name : CSKSZ
    Field Name2: KLTXT (Description)
    CSKSZ is a Structure
    For this one I don't Find any Datasource
    For this Structure How to Extract the Data
    3)
    For the 3rd Report
    in this Report all Fields are belonging to a Table BSEG
    BSEG  is a Cluster Table
    For this one also I can't Find any Datasource,
    I find very Few Objects in the Datasource.
    For this One, How to Extract the Data.
    Please provide me step by step procedure.
    Thanks
    Priya

    Hi sachin,
    I don't get your point can you Explain me Briefly.
    I have two Fields for the 1st Report
    BUKRS
    BUTXT
    In the 2nd Report
    KOSTL
    KLTXT
    If I use  0COSTCENTER_TEXT   Data Source
    I will get KOSTL Field only
    what about KLTXT
    Thanks
    Priya

  • How to find out the SET PARAMETER ID for FB02 transaction

    hi masters,
    i m working on a alv report and in that i have to make a BELNR field as a interactive field. i m using the 'user command' for this.
    FORM user_command USING ucomm TYPE sy-ucomm
                        selfield TYPE slis_selfield.
      IF selfield-value IS NOT INITIAL.
        CASE selfield-fieldname.
          WHEN 'BELNR'.
            SET PARAMETER ID 'FBAS'  FIELD selfield-value.
            CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.
          WHEN OTHERS.
            MESSAGE text-000 TYPE 'W'.
        ENDCASE.
      ENDIF.
    ENDFORM.                    "user_command
    i used this code using this. using this code my program goes to FB03 tc but it don't shows the data of BELNR what i was clicked. it always shows first BELNR no. in the table. plz anyone help me for this..
    the  SET PARAMETER ID 'FBAS'  i m using is right? if not plz suggest me how to find out correct one?

    Hi Vicky,
    To know the Parameter Id of any field in a transaction ,
    you just press F1 onthe particular field then in technical settings under Field data
    you can see the PARMATER ID.
    So if you check like this you can see 'BLN' as parameter id for Document number in FB03
    transaction
    Regards,
    Manoj Kumar P

Maybe you are looking for

  • I turned off icloud on my calendar and it deleted my entire calendar.  Is there a way of getting that back?

    I turned off icloud on my calendar and it deleted my entire calendar. I did this because I wanted to add a sport site to auto add my daughters hockey schedule.  For some reason it was not accepting this URL?   Is there a way of getting my calendar ba

  • Mail Alert with Triangle Exclamation Mark with iMap - Too Many Connections?

    I have one Laptop (Macbook mid-07) on Leopard 10.5.6 and a Macbook Pro 09 on Leopard 10.5.8. I just switched over to iMap where I have two email accounts set up on both laptops. Both laptops have identical accounts set up on them. I'm currently getin

  • How to dissolve an image

    Hi all, I'm trying to dissolve image. In the transform, I can change the final Alpha 100%(or any value). But how can I set the Alpha start from 0%. It sounds I only can sen it from 100%. So the image will be show from the beginning to the end. Thanks

  • Getting advice on using Visual Studio 6 on Windows 8.1

    What is the right forum to discuss using Visual Studio 6 on Win 8.1? (I got it working on 8.0 despite its compatibility issues. After upgrading to 8.1, running a debugee under VS 6 in Win 8 compatibility mode is v-e-r-y   s-l-o-w. Please assume I hav

  • BO4 - Dashboards - not able to add query

    Hi, Getting message below when add component to dashboard ad try and add query. Have never used dashboards before and have a few .unx universes. Using bo4 sp08. Have read the note checked out the url and added it as an alias to the server.xml on the