Q
Problem solve Get help with specific problems with your technologies, process and projects.

A tricky password problem

The return code keeps coming back as EIB003 no matter what this reader tries. Can expert Austin Sincock solve the 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?

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 last published in April 2002

Dig Deeper on SAP Java and J2EE

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close