Functionality This function module reads the customer list entries from the database. Enter the selection criteria for each field in the importing parameterI_SELOPT_TAB. Do not specify any selection criteria if you want toretrieve all of the data records. If you want only specific data records to be read, you can specify theserecords in the importing parameter I_RESTRICTION_TAB. The header records of the customer list are returned in the exportingparameter E_CU_TAB. The customer records are returned in the exportingparameter E_CUPOS_TAB. If the importing parameter I_FLG_CONDENSE_TRACK_SUBST contains the value'X' (True), the data read is summarized on the basis of the trackedsubstance, that is, the hit list is reduced. The MATNR (material number)and SUBID (specification) fields are cleared at the same time. If the importing parameter I_FLG_READ_CUSTOMER_ADR contains the value'X' (True), the address data for each customer is returned in theexporting parameter E_CUSTOMER_LIST_TAB. If the exporting parameter E_CUSTOMER_LIST_TAB is requested, thefunction module returns a nested table in which each customer record isassigned to a header record. The exporting parameter E_FLG_ERROR is filled with the value 'X' (True)if an error occurred during processing. The exporting parameter E_ERROR_TAB contains all of the messages thatoccurred while the function module was being processed. |