Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Enhance method with new parameter

Former Member
0 Likes
864

How can I enhance an existing method with a new Parameter?

In some tutorial is written that this should be possible. But there is no exact description.

3 REPLIES 3
Read only

kathryn_mcgallicher
Active Participant
0 Likes
670

Hello,

In what scenario do you need to do this? I can help with CIC0 front office.

Clarification - I can help if you are talking about custom objects with custom methods.

K---

Message was edited by:

Kathryn McGallicher

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
670

At first, I though maybe you were talking about the Enhancement Framework, but as you can see here, the last line of the help, clearly says, the parameter definintions of overwrite methods can not be changed.

http://help.sap.com/saphelp_nw70/helpdata/en/86/b83142680d5c33e10000000a155106/frameset.htm

Regards,

RIch HEilman

Read only

0 Likes
670

Thx Rich Heilman

but in the Doku "Enhancements to Global Classes and Interfaces"

http://help.sap.com/saphelp_nw70/helpdata/en/58/4fb541d3d52d31e10000000a155106/content.htm

you find:

You can enhance the components of a global class or global interface by:

...

● Inserting new, optional formal parameters for existing methods (but no new exceptions)

....