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

Nested Abap Type 1 structure

Former Member
0 Likes
1,160

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

Former Member
0 Likes
977
DATA: BEGIN OF itab OCCURS 0,
        itab1 LIKE mara,
        itab2 LIKE vbak,
      END OF itab.
Read only

Former Member
0 Likes
977

Hi Sam,

you mean something like this..

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

regards

satesh

Read only

Former Member
0 Likes
977

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.

Read only

0 Likes
977

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

Read only

Former Member
0 Likes
977

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

Read only

0 Likes
977

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.

Read only

0 Likes
977

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?

Read only

Former Member
0 Likes
977

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