08-27-2007 8:25 AM
hi all
how to find the use or purpose of CL_RECA_DDIC_DOMA and the methods declared in it.
08-27-2007 5:25 PM
Hello Kiran
The use of the static methods is quite straightforward:
EXISTS Does Domain Exist?
EXISTS_VALUE Fixed Value Is in Domain (Y/N)? -> returns 'X' if true
CHECK_VALUE -> same like EXIST_VALUE but raises exception
GET_COMPLETE Supplies All Technical Info [of domain]
GET_TEXT_BY_VALUE Supplies Text of Entered Fixed Value
GET_VALUE_BY_TEXT Supplies Fixed Value for Text Entered
GET_VALUES Supplies All Values of Fixed Values
Regards
Uwe
08-27-2007 11:21 PM
You can always find the methods for any class by displaying the class in the Class Builder, which can be accessed through SE24, or through the Information System, SE84.
Enter the name of the class in question and select to display it.
When it displays, it show you a list with the methods by default:
e..g
EXISTS StaticPubl Does Domain Exist?
EXISTS_VALUE StaticPubl Fixed Value Is in Domain (Y/N)?
CHECK_VALUE StaticPubl Do Not Show "Complete Period" (Exc.)?
GET_COMPLETE StaticPubl Supplies All Technical Info
GET_TEXT_BY_VALUE StaticPubl Supplies Text of Entered Fixed Value
GET_VALUE_BY_TEXT StaticPubl Supplies Fixed Value for Text Entered
GET_VALUES StaticPubl Supplies All Values of Fixed Values
GET_SINGLE_VALUE StaticPriv Supplies All Values of Entered Fixed Value
FILL_BUFFER StaticPriv Buffers All Fixed Values of a Domain
MAKE_DISTINCT_TEXTS StaticPriv Adjusts the Fixed Value Texts to Be Unique (If Neede
FILL_MISSING_TEXTS StaticPriv Fills Missing Texts with Keys
Within this you can drill down to the source code by double clicking on a method, or click on the parameters button to get a list of parameters and their definitions, etc.
You are also able to see other class-related info from this screen, such as events and attibutes.
Good luck
Brian
08-28-2007 3:36 PM
> hi all
> how to find the use or purpose of CL_RECA_DDIC_DOMA
> and the methods declared in it.
hi kiran,
Go to se24,is class builder and write ur class in object type.and goto display mode.u will get methods of that class.they are
EXISTS StaticPubl Does Domain Exist?
EXISTS_VALUE StaticPubl Fixed Value Is in Domain (Y/N)?
CHECK_VALUE StaticPubl Do Not Show "Complete Period" (Exc.)?
GET_COMPLETE StaticPubl Supplies All Technical Info
GET_TEXT_BY_VALUE StaticPubl Supplies Text of Entered Fixed Value
GET_VALUE_BY_TEXT StaticPubl Supplies Fixed Value for Text Entered
GET_VALUES StaticPubl Supplies All Values of Fixed Values
GET_SINGLE_VALUE StaticPriv Supplies All Values of Entered Fixed Value
FILL_BUFFER StaticPriv Buffers All Fixed Values of a Domain
MAKE_DISTINCT_TEXTS StaticPriv Adjusts the Fixed Value Texts to Be Unique (If Neede
FILL_MISSING_TEXTS StaticPriv Fills Missing Texts with Keys
double click on each method you will get the answer.