How can we update the custom business object in our custom program if we want to update via interfaces as you mentioned not to use the DB SQL view or table name instead use the CDS view.
Hi Gurmukh, I am not pretty sure about your configuration requirements and volume of the configuration data that you put in the CBO. But, this is where we do control the data errors when entering them one after another using Fiori tile. But, if the data in the table is dynamically filled from an external partners then through CBO generated OData service. When considering ABAP layer, we can access OData service and create entries, or we can access generated BOPF classes for your CBO, or lastly you can insert entries in the DB table directly with right UUID and its required association details.
@@thaarasoft Thanks for the inputs. Actually, we have 1 transaction data for which custom business object is created and whenever linking PO is created(one field in CBO) then we need to update that custom business object with the PO value via incoming IDOC. so as you suggested we update the DB table directly but not sure whether table update is recommended. Any reference code to update via BOPF classes
hi Gurmukh, its difficult to describe here, but you can get the BO reference(UUIDs) using your alternate keys and use them in your ABAP code. You can find the generated BO info in your ADT.
We are adding the entries via Fiori App but generally we create the configuration custom tables to transport from development to produciton system. How can we achieve transport of entries for the custom business objects? Do we need to manually maintain entries in all the systems?
Hi Gurmukh, Yes, you are correct. We must maintain the entries in each environment. The main purpose of this way of doing is, we give full freedom to key users to maintain the entries on their own using a fiori tile in all the environments. This is where client saves time and program scalability.
Hi, Yes if you are trying to add a new field possible in two steps. Extend the API first and Adapt the UI secondly. But, if you want the custom screen on any action, then you must need a developer to help with. It will be pretty simple if you are using BAS(through guided development). There are other was too for developer but I do not want to confuse you here.
hi, Please identify the Business Context for it, and use the tile Custom Fields and Logic(CFL), you can add your custom field and implement any validations/determinations as well using Custom Logic