cancel
Showing results for 
Search instead for 
Did you mean: 

Service Call or CALL FUNCTION

ged_hurst
Participant
0 Kudos

Hi everyone,

what's the difference between invoking a Service Call or Call Function directly from within a WebDynpro ABAP component to execute a BAPI/Function module?

Thank you.

View Entire Topic
thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

No difference. The service call is just a wizard. It generates the CALL FUNCTION coding and has the added benefit that it can also generate a matching context node structure. However absolutely everything the service call wizard does can also be done manually without it. It is just a time saver/shortcut.

ged_hurst
Participant
0 Kudos

Thank you very much to everyone, I've given points to all of you.

However I think that invoking a function through "CALL FUNCTION" is much much faster than through the Wizard. In fact, the wizard generates (depending on the options chosen) nodes in the context that have to be populated (the syntax to use is awkward especially to those having a Java background) before executing the function/bapi whereas invoking a call function requires just a few lines of coding.

So I'll stick to "CALL FUNCTION" next time.

Thans!