‎2005 May 09 10:36 AM
Hi all,
I need to dynamically create a structure. The only thing I know is that the structure needs to contain n fields of type String.
Is this generally possible <b>whithout using the new generic types of WAS 6.40</b> and if yes - how would that work?
Thanks in advance!
Dominik
‎2005 May 09 10:53 AM
Hi,
Please check out https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1011. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] Hope it helps.
Regards
‎2005 May 09 10:53 AM
Hi,
Please check out https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1011. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] Hope it helps.
Regards
‎2005 May 09 11:37 AM
‎2005 May 09 1:18 PM
Can u close this message and reward the answers that helped you.
‎2005 May 09 11:26 AM
Hi,
You can do so using dynamic programs or subroutines.
But the thing is: the subroutine itself is generated dynamically. so will the structure. and whateve you need to do with the structure, has to be part of the dynamic code.
You will not be able to access it outside in the main program.
Hope you got it.
For syntax, see...
Generate a program
- GENERATE REPORT prog.
- GENERATE SUBROUTINE POOL itab NAME name.
PP.