2006 Oct 13 6:20 PM
Greetings to all.
My requirement was to check whether user record exists in SAP or not.
Here i am using the BAPI --> BAPI_USER_EXISTENCE_CHECK
The parameter values from BAPI i am getting are not coming in order. This is happening for our upgraded systems. New version is Netweaver 2004s
I am exporting user id to this BAPI.
After calling the BAPI i am importing the Return table.
In the return table the parameter values are misplaced.
When i have talked to an ABAPer he sent a mail to me with return structure from SAP which is given below.
TYPE I
ID 01
NUMBER 124
MESSAGE USER OS0488 does not exist
LOG_NO
LOG_MSG_NO 000000
MESSAGE_V1 OS0488
MESSAGE_V2
MESSAGE_V3
MESSAGE_V4
PARAMETER
ROW 0
FIELD
SYSTEM D47CLNT010
But when i have debugged my lotus script i found the below structure which is not properly placed.
TYPE I0
ID 1
124USER OS0488 does n
NUMBER 0
MESSAGE "st 000000 OS0488"
LOG_NO
LOG_MSG_NO 0
MESSAGE_V1 7CLNT010
MESSAGE_V2
MESSAGE_V3
MESSAGE_V4
PARAMETER
ROW 0
FIELD
SYSTEM
Can any body help me how can i get the correctly plced return structure?
2006 Oct 13 6:23 PM
Use the BAPI - <b>BAPI_USER_GET_DETAIL</b>. In this if the user is there RETURN will be Initial Else it will not be initial.
Regards,
Prakash.
2006 Oct 13 8:05 PM
Hi!
if you installed the SAP System as dual stack you may use the UME of the J2EE stack. You can configure the UME to use the ABAP user store.
The UME provides a set of webservices, e.g. getUser(), getUserOfRole() etc.
simply connect to http://<server:port>/irj/servlet/prt/soap/UMWebService?Wsdl
to see the UME web services.
Regards
Michael
2006 Oct 16 1:35 PM
Hello,
Thanks for your response.
Infact i was searching in a wrong direction since i am not doing any kind of mapping. i am just reading the values of parameters returned by BAPI. I came to know from one of the expert that, this is a problem of lotus connector installation.
Thanks Satya for your expertise in resolving this problem.
Since recently we started working with upgraded SAP systems we are getting this problem.
we found that upgraded SAP systems were unicoded.
if you want you can find some more information regarding this in the following link and lotus knowledge base.
http://www-12.lotus.com/ldd/doc/uafiles.nsf/docs/sap171FP/$File/sap171fpreadme.txt
2006 Nov 20 7:52 PM
2006 Nov 21 2:20 AM
Hi JayaKishore
I guess you were using the lotus script that was developed before the SAP system was migrated to UNICODE.
For your information, the data UNICODE system sends will be doubled and hence the length specifications that you were using as earlier will not work. Please see if you can change the script to read double length for each field.
For example: if earlier you were reading 1 character now you have to read 2 characters for reteriveing the value.
Please try as per above instructions and do let us know if you still face problems.
Kind Regards
Eswar