1. Create a Private Class
2. Declare a private attribute with reference to the same class, in which it is being declared.
3. Create a public static method with returning parameter, having a reference of the same class.
Yes it is supported in S4 HANA.
data: lo_ref type ref to object.
create object lo_Ref type ('ZCLASS').
call method lo_ref->('METH_1').
create object lo_Ref type ('ZCLASS').
call method lo_ref->('METH_1').
"If reusability is not the concern then we can go ahead with Open SQL only.
If reusability is needed then CDS is very useful also it can further be used in Odata & Fiori.
AMDP is useful when we want to have some very complex logic which requires looping and all also the need is to use SQL Script then we can go ahead with AMDP. But now with the birth of CDS table function we can use AMDP inside CDS."
If reusability is needed then CDS is very useful also it can further be used in Odata & Fiori.
AMDP is useful when we want to have some very complex logic which requires looping and all also the need is to use SQL Script then we can go ahead with AMDP. But now with the birth of CDS table function we can use AMDP inside CDS."
BOPF is Business Object Processing Framework which gives the power to make CDS CUD(Create,Update,Delete) enabled.
Append always add the new row at last position where in Insert we can specify the the Index for the new row
Annotation is something which starts with @ and it makes the CDs semantically rich data model.
A window is a place holder where the Views are embedded. Views define the actual visuals on the screen
BDC deals with the Screen so in future if the BDC related screens are changed by SAP as part of upgrade then BDC might stop working correctly.
Yes, using Viewcontainer and Plugs