‎2005 Feb 04 10:14 AM
What is a wrapper function module ? What is the purpose of using it ?
Achirangshu De
‎2005 Feb 04 10:32 AM
Hi,
this is just a name, no special attribute in ABAP.
Might be translated with 'encapsulation' - to build a 'black box' around something, so that further users of a functionality don't need to know all details when programming.
E.g.: smartforms have dynamic FM names. One wrapper FM can combine FM of dynamic name determination and actual call of smartform.
Maybe there are different understandings in other circumstances.
Regards,
Christian
‎2005 Feb 04 12:24 PM
Additionally what Christian said, may be you have a Function Module, which is not RFC-enabled. Instead of modifying it, you can build a wrapper FM, which is RFC enabled.
So, you reuse SAP standard FMs with adding functionality (RFC enable, additional checks, etc) without any modification.
Peter