Ansicht
Dokumentation
WFA_LOCATION_PROFILE_GETLIST - Read Configuration Data, Get Location List
Addresses (Business Address Services) PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
Given the Import parameter of Validity Date, WFM_LOCATION_GET_LIST validates the parameter, queries the tables WFAC_LOCATION and WFAC_LOCATION_T, and returns the Export parameters of ES_RETURN and ET_LOCATION_NAMES.
Export Parameters:
The Export parameter ES_RETURN is of type BAPIRET2. WFM_LOCATION_GET_LIST uses ES_RETURN to transmit error/success messages to the user.
The Export parameter ET_LOCATION_NAMES is of type WFAT_LOCATION_NAMES.
Successful Execution:
If the user were to provide an Import parameter having a value which corresponds to at least one WFAC_LOCATION_T record, then WFM_LOCATION_GET_LIST would return the appropriate fields (in the Table ET_LOCATION_NAMES) and a success message.
Errors Trapped:
WFM_LOCATION_GET_LIST verifies that the user provides an Import parameter having a value other than the initial value. If WFM_LOCATION_GET_LIST were to receive an Import parameter having the initial value, then WFM_LOCATION_GET would return an error message.
If the user were to provide an Import parameter having a value which does not correspond to any record in the WFAC_LOCATION table, then WFM_LOCATION_GET_LIST would return an error message.
If the user were to employ a Logon Language to which the text entries had not yet been translated, then WFM_LOCATION_GET_LIST would return an error message.
Example
At the Test Function Module: Initial Screen, enter the following value for the Import parameter:
IV_VALIDITY_DATE,,07222002
Press the F8 key to Execute
On the Test Function Module: Result Screen, the Table ET_LOCATION_NAMES has the following values:
Field,,Value
LOCATION,,ILLINOI
SNAME,,ILLINOIS, CUBS, 8888
LNAME,,ILLINOIS, THE LAND OF LINCOLN, 8888
LOCATION,,IOWA
SNAME,,IOWA, HAWKEYES, 2003
LNAME,,IOWA, THE HOME OF THE FIELD OF DREAMS, 2003
On the Test Function Module: Result Screen, the Export parameter ES_RETURN has the following values:
Field,,Value
TYPE,,S
ID,,CRM_WFM
NUMBER,,006
MESSAGE,,Successfully found at least one WFAC_LOCATION_T record.
SYSTEM,,A4CCLNT700
Notes
The Import parameter IV_VALIDITY_DATE has the initial value of all zeroes.
Parameters
ES_RETURNET_LOCATION_NAMES
IV_VALIDITY_DATE
Exceptions
Function Group
WFA_CONFIGTXBHW - Original Tax Base Amount in Local Currency BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2950 Date: 20240523 Time: 125259 sap01-206 ( 49 ms )