cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI/RFC IMPORT

Former Member
0 Kudos

Hi everyone,

I want to import 10 bapi's from the backend and design the presentation logic for that.So what wiil be a good approach to do that?

regards,

Subrat.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Subrat,

You can have a separate DC for the models. You can use this DC to import the models. Then you can have a separate DC for your User Interface. You can set the dependency on the models DC in your UI(User Interface e.g. Web Dynpro) DC and thus be able to access the models.

The advantage of doing it this way will be that, in future if you want to add any more RFCs, you can just import them into the models DC. Also, if you or anyone else in your company wants to write a different presentation logic for the same RFCs, they can just create their own UI dc and use this models DC via dependencies. This will make the models DC reusable and also make you design modular and decoupled. Just a thought.

Regards,

Ajay

Former Member
0 Kudos

Hi,

As per my experience and knowledge,each RFC should be sepearated in a custom contller.

If you have one RFC in one custom contoller,Maintenance would be easy.

For ex:if there is a chnage in any RFC,we can modify the model and directly do the chnages to that cust controller.

No need to get confused with toomany model elements if you use all rfcs in a comp controller.

Easy to modify structural cahnges in a custom controller.

Regards,

Lavanya.G