For maintenance view

Hello Guys,
For this view it is asking only one table name
how it is possible to make a view.
Try to give some information regarding views.

Hi
The views is a logical view of a dictionary table, they are used to update/show a part of the data of one or more tables.
For example you have two table Z1 and Z1T (where there are the descriptions of the keys of Z1):
Z1:
MANDT (key field)
FIELD (key field)
Z1T:
MANDT (key field)
SPRAS (key field)
FIELD (key field)
DESCRIPTION
so you can create a maintenance view Z1V to update simultaneously the data of Z1 and Z1T. After you can create a program by generatore maintenance view to manage Z1V.
See here for more details:
http://help.sap.com/saphelp_46c/helpdata/en/4f/991f82446d11d189700000e8322d00/frameset.htm
Max
Message was edited by: max bianchi

Similar Messages

  • How to create transaction code for maintenance view

    hai friends,
    i hope every thing goes good.
    i have doubt, how to create transaction code for maintenance view. I created view for tranperant table and now i want to create transaction code for the view.
    i tried and i donot know the screen number and program name and where can i give the view name.
    if any one know please post in details.
    thanks in advance.

    Hi Elam,
    You need to create a "Parameter Transaction".
    What this means is that you will have a transaction (let's call it "ZMAINT") which calls "SM30" and passes in your table name.
    Go to transaction SE93 and enter your new transaction code. Enter in the Tcode description and choose "Transaction with Parameters" (it shouldbe the last radio button).
    Enter in the default transaction "SM30" and tick the "Skip Initial Screen" check box. Hit Enter.
    Now scroll to the bottom of the screen and you will see a Table Control where you will need to enter in the values to the SM30 selection screen.
    Because you hit ENTER, the program will have loaded in the Selection Screen parameters into it's memory. Hit the drop down for "Name of Screen Field" and select "VIEWNAME" and then enter in your Z Table in the "Value" column.
    Now go to the next line and hit the drop down and select "UPDATE" in the "Name of Screen Field". Enter in a "X" in the value column.
    Now save the transaction and there you have it.
    Hope this helps.
    Cheers,
    Pat.
    PS. Kindly assign Reward Points to the posts you find helpful.

  • To Find transaction code for maintenance view J_1BT001WV

    Hi Gurus,
    I have to find transaction code for maintenance view J_1BT001WV. Plz tell me how can i do it.
    regards
    Rajesh

    Hello Rajesh
    There are no specific transactions defined for this view (except for SM30 ).
    The IMG activities where the view is used are (check OBJSUB ):
    SIMG_ORFB_J_1BT001WV (Assign business place)
    J_1BASSBRANCH (Assign CGC branch to plant)
    In order to find the view in the IMG call transaction SM30, enter the view and push button Customizing.
    The following activites are found on ERP 6.0:
    South Korea: Basic Settings for Value-Added Tax     Assign Business Place
    Business Place (Generic)                                        Assign Business Places to Plants
    Official Document Numbering (Indonesia)                 Assign Business Places to Plants
    Nota Fiscal                             Assign Business Places to Plants
    Official Document Numbering (Thailand)                    Assign Business Places to Plants
    Regards
      Uwe

  • What r the trns code for maintenance view, help view and projection view

    hi all
    what r the transaction code for maintenance view, help view and projection view
    can anyone tell me how to create maitenance, help and projection view.
    with an example
    regs
    hari

    <b>What is the Different Types and Usage of Views
    The followings are different types of views:</b>
    - <b>Database View   (SE11)</b>
    Database views are implement an inner join, that is, only records of the primary table (selected via the join operation) for which the corresponding records of the secondary tables also exist are fetched. Inconsistencies between primary and secondary table could, therefore, lead to a reduced selection set. 
    In database views, the join conditions can be formulated using equality relationships between any base fields. In the other types of view, they must be taken from existing foreign keys. That is, tables can only be collected in a maintenance or help view if they are linked to one another via foreign keys.
    - <b>Help View    ( SE54)</b>
    Help views are used to output additional information when the online help system is called. 
    When the F4 button is pressed for a screen field, a check is first made on whether a matchcode is defined for this field. If this is not the case, the help view is displayed in which the check table of the field is the primary table. Thus, for each table no more than one help view can be created, that is, a table can only be primary table in at most one help view. 
    -<b> Projection View  (SE11)</b>
    Projection views are used to suppress or mask certain fields in a table (projection), thus minimizing the number of interfaces. This means that only the data that is actually required is exchanged when the database is accessed.
    A projection view can draw upon only one table. Selection conditions cannot be specified for projection views.
    <b>- Maintenance View   ( SE54 )</b>
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    reward   points if it is usefull...
    Girish

  • Transaction code for maintenance view

    Hi all
          I created a maintenance view and I also generated the table maintenance dailog for the view.Now I am changing the values using the transaction code SM30.But I have to create a transaction code for this maintenance view to access it and update the table instead of using sm30 for this purpose.Please help me.
    Thank You.
    Regards
    Giri.

    Hi
    create transaction using 'se93'
    select parameter transaction and give below attributes
    Transaction code ZTX1
    Transaction text Maintain View ZSDCZTVIEW
    Transaction SM30 Screen 0
    From module pool
    Name of screen field Value
    VIEWNAME = ZSDCZTVIEW
    UPDATE = X
    Thanks

  • What is maintenance View . Why do we need to go for maintenance View

    Hi,
    I wanted to create maintenance view. Before that i wanted to know what is maintenance veiw and why do we go for maintenance view

    SE11, enter the table name click change. In the next screen, click Utitlies-->table maintenance generator.
    Enter &NC& as the auth group.
    Enter the function group to use  (ex. Z_TABMAINT)
    click One Step, enter '1' as the screen number. Click the create button.
    Once generated, you can use it by going to SM30, enter table name and click maintain

  • Create T-Code for Maintenance View

    Hi all,
    I created Maintenance View and i want to create a T-Code for the maintenace view.
    I go to SE93 and enter the name and push a create push button. But i dont know the category i must select for the maintenace view.
    Would you please help me out and please advise me step-by-step.
    Thank you in advance,
    Regards,
    Peerasit

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

  • How to find T-CODES for maintenance view of custom tables?

    Hi,
    I have a list of custom tables for which maintenance view is generated. Also, many of them might have a T-Codes assigned to them.
    I need to know how to find out these T-codes?
    Is there some table which maintains these or a function module which can give the t-code name?
    Help will be appreciated.
    Thanks.
    Shreyas

    Hi shreyas,
    1. one way is
    2. goto se93
    3. Press Ctrl F
    4. Expand the search criteria (from button on toolbar)
    5. In program name enter SAPMSVMA (This program is for sm30)
    6. In transaction code enter Z*  or Y*
    regards,
    amit m.

  • Authorization object for maintenance view on table

    Is there any object that I could do authority check
    in order to prevent modification on a specific view even if user as the right for SM30
    Regards,

    Hi,
    You can use the field DICBERCLS in S_TABU_DIS & put in the Authorization Groups there.
    Regards,
    Suresh Datti

  • Maintenance view problem "No data maintenance Authorization; Display only"

    Maintenance view problem
    <b>Question 1>>>></b>
    > I have created a table with Display/maintenance allowed and technical setting Data class - APPL0 (master data, transparent tables).
    >> Then I have created a maintenance view thought utilities->table maintenance generator where i have specified the Authorization group as &NC& (w/o auth. group)
    ->and also created a function group and specified in the maintenance screen-> I have selected maintenance type as one step-> i have given the overview screen number->and in Recording routine i have selected - no, or user ,recording routine.
    >>> Now when i go to transaction SM30  and put the table name and press on maintain button I get a information box saying "<b>No data maintenance Authorization; Display only"....</b> and it only displays the data.
    my problem is I want to enter data through maintenance view (SM30).
    <b>2nd Question >>>></b> once i create a function group for maintenance view how can i assign a transaction for this. <i>(as if i do it as we do for a module pool program it gives me error)</i>Thank you.
    kailash

    SE93.  Enter a transaction name.  Create.  In the pop up enter a title and select 'Transaction with parameters'.
    Next screen fill the following;
    Transaction 'SM30'
    Check 'Skip first screen'
    In the table control at the bottom of the screen
    Name of screen field 'VIEWNAME'
    Value <your table name>
    Name of screen field 'SHOW'
    Value 'X'
    Save.
    Job done.

  • [Maintenance View] Mass maintenance of Z-Table

    Hi,
    I was wondering what were the options when dealing with mass maintenance of Z-table entries.
    SM30 is OK for maintenance view but you cannot process more than a given number of lines (34 entries or so) per page.
    Ideally, it should be possible to enter data from Excel file of even clipboard.
    SE16N is great for this since it allows pasting of clipboard data but it does not work with maintenance views (it switches to the SM30 dynpro).
    Besides, if I create a database view, it is not possible to save entries because it joins several table together (even if I only need additional fields for display only).
    I tried the FM 'SE16_INTERFACE' but it dumps with an CX_SY_DYNAMIC_OSQL_SEMANTICS error (SAPSQL_NO_DBTAB_OR_VIEW). (you can only query table or database view but no maintenance view)
    Thanks in advance for your ideas/advice.
    Best regards,
    Guillaume

    Hi,
    Developing a generic tool won't take much time probably 6 hours at an experience level of 2+ years!!!
    Once you develop you can use it for ever.
    What all you need to do is create a field-symbol of type standard table. Get the table name and the file from the selection screen.
    Create a dynamic internal table with reference to the table name entered in the selection screen. Upload the data and update the database.
    Limitations in the design:
    1. File should be in correct format and with the correct data. (Specific validations can't be done)
    2. Table maintenance events can't be tackled.
    eg: On entering the material number, Material description should automatically come.
    Creating BDC for SM30 is ok. But this works only at a table level. We may not be able to make it generic as the screen field names changes based on table name.
    So think and choose the right approach!!!
    All the best:)
    Thanks,
    Vinod.

  • Maintenance View with Subset Fields

    Hi All,
    I have created a maintenance view based on a single DB table. Two key fields are defined to be as subset fields. No selection conditions are added to the view. I have used table maintenance genrator to define the screen (one step) along with the events.
    In SM30, i get the popup to fill the subset fields.
    I have created an event for AA (to replace default read). I am filling total attribute here.
    a) Is there some other attribute that i need to fill apart from total?
    I receive following dump
    " Exception condition "NO_VALUE_FOR_SUBSET_IDENT" is raised"
    When i set <status>-sbsid_rcvd = 'R' in read routine along with total, then the above exception doesn't appear.
    But filtering based on the subset values doesn't happen automatically.
    b) I also need have to have routines to perform insert, copy and validation.
    c) Would the contents displayed be automatically filtered based on the subset values or we need to process this in user routines for read and so on?
    As i find very limited documentation available for maintenance views with subset fields, could you suggest me some example to do the above?
    Thanks in Advance,
    Regards,
    Rekha

    Hello Rekha,
    Yes I've same idea, documentation for maintenance screens is inadequate.
    But there is way to find examples for all events,
    table TVIMF is storing the Table name - Event - Form name columns.
    For example when u want to  do something about  "creating a new entry"
    Just go se11 > Table maintenance generator and find related event : 05
    - Then go to TVIMF and display a record for event = 05
    - than go to function group of  maintenance screen of the TABLE in that record
    - find the subroutine form ( TVIMF-FORMNAME) in that function group
    This is a working example for that event, try or copy & use.
    I hope it helps you for the coding for all the events.
    Bulent
    Edited by: Bulent Balci on Aug 5, 2010 11:28 PM
    Edited by: Bulent Balci on Aug 5, 2010 11:29 PM

  • Can I write a SELECT query on maintenance view?

    Hi,
    Can we write a select query on maint. view? If not what are the views on which we can write the select queries?

    hi,
    you can write select query for maintenance view, database view and projection view but not helpview as it is only intended for f4 help.
    reward if helpful
    prasanth

  • Read data from maintenance view

    hi all,
    could anyone please tell me if there is any special way to read data from a maintenance view (if at all it is possible).
    i wrote a simple select on it but it gave me a syntax error that the view is not defined in the dictionary. (i am able to see the view definition by double clicking and it is active too).
    the following is my select.
    select single lgnum from v_t320 into (w_lgnum) where werks eq p_i_werks and lgort eq p_i_lgort.
    awaiting answers...
    regards,
    PJ

    Thanx Rich,
    but the documentation on maintenance views says that we can have read access to them. Does that mean the data can only be seen via the DDIC and not from a select written in a program??
    this is what i read...
    Maintenance Status
    The maintenance status of a view controls whether data records can also be changed or inserted in the tables contained in the view.
    The maintenance status can be defined as follows:
    Read only: Data can only be read through the view.
    Read, change, delete, insert: Data of the tables contained in the view can be changed, deleted, and inserted through the view.
    Only read access is permitted for database views that are defined through several tables. If a database view contains only one single table, data can be inserted in this table through the view (see Inserts Through Database Views).
    The following status definitions are also possible for maintenance views:
    Read and change: Existing view entries can be changed. However, records cannot be deleted or inserted.
    Read and change (time-dependent views): Only entries whose non-time-dependent part of the key is the same as that of existing entries may be inserted.
    you surely have earned some points here....just let me be clear of the concept behind this
    regards,
    PJ

  • Maintenance View Validations

    I have a custom table for which I am maintaining a Maintenance View.
    I want to provide some validations and checks on the fields entered by the user in that maintenance view.
    For example, if the user enters a value greater than 1000 in quantity field, I want to display a message saying that " enter only values below 1000". This is part of customer requirement.
    Can I provide validations on fields in Maintenance view and if yes, then how ?
    Thanks,
    Urmila

    Hi this may help u.
    Maintenance views offer easy ways to maintain complex application objects.
    Data distributed on several tables often forms a logical unit, for example an application object, for the user. You want to be able to display, modify and create the data of such an application object together. Normally the user is not interested in the technical implementation of the application object, that is in the distribution of the data on several tables.
    A maintenance view permits you to maintain the data of an application object together. The data is automatically distributed in the underlying database tables. The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    All the tables in a maintenance view must be linked with foreign keys, that is the join conditions for maintenance views are always derived from the foreign key (see Foreign Key Relationship and Join Condition). You cannot directly enter the join conditions as for database views.
    There are some restrictions for the attributes of the foreign keys with which the tables in a maintenance view can be linked (see Restrictions for Maintenance and Help Views).
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    Maintenance mechanisms, like screens and processing programs, must be created from the view definition with the transaction Generate Table View (SE54). This makes it possible to create easy-to-use maintenance interfaces in a simple manner.
    You can find out how to create such maintenance mechanisms in the documentation BC - Generate Table Maintenance Dialog.
    Creating Maintenance Views
    Procedure
    Enter an explanatory short text in the field Short text.
    You can for example find the view at a later time using this short text.
    Enter the primary table of the view under Tables in the Tables/Join conditions tab page.
    Only those tables that are linked with the primary table (indirectly) with a foreign key can be included in the maintenance view.
    If required, include more tables in the view. In a maintenance view you can only insert tables that are linked to one another with foreign keys.
    Place the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the required foreign key and choose Copy. The secondary table used in such a foreign key is included in the view. The join conditions derived from the foreign keys (see Foreign Key Relationship and Join Condition) are displayed.
    You can also insert tables that are linked by foreign key with one of the secondary tables that was already inserted. To do this, place the cursor on the secondary table and choose Relationships. Then proceed as described above.
    For maintenance and help views, there are certain restrictions on the foreign keys with which the tables can be included in the view (see Restrictions for Maintenance and Help Views). The foreign keys violating these conditions are displayed at the end of the list under the header Relationships with unsuitable cardinality.
    On the View fields tab page, select the fields that you want to copy to the view.
    Choose Table fields. All the tables contained in the view are displayed in a dialog box. Select a table. The fields of the table are now displayed in a dialog box. You can copy fields by selecting them in the first column and choosing Copy.
    All key fields of the primary table must be included in a maintenance view. In addition, all key fields of secondary tables that are not involved in the foreign key (that is, which are not linked via a join condition to a key field already included in the view) must be included in the view.
    This ensures that the records inserted with a maintenance view can be written correctly in the tables contained in the view.
    On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records that can be displayed with the view (see Maintaining Selection Conditions for Views).
    The selection conditions define the data records that can be selected with the view.
    In the Maintenance status tab page, define the maintenance status of the view.
    The maintenance status defines how you can access the view data with the standard maintenance transaction (SM30).
    Choose .
    At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, the activation log is automatically displayed.
    Go to Transaction SE54 with Environment ® Tab.maint.generator.
    From the view definition you can generate maintenance modules and maintenance interfaces that distribute the data entered with the view to the base tables of the view. You can find more information in Creating a Maintenance Dialog.
    Other Options
    Recording documentation: You can create information about using the view with Goto ® Documentation. This documentation is output for example when you print the view.
    Changing the data element of a view field: Select column Mod (modification) for the view field. The Data element field is now ready for input. You can enter a data element that refers to the same domain as the data element of the assigned table field here. Cancel the Mod flag if you want to use the data element of the assigned table field again.
    Enter the delivery class of the view: In the Maintenance status tab page, select the delivery class of the maintenance view. If you assign the delivery class G or E to the view, you must also maintain a customer namespace (key block) for the view entries. To navigate to the appropriate maintenance transaction, choose Define Customer Namespace.
    Entering the maintenance attributes of the view field: In the View fields tab page you can define the Maintenance Attributes of the view field in column F.
    Check functions: With Extras ® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the definitions in the runtime object of the view. With Extras ® Runtime object ® Display you can display the runtime object of the view.
    table maintai9nenece generator
    The Table Maintenance Generator is used to create table maintenance program to add, modify or delete records in the database table. This can be accessed using transaction SE54 or in SE11 using the menu Utilities->Table Maintenance Generator.
    Table maintenance allows you to create entries for that table
    Follow these steps to generate table maintenance
    1) Go to SE11 and check table maintanance check box under attributes tab.
    2) Go to menu Utilities -> Table Maintanance Generator ->
    Create function group and assign it under function group input box. You can enter same as table name for function group. Also assign authorization group default &NC& .
    3) Select standard recording routine radio in table table mainitainence generator to move table contents to quality and production by assigning it to request.
    4) Select maintenance type as single step.
    5) Maintainence screen as system generated numbers this dialog box appears when you click on create button.
    6) Save and activate table.
    useful links
    http://www.saptechies.com/how-to-create-table-maintenance-generator/
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ecdf446011d189700000e8322d00/content.htm
    http://www.saptechies.com/table-maintainance-generator/
    with regards,
    Hema Sundara.
    pls reward if u find it helpful.

