on 05-06-2005 12:48 AM
HI , Can any one suggest me on how to declare a <b>private section</b> for an user defined class. The reason is i want to create an internal table with user defined fields.
I tried declaring with type groups with in the private section, but i <b>couldn't activate</b> the changes.
Can you please help me on this issue.
TIA
Swaroop
hi swaroop,
when u talk in terms of ABAP Objects, so classes can be either Local or Global. Local Class u have to declare in your report itself, and global class u can edit using SE24 transaction.
so first clear it that u like to declare a global or local class.
and if it's global class, then u just have to set VISIBILITY attribute of that class as private. so i think simply by doing this it will work.
So hope its clear to you.
Regards,
kamaljeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swaroop,
Do you mean you want to create an internal table as a private attribute of a user-defined class?
If so, you can create a class using se80, declare the internal table (specifying the appropriate table type) with visibility "Private".
If I understood incorrectly, please clarify.
Regards,
Rohini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.