SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost Planning(CO-PC-PCP) SAP CO

MC64SF0B SAP ABAP INCLUDE - Form Routines with B







MC64SF0B is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MC64SF0B into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MC64SF0B. "Basic submit
SUBMIT MC64SF0B AND RETURN. "Return to original report after report execution complete
SUBMIT MC64SF0B VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Form Routines with B


INCLUDES used within this REPORT MC64SF0B

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = DATUM_IMP I_PERIV = PERIV IMPORTING E_BUPER = F_DATUM-BUPER E_GJAHR = F_DATUM-GJAHR.

LAST_DAY_IN_PERIOD_GET CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = F_DATUM-GJAHR * I_MONMIT = E02 I_PERIV = PERIV I_POPER = F_DATUM-BUPER IMPORTING E_DATE = DATUM_EXP.

PROGNOSEPERIODEN_ERMITTELN CALL FUNCTION 'PROGNOSEPERIODEN_ERMITTELN' EXPORTING EANZPR = 2 EDATUM = DATUM_IMP EPERIV = PERIV TABLES PPERX = T_PPER.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING I_DATE = DATUM_IMP I_PERIV = PERIV IMPORTING E_DATE = DATUM_EXP.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING I_DATE = DATUM_IMP I_PERIV = PERIV IMPORTING E_DATE = DATUM_EXP.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING I_DATE = DATUM_EXP I_PERIV = PERIV IMPORTING E_DATE = DATUM_EXP.

PROGNOSEPERIODEN_ERMITTELN CALL FUNCTION 'PROGNOSEPERIODEN_ERMITTELN' EXPORTING EANZPR = 1 EDATUM = DATUM_IMP EPERIV = PERIV TABLES PPERX = T_PPER.

PROGNOSEPERIODEN_ERMITTELN CALL FUNCTION 'PROGNOSEPERIODEN_ERMITTELN' EXPORTING EANZPR = 1 EDATUM = DATUM_IMP EPERIV = PERIV TABLES PPERX = T_PPER.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING I_DATE = DATUM_IMP I_PERIV = PERIV IMPORTING E_DATE = DATUM_EXP.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATLO I_PERIV = F_ORG_EINHEIT-PERIV IMPORTING E_BUPER = K_BUPER E_GJAHR = K_GJAHR.

CKMS_PERIOD_READ_WITH_ITAB CALL FUNCTION 'CKMS_PERIOD_READ_WITH_ITAB' EXPORTING I_REFRESH_BUFFER = 'X' I_USE_BUFFER = SPACE I_BUILD_SMBEW = 'X' I_BDATJ_1 = K_GJAHR I_POPER_1 = K_BUPER TABLES T_KALNR = T_ML_KALNR T_CKMLCR = T_CKMLCR EXCEPTIONS NO_DATA_FOUND = 1 INPUT_DATA_INCONSISTENT = 2 BUFFER_INCONSISTENT = 3 OTHERS = 4.

CKML_F_TCKM2_EXT_FOR_ONE_VA * CALL FUNCTION 'CKML_F_TCKM2_EXT_FOR_ONE_VA' "P30K049884 * EXPORTING "P30K049884 * BWKEY = F_ORG_EINHEIT-BWKEY "P30K049884 * TABLES "P30K049884 * T_TCKM2_EXT = T_TCKM2 "P30K049884 * T_CURTP_FOR_VA = T_CURTP_FOR_VA "P30K049884 * EXCEPTIONS "P30K049884 * BWKEY_NOT_FOUND = 1 "P30K049884 * BWKEY_NOT_ACTIVE = 2 "P30K049884 * MATLED_NOT_FOUND = 4 "P30K049884 * INTERNAL_ERROR = 5 "P30K049884 * OTHERS = 6. "P30K049884

DATE_TO_PERIOD_CONVERT * CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' "P30K049884 * EXPORTING "P30K049884 ** I_DATE = SY-DATUM P30K049884 P30K070948 * I_DATE = SY-DATLO "P30K070948 * I_PERIV = F_ORG_EINHEIT-PERIV "P30K049884 * IMPORTING "P30K049884 * E_BUPER = K_BUPER "P30K049884 * E_GJAHR = K_GJAHR "P30K049884 * EXCEPTIONS "P30K049884 * INPUT_FALSE = 1 "P30K049884 * T009_NOTFOUND = 2 "P30K049884 * T009B_NOTFOUND = 3 "P30K049884 * OTHERS = 4. "P30K049884

CK_F_ELEMENTS_ADD CALL FUNCTION 'CK_F_ELEMENTS_ADD' EXPORTING ELEMENTESCHEMA = ELEMENTESCHEMA KALKULATIONSVARIANTE = ' ' SCHICHTUNG = SCHICHTUNG SELEKTIONSKENNZEICHEN = ' ' SUMMIERE_NUR_WAELZELEMENTE = S_NUR_WAELZELEMETE I_TCKH8 = TCKH8 IMPORTING * bewertung_fix = k_besbw_fix "P30K080210 * bewertung_gesamt = k_besbw_ges "P30K080210 * gewinnzuschlag_fix = k_gewzs_fix "P30K080210 * gewinnzuschlag_gesamt = k_gewzs_ges "P30K080210 * herstellkosten_fix = k_herko_fix "P30K080210 * herstellkosten_gesamt = k_herko_ges "P30K080210 * inventur_handelsrecht_fix = k_invhr_fix "P30K080210 * inventur_handelsrecht_gesamt = k_invhr_ges "P30K080210 * inventur_steuerrecht_fix = k_invsr_fix "P30K080210 * inventur_steuerrecht_gesamt = k_invsr_ges "P30K080210 * SCHICHTUNG_MODIF = "P30K080210 * vertrieb_verwaltung_fix = k_vv_gk_fix "P30K080210 * vertrieb_verwaltung_gesamt = k_vv_gk_ges "P30K080210 * zugang_extern_fix = k_zusch_fix "P30K080210 * zugang_extern_gesamt = k_zusch_ges "P30K080210 KOSTEN_ZUR_SICHT_GESAMT = K_GES "P30K080210 KOSTEN_ZUR_SICHT_FIX = K_FIX. "P30K080210



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MC64SF0B or its description.