Fonction SAP BAPI_PROFITCENTER_GETDETAIL - Display profit center master data

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTROLLINGAREA BAPI0015ID-KOKRS C 4 Controlling Area
DATE BAPI0015_3-DATE D 8 ' ' X Date
PROFITCENTER BAPI0015ID-PRCTR C 10 Profit Center

Paramètre Reférence Type Long. Description
ADDRESS BAPI0002_3 u 832
PROFITCENTER_DETAIL BAPI0015_2 u 126 Profit Center Detail Information
RETURN BAPIRETURN u 452 Return Code

Functionality
This method supplies detailed information on the profit centermaster record.

Notes
You need authorization for the activity "03" (Display) for the object"K_PCAS_PRC" (Maintain profit centers) in the current controlling area.You also need authorization for the activity "03" (Display) for theobject "K_PCAS_REP" (Summary and line item reports) for the relevantprofit center.
Messages are returned in the parameter RETURN. The documentation forthis parameter explains the return values and their meanings.

Description
Profit Center Address Data

Description
The following fields are displayed:
CO_AREA,,controlling area
PROFIT_CTR,,Profit center
VALID_TO,,Date valid through
DEPARTMENT,,Department
IN_CHARGE,,Person in charge
COUNTRY,,Country code
TITLE,,Title
NAME,,Name 1
NAME_2,,Name 2
NAME_3,,Name 3
NAME_4,,Name 4
CITY,,City
DISTRICT,,District
STREET,,Street and house number
PO_BOX,,Post office box
ZIP_POCODE,,Postal code
POBX_Z_PCD,,Postal code of P.O. box
LANGU,,Language key
TELEPHONE1,,1. Telephone number
TELEPHONE2,,2. Telefophone number
FAX_NUMBER,,Telefax number
SHORT_TEXT,,General description
LONG_TEXT,,Long text

Description
The following messages can be returned:
KM076 (error),,You are not authorized to display profit center X in
,,controlling area Y
KM004 (error),,Profit center X does not exist in controlling area Y
KM077 ,,BAPI completed

Description
For information on the meaning of the controlling area, see the dataelement documentation Controlling area.

Description
You can submit a date as a parameter. The system finds the master datathat is valid for that date.

Default
If you do not submit a date, the system uses the today's date.

Description
For information on the meaning of the profit center, see the dataelement documentation Profit center.