cancel
Showing results for 
Search instead for 
Did you mean: 

Model and tables

david_fryda2
Participant
0 Kudos

Hi everyone,

I want to create a model for an RFC but before doing it, I have 2 questions:

1) Is there a limit for the number of tables that I can put in the RFC : the WD model does know how to handle all of them ?

2) If I have, lets say, 20 tables in that RFC : is it better to create one big RFC that returns all the 20 tables to WD or to create several RFCs that return less tables ?

Thanks.

David

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member751941
Active Contributor
0 Kudos

Hi David,

Check this links.

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de">RFC DOs & DONTs</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/guertler/how%20to%20configure%20the%20jco%20destination%20settings.pdf">How to Configure the JCo Destination Settings</a>

Regards,

Mithu

david_fryda2
Participant
0 Kudos

Hi everyone,

Thanks for all the precious information.

I am not able to reward points : it seems like the bullets where I can give points do not appear.

Thanks.

David.

Former Member
0 Kudos

Hi David,

1. There is no limit to the number of tables in your RFC. WD framework will create seperate proxy classes for all your tables in your RFC and thus you have to just use it as per your convinience with minimum coding.

2. The second option depends on your business logic. If for a single input you get the values for all the tables then it would be better to make a single RFC call and get all the tables and if not so then you can create seperate RFC for each input. You will make one RFC call for each RFC.

Regards,

Murtuza

sridhar_k2
Active Contributor
0 Kudos

David,

With my best of knowledge, there is no limit for tables in a RFC.

If you have 20 tables, maintain in one single Model may not be easy. It may lead to confuse. But there is no restriction for that.

Correct me anyone, if i am wrong.

Regards,

Sridhar