Check out the Iterator design pattern implementation in ABAP Objects – another behavioral design pattern. What is an Iterator ? Iterator design pattern is to provide a way to access the underlying object collection without exposing the underlying representations. Iterator decouples the logic to access the collection of objects out of the Collection object itselft….
Composite allows clients to access individual object and composition objects in uniform way. What is Composite? Clients needs to work with hierarchical collection of objects – both “Primitive” and “Composite” objects. Primitive (individual) objects processing would be handled differently than the Composition of the objects. So, we will compose a tree structure which would contain…
Adapter design pattern, another widely used design pattern in the real world as well as the Object Oriented Programming language. Standard SAP developments build in OO ABAP also uses Adapter DP a lot. What is Adapter Adapter converts the objects which are incompatible due to the difference in the “Interface”. By implementing Adapter, we can…
Lets check out one of the simple and most used Design Patterns in Object oriented programming – Facade or Façade (Pronounce as /fəˈsɑːd/) in ABAP.
Many times, I have received the request to disable Delete Function on Attachment list of the Generic Object Services (GOS) in SAP. Option in question This delete option on the GOS attachment list, is in the question. Authorization Object S_GOS_ATT Authorization object S_GOS_ATT was introduced in recent support pack releases. Check out the OSS Note…
In SAP ABAP, we can create Local Class as well as Global Classes in class builder. We can create them in the class builder as well. Lets see when it is OK to use Local Class and when we should refrain using it. What is Local Class Local classes are defined within an ABAP program….