{"id":7721,"date":"2025-09-02T01:25:20","date_gmt":"2025-09-01T19:55:20","guid":{"rendered":"https:\/\/www.sapewmhelp.com\/?question=employee-management-app-in-rap"},"modified":"2025-09-02T01:25:20","modified_gmt":"2025-09-01T19:55:20","slug":"employee-management-app-in-rap","status":"publish","type":"question","link":"https:\/\/www.sapewmhelp.com\/?question=employee-management-app-in-rap","title":{"rendered":"Employee management APP in RAP"},"content":{"rendered":"<p><strong>Employee management APP.<\/strong><\/p>\n<p><strong>\u00a0<\/strong><\/p>\n<p><strong>Firstly, <\/strong><\/p>\n<p>Create an employee table with the draft \u00e0 zemployee_01<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e1.png\" \/><\/p>\n<p>Create a draft table. \u00e0 zemployee_01_d<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e2.png\" \/><\/p>\n<p>Create a class to insert the data. \u00e0 zdpm_populate_empoyee<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e3.png\" \/><\/p>\n<p>Create a CDS root view entity\u00a0 \u00e0 zdpm_employee_transapp<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e4.png\" \/><\/p>\n<p>Create a projection, View. \u00e0 zcl_employee_trans.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e5.png\" \/><\/p>\n<p>Now create a metadata extension with UI annotation \u00e0 zdpm_employee_transapp<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e6.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Create managed implementation on CUD operations.<\/p>\n<p>Behavior Definition.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e8.png\" \/><\/p>\n<p>Make the class using the code below \u00e0 zdp_i_employee_transapp<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e9.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Create a local class\u00e0 lcl_<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e10.png\" \/><\/p>\n<p>Create a business projection for business object. \u00e0 zc_employee_transapp<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e11.png\" \/><\/p>\n<p>Create a service definition.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e12.png\" \/><\/p>\n<p>Choose the <strong>defined service.<\/strong><\/p>\n<p>Use the projection view name<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e13.png\" \/><\/p>\n<p>Now create the service binding<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e14.png\" \/><\/p>\n<p>If the service is not getting published, then change it to OData V2- UI.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e15.png\" \/><\/p>\n<p>Now publish it, you will get the entity set then login to the Fiori application.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e16.png\" \/><\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e17-1.png\" \/><\/p>\n<p>Goto the service URL.<\/p>\n<p>Login in and click on the <strong>GO<\/strong> to view the data.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e18.png\" \/><\/p>\n<p>Now click on the row and you will find the detailed information.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e19.png\" \/><\/p>\n<p>You can add the filer based on the fields like:<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e20.png\" \/><\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/09\/e21.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Completed. <\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","question-category":[175],"question_tags":[178,201,199,200,177],"class_list":["post-7721","question","type-question","status-publish","hentry","question-category-rap","question_tags-abap","question_tags-btp","question_tags-cds","question_tags-rap","question_tags-sap"],"_links":{"self":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question\/7721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question"}],"about":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7721"}],"wp:attachment":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7721"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion-category&post=7721"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion_tags&post=7721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}