Fonction SAP BAPI_COMPANYCODE_GET_PERIOD - For Company Code: Posting Date -> Period, Fiscal Year

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPANYCODEID BAPI0002_2-COMP_CODE C 4 Company Code
POSTING_DATE BAPI0002_4-POSTING_DATE D 8 Posting Date

Paramètre Reférence Type Long. Description
FISCAL_PERIOD BAPI0002_4-FISCAL_PERIOD N 2 Period
FISCAL_YEAR BAPI0002_4-FISCAL_YEAR N 4 Fiscal Year
RETURN BAPIRETURN1 u 470 Return Code

Functionality
This method returns the corresponding fiscal year and posting period toa company code and posting date.

Description
You can find more information in the data element documentation for:
Posting period

Description
You can find more information in the data element documentation for:
Fiscal year

Description
The return code of the method is redelivered in a structure with 5fields. You can find information on the meaning of the individualfields in the corresponding data element documentation.
Layout of the structure
TYPE Message type
CODE Message code
MESSAGE Message text
LOG_NO Application log: Log number
LOG_MSG_NO Application log: Current number of the message

Description
You can find information on the meaning of the company code in thecorresponding data element documentation:
Company code

Description
You can find more information in the data element documentation for:
Posting date