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: 

acess static attributes in post-exit of class method

former_member223165
Participant

Hi Team,

I have written post-exit for method SAVE_EXPENSE_REPORT of class CL_FITE_ASSISTANCE.

I need to access static attribute of class CL_FITE_ASSISTANCE in post-exit of

method SAVE_EXPENSE_REPORT (which is static method).

I tried adding method(public) in enhancement of class, in that accesses the attribute then called that method using core_object in the exit.

It is throwing error as 'Within a static method, you can only access static attributes without further specification'

Can anyone help me to access the static attribute in post-exit of static method.

Regards,

Santhoshi.

1 REPLY 1

former_member223165
Participant


solved by myself .

calling by class name=>attribute name