Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Lukasz Pegiel on Mar 29 at 7:37 AM If I would need to store values for 35 checkboxes in one field I would create a field of length 35 (or more if you want to prepare yourself for the future) and then at each position of that field I would keep value for separate chexbox, like: 'X X X X ' would mean that checkboxes 1, 4, 7, 12 were selected. It's easy to build a function to move such content of a field to 35 fields on the screen and back, because you'll still have to define them on the screen and probably also in dictionary under a structure wchich has 35 fields of lenght 1 char. This would be then easy to extend it with new checkboxes later but this solution makes that searching by this field will not be easy. Regards Lukasz abapblog.com
| | | ---------------Original Message--------------- From: neobat Sent: Friday, March 28, 2014 9:30 PM Subject: Defining Multiple Fields in One in MARA... Is That Possible? Hi all, I added a couple of fields in the past in MARA and now the requirement is to add 35 more (yes, 35 more!!, what is this company thinking!!) But all of these fields are pretty much the same type and description except for the value, meaning is the same field repeated. The field name is called Extra so I will need extra1, extra2,.... extra35 So I was thinking that instead of defining 35 fields I could just define only one as zzextra, but on the screen I could represent them with 35 checkboxes and what is going to be store in the table for that field will be a long text for the checkboxes selected as 1;2;5;33 (if checkbox 1,2,5, and 33 were selected) What do you think of this? Is this possible? or any other input on how I can accomplish this? Thanks, neo | | Reply to this email to post your response. __.____._ | _.____.__ |