Skip to Content
author's profile photo Former Member
Former Member

attributes as enhancements are not supported for persistent classes


Hello Experts,

To add two custom fileds to meet a customer requirement in Leave Request (infotype 2001), I need to enhance standard class

CL_PT_REQ_ATTABSDATA.

This class is used in carrying data from wd abap screen fields to r/3 tables.

I need to add two Z atrributes as well as need to add their getter/setter methods.

As soon as I go to add attribute, I get the below error:

"attributes as enhancements are not supported for persistent classes".

Is there any way out? Do I need to obtain access key to modify the class? enhancement is not possible?

Thanks

Arindam

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2015 at 05:37 PM

    Hello Arindam,

    I have the same problem with same error message. Have you found any solution?

    Or could please somebody provide anything that could help?

    Thank you!

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Jānis B

      Thanks for reply.

      I thought so, but I didn't want to contact them before (at least some) investigation.

      Actually I was looking for enhancement of different class, but while searching throught the scn and the internet, this was the only thread about that error message. I have ended with workaround [enhancing the methods that get these attributes] which works according our needs, but I know that it is not the perfect one as attributes enhancement could be.

      Michal

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.