Application Development and Automation 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: 
Read only

Search for Class constants in ABAP sourcecode

0 Likes
2,838

Hi All,

i am searching for a program which returns the constants created in ABAP class ( se24 ) across landscape in a tenant.

RS_ABAP_SOURCE_SCAN is returning the results but i need specific results for only class constants.

can you please help?

Thanks,

Ravi.

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
2,199

If you're a SAP employee, you should ask your SAP colleagues, you should get more precise answers than a forum with non-SAP volunteers... If you're talking about constant members, did you consider looking at table SEOCOMPODF? (it's only for class pools of course, but your question is not very precise so I can't be precise either)

What means "across landscape in a tenant" in the context of ABAP source code?

Read only

0 Likes
2,199

Hi ,

I mean 'irrespective of packages ' in ABAP.

Thanks for your instant reply.

i have checked and this information will help for me.

Thanks,

Ravi.

Read only

former_member1716
Active Contributor
0 Likes
2,199

ravichandra.kss,

if you look at the selection screen of the report there are many options for filtering the data, below screen shot for your reference. You can try out the options:

Regards!

Read only

stephenl1
Participant
2,199

Try looking in table VSEOATTRIB and searching for your attribute value using field ATTVALUE (Attribute value),

the following fields are most useful

- CLSNAME - The class holding the constant value

- CMPNAME - The name of the attribute constant field

- LANGU - The language of the constant

- DESCRIPT - The description of the constnat

- ATTDECLTYP - The attribute type (set to '2' for constants)

- ATTVALUE - the value of the attribute.