cancel
Showing results for 
Search instead for 
Did you mean: 

Create Service call to FM as Enhancement in WD ABAP component

Former Member
0 Kudos

Hello,

I have created an Enhancement to a standard WD ABAP component. I need to create a service call to a FM in this enhancement.

How can I create the service call to the FM in an enhancement.

Please guide me on this

Thanks

Sundeep

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sundeep,

You can't use the wizard for this in an enhancement.

You must write manually the code generated  (the method and the context node (or attribute)).

Regards,

Christophe

Answers (1)

Answers (1)

Former Member
0 Kudos

As Christophe says, you need to write the code yourself. Just go to the component controller, create a new method and use the standard patten button to call the method. If you still want to the use the create service wizard, create a dummy WD component, create the sevice there, and then copy the generated method code into the enhancement. Keep in mind that you will still need to manually copy the interface of the generated method.