Skip to Content

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.

/wp-content/uploads/2013/10/capture_20131015_061511_297854.png

Method GET_IT_FLAT_1:

/wp-content/uploads/2013/10/capture_20131015_061806_297855.png

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:

/wp-content/uploads/2013/10/capture_20131015_063837_297856.png

Lets run this method:

/wp-content/uploads/2013/10/capture_20131015_064102_297860.png

/wp-content/uploads/2013/10/capture_20131015_064136_297861.png

/wp-content/uploads/2013/10/capture_20131015_064209_297862.png

The result :

/wp-content/uploads/2013/10/capture_20131015_065103_297866.png

/wp-content/uploads/2013/10/capture_20131015_065413_297867.png

/wp-content/uploads/2013/10/capture_20131015_065535_297868.png

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.

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply