SAP Reports / Programs | Logistics - General | Logistics Basic Data | Bills of Material(LO-MD-BOM) SAP LO

CS_CLASS_FORM SAP ABAP INCLUDE - Sub-programs for all classes of BOM objects







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


Text pool values


Title: Sub-programs for all classes of BOM objects


INCLUDES used within this REPORT CS_CLASS_FORM

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:

CS_CL_P_BOM_AUTHORITY_CHECK call function 'CS_CL_P_BOM_AUTHORITY_CHECK' exporting i_stlty = i_stlty i_stlnr = i_stlnr i_stlal = i_stlal i_activity = authority-show exceptions bom_not_found = 1 no_valid_bom = 2 no_authority = 3 others = 4.

DMULI_DMUPOB_MAINT call function 'DMULI_DMUPOB_MAINT' exporting im_dmupob = ls_dmupob_new im_copy_from_dmupob = ls_dmupob_old * IM_MSG_HANDLING = 'A' * IM_POS_QUANTITY = * EXPORTING * EX_DMUPOB = * CHANGING * CH_DMUTMX = exceptions internal_error = 1 undefined_dmupob_key = 2 dmupob_does_not_exist = 3 quant_ne_num_of_tmx = 4 target_dmupob_alr_exists = 5 others = 6.

DMULI_DMUPOB_DELETE call function 'DMULI_DMUPOB_DELETE' exporting * IM_MSG_HANDLING = 'A' im_dmupob = ls_dmupob exceptions * INTERNAL_ERROR = 1 undefined_dmupob_key = 2 dmupob_does_not_exist = 3 others = 4.

DMULI_DMU_SAVE call function 'DMULI_DMU_SAVE' exporting flg_commit = ' '.

CV140_LINKS_CREATE_WORKAREA call function 'CV140_LINKS_CREATE_WORKAREA' exporting ps_drad = ls_drad exceptions not_found = 1 record_exist = 2 others = 3.

CV140_LINKS_COPY call function 'CV140_LINKS_COPY' exporting pf_dokob = i_dokob pf_objky_new = l_objky_new pf_dokob_old = i_dokob pf_objky_old = l_objky_old exceptions no_document = 1 others = 2.

CV140_LINKS_ADD call function 'CV140_LINKS_ADD' exporting ps_drad = ls_drad * IMPORTING * PS_CHECK_ERROR = exceptions error = 1 others = 2.

CV140_LINKS_CREATE_WORKAREA call function 'CV140_LINKS_CREATE_WORKAREA' exporting ps_drad = ls_drad exceptions not_found = 1 record_exist = 2 others = 3.

CV140_LINKS_DELETE call function 'CV140_LINKS_DELETE' exporting pf_dokob = ls_drad-dokob pf_objky = ls_drad-objky exceptions not_found = 1 others = 2.

CV140_LINKS_DELETE call function 'CV140_LINKS_DELETE' exporting pf_dokob = ls_drad-dokob pf_objky = ls_drad-objky * pf_dokar = ls_drad-dokar * pf_doknr = ls_drad-doknr * pf_dokvr = ls_drad-dokvr * pf_doktl = ls_drad-doktl exceptions not_found = 1 others = 2.

CV140_LINKS_CREATE_WORKAREA call function 'CV140_LINKS_CREATE_WORKAREA' exporting ps_drad = ls_drad exceptions not_found = 1 record_exist = 2 others = 3.

CV140_LINKS_SAVE call function 'CV140_LINKS_SAVE' exporting no_update_task = const-flg_yes * IMPORTING * PF_ARE_CHANGED = * TABLES * PT_GT_DRAD = * PT_GT_DRAD_CHANGE = exceptions error = 1 others = 2.

TCS03_READ call function 'TCS03_READ' exporting agb29 = '29' importing struct = ls_tcs03 exceptions no_entry = 1 others = 2.

CS_CL_S_BGR_PROVIDE call function 'CS_CL_S_BGR_PROVIDE' exporting i_stlty = i_stlty i_stlnr = i_stlnr importing e_bgr_class_data = ls_bgr_class_data exceptions wrong_key = 1 others = 2.

CS_CL_S_MBM_ID_PROVIDE call function 'CS_CL_S_MBM_ID_PROVIDE' exporting i_stlnr = i_stlnr i_stlal = i_stlal i_flg_no_mat_variants = const-flg_yes importing e_mbm_ident = lt_mbm_ident.

CS_CL_P_PBM_ID_PROVIDE call function 'CS_CL_P_PBM_ID_PROVIDE' exporting i_stlnr = i_stlnr i_stlal = i_stlal importing e_pbm_ident = lt_pbm_ident.

