Home > Ask the SAP software/management Experts > Java/SAP development Questions & Answers > A tricky password problem
Ask The SAP Expert: Questions & Answers
EMAIL THIS

A tricky password problem

Austin Sincock EXPERT RESPONSE FROM: Austin Sincock

Pose a Question
Other SAP Categories
Meet all SAP Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 03 April 2002
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.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Java/SAP development
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
With Java development experience, should I go into SAP XI?
Answering basic BAPI questions
Viewing a list of SAP interfaces
Which SAP implementation phase is Java necessary for?
Interface a locally developed application with SAP
Should an ABAP professional know Java?
Storing SAP information from a JCo connector
Integrating SAP with C++, Java, and Powerbuilder on Sybase and Oracle DBs

SAP Java and J2EE
SAP CTO Sikka: SAP's innovation gets overlooked
SAP CTO expects today's SAP applications to be running in 2020
Tips on SAP ABAP
How to provide an SAP R/3 4.5B application server with a Web service interface
Consuming a Web service from an SAP 4.6c R/3 application server
SAP NetWeaver Configuration and Customization
Is C, C++ and Java knowledge required when learning SAP?
How to be a self-taught NetWeaver and ABAP expert
Getting started with a NetWeaver career
An ABAP user wants to learn XI

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SAP White Paper Topics
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts