cancel
Showing results for 
Search instead for 
Did you mean: 

Easy way to handle change in interface of the Function module

former_member1191927
Participant
0 Kudos

Hi All,

Is there a easy way to handle the changes to the FM which has been called earlier in an Webdynpro ABAP appliccation. For example, I have 4 import parameters and 5 tables parameters earlier and now there is a change in BAPI interfacae and there are some additional paramters to the BAPI.

Is there any easy way to handle this situtation (we have re-import model option in Webdynpro Java)??

thanks,

Hari

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Hari,

Create an intermediate service layer for the UI so that all calls from the UI go into the service layer.

You can do this by creating an interface.

Then depending on your needs you can have different service layer implementation classes.

You pick the appropriate service implementation class at runtime.

---

another idea: you can get the function module metadata from the abap dictionary and then do a dynamic call but this is a lot more complex and probably overkill.

--

best regards... Lucio Menzel