Maybe you are looking for

  • Itunes wont open Please help....

    Every time i try to open Itunes it says " iTunes has encountered a problem and needs to close. We are sorry for the inconvenience." so i havent been able to download any songs or pics on my new nano i just got. i have tried reenstalling it many times

  • Schedule Lines not confirmed for Consignment Fillup

    Hi I created Consignment Fillup, Schedule lines are not confirmed, even though stock is available in MMBE. Material per batch stock is available Help me out in this issue Regrds Srinivas

  • Using a movieclip symbol as a button AS 2.0

    Juggling between AS 2.0 and 3.0 has me a bit perplexed. I need to have a movie clip on the stage acting like a button, when you rollover it the mc would be like in the over state of a button. Finally when you roll out the mc will play the over state

  • Designer 4.1.1 error message ora-01722 at 'open down '

    Message ORA-01722: YA Message RME-02124: Failed to execute SQL statement: select obj.id, obj.ivid, obj.name, obj.element_type_name , obj.diagram_type from CI_DIAGRAMS obj, ci_folder_members fm, ci_container_elements cel where fm.member_object = obj.i

  • Powerbook Applications have trouble opening?

    Ok. So I am a student using my mom's old powerbook g4. It was dropped- and right after it would tell you that you need to restart the computer after you logged in. My mom had already had a new computer at that point and no one needed it at the time s