Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Deep structure into smartform

former_member202818
Active Contributor
0 Kudos

Hi,

    How to pass an internal table of type deep structure into smartform as interface parameter?

pls help....

Regards

Sreekanth

1 ACCEPTED SOLUTION

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

Have a look here.

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

this is dealing with deep structure define in a class but the principle is the same

regards.

10 REPLIES 10

rosenberg_eitan
Active Contributor
0 Kudos

Hi,

Have a look here.

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

this is dealing with deep structure define in a class but the principle is the same

regards.

0 Kudos

hi Eitan,

            Great Post..

Thanks

0 Kudos

Hi Eitan,

how can i solve this.

So i can't have a Internal table of type deep structure?

Plz replay..

Regards

Sreekanth

0 Kudos

Hi,

- Use the import tab.

- Use "type" not "like"

regards.

p.s. You can download the smart form source from the article .

0 Kudos

Hi,


Thank you very much.


It is very rewarding to be of help.


Eitan.

0 Kudos

Hi,

    Still i am not getting 'GIT_FLIGHT' as an internal table. I am new in abap plz help.

i have noticed that you were not used 'OCCURS' with your type declartion.

Regards

Sreekanth

0 Kudos

Hi,

I find it much easier to retrieve the data in the driver program and pass the data as parameter (see http://en.wikipedia.org/wiki/Separation_of_concerns)

If you want to put the code in the form itself please move the declaration of to the "global data" tab.

Also see programs SF_EXAMPLE* in package SMART

Regards.

0 Kudos

hi,

How u defined  TP_SCARR_1_TAB  in ur class?

Regards

Sreekanth

0 Kudos

Hi,

See here:

0 Kudos

hi,

    Got it... thanks a lot.

   TYPES:

      tp_scarr_1_tab TYPE STANDARD TABLE OF tp_scarr_1 WITH NON-UNIQUE DEFAULT KEY .

regards

sreekanth