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

BAPI Wrapper

Former Member
0 Likes
332

Hi,

I need information on BAPI Wrappers. I would like to know the creation of BAPI Wrappers etc . It would be nice if anyone can provide the material on BAPI Wrappers.

Regards,

Madhu.

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
303

I don't think there is any documentation on that. It merely means that you create a function module (RFC or not) in which you call the BAPI you are trying to 'wrap'. This is oftenly done because (for example) the interface of a BAPI (import / export / tables) is quite 'large'. Many, many parameters to be filled, and another structure in which you will have to mark all fields to be updated with 'X' (extra work).

To avoid this, one creates a wrapper in which a lot of coding is already done before the BAPI is called. So when calling the wrapper, the calling program has (a lot) less to do before it can use the BAPI.

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
304

I don't think there is any documentation on that. It merely means that you create a function module (RFC or not) in which you call the BAPI you are trying to 'wrap'. This is oftenly done because (for example) the interface of a BAPI (import / export / tables) is quite 'large'. Many, many parameters to be filled, and another structure in which you will have to mark all fields to be updated with 'X' (extra work).

To avoid this, one creates a wrapper in which a lot of coding is already done before the BAPI is called. So when calling the wrapper, the calling program has (a lot) less to do before it can use the BAPI.