Skip to Content
0

How to compare CUFD TypeID values against BoFieldTypes enum

Jun 26, 2017 at 11:09 AM

34

avatar image
Former Member

Hi,

I need to compare types of already installed fields with the ones I have in assembly.
Using C# and VisualStudio, current SAP SDK versions.

In that moment I have acquired all informations from CUFD table, so I have TypeID value from this table (examples like A for alphanumerical, D for dates etc.)

On the other side I have SAP service object which is giving me informations about Type of field but in the format of BoFieldTypes enumeration which is this one:

public enum BoFieldTypes  {  db_Alpha = 0,  db_Memo = 1,  db_Numeric = 2,  db_Date = 3,  db_Float = 4  }

The problem is that I have found value "B" in the CUFD table, TypeID column and actually I am not sure what is that value. This is letting me to be not sure about correct checking each time.
In general I would like to make it stable.

So anyone know how to make this comparison well ?
How to compare values in TypeID column in CUFD table against BoFieldTypes enumeration values ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers