Fonction SAP BAPI_FLCUST_ENABLEWEBUSE - Create Internet user for a customer

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMERNUMBER BAPISCUKEY-CUSTOMERID N 8 Customer Number
PASSWORD BAPIUID-PASSWORD C 16 Password for Internet user
PASSWORD_VERIFY BAPIUID-PASSWORD C 16 Password for Internet user
WEB_USER BAPISCUAUX-WEBUSER C 25 Web user name

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Return Messages


INCLUDE DOC_FLCUSTOMER OBJECT DOKU ID TX
You can use this method to grant a flight customer the authorization toaccess an Internet application.
INCLUDE DOC_BAPI_DEMO OBJECT DOKU ID TX
INCLUDE DOC_AUTH01 OBJECT DOKU ID TX
The customer is identified by their customer number (CustomerNumber
parameter).
(If values for this parameter are not known, you can determine themusing the corresponding GetList method.)
INCLUDE DOC_WEBUSER0 OBJECT DOKU ID TX
To define a password for the customer for the first time, both thePassword and the PasswordVerify parameters must befilled identically. The customer can then use the password to log ontothe Internet application. You can use theFlightCustomer.CheckPassword methodto check the password and theFlightCustomer.ChangePasswordmethod to change it.
You cannot use this method if an Internet user already exists for theflight customer. See also the documentation about the WebUserparameter.
INCLUDE DOC_TRANSACTION OBJECT DOKU ID TX
INCLUDE BAPI_RET OBJECT DOKU ID TX
INCLUDE BAPI_INFO1 OBJECT DOKU ID TX
INCLUDE BAPI_KEYFIELD OBJECT DOKU ID TX
INCLUDE DOC_PASSWORD OBJECT DOKU ID TX
INCLUDE DOC_PASSWORD OBJECT DOKU ID TX
INCLUDE DOC_WEBUSER OBJECT DOKU ID TX
The Web username must be unique systemwide. If a Web username isspecified which already exists, then the method call cannot beprocessed correctly and an error message is returned in the Return parameter.
INCLUDE BAPI_RET OBJECT DOKU ID TX

Value range
Authorization messages
Type ID number message
E BC_IBF 003 No authorization
Value check messages
Type ID number message
E BC_IBF 150 Customer number &1 unknown
Internet user messages
Type ID number message
E BC_IBF 159 Internet user already exists for customer &1
E BC_IBF 160 Web user name &1 already used
E S> 500 Internet user does not exist
E S> 502 Internet user is locked
E S> 523 Password contains an invalid character
E S> 524 A question mark cannot be the first character in passwords
E S> 525 The password must have at least three characters
E S> 526 The first three characters in the password must be different
E S> 527 The first three characters of user name in the password arenot allowed
E S> 528 Passwords PASS and SAP are not allowed
E S> 505 Enter new password
E S> 504 Passwords are different
E S> 503 Wrong password
Other possible messages
Type ID number message
S BC_IBF 000 Method executed successfully
E SAPBC_GLOBAL 011 Object already locked
E BC_IBF 001 Errors occurred
E BC_IBF 006 Technical error