SAP Reports / Programs | Sales and Distribution | Foreign Trade(SD-FT) SAP SD

/SAPSLL/BOMMAT_DISTRIBUTE_CPR3 SAP ABAP Report - Transfer of Bills of Material by Change Pointers







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


Text pool values


Selection Text: P_DATUV = Valid from Key Date
Selection Text: P_LOGEXT = Description
Selection Text: P_BOMET = D .
Selection Text: P_MODEL = D .
Selection Text: P_PFONY = D .
Title: Transfer of Bills of Material by Change Pointers
Text Symbol: 001 = BOM TRANSFER
Text Symbol: 002 = Selection Criterion
Text Symbol: 003 = Control of BOM Explosion
Text Symbol: 004 = Log in GTS System
Text Symbol: 010 = Explode Alternative Assembly
Text Symbol: 011 = Production
Text Symbol: 012 = Plant Maintenance
Text Symbol: 013 = Costing
Text Symbol: 014 = Engineering/Design
Text Symbol: 015 = Shipping
Text Symbol: 016 = Explode Dummy Assembly


INCLUDES used within this REPORT /SAPSLL/BOMMAT_DISTRIBUTE_CPR3

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:

CHANGE_POINTERS_READ_MODE_SET CALL FUNCTION 'CHANGE_POINTERS_READ_MODE_SET' EXPORTING message_type = gc_bommat_sll block_size = gc_block_size EXCEPTIONS invalid_block_size = 1 block_size_already_set = 2 invalid_key = 3 OTHERS = 4.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = gs_crit_bom-param-prelogsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2 .

/SAPSLL/BOMMAT_EXPLODE_R3 CALL FUNCTION '/SAPSLL/BOMMAT_EXPLODE_R3' EXPORTING is_crit_bom_explode = gs_crit_bom IMPORTING et_bom_obj = gt_bom_obj ev_subrc = gv_retcode TABLES et_messages = gt_bapiret2 EXCEPTIONS OTHERS = 1.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL' * EXPORTING * _SYNCHRON = ' ' .

ENQUEUE_E_BDCPS CALL FUNCTION 'ENQUEUE_E_BDCPS' EXPORTING mode_bdcps = 'E' * MANDT = SY-MANDT * CPIDENT = mestype = iv_msgtype * X_CPIDENT = ' ' * X_MESTYPE = ' ' * _SCOPE = '2' * _WAIT = ' ' * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3 .

CHANGE_POINTERS_READ CALL FUNCTION 'CHANGE_POINTERS_READ' EXPORTING * ACTIVATION_DATE_HIGH = ' ' * ACTIVATION_DATE_LOW = ' ' * ACTIVATION_TIME_HIGH = '000000' * ACTIVATION_TIME_LOW = '000000' * CHANGE_DOCUMENT_OBJECT_CLASS = ' ' * CREATION_DATE_HIGH = ' ' * CREATION_DATE_LOW = ' ' * CREATION_TIME_HIGH = '000000' * CREATION_TIME_LOW = '000000' message_type = gc_bommat_sll * READ_NOT_PROCESSED_POINTERS = 'X' TABLES change_pointers = lt_bdcp * MESSAGE_TYPES = EXCEPTIONS error_in_date_interval = 1 error_in_time_interval = 2 OTHERS = 3 .

/SAPSLL/MAP_R3_API_BOM CALL FUNCTION '/SAPSLL/MAP_R3_API_BOM' EXPORTING is_crit_bom_explode = is_crit_bom is_bom_obj = ls_bom_obj TABLES ct_messages = ct_messages CHANGING cs_api_bom_org = ls_api_bom_org ct_api_bom_hdr = lt_api_bom_hdr ct_api_bom_item = lt_api_bom_itm EXCEPTIONS OTHERS = 1.

/SAPSLL/CD_ALE_RECEIVER_GET_R3 CALL FUNCTION '/SAPSLL/CD_ALE_RECEIVER_GET_R3' IMPORTING ev_rfc_dest = lv_rfcdest EXCEPTIONS no_rfc_destination_maintained = 1 customs_server_not_unique = 2 OTHERS = 3.

SLL_LEG_BOMR3_003 CALL FUNCTION 'SLL_LEG_BOMR3_003' EXPORTING is_api_bom_org = ls_api_bom_org TABLES it_api_bom_hdr = lt_api_bom_hdr it_api_bom_item = lt_api_bom_itm it_api_bom_wkgrp = is_crit_bom-wkgrp[] it_messages = ct_messages EXCEPTIONS OTHERS = 1.

/SAPSLL/API_BOM_SYNCH_MASS CALL FUNCTION '/SAPSLL/API_BOM_SYNCH_MASS' DESTINATION lv_rfcdest EXPORTING is_api_bom_org = ls_api_bom_org TABLES it_api_bom_hdr = lt_api_bom_hdr_packaged it_api_bom_item = lt_api_bom_itm_packaged it_api_bom_wkgrp = is_crit_bom-wkgrp[] it_messages = ct_messages EXCEPTIONS OTHERS = 1.

RFC_CONNECTION_CLOSE CALL FUNCTION 'RFC_CONNECTION_CLOSE' EXPORTING destination = lv_rfcdest EXCEPTIONS destination_not_open = 1 OTHERS = 2.

CHANGE_POINTERS_STATUS_WRITE CALL FUNCTION 'CHANGE_POINTERS_STATUS_WRITE' EXPORTING message_type = gc_bommat_sll TABLES change_pointers_idents = lt_bdicpident.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = iv_tabname * ALL_TYPES = ' ' * LFIELDNAME = ' ' * GROUP_NAMES = ' ' * UCLEN = * IMPORTING * X030L_WA = * DTELINFO_WA = * TTYPINFO_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES * X031L_TAB = dfies_tab = lt_dfies EXCEPTIONS not_found = 1 OTHERS = 2 .

DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = iv_objname * STATE = 'A' * LANGU = ' ' * IMPORTING * GOTSTATE = * dd01v_wa = TABLES dd07v_tab = lt_dd07v EXCEPTIONS illegal_input = 1 OTHERS = 2 .



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 /SAPSLL/BOMMAT_DISTRIBUTE_CPR3 or its description.