Fonction SAP BAPI_FLCUST_GETLIST - Determine List of Flight Customers

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CUSTOMER_NAME BAPISCUDAT-CUSTNAME C 25 X Flight Customer Name
MAX_ROWS BAPISCUAUX-BAPIMAXROW I 4 X Maximum Number of Lines of Hits
WEB_USER BAPISCUAUX-WEBUSER C 25 X Web user name for customer

Paramètre Reférence Long. Facultatif Description
CUSTOMER_LIST BAPISCUDAT 201 X List of Flight Customer Data
CUSTOMER_RANGE BAPISCUCRA 19 X Selection Range for Flight Customers
EXTENSION_IN BAPIPAREX 990 X Import customer enhancements
EXTENSION_OUT BAPIPAREX 990 X Export customer enhancements
RETURN BAPIRET2 548 X Return Messages

Functionality
This method enables you to identify available passengers. The selectioncan be restricted as required by using the import parameter. The resultis returned as a list of passengers containing their most importantdetails.
INCLUDE DOC_BAPI_DEMO OBJECT DOKU ID TX
INCLUDE DOC_AUTH03 OBJECT DOKU ID TX

Data Selection
The parameters CustomerName, WebUser and CustomerRange are used to restrict the selection. If one of the parameters isinitial, then the passenger list is not restricted by this criterion.Only passengers who match all the conditions specified are selected (ANDrelationship).
INCLUDE DOC_PAR1 OBJECT DOKU ID TX
INCLUDE BAPI_CUST1 OBJECT DOKU ID TX
INCLUDE BAPI_CUST_INOUT OBJECT DOKU ID TX
INCLUDE BAPI_CUST2 OBJECT DOKU ID TX
INCLUDE BAPI_RET OBJECT DOKU ID TX


INCLUDE BAPI_INFO1 OBJECT DOKU ID TX
INCLUDE BAPI_INFO2 OBJECT DOKU ID TX

Description
This parameter enables you to restrict the selection to customers withparticular names. If this parameter is not completed, the selection offlight customers is not restricted.
INCLUDE DOC_MASK OBJECT DOKU ID TX
Example
If you enter the string M+l* as the parameter, then customerswhose names begin M, then any character, then l, followedby an arbitrary string are selected. An example of a flight customerhere would be Müller.
INCLUDE DOC_MAXROW OBJECT DOKU ID TX
INCLUDE DOC_MAXROW1 OBJECT DOKU ID TX

Description
This parameter enables you to restrict the selection to flight customerswith particular web user names. If this parameter is not completed, theselection of flight customers is not restricted.
INCLUDE DOC_WEBUSER OBJECT DOKU ID TX
INCLUDE DOC_MASK OBJECT DOKU ID TX
Example
If you enter the string M+l* as the parameter, then customerswhose web user names begin M, then any character, then l,followed by an arbitrary string are selected. An example of a flightcustomer here would be Müller.

Description
This parameter gets a hit list of flight customers for the selectioncriteria that were specified during the method call.
The key values and the most important properties of the flight customersare returned.
The length of the hit list is defined by the entry in the parameterMaxRows.
INCLUDE BAPI_DATAELEMENT OBJECT DOKU ID TX

Description
This parameter enables you to restrict the selection of flight customersto customers with particular customer numbers.
You can specify multiple ranges of customer numbers. In each entry youcan either include or exclude an individual number or an range ofcustomer numbers.
For detailed information about how to use range parameters, see thedocumentation for the SIGN andOPTION fields. The LOW and HIGH fields contain theupper and lower limits of the customer numbers.
INCLUDE BAPI_DATAELEMENT OBJECT DOKU ID TX

Examples
(): Field not completed
SIGN OPTION LOW HIGH
I EQ 0000001,, ()
Restricts the selection to the customer number 0000001.
SIGN OPTION LOW HIGH
E BT 0000001,, 0000009,,
Restricts the selection to all customer numbers not within the range0000001 to 0000009.
SIGN OPTION LOW HIGH
I EQ 0000001,, ()
I BT 0000010,, 0000020,,
Restricts the selection to the customer number 0000001
and the range between customer numbers 0000010 and 0000020.
INCLUDE BAPI_EXTIN OBJECT DOKU ID TX
INCLUDE BAPI_EXTOUT OBJECT DOKU ID TX
INCLUDE BAPI_TABLE OBJECT DOKU ID TX

Value range
Messages for Authorization
Type ID Number Message
E BC_IBF 004 No authorization
Messages for Value Checks
Type ID Number Message
E S& 026 value & in field SIGN can only be I, E
E S& 027 value & in field OPTION is invalid (EQ,NE,GT,GE,LE
,LT,BT,NB,CP,NP)
Further Possible Messages
Type ID Number Message
W BC_IBF 162 No flight customers match the selection criteria
S BC_IBF 000 Method successfully executed
E BC_IBF 001 Errors occurred