Profit Center BAPIs: Problems with languages
[BAPI_PROFITCENTER_CHANGE] [BAPI_PROFITCENTER_CREATE] [boy with problems] [have problems with] [languages] [net languages] [PROFITCENTER_CHANGE] [PROFITCENTER_CREATELANGUAGE]
Symptom
You use the BAPIs of the Profit Center Accounting (BAPI_PROFITCENTER_CHANGE, BAPI_PROFITCENTER_CREATE) to create or change profit centers. If you assign a language other than the logon language to the BAPI using the ‘Language’ parameter, changes are still only made in the logon language.
Other terms
BAPI_PROFITCENTER_CHANGE, BAPI_PROFITCENTER_CREATE, PROFITCENTER_CREATELANGUAGE, PROFITCENTER_CHANGE
Reason and Prerequisites
The use of languages other than the logon language was not supported until now.
Solution
Change the following function modules using Transaction SE37 as follows:
1. PROFITCENTER_CHANGE -> Change
-> On the ‘Import’ tab page, add the following row:
Parameter name Type spec. Associated type Default value Opt. Pass value
BAPI_LANGUAGE TYPE FLAG SPACE X X
-> Save and activate the changes.
2. PROFITCENTER_CREATE -> Change
-> On the ‘Import’ tab page, add the following row:
Parameter name Type spec. Associated type Default value Opt. Pass value
BAPI_LANGUAGE TYPE FLAG SPACE X X
-> Save and activate the changes.
3. ‘READ_PROFITCENTER’ -> Change
-> On the ‘Import’ tab page, add the following row:
Parameter name Type spec. Associated type Default value Opt. Pass value
BAPI_LANGUAGE TYPE FLAG SPACE X X
-> Save and activate the changes.
4. Import the following correction instructions.