We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-abap] Defining Multiple Fields in One in MARA... Is That Possible?

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2014 Ziff Davis, LLC. and message author.
Ziff Davis, LLC. 28 E 28th Street New York, NY 10016
Lukasz Pegiel  

IT/IS Professional/Admin/Staff
achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Have a technical question? Need to find IT solutions? Ask your peers in the Toolbox for IT community.

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language