Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

classes and methods

Former Member
0 Kudos

hi all

how to find the use or purpose of CL_RECA_DDIC_DOMA and the methods declared in it.

3 REPLIES 3

uwe_schieferstein
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

> 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.