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

Is it possible to extending SalesDocumentReadMapperImpl class

I am trying to read custom fields for the Item in the chart from backend using SalesDocumentReadMapperImpl. Can I extend only this class using factory-config.xml, as I understood only the classes initiated by Generic Factory can only have ablity to extend factory-config.xml as per Elena earlier (http://scn.sap.com/message/13908094#13908094). Please advice?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on May 14, 2013 at 12:38 PM

    Hi Suhaas,

    Unfortunately the class can not directly overwritten by the GenericFactory. But all instance are created in the method createReadStrategy of the class StrategyFactoryCRMImpl which you can overwrite with the GenericFactory (Alias: com.sap.wec.app.esales.module.transaction.salesdocument.backend.impl.crm.strategy.StrategyFactoryCRM)

    Regards Wolfgang

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Wolfgang is of course 100% right. Enhancing StrategyFactoryImpl is a good solution. With the upcoming patch, it should be possible to enhance SalesDocumentReadMapperImpl directly. So this would be even more convinient.

      Best Regards,

      Ralf

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.