{"id":4907,"date":"2025-07-07T14:58:53","date_gmt":"2025-07-07T12:58:53","guid":{"rendered":"https:\/\/www.clavis.biz\/?page_id=4907"},"modified":"2025-07-08T11:14:28","modified_gmt":"2025-07-08T09:14:28","slug":"open-data-protocol-odata-v4","status":"publish","type":"page","link":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/","title":{"rendered":"Open Data Protocol (OData) V4"},"content":{"rendered":"\n<div class=\"wp-block-cover alignfull\" style=\"min-height:320px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-nv-site-bg-background-color has-background-dim-100 has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<h2 class=\"wp-block-heading has-text-align-left has-neve-text-color-color has-text-color\">OData V4: Communication between SAPUI5 and SAP Backend<\/h2>\n\n\n\n<p class=\"has-neve-text-color-color has-text-color has-link-color wp-elements-07dbb96019d0397bbf077cf84eb0c7ee\"><strong>The Open Data Protocol<\/strong> is an open standard for the development and use of RESTful APIs. With OData V4, SAP has replaced the previous OData V2 standard and created a powerful, future-proof solution that is specially optimized for cloud and hybrid architectures. OData v4 is used in the development of RAP and CAP apps.  <\/p>\n\n\n\n<p class=\"has-neve-text-color-color has-text-color has-link-color wp-elements-4ca2d08f368ade1b05681d97f7ed3c9d\">It relies on the consistent use of JSON as the standard format for data exchange. While OData V2 can often still be based on XML, version 4 relies on the JSON format, which makes processing in web applications and mobile apps much easier. <\/p>\n\n\n\n<p class=\"has-neve-text-color-color has-text-color\"><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-neve-text-color-color has-text-color has-link-color has-fixed-layout\"><thead><tr><th>Advantage<\/th><th>V4<\/th><th>V2 (obsolete)<\/th><\/tr><\/thead><tbody><tr><td>Standardization<\/td><td>Latest Specification, OASIS-Standard<\/td><td>Older standard, less actively developed<\/td><\/tr><tr><td>clavisOptimo \u2013 simulate the best use of space within the packaging<\/td><td>Further features (Batching, Annotations, etc.)<\/td><td>Limited<\/td><\/tr><tr><td>Performance<\/td><td>Better payloads, less overhead<\/td><td>Partially inefficient<\/td><\/tr><tr><td>Interoperability<\/td><td>Better for cloud and hybrid architectures<\/td><td>Less suitable for modern architecture<\/td><\/tr><tr><td>SAP assistance<\/td><td>Primary in RAP &amp; CAP<\/td><td>Legacy approaches (e.g. SEGW, BOPF)<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div><\/div>\n<\/div><\/div>\n\n<div class=\"wp-block-cover alignfull\" style=\"min-height:300px;aspect-ratio:unset;\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-nv-dark-bg-background-color has-background-dim-100 has-background-dim\"><\/span><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<div class=\"wp-block-image is-style-rounded\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"285\" height=\"285\" src=\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/05\/cl_orange_Informationen.png\" alt=\"\" class=\"wp-image-765\" style=\"width:80px;height:80px\" srcset=\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/05\/cl_orange_Informationen.png 285w, https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/05\/cl_orange_Informationen-150x150.png 150w\" sizes=\"auto, (max-width: 285px) 100vw, 285px\" \/><\/figure>\n<\/div>\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-text-align-center has-nv-text-dark-bg-color has-text-color\">Do you have any questions?<br \/>Get in touch with us.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-default\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.clavis.biz\/en\/contact\/\">CONTACT<\/a><\/div>\n<\/div>\n\n\n\n<div style=\"height:80px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":1004,"parent":2750,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"neve_meta_sidebar":"default","neve_meta_container":"","neve_meta_enable_content_width":"on","neve_meta_content_width":100,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"off","neve_meta_reading_time":"","_ti_tpc_template_sync":false,"_ti_tpc_template_id":"","footnotes":""},"class_list":["post-4907","page","type-page","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>OData V4: Communication between App and Backend<\/title>\n<meta name=\"description\" content=\"OData V4 (Open Data Protocol): Standard protocol for communication between SAPUI5 apps and the SAP backend systems:\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OData V4: Communication between App and Backend\" \/>\n<meta property=\"og:description\" content=\"OData V4 (Open Data Protocol): Standard protocol for communication between SAPUI5 apps and the SAP backend systems:\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/\" \/>\n<meta property=\"og:site_name\" content=\"clavis berater soziet\u00e4t\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-08T09:14:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1126\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/\",\"url\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/\",\"name\":\"OData V4: Communication between App and Backend\",\"isPartOf\":{\"@id\":\"https:\/\/www.clavis.biz\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg\",\"datePublished\":\"2025-07-07T12:58:53+00:00\",\"dateModified\":\"2025-07-08T09:14:28+00:00\",\"description\":\"OData V4 (Open Data Protocol): Standard protocol for communication between SAPUI5 apps and the SAP backend systems:\",\"breadcrumb\":{\"@id\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#primaryimage\",\"url\":\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg\",\"contentUrl\":\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg\",\"width\":1920,\"height\":1126,\"caption\":\"Open Data Protocol_Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Start\",\"item\":\"https:\/\/www.clavis.biz\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SAP Technologies\",\"item\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"S\/4 HANA programming model\",\"item\":\"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Open Data Protocol (OData) V4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.clavis.biz\/en\/#website\",\"url\":\"https:\/\/www.clavis.biz\/en\/\",\"name\":\"clavis berater soziet\u00e4t\",\"description\":\"Beratung f\u00fcr SAP, mobile Anwendungen und Web-Entwicklung\",\"publisher\":{\"@id\":\"https:\/\/www.clavis.biz\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.clavis.biz\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.clavis.biz\/en\/#organization\",\"name\":\"clavis berater soziet\u00e4t\",\"url\":\"https:\/\/www.clavis.biz\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.clavis.biz\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/05\/clavis-Logo_M.png\",\"contentUrl\":\"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/05\/clavis-Logo_M.png\",\"width\":441,\"height\":200,\"caption\":\"clavis berater soziet\u00e4t\"},\"image\":{\"@id\":\"https:\/\/www.clavis.biz\/en\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OData V4: Communication between App and Backend","description":"OData V4 (Open Data Protocol): Standard protocol for communication between SAPUI5 apps and the SAP backend systems:","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/","og_locale":"en_US","og_type":"article","og_title":"OData V4: Communication between App and Backend","og_description":"OData V4 (Open Data Protocol): Standard protocol for communication between SAPUI5 apps and the SAP backend systems:","og_url":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/","og_site_name":"clavis berater soziet\u00e4t","article_modified_time":"2025-07-08T09:14:28+00:00","og_image":[{"width":1920,"height":1126,"url":"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/","url":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/","name":"OData V4: Communication between App and Backend","isPartOf":{"@id":"https:\/\/www.clavis.biz\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#primaryimage"},"image":{"@id":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg","datePublished":"2025-07-07T12:58:53+00:00","dateModified":"2025-07-08T09:14:28+00:00","description":"OData V4 (Open Data Protocol): Standard protocol for communication between SAPUI5 apps and the SAP backend systems:","breadcrumb":{"@id":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#primaryimage","url":"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg","contentUrl":"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/06\/Hintergrund-HANA-Pixabay-m31-3613931_1920.jpg","width":1920,"height":1126,"caption":"Open Data Protocol_Image"},{"@type":"BreadcrumbList","@id":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/open-data-protocol-odata-v4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Start","item":"https:\/\/www.clavis.biz\/en\/"},{"@type":"ListItem","position":2,"name":"SAP Technologies","item":"https:\/\/www.clavis.biz\/en\/sap-technologies\/"},{"@type":"ListItem","position":3,"name":"S\/4 HANA programming model","item":"https:\/\/www.clavis.biz\/en\/sap-technologies\/s-4-hana-programming-model\/"},{"@type":"ListItem","position":4,"name":"Open Data Protocol (OData) V4"}]},{"@type":"WebSite","@id":"https:\/\/www.clavis.biz\/en\/#website","url":"https:\/\/www.clavis.biz\/en\/","name":"clavis berater soziet\u00e4t","description":"Beratung f\u00fcr SAP, mobile Anwendungen und Web-Entwicklung","publisher":{"@id":"https:\/\/www.clavis.biz\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.clavis.biz\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.clavis.biz\/en\/#organization","name":"clavis berater soziet\u00e4t","url":"https:\/\/www.clavis.biz\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.clavis.biz\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/05\/clavis-Logo_M.png","contentUrl":"https:\/\/www.clavis.biz\/wp-content\/uploads\/2024\/05\/clavis-Logo_M.png","width":441,"height":200,"caption":"clavis berater soziet\u00e4t"},"image":{"@id":"https:\/\/www.clavis.biz\/en\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/pages\/4907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/comments?post=4907"}],"version-history":[{"count":4,"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/pages\/4907\/revisions"}],"predecessor-version":[{"id":4929,"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/pages\/4907\/revisions\/4929"}],"up":[{"embeddable":true,"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/pages\/2750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/media\/1004"}],"wp:attachment":[{"href":"https:\/\/www.clavis.biz\/en\/wp-json\/wp\/v2\/media?parent=4907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}