SAP Reports / Programs | Logistics - General | Product Data Management | Product Structure Browser(LO-PDM-GF-OBR) SAP LO

RCPDMCLASSBILLOFPRJIMP SAP ABAP INCLUDE - documentation and ABAP source code







RCPDMCLASSBILLOFPRJIMP 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 RCPDMCLASSBILLOFPRJIMP 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 RCPDMCLASSBILLOFPRJIMP. "Basic submit
SUBMIT RCPDMCLASSBILLOFPRJIMP AND RETURN. "Return to original report after report execution complete
SUBMIT RCPDMCLASSBILLOFPRJIMP 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 RCPDMCLASSBILLOFPRJIMP

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = runstring.

CS_SO_ORGANIZE_REFRESH CALL FUNCTION 'CS_SO_ORGANIZE_REFRESH' EXPORTING i_force_refresh = cross
IMPORTING e_refresh = ls_expl_set-hold_stb.

CS_SO_MODE_BOM_EXPLOSION CALL FUNCTION 'CS_SO_MODE_BOM_EXPLOSION' EXPORTING is_rc29b1 = ls_expl_set i_frag_mode_dark = aux_dark
IMPORTING e_frag_idnrk = l_frag_idnrk
TABLES et_res_stpox = aux_stb_tab et_cscmat = aux_matcat
CHANGING es_topmat = aux_cstmat e_subrc = aux_subrc.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = runstring.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = runstring.

CS_CI_BOM_READ CALL FUNCTION 'CS_CI_BOM_READ' EXPORTING edatuv = validfrom flg_display = flag_x estlty = flag_p epspnr = wbs_number ematnr = materialnumber ewerks = plant estlan = bomusage
IMPORTING abicsk = aux_bicsk
TABLES bom_items = aux_bicsp
EXCEPTIONS alt_invalid = 01 alt_not_exist = 02 bom_invalid = 03 bom_not_exist = 04 foreign_lock = 05 no_auth = 06 system_failure = 07.

DOKUMENTE_ZU_OBJEKT CALL FUNCTION 'DOKUMENTE_ZU_OBJEKT' EXPORTING key = lcl_objky objekt = stko_doc_dokob
TABLES doktab = doc_tab
EXCEPTIONS kein_dokument = 01.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = tcode_cs72
EXCEPTIONS ok = 00 not_ok = 01.

ENQUEUE_ECPRSTE CALL FUNCTION 'ENQUEUE_ECPRSTE' EXPORTING mode_prst = 'E' mandt = sy-mandt pspnr = aux_csin-pspnr matnr = aux_csin-matnr werks = aux_csin-werks stlan = aux_csin-stlan x_werks = cross "note497832 EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

CS_SO_LINK_OBJ_BROWSER_CNT CALL FUNCTION 'CS_SO_LINK_OBJ_BROWSER_CNT' EXPORTING i_link_repid = lc_repid_csdi i_link_dynnr = lc_dynnr_2150 EXCEPTIONS err_link_env_wrong = 1 err_link_problems = 2 OTHERS = 3.

CS_SO_ACTIONS_ON_DOCKING CALL FUNCTION 'CS_SO_ACTIONS_ON_DOCKING' "set EXPORTING i_warning = cross i_set_common_lock = cross IMPORTING e_browser_locked = aux_browser_lock EXCEPTIONS err_failed = 1 OTHERS = 2.

CS_DI_INIT CALL FUNCTION 'CS_DI_INIT'.

CS_BOM_CALL_DIALOG_RFC CALL FUNCTION 'CS_BOM_CALL_DIALOG_RFC' EXPORTING bom_header = aux_bom_h ecsin = aux_csin TABLES item = aux_bom_item EXCEPTIONS cmode_error = 1.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

CS_SO_ACTIONS_ON_DOCKING CALL FUNCTION 'CS_SO_ACTIONS_ON_DOCKING' EXPORTING i_reset_lock = cross.

CS_SO_LINK_OBJ_BROWSER_CNT CALL FUNCTION 'CS_SO_LINK_OBJ_BROWSER_CNT' EXPORTING i_link_repid = lc_repid_csso i_link_dynnr = lc_dynnr_0305 EXCEPTIONS err_link_env_wrong = 1 err_link_problems = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = tcode_cs73
EXCEPTIONS ok = 00 not_ok = 01.

CS_SO_LINK_OBJ_BROWSER_CNT





CALL FUNCTION 'CS_SO_LINK_OBJ_BROWSER_CNT' EXPORTING i_link_repid = lc_repid_csdi i_link_dynnr = lc_dynnr_2150 EXCEPTIONS err_link_env_wrong = 1 err_link_problems = 2 OTHERS = 3.

CS_SO_ACTIONS_ON_DOCKING CALL FUNCTION 'CS_SO_ACTIONS_ON_DOCKING' EXPORTING i_set_common_lock = cross IMPORTING e_browser_locked = aux_browser_lock EXCEPTIONS err_failed = 1 OTHERS = 2.

CS_DI_INIT CALL FUNCTION 'CS_DI_INIT'.

CS_BOM_CALL_DIALOG CALL FUNCTION 'CS_BOM_CALL_DIALOG' EXPORTING ecsin = aux_csin EXCEPTIONS cmode_error = 1 OTHERS = 2.

CS_SO_ACTIONS_ON_DOCKING CALL FUNCTION 'CS_SO_ACTIONS_ON_DOCKING' EXPORTING i_reset_lock = cross.

