cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance Partner Factsheet for Opportunity

Former Member
0 Kudos

Hi All,

I'm new to BP_FACTSHEET and I have a requirements where I have to add new custom fields in Opportunity AB for Partner Factsheet.

I managed to enhance Compoent/View BP_BPBT/AccountOpportunitiesOV to include my new fields (all of them are type DATUM).

To achieve that I did an append structure for CRMT_BSP_OPPORTUNITY_BP.

Now my problem is to make the GET methods, I did here to retrieve values for my dates, available in Component/View BP_FACTSHEET/Opportunities.

Infact in factsheet's Context Node BUILOPPORTUNITY the implementation class is inheriting methods from Superclass CL_BP_BPBT_ACCOUNTOPPORTU_CN01 and not from my enhanced class ZL_BP_BPBT_ACCOUNTOPPORTU_CN01.

As long as the Factsheet class is defined as 'Final' I cannot enhance it to change the Superclass inheritance.

Do you have any suggestion on how I can achieve this?

Thanks in advance

Paolo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please provide screenshots for your problem for better understanding??

Thanks & Regards

Richa

Former Member
0 Kudos

Hi Richa

In the screen below is the place where I put my new fields.

and the GET_ methods I did for the data retrival.

in the screen below instead the BP_FACTSHEET inheriting the Base Entity BuilOpportunity

with the standard superclass inherited instead of my enhanced on

My question is: as long as the class CL_BP_FACTS_OPPORTUNITIES_CN00 is set 'Final', so I could not enhance it, how can I point the class CL_BP_FACTS_OPPORTUNITIES_CN00 to my enhanced one?

Thanks

Paolo

Former Member
0 Kudos

Hi,

Anybody that can point me how to achieve the above issue?

Thanks

Paolo

Former Member
0 Kudos

Hi Paolo,

Please check the SAP version. Final is unchecked in EHP3.

Regards,

Sam

Former Member
0 Kudos

Hi Sam,

Thanks a lot for your feedback.

Actually this will solve my issue because I'll be able to enhance that class and then add my GET methods.

Unfortunately we are still in EHP2 but I suppose SAP should have released an OSS Note to unflag the 'Final'.

Thanks so far.

Regards,

Paolo

Former Member
0 Kudos


Hi Paolo,

SAP Note 1745352 should fix your issue. Please check.

Regards,

Sam

Former Member
0 Kudos

Hi Sam,

Yes, it is exactly the Note I found and already implemented.

The issue is fixed.

Thanks again for your hint!

Regards,

Paolo

Answers (0)