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

/SAPSLL/BWHSTOCK_INIT_TRANS_R3 SAP ABAP Report - Initial Transfer of Duty-Paid Stock to SAP GTS







/SAPSLL/BWHSTOCK_INIT_TRANS_R3 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/BWHSTOCK_INIT_TRANS_R3 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

/SAPSLL/BWHIDP_R3 - Initial Transfer of Duty-Paid Stock


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


Text pool values


Selection Log
Selection Text: S_MATNR = D .
Selection Text: P_IVSIM = D .
Selection Text: P_IVLVL = D .
Selection Text: P_ECPID = D .
Selection Text: P_UMLME = Stock in Transfer
Selection Text: P_SPEME = Blocked Stock
Selection Text: P_RETME = Blocked Stock Returns
Selection Text: P_IVEPR = Display Already Transferred
Selection Text: P_INSME = Stock in Quality Inspection
Selection Text: P_EINME = Non-Free Batches
Title: Initial Transfer of Duty-Paid Stock to SAP GTS
Text Symbol: T10 = Other Stock Categories
Text Symbol: T08 = Processing
Text Symbol: T07 = Processing Log
Text Symbol: T06 = Error Description
Text Symbol: T05 = Material
Text Symbol: T04 = Transfer Log - Products Processed with Errors
Text Symbol: T03 = Processing Log
Text Symbol: T02 = Material Selection in Feeder System
Text Symbol: T01 = Customs ID
Text Symbol: L01 = All materials have been successfully transferred to SAP GTS
001 Material Short Text Plant SLoc Origin Stock


INCLUDES used within this REPORT /SAPSLL/BWHSTOCK_INIT_TRANS_R3

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:

/SAPSLL/CD_ALE_RECEIVER_GET_R3 call function '/SAPSLL/CD_ALE_RECEIVER_GET_R3' importing ev_rfc_dest = gv_rfc_dest exceptions no_rfc_destination_maintained = 1 customs_server_not_unique = 2 others = 3.

ENQUEUE_EMMARCE call function 'ENQUEUE_EMMARCE' exporting mode_marc = 'E' mandt = sy-mandt matnr = ls_ivms_tecor3-matnr werks = ls_ivms_tecor3-werks x_matnr = ' ' x_werks = ' ' _scope = '2' _wait = ' ' _collect = ' ' exceptions foreign_lock = 1 system_failure = 2 others = 3.

DEQUEUE_EMMARCE call function 'DEQUEUE_EMMARCE' exporting mode_marc = 'E' mandt = sy-mandt matnr = ls_marc_enqueue-matnr werks = ls_marc_enqueue-werks x_matnr = ' ' x_werks = ' ' _scope = '3' _synchron = ' ' _collect = ' '.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = ls_matnr-low importing output = lr_prvsy-low.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = ls_matnr-high importing output = lr_prvsy-high.

COUNTRY_CODE_SAP_TO_ISO call function 'COUNTRY_CODE_SAP_TO_ISO' exporting sap_code = iv_ctry_sap importing iso_code = cv_ctry_iso exceptions not_found = 2 others = 4.

UNIT_OF_MEASURE_SAP_TO_ISO call function 'UNIT_OF_MEASURE_SAP_TO_ISO' exporting sap_code = iv_uom_sap importing iso_code = cv_uom_iso exceptions not_found = 2 no_iso_code = 4 others = 6.

CONVERSION_EXIT_ALPHA_OUTPUT call function 'CONVERSION_EXIT_ALPHA_OUTPUT' exporting input = iv_prvsy importing output = cv_matnr.

CONVERSION_EXIT_ALPHA_INPUT call function 'CONVERSION_EXIT_ALPHA_INPUT' exporting input = cv_matnr importing output = cv_matnr.

/SAPSLL/API_IVMS_STOCK_SYNCH call function '/SAPSLL/API_IVMS_STOCK_SYNCH' starting new task 'IVMS' destination iv_rfc_dest exporting is_header = is_ivms_header tables it_item = it_api_imvs_item et_return = ct_return exceptions communication_failure = 1 message cv_proc_message system_failure = 2 message cv_proc_message stock_transmission_error = 3.

/SAPSLL/API_IVMS_STOCK_SYNCH call function '/SAPSLL/API_IVMS_STOCK_SYNCH' destination iv_rfc_dest exporting is_header = is_ivms_header tables it_item = it_api_imvs_item et_return = ct_return exceptions communication_failure = 1 message cv_proc_message system_failure = 2 message cv_proc_message stock_transmission_error = 3.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_callback_program = '/SAPSLL/BWHSTOCK_INIT_TRANS_R3' i_structure_name = gv_structure_proc_log i_grid_title = lv_title is_layout = ls_layout it_fieldcat = lt_fieldcat * it_sort = lt_sort i_save = gc_true tables t_outtab = ct_ivms_sel_log exceptions program_error = 1 others = 2.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = iv_structure i_client_never_display = gc_true changing ct_fieldcat = ct_fieldcat exceptions 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 /SAPSLL/BWHSTOCK_INIT_TRANS_R3 or its description.