sap odata mpc_ext define. Hi all, Iam trying to update object with header and items to perform deep entity insert. sap odata mpc_ext define

 
Hi all, Iam trying to update object with header and items to perform deep entity insertsap odata mpc_ext define  How to you treat in UI5 the return of insert data table?SAP changed from an internal to ISO standard currency code in the OData APIs to be compliant with ISO standards which led to the change of the property length from 5 to 3 in OData V4 services

class ZCL_ZFAR_CUSTOMER_LINE_MPC_EXT definition: public: inheriting from ZCL_ZFAR_CUSTOMER_LINE_MPC: create public . Select, filter,. You will then see Device Types tab. In the table, enter the name of the OData service. Click on the Direct Type Entry button. The "Einzelrollen" element is supposed to be a child of the "Rollen" element, as you can see when looking at the hierarchy-level / nodeid / parentNodeId. 0, and can register odata service from gateway for Timesheet approval (HCM_Timesheet_approve_srv) and trigger succesfully. Any consumer or provider of SAP who can call REST. Refer. You can use it to send batch requests, define functions for reusable procedures, and discover changes, among other things. Hi, We have a requirement where we have to achieve a Tree Table data binding. The OData v2 protocol allows the use of annotations in the metadata document . Create Entity Sets. Data provider class provides the methods to Data provider Extension class, so developer can implement the functionalities for database interaction. Right click and select Workbench. 2 for Data provider and 2 for Model provider. 52 as I couldn’t find any detailed. Entity Type 3 – ord_comp. The weird thing about this is, that the Tree-Annotation-Binding seemed to work, since the drillState element functions the way it should be --> the elements below the "Langtext"-element don't. . In my earlier blog Let’s code CRUDQ and Function Import operations in OData service! we understood the basic operation performed in OData service. Each filter field is displayed only once in the Adapt Filters dialog. IV_BIND_CONVERSIONS. Add service methods to ZCL_ZFAR_CUSTOMER_LINE_DPC_EXT class. You will get the annotations of the original service – This is because of Configuration in point 6 and point 7. No luck. Creating OData Mobile Data Object handler class. Is it possible to add annotations like sap:nullable, sap:filterable etc. Navigation-1 – HeadItemO. But The static variable will only persist the incremented value only if there the soft state is activated else (makes sense) else it will always show the value ‘1’. Now GET_ENTITYSET method is redefine and we have to write our logic inside the method. CDS View: Annotation. Just to get a feeling for how such a file and the definition of an action on OData level looks like (remark: it’s a mocked metadata. ABAP Unit Test meets Legacy Code. 1) Annotate the view with @ObjectModel. To configure a well-defined SAP Gateway OData service, complete the following steps in your SAP system. You want to modify the service with custom code implementations. Customers, please check consumption of your OData APIs and reprogram / adjust implementations that rely on the property length for currency. METHOD DEFINE . This requires you to specify only the key from the principal entity. For more. The linking from option 2 can be done in the MPC_EXT class (redefine the define method). Create Table Type. Generating the Runtime Artifacts redefines and implements the following operations in the data model provider base class: Create, Read, Update, Delete (CRUD), and Query. public section. With RDS, the SADL framework automatically implements the methods that are necessary for retrieving modifying data with OData in the data provider class (DPC). Deep Insert oData Steps: Go to T-Code “SEGW” (ECC Server). Go to T-Code “SEGW” (ECC Server). is it also possible to set the annotation "sap:semantics: fixed-values" for the entity set directly in the CDS-View? I use the "OData. 2. SAP Fiori Inbox extension is a common extension scenario in most of the S/4 HANA Projects . We use the BOPF consumer api in the odata service. Create Upload Service. You will get the annotations of the original service – This is because of Configuration in point 6 and point 7. From this list we can select required commodity code. In the Importing there a structure called et_entityset that gets assigned the. The trick is basically the the get_entityset method in the DPC_EXT class is redefined and manipulates the navigation Information that is passed to the SADL Framework before it is calling the SADL implementation in the super class. You have to redefine DEFINE method of MPC_EXT class, the runtime artifact after service generation: super->define( ). methods DEFINE: redefinition . Open the MPC extension class of the target service, ZCL_ZEXTEND_SALES_ORDE_MPC_EXT. ui. Click to access the full version on SAP for Me (Login required). Next, I created an SEGW project for a media-enabled OData service with the sole purpose of handling the ‘Preview’ request to be triggered. We consume this RFC in oData Service in such a manner, so that in a single call via one EntitySet, oData Service should return multiple EntitySet output (which is mapped from multiple table output of RFC). Label,. Paste the below attached payload in HTTP Request block and execute. We have an OData service built using service binding according to ABAP RAP. g. Example Scenario: The case at hand is to. String, length 1000. This scenario is suitable when the data is modelled through the entities in SEGW. Enter Project Name, Description and assign the project to a Package. Going forward with OData 4. Here the property can be handled by redefining the DEFINE method of MPC_EXT class of the OData New techniques. Any suggestions? Property type valdt - Edm. Go to the Types and declare a type: types: BEGIN OF ts_deep_entity. Enter and assign the project to a. This scenario is suitable when the data is modelled through the entities in SEGW. SAP List Report-Selection Mandatory with default value. Create an ABAP domain named ZORDER_STATUS_DOMAIN containing status list as displayed in previous screenshot. OData offers the ability to be extended to meet any special requirements for your RESTful APIs. The properties of an entity can be annotated using the Model class ( MPC_EXT ) before the service’s metadata is. Recommended reading. Now click on Generate button. METHOD test_odata_request. Function Import to Actions. SAP Editable ALV Grid Sample Code. Introduction. The selected implementation class opens in the Class Builder. DATA: lo_ann_target TYPE REF TO /iwbep/if_mgw_vocan_ann_target. Assign text symbol to all fields which you plan to use in value help. You may choose to manage your own preferences. Here are some samples on how we used it. ENDCLASS . Get link; Facebook; Twitter; Pinterest; Email; Other Apps; April 28, 2020. iv_uuid = CONV #( 'Z_SRC_RDS' ) (If you. 2. Its available SAP Cloud Platform and also on-premise from S4HANA 1909. From the Authorization Default menu, choose TADIR Service and enter the following data: Program ID: R3TR. Function Modules and Table Types are not detailed enough: As Fn. Step 2: Redefine the MPC_EXT “DEFINE” method and call the below code. A query provides read-only access to the database and it is. The Reference Data Source Wizard opens. After regenerating run time object, we can see sap:text=”POTypeDesc” for property POTypeKey of Entity “POType” in the metadata. 10. I have tried to replicate a similar operation through Flight Tables. Select the GET_ENTITYSET method and click on REDEFINE button. Generating an OData service via Referenced Data Source. Now right click on the service definition and create a new Service Binding. With the use of annotations and Smart components like SmartTable you can minimize the UI View code to be written for conventional scenarios like listing and filtering data. The CDS view created was used as a Data Source and transaction behavior were managed through Gateway methods overriding the MPC_EXT and making specific entity as sap:creatable. Value Help F4. You redefining existing (SAP standard) SEGW project where code based annotations are used. Valdt is null then '00000000'. This field control can contain numbers and "7" means mandatory. 1. Then, create the deep structure & activate. If the class open in ‘Display’ mode than convert it to ‘Change’ mode. DATA : lo_entity_type TYPE REF TO / iwbep / if_mgw_odata_entity_typ , lo_property TYPE REF TO / iwbep / if_mgw_odata_property . The service implementation will leverage two CDS consumption views ZE2E001_C_SalesOrder and ZE2E001_C_SalesOrderItem that read their data from the. The above mentioned annotations are generated if we add the following coding to our DEFINE method of the MPC_EXT class. String, length 1000. This is quite unfortunate since most of the OData services hat have been delivered with SAP S/4HANA are based on RDS. End Result –. We have two systems CED for Backend. 1. Open CL_FDP_EF_PURCHASE_ORD_MPC_EXT class (t-code SE24). Click on Save. Regards, Beat When building an OData service using the Reference Data Source (RDS) approach SEGW generates a data provider extension class with the extension “_DPC_EXT” and a model provider extension class with the extension “_MPC_EXT”. Go to transaction Activate and Maintain Services ( /IWFND/MAINT_SERVICE ). These Methods will be generated as shown above. Save and generate. Double click on Entity type and mention etag field under Etag column as shown below. Test. So far so good, nothing new, except for the MPC and DPC classes. My CDS views are shown below at the code section. Following is a snippet of the item CDS entity which will be represented as a table in the ui of object page. To explicitly define which field groups you want to display in the Adapt Filters dialog, use the UI. I'm trying to make a fiori elements/smart field a value list in the search area like this: I can easily do this by modifying the mpc_ext class for a SADL CDS Gateway service, but I'm trying to do this for a CDS view that is exposed directly as OData. to a property of an entity of this service? In SEGW-based OData service, we can do this by selecting the checkboxes or by redefining method. Enter the Odata Service name in “Technical Service Name”. tell whether an entity set allows inserts, updates, or deletes, whether it requires a filter, and which properties can be used in filter expressions. in ZCL_G00_JP_SO_MPC_EXT. BCALV_DND_01 – Drag ALV Row to Tree Folder. * CATCH / iwbep. Z_CL_ Project_Name _RDS_DPC_EXT. Any enhancement related to Model/Service Implementation which includes adding of custom code/manual code, then it has to be done in MPC_EXT & DPC_EXT class. At the moment I have a value list dialog instead of a drop down list. DATA: lo_ann_target TYPE REF TO /iwbep/if_mgw_vocan_ann_target. Writing this as i searched several thread could not. Entity Type 3 – ord_comp. GET_EXPANEDE_ENTITYSET is the way to go. The intent of this blog is to describe how to create local unit test classes for. Entity Type-2- Item. I used an annotation like this: (in the method define of the. These methods of the DPC must not be. Navigation Definition . . supplying file name in response for browser. Another option is to extend the MPC_EXT class by redefining the method DEFINE and adding new properties to the entity type. Step 2. data provider class is base class for data provider extension class. And in the end there is a COPY_DATA_TO_REF ( EXPORTING IS_DATA = LS_STREAM CHANGING CR_DATA = ER_STREAM) – Kirve. Controller should appear in project under ext. The SAP classification system allows you to use characteristics to describe all types of objects and to group similar objects in classes. Entity Type 2 – ord_hdr. With List Report, we will cover QUERIES, Sevice Definition, Service Binding and SAP Fiori UI. When redefining a service, a new OData service generates a new Model Provider Class (MPC), and a new Data Provider Class (DPC). Recently I have come across a requirement to consume OData service from a different system in our system using ABAP programing. But that is also not working. Inside DEFINE method you are calling super->define ( ) for original service to add it annotation, later in the code you have inserted. INCLUDE TYPE zcl_material_mpc=>ts_zmaterial_ctype. Most of funcionalities was supported by generator. public section. Now open DPC_EXT class. Once generation is successful, you will get 4 classes. But in the method READ_EXPANDED_ENTITY (/IWBEP/CL_MGW_ABS_DATA) the value not passing to the structure cr_entity. Now let’s generate runtime artifacts. Activate it. publish-Annotation" for the generation of the oData-Service and in this case there is no mpc_ext class available in the Service . Create an entityset ‘TESTSet’ for the entity. TYPES BEGIN OF d. These are the techniques I would like to share: code based implementation. lo_complex_type type ref to. Keep the default class names as-is and click on enter button. 4. A Custom CDS Entity enables you to expose data using ABAP classes in the Application Server ABAP. 1] Re-define MPC. On the Menu tab, open the menu of the pushbutton for adding objects (+ pushbutton) and choose the object type Authorization Default. The method name to achieve the same is – DEFINE. Here are the steps to define and use a function import in SAP OData: Define the Function Import: In SAP Gateway Service Builder. Now let’s generate runtime artifacts. In the MPC_EXT class of your service, overwrite the define method. Once generation is successful, you will get 4 classes. Note Generation of MPC and DPC: Case 1: Overwrite Base/Extended Service - If you have redefined an existing service, an additional section Service Extension will appear in this wizard. We can create dynamic entity using Define () method of MPC_EXT class. Look at ‘ get_i18nProperties: function () ‘ which gets i18n file references. ABAP Unit Test – Implementing TDD. Then the below window will be open with the Data Source Parameter and the Data Mapping has to be done as follows. For OData version 4. In this blog, I will go through the steps necessary to connect a SAP Master Data Integration service instance with a SAP S/4HANA On-premise system. Click “Get Services”. SAP OM configuration and technical implementation are totally different compared to traditional output technologies (NAST, FI Correspondence, FICA Print Workbench, sapscript, smartform, PDF. Create one header database table as root, and another database table as item. DATA: lo_annotation TYPE REF TO /iwbep/if_mgw_odata_annotation, lo_entity_type TYPE REF TO. Load i18n properties references in ‘Component. This is important because its DPC_EXT and MPC_EXT classes which we will be using to add actions. If not Get Entity set. Click Add assignment – Give the service name generated (in point 1) and click “Enter”. Right click on the Data Model folder and select Redefine OData Service (SAP GW) from the context menu. methods DEFINE: redefinition . Below is the architecture of ABAP RESTful Application Programming Model to develop Odata services. OData MPC_EXT-DEFINE Code Collection; Mary Roopini A on SEGW – OData MPC_EXT-DEFINE Code Collection; Soko on How. Log in to complete tutorial. They also advertise capabilities that go beyond the base set defined by OData, e. Introduction. GET_EXPANEDE_ENTITYSET is the way to go. String , length 10. Create a new SEGW project -> Right click Data Model folder and select Redefine OData Service. Here the property can be handled by redefining the DEFINE method of MPC_EXT class of the ODataNavigation-1 – HeadItemO. This report illustrates how to set chosen cells of an ALV Grid Control editable. Select Create Project. This blog focusses on selection of data during the first level of approval in workflow and passing it over to the other level of workflows. DATA: lo_annotation TYPE REF TO /iwbep/if_mgw_odata_annotation, "#EC NEEDED lo_entity_type TYPE REF TO /iwbep/if_mgw_odata_entity_typ, "#EC NEEDED lo_complex_type TYPE REF TO /iwbep/if_mgw_odata_cmplx_type, "#EC NEEDED. Basic Object Page. String with a length. To create the actual service simply look in the “Service Implementation” folder and right click the “Create” operation and select “Map to Data Source”. Posted on: January 14, 2019 &vert; By: Pawan Kesari – 1 Comment. In order to create these annoations we are going to implement the DEFINE method of the model provider extenstion class (MPC_EXT) of our OData service implementation. Adding Annotation. Then create an ABAP data element based on this domain. After you have copied files to ‘cofile’ and ‘data’ folder of target system log on to target SAP system. We could implement a code block like so in the DEFINE method of the MPC_EXT class and add the desired term directly as an attribute of the produced oData property: The backend code would look something like: DATA(lo_entity_type) = model->get_entity_type( 'YourEntityType' ). Model Provider Extension Class (suffix _MPC_EXT): This is the implementation class that inheritsWe are making use of importing parameter iv_slug to get some of the information. tell whether an entity set allows inserts, updates, or deletes, whether it requires a filter, and which properties can be used in filter expressions. The Odata returns 200 OK code when I test using SAP Gateway client but it doesn't returns any metadata ( Entity Set ) . For information on how value help annotations are set in CDS, see the SAP NetWeaver documentation UI Annotations. Call the super->define method, which will create all the properties and the annotations already maintained. Else in /n/iwfnd/maint_service tcode, refresh metadata for that odata service. In this first blog about OData V4 code based implementation I want to show how to build a simple service that shows sales order header data alongside with its items. In this class, you can choose which methods of the base class you want to keep and. Additionally, you can use filter-restriction annotation to turn this filter interval as in from and to style. 1. We want to expose Sales Order data as Odata service thus we will need 2 entities – Sales Order & Sales Order Items. The SEGW project will have a model provider. Direction: drag from tree and drop in ALV control. The CDS view created was used as a Data Source and transaction behavior were managed through Gateway methods overriding the MPC_EXT and making specific entity as sap:creatable. MPC is used to define the EDM of your service. selectionType: #INTERVAL does that. 2. Here below are steps to achieve it. This example shows how to define a drag and drop behaviour using a drag and drop control. i have project in SEGW. The answer is simple: we provide the dictionary information to SAP Gateway Foundation. Right click on the folder Data Model. You have to perform all steps as described by Aron (except redefining Model and Data provider class methods). For the sake of simplicity we assume that the ABAP names are used in the OData metadata document. OData Service Examples w. METHOD define . Keep the default class names as-is and click on enter button. 1. As evident from the heading am not able to debug DPX_EXT methods because of External Breakpoints not triggering. 50, SP- 0011. While these steps can be applied to connect any other cloud systems with S/4HANA, this blog will primarily focus on integration with MDI service on SAP Business Technology Platform. Base Class The Base Class CL__<Project Name>_MPC generated will have DEFINE () method. In this case “Z_JW_BUSPARTNER”. If you want to put this information in into transport then provide the package. Note: This is just based on my understanding and the analysis I’ve done on it in the S4 system with ABAP 7. Fiori Element List Report uses batch processing. Giving your "date property" a type of edm. Go to SPAD transaction and first press Full administration button. lv_tech_clause. Go to oData Service project in t-code ‘SEGW’ -> Runtime Artifacts -> select and double click on oData’s ‘_MPC_EXT’ as shown in below screen; In next window of oData’s ‘_MPC_EXT’, select class folder ‘ZCL_ZTEST_ODATA_MPC_EXT’ Double. Right click on ZCL_ZTEST_MPC_EXT and select on Workbench option. In this example we are making a field as required by using Odata annotations. In general, there are three types of query options in OData: system query options (define the amount and order of data returned, eg. Entity Type 6 – return (created to hold multiple messages of type BAPIRET2) Then I also annotated my Entity and properties with "aggregate" and dimension/measure through MPC_EXT(redefining DEFINE method). SAPUI5: Annotation - Smartfield with Search Help. method DEFINE. Find “Runtime Artifacts” and select “…DPC_EXT” and “Go to ABAP Workbench”. I kept External Break-point in the DPC_EXT methods and. · Code the changes directly. We were able to create a record for the attachment folder and for the document item. It is however possible to redefine a reference data source based OData service and perform certain adjustments in the MPC_EXT and DPC_EXT class to achieve this goal. Your email address will not be published. METHOD define . All the fields in this window are editable. In SAP terms, Odata a platform/framework that can be used to create SAP objects or services that can be consumed from outside of SAP box to read or write data. Click on com. Naveen on How to upload Excel to SAP (using ABAP) Upamanyu Sarmah on S4 HANA Output Management – Introduction, Master Form Layout Edit and Setup. Reason is that only this way it is. 2. A service. If we implement any code in DPC/MPC while generating runtime object the code gets deleted. Here i am redefining DPC_EXT class methods to write my own logic. Then I have also tried adding custom property directly in CDS entity type 'C_MaintOrderComponentTPType' in Method define of MPC_EXT class using below code. Follow. SAP Editable ALV Grid Sample Code. Open an existing project you want to redefine. SEGW – OData MPC_EXT-DEFINE Code Collection. After you double click on a method in _MPC_EXT or _DPC_EXT, make some changes and regenerate the OData service, you find the changes disappear. In the ABAP Workbench, you should be able to find “CHECK_SUBSCRIPTION_AUTHORITY” in the “Methods” > “Inherited Methods”. You have to set The property for the EntityType to ‘ContentType’. Now, we are set with declarations and we can start the coding part. Data provider class provides the methods to Data provider Extension class, so developer can implement the functionalities for database. supplying file name in response for browser. To generate the classes and publish the service, proceed as follows: In the SAP Gateway Service Builder, right click the project name and click . Create a Gateway project: ZMEDIALNK_SB. In new service you added the additional code based annotation by redefining method MPC_EXT->DEFINE. DateTime. Model for SAP Fiori OData V2 service development options –SAP BS 7 & SAP S/4HANA Classic DDIC tables OData V2 BOPF BO CDS views Query Engine Classic CDS views business logic Query Engine Code based implementation Brownfield Greenfield DDIC tables Service Builder (SEGW) Service Builder (SEGW) Referenced / Mapped Data Source. Register the oData service. Enter the name of your CDS view in the field Object Name. Once the artifacts are generated redefine get_entity in DPC_EXT class to fetch multiple records. Here below are steps to achieve it. I have created odata v4 project in segw. MPC_EXT) super->define( ). The extension class is inherited from the MPC. Choose menu Overview->Imports. List of demo programs in SAP which explains SAP ALV Drag Drop functionality. I use these code in conjunction with Fiori Elements templates. Enter Change Mode, Select ‘Define’. Click on ‘Create Project’. Step 1: Extend/Redefine the standard OData Service. Use this option if: The CDS model and the CDS annotations fully specify the OData Model and the runtime behavior. Bind structure to Entity Type. DATA : lo_odata TYPE REF TO zcl_odata_v2_annotations. super->define( ). To configure a well-defined SAP Gateway OData service, complete the following steps in your SAP system. This document provides details for generating MPC for two Project Types: This is the Implementation class that inherits Base class. Entity Type 1 – notif. Head entity definition in MPC *HeRefine the List Report with Annotations. Now that we have an Authorization Object and a Authorization Field, we need to connect them with our CDS view to make it recognize the DCL. Redefine DEFINE method in metadata provider extension class. To access i18n properties, we need to load them in SAP-UI5 application. I have been checking format possibilities in SEGW and I have learnt to apply ALPHA format to some of my fields in MDP_EXT class but I cannot find the way to apply the decimal notation format to numbers. SAP Fiori, Beginner, SAP BTP, ABAP environment, Tutorial, SAP Business Technology Platform. Out of the box use of Email Template is in S4 OM. The next node is the “Service Implementation”. lv_tech_clause = YOUR_EXPANDED_CLAUSE. Annotation @UI. Naveen on How to upload Excel to SAP(using ABAP) Upamanyu Sarmah on S4 HANA Output Management – Introduction, Master Form Layout Edit and Setup; Pankaj on SAPScript symbols and formatting options; Mary Roopini A on SEGW – OData MPC_EXT-DEFINE Code Collection; Mary Roopini A on SEGW – OData MPC_EXT. 1. super->define( ). I cleared cache , deleted the service n added back. I added "Generated_ID" as a key because I read from a blog that aggregations do not work without a generic key like that. The SAP NetWeaver Gateway Service Builder opens. 11. 2. Create SEGW project and redefine FAR_CUSTOMER_LINE_ITEMS OData Service. Code-based implementation of an OData services built without CDS in the SAP Gateway Service Builder (SEGW) using the Model Provider (MPC_EXT) and the Data Provider (DPC_EXT) classes Recommendation If at least the existing custom code for the update task can be decoupled and reused, then the managed BO with unmanaged save. 9. @Consumption. class ZCL_ZANALYTICS_MATERIA_MPC_EXT definition public inheriting from ZCL_ZANALYTICS_MATERIA_MPC create public . Copy and paste the following coding into the DEFINE method. MPC – This is used to define model. 1. BCALV_EDIT_01 – Switch on and off the ready-for-input status of the entire grid. U can check the above link how to implement Create Deep entity method. you can àlso concante if you expand to multiply assosications. Open the Define_ Entity Name Method in either the _MPC_EXT or _MPC from the Runtime Artifacts folder and check if the following code snippet is available. You can create event listener method for event FINISHED and in this method you can code/call. Considering a basic scenario where i am using BAPI_PO_GETDETAIL which has multiple output tables and input is PO number. In webide you can choose context menu New->Extension. Again, to get this Dynamic Date Picker on date field we need sap:filter-restriction=”interval” in metadata of the property. When i click on the entityset it says "NO values found". Create Deep Entity. Now click ‘Save’ and ‘Generate Runtime Objects’. t. Step 2. 2. END OF ts_deep_entity . Double click on Properties and Click on Insert Row to add fields. 1. Behaviour definition projection . Annotation display-format will give you date picker in the field. MPC_EXT- This is an extension of MPC class when you can define your custom types and also used for changing the runtime information of the Data model. Ensure that the date oData property has below annotation. Go to the Model Provider extension class: MPC_EXT. Save it. From the menu choose Translation –> ABAP Objects –> Short Texts or choose Ctrl+F2. I would like to do this as part of the MPC_EXT class to not have to keep writing code in the frontend to hide the columns. Leave a Reply Cancel reply. The second version of the OData protocol allows you to add annotations to the metadata document; the purpose of the annotations is to add information and hints to the EDM elements. MPC Ext Class. Right click on the Data Model Folder. Creating OData Mobile Data Object handler class. This report illustrates how to set chosen cells of an ALV Grid Control editable. Click on the Change ( Ctrl+F1) button for editing. In order to implement this, we will re define ‘GET_EXPANDED_ENTITYSET’ Method of the Data Provider Class. Activate the SAP Gateway. ( /iwbep/if_mgw_med_odata_types =>gc_sap_namespace ). MPC Base Class : An automatically generated class for the MPC superclass of the specific model. 11. And in ‘ createContent : function. If the date property is part of a DDIC structure used for the entity definition, and that component is a DATS (elementary D type), then you can place a D type value in it directly, e.