help to define deep structure in export parameter
I want to build FM that the export parameters is type deep structure ,
i want to retrieve for every employee 1 line with the employee number and table with all employee
employee number address <- the parameter address i want to get i one line 123 abcd cccc aaaa employee number address 456 cddd wwww bbbb
i want to get the parameter adress in one nested line i.e if i have 10 employee i just
have 10 entries and when i double click on address i get the address of the employee (one or more).
i try to create in export parameter a table type with structure with fields:
1. employee type char 10
2. address like structure of address
and i do loop and append the address like wa_type-address-address but it's not working,
i still get table with lines that dependent on the user address
what I miss here?
Ivan Femia replied
create in DDIC a TT (ZADDRESS_TT) with this line structure
ADDRESS TYPE CHAR128
.... any other field...
Then create a New TT (ZEMPLOYER_TT) with line structure
EmployerId TYPE INT4 <-- everything you prefer
Addresses TYPE ADDRESS_TT
Then in FM export use EMPLOYER_TT