cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro JAVA call ARFC

Former Member
0 Kudos

Hi Friend

I created the "ZBEN_DEMO_RFC" RFC in IDS.

When Webdynpro Java call the "ZBEN_DEMO_RFC" get a error.

How to get a ARFC?

Regards

Ben

Accepted Solutions (1)

Accepted Solutions (1)

former_member214651
Active Contributor
0 Kudos
Former Member
0 Kudos

Hi Poojith M V

Thank you.

I call "BAPI_FLIGHT_GETLIST" is succeed and get Flight data from IDS.

But I call personal RFC get the Error.

I don't know why Error.... > _ < ~ Wu....

I set the "WD_BDEMO_MODELDATA_DEST" and "WD_BDEMO_MODELDATA_DEST".

then I push the ping and test.

get the "JCo destination 'WD_BDEMO_MODELDATA_DEST' was sucessfully tested with user 'BEN.CHEN' "

and the "JCo destination 'WD_RFC_BDEMO_METADATA_DEST' was sucessfully tested with user 'BEN.CHEN' ".

Then I push the "RUN" ,

get the

com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)

at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516)

at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1086)

at com.sap.mw.jco.JCO$Client.connect(JCO.java:3256)

at com.sap.mw.jco.JCO$Client.execute(JCO.java:3917)

at com.sap.mw.jco.JCO$Client.execute(JCO.java:3417)

... 41 more

Former Member
0 Kudos

Hi Ben,

I think problem is related to autherization, please chekc the userID/password and check SSO ticket for authorization while defining a metadata JCO Destination.

You can trace error RFC_ERROR_SYSTEM_FAILURE exception, have a look at the dev_jrfc.trc files. These files are written by JRFC and can be found in the directories j2ee/cluster/server* of the J2EE Application Server Installation.

Refre this WDJ - Adaptive RFC Troubleshooting Guide:-

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d...

http://wiki.sdn.sap.com/wiki/display/EP/8EstablishSingleSignOnbetweenPortal%28frontend%29andESS6.0%28backend%29

Hope this may help you

Deepak!!!

Edited by: Deepak Arora on May 17, 2010 6:00 AM

former_member214651
Active Contributor
0 Kudos

Hi Ben,

Check if the RFC which u have developed is Remote-enabled?

Regards,

Poojith MV

Former Member
0 Kudos

Hi Deepak Arora and Poojith M V

thx your proposed. you are attentive answered to me.

I try same userID/password in RFC "BAPI_FLIGHT_GETLIST" is OK !

But call RFC "ZBEN_DEMO_RFC" is error. I will still check it (WDJ - Adaptive RFC Troubleshooting Guide).

And I Check the RFC Processing Type is Remote-enabled.

I using SAP NetWeaver Developer Studio create Import Adaptive RFC Models.

I Link the Models and Component Controller, then I deploy application get error.

Maybe I ignore something. Thanks guys.

Regards

Ben

Edited by: BenChen on May 17, 2010 7:11 AM

Former Member
0 Kudos

Hi Ben,

Try this:

Could be a uid/pwd case issue: no problem for JCO 209, fails with JCO 215.Easy way to find out is change both uid/pwd on the SAP side into uppercase only

Please refer below links:-

Deepak!!!

former_member214651
Active Contributor
0 Kudos

Hi,

When u create an Application under the WebDynpro project, have u added a parameter for authentication? if not, please double click on the application which u have created and switch to the "Application Properties" tab and add the "Authentication" property to the application and check.

Regards,

Poojith MV

Former Member
0 Kudos

Hi Poojith MV

I have add application properties a new value.

The applications still tell me "500 Internal Server Error".

I have a bay day........

I will try other way.

Regards

Ben

Former Member
0 Kudos

Dear Benchen,

Please check the default trace from server.

Thanks and Regards,

Shyam.

Answers (1)

Answers (1)

Former Member
0 Kudos

Plz Find the procudure

Go to webdynpro project - go to webdynpro model -right click on -import adaptive RFC model then give the JCO destination name .