Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create a RFC destination with default pass word

Former Member
0 Kudos
778

hi folk,

I've a Z-program which creates a RFC destionation (SM59) with a default password. The RFC destination has been created successfully with all the necessary fields, but the pass word is not aticve.

I'm using this fucntion module to scramble the pass word.

slen = STRLEN( p_p_prfcpw ).

SET EXTENDED CHECK OFF.

CALL FUNCTION 'HTTP_SCRAMBLE'

EXPORTING

SOURCE = p_p_prfcpw

sourcelen = slen

key = key

IMPORTING

DESTINATION = p_pw

.

I've got this message from SM59.

*----


Error in conversion of user password for destination A3

Message no. SR131

Diagnosis

The upgrade to SAP Release 7.0 starts an XPRA program that converts passwords to secure storage. In certain cases, you may need to skip this procedure (for example, due to database locks during the upgrade). This can cause the passwords to become invalid.

Procedure

Enter the user password again.

*............................................

Any clues what is going wrong or how to solve this situation?

Best regards

Linhng

9 REPLIES 9

former_member203305
Active Contributor
0 Kudos
127

Hi,

I guess that u dont have to use that function when u r creating the RFC. Just pass the password as normal character, when SAP save the RFC it will code the pass itself.

Regards

0 Kudos
127

hi,

I pass the password without conversion and I just get another warning which says pass word is not valid.

Rg.

LinhNg

Edited by: LiDan on Nov 9, 2010 9:33 AM

roberto_vacca2
Active Contributor
0 Kudos
127

Hi.

Are you connecting to another SAP system or what?

I thinkn You should always use an user with a valid password to gain RFC access..

Hope to help, bye.

0 Kudos
127

hi,

Yes, We have multi-client environment. So I need the RFC dest. to connect to other Client.

best regards

LinhNg

roberto_vacca2
Active Contributor
0 Kudos
127

Hi...

did you try a test comunication of RFC from SM59? If you gain access here with your user&password, you should get the same result from function module of RFC creation. Probably RFC function module needs more parameters.

0 Kudos
127

hi,

Yes, I did try "remote logon" test from SM59 and it didn't work. As I wrote earlier the Password is not "converted" due to some security.

Best regards

Linhng

roberto_vacca2
Active Contributor
0 Kudos
127

Did you verify if your user account has the profile to gain an RFC access? List of profiles are visible from SU01.

....

0 Kudos
127

hi Roberto,

Everything is working except the pass word is not "converted" when I create the RFC destination in my z-program.

So my question is still how do I create a RFC destination with the "correct" pass word.

I've tried the function module HTTP_SCRAMBLE to convert the pw and also without the FM.

Best regards

LinhNg

Former Member
0 Kudos
127

Hi,

We are facing the same issue. what solution has you provided.

If possible please share with us.

Thanks and Regards,

Jibin.