Ansicht
Dokumentation

BAPI_LOCSRVAPS_SAVEMULTI2 - Create or Change Location Data

BAPI_LOCSRVAPS_SAVEMULTI2 - Create or Change Location Data

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to create and change locations. If a location already exists with the key specified, it is changed. However, if it does not yet exist, it is newly created. Note that the location can only be created if the external key ("Location", "Loctype") is also given. If you want to change locations that already exist, you can use the internal key ("LocationId" or "LocationInt", "Loctype") as well as the external key. In general, you can only create or change locations that exist in the business system group to which the logical system specified belongs ("LogicalSystem").

Notes

When you transfer communication methods ("LocationSmtp", "LocationFax", "LocationTel", and "LocationUri") you should note that a valid "LocationAddress" entry must always also be specified.

Note:

It is not yet possible to use the BAPI to change specific location data in a planning version other than the active version. The data provided in the "LocationVersion" parameter always applies to the active version.

Ensure that you provide valid values for the different fields. There is no check for the value ranges of the fields.

For more information, see the documentation for the individual parameters.

Further information

General information





Parameters

BUSINESS_SYSTEM_GROUP
COMMIT_CONTROL
EXTENSION_IN
LOCATION_ADDRESS
LOCATION_ADDRESS_X
LOCATION_ALTERNATIVE_ID
LOCATION_FAX
LOCATION_FAX_X
LOCATION_GEOCODING
LOCATION_GEOCODING_X
LOCATION_HEAD
LOCATION_HEAD_X
LOCATION_MAPPING
LOCATION_MAPPING_X
LOCATION_MODEL
LOCATION_SMTP
LOCATION_SMTP_X
LOCATION_SPP
LOCATION_SPP_X
LOCATION_SUBLOCATION
LOCATION_SUBLOCATION_X
LOCATION_TEL
LOCATION_TEL_X
LOCATION_TEXT
LOCATION_TEXT_X
LOCATION_URI
LOCATION_URI_X
LOCATION_VERSION
LOCATION_VERSION_X
LOGICAL_SYSTEM
RETURN
SAVE_OPTIONS

Exceptions

Function Group

10002

General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 5057 Date: 20240523 Time: 154500     sap01-206 ( 61 ms )