Application Development 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: 

Wrapper Module

Former Member
0 Kudos

What is a wrapper function module ? What is the purpose of using it ?

Achirangshu De

2 REPLIES 2

christian_wohlfahrt
Active Contributor
0 Kudos

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

0 Kudos

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