{"id":263,"date":"2024-02-19T15:54:20","date_gmt":"2024-02-19T15:54:20","guid":{"rendered":"https:\/\/www.aderp.com.mx\/wp\/?p=263"},"modified":"2024-02-19T15:54:20","modified_gmt":"2024-02-19T15:54:20","slug":"como-crear-vista-de-mantenimiento","status":"publish","type":"post","link":"https:\/\/www.aderp.com.mx\/wp\/sap\/como-crear-vista-de-mantenimiento\/","title":{"rendered":"Como crear vista de mantenimiento"},"content":{"rendered":"\n<p>A single maintenance view can be used to modify the content of multiple related database table consistently.<br><br>All database tables grouped in maintenance view must be joined using foreign key relationship. The first table included in the maintenance view is known as the primary table of the maintenance view. The tables added to this primary table using foreign keys are known as secondary tables.<br><br>While selecting secondary table make sure<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>If secondary table is check table then no more than one dependent data record exists in each of the secondary tables for a specific data record in the primary table<\/li><li>If secondary table is Foreign key table then the foreign key fields must be key fields of a secondary table<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc-hId-763718779\"><strong>How to Create Maintenance View<\/strong><\/h2>\n\n\n\n<p><strong>Step 1:<\/strong> Go to SE11. Select view and enter name of maintenance view.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/1-107.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 2: <\/strong>Click on Create. Select Maintenance View.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/2-43.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 3: <\/strong>Enter short description.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/3-39.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 4: <\/strong>I have two tables. One is Employee table and another one is department table.<br><br>ZAKTABLE<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/4-40.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>ZAK_DEP<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/5-32.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>Employee_id field is foreign key in ZAK_DEP table.<br><br>Enter ZAK_DEP name in table column first.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/6-36.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 5: <\/strong>Click on Relationships. Here we can see that ZAK_Dep table is connected using foreign key. Select that table.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/7-34.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 6: <\/strong>Join condition will be added.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/8-30.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 7: <\/strong>Click on View Fields.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/9-31.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 8: <\/strong>Click on Table fields and select first table.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/10-24.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 9: <\/strong>select fields from table.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/11-23.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 10:<\/strong> Click on Table fields and select second table.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/12-21.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 11: <\/strong>select fields name.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/13-21.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 12: <\/strong>In selection condition, you can put condition if you want.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/community.sap.com\/legacyfs\/online\/storage\/blog_attachments\/2022\/06\/14-16.png\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Step 13:<\/strong> Here you can see that 4 options are there.<br><br><strong>1.Read Only<\/strong><br><br>That means you will be able to read data through maintenance view.<br><br><strong>2.Read, change, Delete, and Insert<\/strong><br><br>If you select this option then you will be able to read, change, delete and insert the data into the table through maintenance view.<br><br><strong>3.Read and Change<\/strong><br><br>If you select this option then you will be able to read and edit data into database table through this view.<br><br><strong>4.read and change (time-specific Views)<\/strong><br><br>If you select this option then you will be able to read and change the data if it is time-specific view. That means key of maintenance view contain data field and time field.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A single maintenance view can be used to modify the content of multiple related database table consistently. All database tables grouped in maintenance view must be joined using foreign key relationship. The first table included in the maintenance view is known as the primary table of the maintenance view. The tables added to this primary [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[26,7,55,103],"class_list":["post-263","post","type-post","status-publish","format-standard","hentry","category-sap","tag-abap","tag-sap","tag-tablas","tag-vista"],"_links":{"self":[{"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/posts\/263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":1,"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/posts\/263\/revisions"}],"predecessor-version":[{"id":264,"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/posts\/263\/revisions\/264"}],"wp:attachment":[{"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/media?parent=263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/categories?post=263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aderp.com.mx\/wp\/wp-json\/wp\/v2\/tags?post=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}