Bopf
Bopf
With BOPF, you have a framework at your disposal with which you can
seamlessly integrate different components of business applications.
When using BOPF you don’t have to care about the development of adapters
or integration layers to consume the following components .
(Link: https://sapyard.com/bopf-for-beginners-part-1-introduction/)
Links : https://sapyard.com/bopf-for-beginners-part-1-introduction/#:~:text=Add%20Sub%20Nodes
%20of%20types,share%20your%20project%20use%20case
FOR DETERMINATION
https://blogs.sap.com/2020/12/10/determination-in-bopf/#:~:text=Step1%3ARun%20Tcode%20BOBT
%20and%20open%20your%20Business%20Object.&text=Step3%3AOnce%20you%20click
%20on,implemented%20in%20Determination%20Implementation%20Class.&text=Conclusion%3A
%20Here%20you%20can%20add,save%20it%20in%20the%20database
bopf :
This framework provides tools and services for entire BO life cycle.
the main bopf application itself acts as bridging unit between the various
components.
BOR:
The Business Object Repository (BOR) is the central access point for the SAP
business object types and their BAPIs.
BO:
With the use of Business Objects, all services are provided in the form of
executable methods.
Transient layer:
Persistent layer :
One of the nice things about the BOPF is that it is rather flexible at the
persistence layer. Though the end goal is normally to store BO data within
the database, the framework also supports data buffering via shared
memory as well as the definition of transient nodes and attributes that are
loaded on demand.
Persistent:
1. Standard node is the node which we create for Item detail under
header as seen above.
2. Delegated node is the dependent node which we can use as per
our requirement, things like Attachment folder, Text collection can
be used in any particular node as and when required.
3. Business Object Representation Node or Cross BO node are
nodes of other BO as the name says “CROSS”. The framework is well
designed to integrate these functionalities. All we need to know is
the particular constant interface of the BO and we are well to go
which we will come to know as we work with BOPF.
Actions ----- Actions are assigned to individual nodes within a BO. We need
to call externally to execute action.
Parent Key which node we created that have parent node …that
node have key means that’s parent key.
Root key --- Normal node key only called root key.
Types of determinations?
2) Determination pattern?
Goto bob -> create custom business object ->create root ->right click on
root ->create dermination.
Popup will appear -> click continue -> and give determination name(starting
any letter) and description->it will show implementation class name (we
need to mention starts with ‘z or y’ only ->continue -> continue->click root
check box->completed.
Use
Nodes can be used to define and structure your business object. The
attributes of a business object node are defined by dictionary data types.
Dependencies
Nodes can be hierarchically defined and related. Each business object has at
least one root node. Nodes are defined via compositions in a tree, but nodes
can also be related in an arbitrary structure via associations
Example
•ROOT
•ITEM ZBOPFSTUDENT_INFO
000C299CFB221EDB9BF517AD0B227D81 INFORMATION
•PARTY
perform determination:
Functionality
This method executes the determination and has access to modify node
data.
Result
Parameters
Exceptions
/BOBF/CX_FRW
Notes
ZBOPFSTUDENT_INFO INFORMATION
ZNM_ASSOC2 association
ZNBOPF_CREATION
ZLS_BOBF_ASS
https://sapcodes.com/2020/07/17/fiori-element-cds-view-with-bopf-crud/
--------->bopf cds and odata integration
bopf connection with cds and odata only works for display mode and it not
creates any entity or entity set in odata so we can't add custom fields.
Standard node is the node which we create for Item detail under header as
seen above.
Delegated node is the dependent node which we can use as per our
requirement, things like Attachment folder,
Text collection can be used in any particular node as and when required.
of the BO and we are well to go which we will come to know as we work with
BOPF.
2nd assignment
ZMN_BOPF_ASS3
ZLS_BOPF_ASS1