CS_CL_S_BGR_PROVIDE call function 'CS_CL_S_BGR_PROVIDE' exporting i_stlty = i_stlty i_stlnr = i_stlnr importing e_bgr_class_data = ls_bgr_class_data exceptions wrong_key = 1 others = 2.

CC_ECM_HISTORY_REQ_CHECK call function 'CC_ECM_HISTORY_REQ_CHECK' exporting i_trtype = i_activity i_ccin = ls_ccin i_bom_extension = l_bom_extension importing e_ecm_hist_req = flg_history_req e_ecm_inactive = l_ecm_inactive exceptions error_input = 1 others = 2.

CC_ECM_HISTORY_REQ_CHECK





call function 'CC_ECM_HISTORY_REQ_CHECK' exporting i_trtype = i_activity i_ccin = ls_ccin i_bom_extension = l_bom_extension i_bom_stlst = lt_status-stlst importing e_ecm_hist_req = flg_history_req e_ecm_inactive = l_ecm_inactive exceptions error_input = 1 others = 2.

CC_ECM_HISTORY_REQ_CHECK call function 'CC_ECM_HISTORY_REQ_CHECK' exporting i_trtype = i_activity i_ccin = ls_ccin i_ecn_used = ls_bgr_class_data-histk importing e_ecm_hist_req = flg_history_req e_ecm_inactive = l_ecm_inactive exceptions error_input = 1 others = 2.

CC_ECM_HISTORY_REQ_CHECK call function 'CC_ECM_HISTORY_REQ_CHECK' exporting i_trtype = i_activity i_ccin = ls_ccin i_ecn_used = ls_bgr_class_data-histk i_bom_stlst = lt_status-stlst importing e_ecm_hist_req = flg_history_req e_ecm_inactive = l_ecm_inactive exceptions error_input = 1 others = 2.

TCS03_READ call function 'TCS03_READ' exporting agb29 = '29' importing struct = ls_tcs03 exceptions no_entry = 1 others = 2.

CS_CL_P_BOM_STATUS_PROVIDE call function 'CS_CL_P_BOM_STATUS_PROVIDE' exporting i_stlty = i_stlty i_stlnr = i_stlnr i_stlal = i_stlal importing e_status = e_status.

GUID_CREATE call function 'GUID_CREATE' importing ev_guid_16 = c_guid.

TEXT_COPY call function 'TEXT_COPY' exporting id_new = i_id_new id_old = i_id_old ltsch_new = i_ltext_key_new ltsch_old = i_ltext_key_old object_old = i_object spras_new = c_language_new spras_old = i_language_old exceptions not_found = 1.

CP_MC_MESSAGE_COLLECT call function 'CP_MC_MESSAGE_COLLECT' exceptions message_not_collected = 1 others = 2.

DELETE_TEXT call function 'DELETE_TEXT' exporting id = i_id language = cs_const-star name = i_ltext_key_new object = i_object textmemory_only = i_textmemory_only exceptions not_found = 1 others = 2.

CS_CL_S_BOM_PROVIDE call function 'CS_CL_S_BOM_PROVIDE' exporting i_date_from = i_key_date i_date_to = i_key_date i_stlty = i_stlty i_stlnr = i_stlnr i_stlal = i_stlal tables e_bom_class_data = lt_bom_class_data.

CS_CL_S_ITM_PROVIDE call function 'CS_CL_S_ITM_PROVIDE' exporting i_date_from = i_key_date i_date_to = i_key_date i_stlty = i_stlty i_stlnr = i_stlnr i_stlal = i_stlal i_stvkn = i_stvkn tables e_itm_class_data = lt_itm_class_data.

CUCB_GET_SINGLE_INSTANCE * CALL FUNCTION 'CUCB_GET_SINGLE_INSTANCE' * EXPORTING * INSTANCE = I_CONFIGURATION_SOURCE * IMPORTING * INSTANCE_REC = INSTANCE_RECORD * EXCEPTIONS * INVALID_INSTANCE = 1 * INSTANCE_IS_A_CLASSIFICATION = 2 * OTHERS = 3.

CUBX_CONFIGURE_OBJECT * CALL FUNCTION 'CUBX_CONFIGURE_OBJECT' * EXPORTING * CUOBJ = I_CONFIGURATION_SOURCE * DATE = I_KEY_DATE_S * KNOBJ = ITM_DATA-KNOBJ * OBJECT_TYPE = ODP_OBJECT-ITM * I_PARENT_MATERIAL = I_MATERIAL_PARENT * CHANGING * OBJECT = ITM_DATA * EXCEPTIONS * FALSE = 1 * UNKNOWN_INSTANCE = 2 * OTHERS = 3.



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