cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get data into the table from backend Function Module

Former Member
0 Kudos

Hi All,

I have developed a DC, and i have imported a arfc model for a function module. I did all the steps correctly, but iam not getting the output into the table.

I am getting this error, if i run it from the NWDS itself. But, if i am running it with a employee user. then iam not getting any error, but output is also not coming.

Could not create JCOClientConnection for logical System: WD_MODELDATA_DEST - Model: class com.mtsa.model.AttendanceFM. Please assure that you have configured the RFC connections and/or logical system name properly for this model!

I checked in the portal, all the jco's are working properly. I have increased the Maximum connections also. But still gettin the error and not getting any output data.

Can anybody tell me what could be the problem

Thanks & Regards,

Ravi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Did you get a successful test/ping for JCo connection.

Hope this may be helpful :

Edited by: srinivas M on Mar 16, 2009 8:22 PM

Former Member
0 Kudos

Hi srinivas,

Yes they wer all pinging properly and tests are also succesfull.

But could not figure it out where the problem is.

Regards,

Ravi

Former Member
0 Kudos

Hi Ravi Shankar,

After executing your BAPI close the connection to SAP R/3.

Write following code to disconnect with SAP R/3.

wdcontext.current<node>element().modelobject().modelInstance().disconnectIfAlive();

It will close connection with R/3. and this error won't come again.

This seems to be a common issue.

https://www.sdn.sap.com/irj/scn/advancedsearch?query=jcoclientconnection+&cat=sdn_all

Thanks

Tony

Edited by: Tony on Mar 16, 2009 9:00 PM

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

Hi

The problem could be its unable to identify the logical System named : WD_MODELDATA_DEST -

Define it using NWA administrator under SOA --select Destination Template Management.

1. Destination Name should be : WD_MODELDATA_DEST

2. Provide all other parameter for this

Let see

Best Regards

Satish Kumar

Former Member
0 Kudos

Thank you all....the issue was closed. After fixing some binding related bugs.

Ravi