11-08-2010 12:42 PM
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
11-08-2010 2:59 PM
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
11-09-2010 8:32 AM
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
11-09-2010 9:43 AM
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.
11-09-2010 12:52 PM
hi,
Yes, We have multi-client environment. So I need the RFC dest. to connect to other Client.
best regards
LinhNg
11-09-2010 1:18 PM
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.
11-09-2010 1:23 PM
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
11-09-2010 1:28 PM
Did you verify if your user account has the profile to gain an RFC access? List of profiles are visible from SU01.
....
11-09-2010 8:30 PM
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
11-17-2010 3:31 PM
Hi,
We are facing the same issue. what solution has you provided.
If possible please share with us.
Thanks and Regards,
Jibin.