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: 

Nested Abap Type 1 structure

Former Member
0 Kudos

Could anybody provide an example of existing nested Abap Type 1 structure?

Update: The structure should already exists and used as a parameter type for the remotely enabled function module. I could only access the function, not to write abap code.

8 REPLIES 8

Former Member
0 Kudos
DATA: BEGIN OF itab OCCURS 0,
        itab1 LIKE mara,
        itab2 LIKE vbak,
      END OF itab.

Former Member
0 Kudos

Hi Sam,

you mean something like this..

data  begin of itab.
     include structure vbak.   
data end of itab.

regards

satesh

Former Member
0 Kudos

Sam,

I am not sure of what TYPE 1 is, but here is a example of nested structures.

Begin of itab1 occurs 0,

field1 type c

field2 type c

end of itab1.

Begine of itab2 occurs 0

field3 type c

table1 type itab1.

end of itab2.

ITAB2 is a nested internal table structure.

Regards,

Ravi

Note : Please mark the helpful answers.

0 Kudos

Thanks everybody. I was not specific, sorry. Please read my update at the thread's top.

Former Member
0 Kudos

Sam,

If that is the case, you will have to create the same structure as that of the function parameter in the SE11 - Data dictionary.

You can create table types also in SE11.

Regards,

Ravi

0 Kudos

Hi,

If you want to create nested structures.

Go to SE11.

Create a structure.

And in the structure field

Give the field name and then the create a LINE TYPE of the structure you want to reference.

0 Kudos

Thanks everybody for SE11. Unfortunately I could not modify SAP System. As I wrote in update: The structure should already exists and should be used as a parameter type for the remotely enabled function module. I could only access the function, not to write abap code.

Probably, nobody encountered nested structure used as a parameter type for the remotely enabled function module?

Former Member
0 Kudos

Hi Sam,

you can create your nested structure in se11.

use .INCLUDE in the field name part and specify the name of the structure in the DATA ELEMENT Part..

regards

satesh