A tricky password problem
I am working on a project using JCo and I am calling the BAPI_CUSTOMER_CHECKPASSWORD function module to validate the input customer and password. First of all I created an Internet user ID, type = 'KNA1', and password via transaction su05. I then clicked on Initialize and it created me a password. I then go to trans. se37 and test the above function module to verify everything is OK but I keep getting a return code of EIB003. I went back to su05 and changed the password but I still get return code of EIB003. Any ideas about what I can do to get a successful return code?

    Requires Free Membership to View

    When you register, you will start receiving targeted emails from my award-winning team of editorial writers. Our goal is to keep you informed on the hottest topics and biggest challenges faced by SAP professionals today.

    Hannah Smalltree, Editorial Director

    By submitting your registration information to SearchSAP.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchSAP.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

For the most part, using SAP's Function Builder to test BAPIs is a fairly straightforward excercise. However, one major caveat when using this application is that you must be very aware of case sensitivity for the parameters you are entering. BAPI_CUSTOMER_CHECKPASSWORD illustrates this caveat beautifully. The password field used by the Internet User facility (SU05) is case sensitive. This means that whatever case used when creating the password must be replicated exactly when testing in the CHECKPASSWORD BAPI. However, the default behavior of the Function Builder when testing a BAPI is to set all parameter values to upper case. This means that if your password was created entirely in lower case, the Function Builder will change the entered password value to upper case, thus causing the password to become invalid when attempting to authentiate against the SAP Internet User facility.

In order to get around this, simply check the 'Upper/Lower case' box at the top of the 'Test Function Module: Initial Screen'. This will tell the Function Builder to treat all of your parameters as case sensitive when testing against a BAPI.


This was first published in April 2002