cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to extending SalesDocumentReadMapperImpl class

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

WolfgangSattler
Advisor
Advisor
0 Kudos

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

Former Member
0 Kudos

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

Answers (0)