Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
rosenberg_eitan
Active Contributor

Hi All,

As I mention in part 1 Deeper Dive into Deep structure - part 1

Class Y_R_EITAN_TEST_31_02_CL will get some extra roles. so lets add some methods.

Method GET_IT_FLAT_1:

Notice that all the parameters are defined in the PUBLIC SECTION of the class.

The S* parameters are range type . 

Method GET_IT_SCARR_1:

Lets run this method:

The result :

This SE24 feature is very nice since we can verify that our data model is complete even before we use it at later development.

Installation:

Create the class.

GoTo->public section

Open Y_R_EITAN_TEST_31_02_CL.PublicSection.txt with your text editor.

Open copy & paste the public section to the class this will create the types and empty methods.

For each method copy & paste the code:

Y_R_EITAN_TEST_31_02_CL.GET_IT_SCARR_1.txt
Y_R_EITAN_TEST_31_02_CL.GET_IT_FLAT_1.txt

This is all for now until next time when we use the deep structure in a smart form.

http://scn.sap.com/community/abap/blog/2013/10/22/deeper-dive-into-deep-structure--part-3

Regards.

1 Comment