03-21-2006 3:38 AM
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.
03-21-2006 3:40 AM
DATA: BEGIN OF itab OCCURS 0,
itab1 LIKE mara,
itab2 LIKE vbak,
END OF itab.
03-21-2006 3:41 AM
Hi Sam,
you mean something like this..
data begin of itab.
include structure vbak.
data end of itab.
regards
satesh
03-21-2006 3:43 AM
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.
03-21-2006 3:45 AM
Thanks everybody. I was not specific, sorry. Please read my update at the thread's top.
03-21-2006 3:47 AM
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
03-21-2006 4:04 AM
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.
03-21-2006 9:31 AM
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?
03-21-2006 3:51 AM
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