CS_SO_LINK_OBJ_BROWSER_CNT CALL FUNCTION 'CS_SO_LINK_OBJ_BROWSER_CNT' EXPORTING i_link_repid = lc_repid_csso i_link_dynnr = lc_dynnr_0305 EXCEPTIONS err_link_env_wrong = 1 err_link_problems = 2 OTHERS = 3.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = tcode
EXCEPTIONS ok = 00 not_ok = 01.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = tcode
EXCEPTIONS ok = 00 not_ok = 01.

CS_SO_ACTIONS_ON_DOCKING CALL FUNCTION 'CS_SO_ACTIONS_ON_DOCKING' EXPORTING i_set_common_lock = cross
IMPORTING e_browser_locked = aux_browser_lock
EXCEPTIONS err_failed = 1 OTHERS = 2.

CS_SO_LINK_OBJ_BROWSER_CNT CALL FUNCTION 'CS_SO_LINK_OBJ_BROWSER_CNT' EXPORTING i_link_repid = lc_repid_cn10 i_link_dynnr = lc_dynnr_1000
EXCEPTIONS err_link_env_wrong = 1 err_link_problems = 2 OTHERS = 3.

CN10_EXTERNAL_CALL CALL FUNCTION 'CN10_EXTERNAL_CALL' EXPORTING i_rcnbom = aux_rcnbom.

CS_SO_ACTIONS_ON_DOCKING CALL FUNCTION 'CS_SO_ACTIONS_ON_DOCKING' EXPORTING i_reset_lock = cross.

CS_SO_LINK_OBJ_BROWSER_CNT CALL FUNCTION 'CS_SO_LINK_OBJ_BROWSER_CNT' EXPORTING i_link_repid = lc_repid_csso i_link_dynnr = lc_dynnr_0305 EXCEPTIONS err_link_env_wrong = 1 err_link_problems = 2 OTHERS = 3.

CS_SO_FIX_ASSEMBLY CALL FUNCTION 'CS_SO_FIX_ASSEMBLY' EXPORTING i_vbeln = ordernumber i_vbpos = orderitem i_pspnr = wbselement i_multi_level = l_mehrs i_datum = validfrom i_stlal = ass_prj->stlal i_stlnr = ass_prj->stlnr i_matnr = ass_prj->materialnumber i_stlan = ass_prj->bomusage i_werks = topplant i_capid = ass_prj->application1 * i_cuobj = ass_prj->cuobj1 i_matnr_top = topmat i_stufe = stufe i_wegxx = wegxx i_res_stlty = res_obj EXCEPTIONS wrong_input = 1 problems_with_bom_read = 3 problems_with_bom_write = 4 structure_has_changed = 8 user_cancled = 5 bom_is_locked = 2.

CS_SO_DEL_ASSEMBLY CALL FUNCTION 'CS_SO_DEL_ASSEMBLY' EXPORTING i_vbeln = ordernumber i_vbpos = orderitem i_pspnr = wbselement i_multi_level = l_mehrs i_datum = validfrom i_stlal = ass_prj->stlal i_stlnr = ass_prj->stlnr i_matnr = ass_prj->materialnumber i_stlan = ass_prj->bomusage i_werks = topplant i_capid = ass_prj->application1 * i_cuobj = ass_prj->cuobj1 i_matnr_top = topmat i_stufe = stufe i_wegxx = wegxx i_del_stlty = res_obj EXCEPTIONS wrong_input = 1 problems_with_bom_read = 3 problems_with_bom_delete = 11 structure_has_changed = 8 user_cancled = 5 bom_is_locked = 2.

CS_ALT_SELECT_PSP CALL FUNCTION 'CS_ALT_SELECT_PSP' EXPORTING datuv = validfrom matnr = materialnumber stlan = bomusage capid = application werks = plant pspnr = wbs_number
TABLES prstb_wa = aux_prstb_tab stkob_wa = aux_stkob_tab stzub_wa = aux_stzub_tab
EXCEPTIONS bom_not_active = 01 bom_not_found = 02 call_invalid = 03 no_alt_found = 04 no_bom_found = 05 only_link_found = 06.

GET_PRST_AOV CALL FUNCTION 'GET_PRST_AOV' EXPORTING NO_BUFFER = cross
TABLES prstb_tab = aux_prstb_tab
CHANGING wa_prstb_tab = aux_prstb_wa
EXCEPTIONS CALL_INVALID = 1 END_OF_TABLE = 2 KEY_INCOMPLETE = 3 KEY_INVALID = 4 NO_RECORD_FOUND = 5 OTHERS = 6.

CS_ALT_SELECT_PSP CALL FUNCTION 'CS_ALT_SELECT_PSP' EXPORTING datuv = validfrom matnr = materialnumber stlan = bomusage capid = application werks = aux_prstb_wa-werks pspnr = wbs_number
TABLES prstb_wa = aux_prstb_tab stkob_wa = aux_stkob_tab stzub_wa = aux_stzub_tab
EXCEPTIONS bom_not_active = 01 bom_not_found = 02 call_invalid = 03 no_alt_found = 04 no_bom_found = 05 only_link_found = 06.

C_PDM_APPLY_FILTER_TO_OBJECT CALL FUNCTION 'C_PDM_APPLY_FILTER_TO_OBJECT' EXPORTING object_type = billofprj billofprj_data = aux_billofprj_data check_form = filter_billofprj_form check_program = filter_billofprj_program validfrom = validfrom
IMPORTING check_ok = check_ok.



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