Application Development and Automation 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: 
Read only

Deep structure into smartform

former_member202818
Active Contributor
0 Likes
4,398

Hi,

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

pls help....

Regards

Sreekanth

1 ACCEPTED SOLUTION
Read only

rosenberg_eitan
Active Contributor
0 Likes
4,074

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
Read only

rosenberg_eitan
Active Contributor
0 Likes
4,075

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.

Read only

0 Likes
4,074

hi Eitan,

            Great Post..

Thanks

Read only

0 Likes
4,074

Hi Eitan,

how can i solve this.

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

Plz replay..

Regards

Sreekanth

Read only

0 Likes
4,074

Hi,

- Use the import tab.

- Use "type" not "like"

regards.

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

Read only

0 Likes
4,074

Hi,


Thank you very much.


It is very rewarding to be of help.


Eitan.

Read only

0 Likes
4,074

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

Read only

0 Likes
4,073

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.

Read only

0 Likes
4,073

hi,

How u defined  TP_SCARR_1_TAB  in ur class?

Regards

Sreekanth

Read only

0 Likes
4,073

Hi,

See here:

Read only

0 Likes
4,073

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