SAP Reports / Programs | Controlling | Product Cost Controlling | Distribution of Usage Variances(CO-PC-ACT-DUV) SAP CO

CKMLDUVACT_RECORD_F01 SAP ABAP INCLUDE - CKMLDUVACTRECORDF01







CKMLDUVACT_RECORD_F01 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 CKMLDUVACT_RECORD_F01 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 CKMLDUVACT_RECORD_F01. "Basic submit
SUBMIT CKMLDUVACT_RECORD_F01 AND RETURN. "Return to original report after report execution complete
SUBMIT CKMLDUVACT_RECORD_F01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT CKMLDUVACT_RECORD_F01

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:

OBJECT_NUMBER_READ_KL call function 'OBJECT_NUMBER_READ_KL' exporting kokrs = ld_kokrs kostl = lw_kostl-kostl lstar = lw_lstar-lstar importing objnr = ld_objnr exceptions object_not_found = 1 others = 2.

K_COKL_READ call function 'K_COKL_READ' exporting cokl_read = lw_cokl test_read = 'X' importing read_cokl = lw_cokl exceptions not_found = 1 others = 2.

K_ACTTYPE_BAPI_GETDETAIL call function 'K_ACTTYPE_BAPI_GETDETAIL' exporting controllingarea = ld_kokrs acttype = lw_outtab-lstar keydate = lw_outtab-date_to importing acttypedetail = lw_act_det tables return = return.

POPUP_TO_INFORM * CALL FUNCTION 'POPUP_TO_INFORM' * EXPORTING * titel = g_repid * txt2 = sy-subrc * txt1 = 'The control could not be created'(510).

LVC_FIELDCATALOG_MERGE call function 'LVC_FIELDCATALOG_MERGE' exporting i_structure_name = 'CKMLDUVACT_ENTRY_S_N' i_client_never_display = 'X' changing ct_fieldcat = gt_fieldcat.

POPUP_TO_INFORM call function 'POPUP_TO_INFORM' exporting titel = text-i06 txt1 = text-i07 txt2 = text-i08.

DEQUEUE_ALL call function 'DEQUEUE_ALL'.

DEQUEUE_ALL call function 'DEQUEUE_ALL'.

DEQUEUE_ALL call function 'DEQUEUE_ALL'.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = gc_numberrange object = 'CKMLDUVACT' toyear = lw_outtab-gjahr importing number = lw_update-belnr exceptions interval_not_found = 1.

OBJECT_NUMBER_READ_BP call function 'OBJECT_NUMBER_READ_BP' exporting kokrs = ld_kokrs prznr = lw_prznr-prznr importing objnr = ld_objnr exceptions object_not_found = 1 others = 2.

K_COKL_READ call function 'K_COKL_READ' exporting cokl_read = lw_cokl test_read = 'X' importing read_cokl = lw_cokl exceptions not_found = 1 others = 2.

K_PROCESS_CHECK call function 'K_PROCESS_CHECK' exporting kokrs = ld_kokrs prznr = lw_outtab-process importing e_cbprv = lw_proc_det * ERROR_OCCURED = exceptions not_found = 1 vrgng_not_allowed = 2 wrong_kokrs = 3 wrong_versn = 4 others = 5.

CKMLDUVACT_PERIOD_READ call function 'CKMLDUVACT_PERIOD_READ' exporting i_status = '45' " 1688736 i_total_gjahr = 'X' tables it_periods = gt_periods et_duvact = gt_duvact exceptions no_values_found = 1 wrong_input = 2 others = 3.

OBJECT_KEY_GET call function 'OBJECT_KEY_GET' exporting i_objnr = lw_duvact-objnr importing e_ionra = lw_ionra exceptions wrong_call = 1 objectkey_invalid = 2 others = 3.

ENQUEUE_ECKMLDUVACT call function 'ENQUEUE_ECKMLDUVACT' exporting mode_ckmlduvact = 'E' mandt = sy-mandt objnr = lw_outtab-objnr gjahr = lw_outtab-gjahr belnr = lw_outtab-belnr exceptions foreign_lock = 1 system_failure = 2 others = 3.

ENQUEUE_ECKMLDUVACT call function 'ENQUEUE_ECKMLDUVACT' exporting mode_ckmlduvact = 'E' mandt = sy-mandt objnr = lw_outtab-objnr gjahr = lw_outtab-gjahr belnr = lw_outtab-belnr exceptions foreign_lock = 1 system_failure = 2 others = 3.

K_KOKRS_SET call function 'K_KOKRS_SET' exporting * DISPLAY = ' ' * I_KOKRS = ' ' popup = p_popup importing e_kokrs = ld_kokrs.

K_KOKRS_READ





call function 'K_KOKRS_READ' exporting * GJAHR = '0000' kokrs = ld_kokrs importing * E_TKA00 = e_tka01 = lw_tka01 exceptions not_found = 1 not_found_gjahr = 2 others = 3.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = p_sdat * I_MONMIT = 00 i_periv = ld_periv importing * E_BUPER = e_gjahr = gd_gjahr exceptions input_false = 1 t009_notfound = 2 t009b_notfound = 3 others = 4.

DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = p_edat * I_MONMIT = 00 i_periv = ld_periv importing * E_BUPER = e_gjahr = ld_gjahr exceptions input_false = 1 t009_notfound = 2 t009b_notfound = 3 others = 4.

G_TABLE_FIELD_GET_SETCLASS call function 'G_TABLE_FIELD_GET_SETCLASS' exporting tabname = 'CCSS' fieldname = p_fieldname importing setclass = ld_class exceptions others = 1.

G_SET_ENCRYPT_SETID call function 'G_SET_ENCRYPT_SETID' exporting setclass = ld_class shortname = ld_set kokrs = ld_kokrs importing setid = ld_setid.

G_SET_GET_ALL_VALUES call function 'G_SET_GET_ALL_VALUES' exporting setnr = ld_setid tables set_values = lt_set exceptions set_not_found = 1 others = 2.

ENQUEUE_ECKMLDUVACT call function 'ENQUEUE_ECKMLDUVACT' exporting mode_ckmlduvact = 'E' mandt = sy-mandt objnr = lw_outtab-objnr gjahr = lw_outtab-gjahr belnr = lw_outtab-belnr exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_ECKMLDUVACT call function 'DEQUEUE_ECKMLDUVACT' exporting mode_ckmlduvact = 'E' mandt = sy-mandt objnr = lw_outtab-objnr gjahr = lw_outtab-gjahr belnr = lw_outtab-belnr.

NUMBER_RANGE_ENQUEUE call function 'NUMBER_RANGE_ENQUEUE' exporting object = 'CKMLDUVACT'.

NUMBER_RANGE_INTERVAL_UPDATE call function 'NUMBER_RANGE_INTERVAL_UPDATE' exporting object = 'CKMLDUVACT' importing error_occured = h_error tables error_iv = ht_nriv_error interval = ht_nriv.

NUMBER_RANGE_UPDATE_CLOSE call function 'NUMBER_RANGE_UPDATE_CLOSE' exporting object = 'CKMLDUVACT'.

NUMBER_RANGE_DEQUEUE call function 'NUMBER_RANGE_DEQUEUE' exporting object = 'CKMLDUVACT'.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = gc_numberrange object = 'CKMLDUVACT' importing number = p_belnr.



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 CKMLDUVACT_RECORD_F01 or its description.