Ansicht
Dokumentation

COM_BPUS_USERDATA_PROPOSE - Create Default Values for Some of the User Master Data

COM_BPUS_USERDATA_PROPOSE - Create Default Values for Some of the User Master Data

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this function module to generate default values for some of the user master data. The default values can depend on the optional import parameters or the Customizing settings in the system.

Only the following fields from the two optional parameters IS_ADDRESSDATA and IS_CENTRALDATA are evaluated:

  • Country, region and zip code for the business partner address (IS_ADRESSDATA_BUPA-COUNTRY, -REGION, -POSTL_COD1)
  • Time zone for the business partner address (IS_ADRESSDATA_BUPA-TIMEZONE) Language key for the business partner language (IS_CENTRALDATA-PARTNERLANGUAGE or -PARTNERLANGUAGEISO)

If the import parameter IV_BUPA_READ = X is set, you must use the import parameter IV_BUSINESSPARTNER to enter a business partner (BP) and the corresponding fields are read for the business partner specified. The content of the other import parameters is then ignored.

Default values are generated for the following fields according to the following rules:

  • Personal Time Zone (ES_LOGONDATA-TZONE): If entered, the BPs time zone is copied, otherwise the BPs parameters COUNTRY, REGION and ZIP CODE are read in Customizing.
  • Decimal Display (ES_DEFAULTS-DCPFM): If the country field for the business partner is filled, the country-dependent Customizing is read.
  • Date Format (ES_DEFAULTS-DATFM): If the country field for the business partner is filled, the country-dependent Customizing is read.
  • Logon Language (ES_DEFAULTS-LANGU): If entered, the business partner language is copied. If the fields PARTNERLANGUAGE and PARTNERLANGUAGEISO are both filled, only the content of PARTNERLANGUAGE is copied. If the BPs country is entered, the country-dependent Customizing is read. If this is also not possible, the current system language is copied.
  • Last Name (ES_ADDRESS-LASTNAME): A generic last name is generated with the following text: "xxx (Business partner)", where xxx stands for the value of the IV_BUSINESSPARTNER import parameter.

This function module should define a unique mapping of the business partner master data onto the user master data. This mapping is particularly important if a business partner and a user are linked to each other via a central person. As a basic principle, you should avoid the storage of redundant business partner and user master data and store as much master data as possible with the business partner. However, since some applications are programmed fixedly to access the user master data, upper fields that should be filled with reasonable default values are identified.

Example

Notes

Further information





Parameters

ES_ADDRESS
ES_DEFAULTS
ES_LOGONDATA
ET_RETURN
IS_ADDRESSDATA_BUPA
IS_CENTRALDATA
IS_CENTRALDATAORGANIZATION
IS_CENTRALDATAPERSON
IS_E_MAILDATA
IV_BUPA_READ
IV_BUSINESSPARTNER

Exceptions

BUSINESSPARTNER_MISSING

Function Group

COM_BUPA_USER_REGISTRATION

Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3978 Date: 20240523 Time: 095039     sap01-206 ( 69 ms )