Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

acess static attributes in post-exit of class method

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.

Former Member
Not what you were looking for? View more on this topic or Ask a question