cancel
Showing results for 
Search instead for 
Did you mean: 

Problems at Redefine IP_FROMPRDETAIL from component ContractListStart.

Former Member
0 Kudos

Hello experts, I have redefined the inbound IP_FORMPRDETAIL from component ContractListStart, but when I copy the standard code and paste in the IP_FROMPRDETAIL redefined, give me some errors of methods:

me->create_empty_contracts( EXPORTING ir_col_pods = lr_col_pods

CHANGING cr_col_newcontracts = lr_col_newcontracts ).

me->update_newcontracts( EXPORTING ir_col_pods = lr_col_pods

CHANGING cr_col_newcontracts = lr_col_newcontracts ).

store_selected_contracts( ).

The systems doesn't recognize this methods, and tell me that this methods don't exist or are unkonwn, How I can solve this. How I can call this methods. Instance an object??

Thanks in advance best regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Javier,

Can you please mention the Component name.I think ContractListStart is the name of the view(if I am not wrong).

Thanks and Regards,

Rohit

Former Member
0 Kudos

Hi Javier,

Please change the visibility of all these methods to public. It will work. Private methods are not accessible in derived classes.

Thanks and Regards,

Rohit

Also, if you don;t want to modify the existing SAP product, then you have to use super->method_name..

Hope it helps!

Edited by: rohit raturi on Sep 22, 2008 4:27 PM

Former Member
0 Kudos

Thanks Rohit for your answer, I prefer use super-> method,

A lot of thanks.

Answers (0)