‎2006 Apr 07 7:24 PM
Hello,
I spent the last two days searching for information on ABAP objects with table-like attributes in combination with persistent classes. I have found several sites explaining persistent classes, but nowhere is an example of objects with table-like attributes. On this site http://help.sap.com/saphelp_47x200/helpdata/en/d9/b84508bc9411d4b2e80050dadfb92b/content.htm, one of the last sentences is "You will need to map a structure (or structures) if you want a persistent object to contain table-like attributes". Nothing more.
Can anybody post a link to a site or forum thread where this topic is addressed? Are there sample programs in SAP with such classes?
Thank you,
Björn
‎2006 Apr 07 7:30 PM
In SE80 go to "other object" in Dictionary tab you have "Table Type", you must create one of those, and use like atribute in class.
Good luck.
‎2006 Apr 07 8:29 PM
Hello,
it's not a problem to create table-like attributes. The question is: How can I use table-like attributes in persistent classes? How do I leverage the "structure mapping" offered by the Mapping Assistant of SE24?
Björn
‎2010 Jun 22 1:28 PM
Hi,
I'm also looking for information on this topic.
Like Björn I only found the help.sap.com link. Does anyone have further information about how to use structures to create table-like attributes?
Thanks in advance,
Sebastian
‎2011 Sep 30 12:08 PM
Hello,
any news on this topis? I am also very interested in how it's possible to map the table-like attributes via standard mapping tools.
Basically (sorry for a bit off-topic) I started to get interested in this when I had to solve the popular (but with Persistence services non-trivial) issue of how to keep the list of multiple references to the dependent table entries. Apparently, everyone seems to give up and get used to the limitation of having only simple reference attribute for keeping the reference of one persistent instance of dependent table. I tried to search a lot, but no one seems to have it solved or at least have it published. But yes, there is a way how to do it and it was even published. It can be found here, in training material for TechEd 2010, in CD266, Execrcise no. 5. This solved my problem. Sorry if you are familiar with that one - otherwise enjoy!
http://sapteched.com/vworkshop/presentations/CD266/CD266_Exercise.pdf
Michal
‎2013 May 16 3:42 PM
Hey there..
is here still no more information about this!?
How did you solve the problem.
I need to combine a selfmade database table and its text table for translation in a persistent class?!
Greetings,
Andreas