RBDSEMAT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In
If you would like to execute this report or see the full code listing simply enter RBDSEMAT into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
BD10 - Send Material
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.
Selection Text: LOGSYS = Logical system
Selection Text: MATSEL = Material
Selection Text: MESTYP = Message Type (Standard)
Selection Text: MESTYPAT = Message Type (Retail)
Selection Text: SELLIST = Class
Selection Text: SENDALL = Send material in full
Title: Send Material
Text Symbol: 001 = Data being selected
Text Symbol: P01 = Parallel processing
Text Symbol: P02 = Server group
Text Symbol: P03 = Number of materials per process
Text Symbol: P04 = Local Processing
INCLUDE MBDCONST.
INCLUDE RBDAUTHI.
INCLUDE MBDSUBPS.
No SAP DATABASE tables are accessed within this REPORT code!
F4HELP_CLASS CALL FUNCTION 'F4HELP_CLASS' EXPORTING dbtabelle_name = 'MARA' IMPORTING listung_id = sellist-low.
F4HELP_CLASS CALL FUNCTION 'F4HELP_CLASS' EXPORTING dbtabelle_name = 'MARA' IMPORTING listung_id = sellist-high.
CHECK_REDUCED_MESSAGE_TYPE CALL FUNCTION 'CHECK_REDUCED_MESSAGE_TYPE' EXPORTING message_typ = mestyp newflag = ' ' IMPORTING refmessage_typ = org_mestyp_mat.
CHECK_REDUCED_MESSAGE_TYPE CALL FUNCTION 'CHECK_REDUCED_MESSAGE_TYPE' EXPORTING message_typ = mestypat newflag = ' ' IMPORTING refmessage_typ = org_mestyp_art.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = output_text.
CLASSTYPE_FOR_MESSAGETYPE_GET CALL FUNCTION 'CLASSTYPE_FOR_MESSAGETYPE_GET' EXPORTING message_type = mestyp IMPORTING distribution_class_type = klart EXCEPTIONS no_classobject_for_this_mestyp = 01 no_classtype_for_this_object = 02.
CLAL_KLAH_KSSK_SEL CALL FUNCTION 'CLAL_KLAH_KSSK_SEL' EXPORTING key_date = sy-datum klart = klart TABLES in_class = sellist ex_kssk = t_kssk EXCEPTIONS objects_not_found = 01.
SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = rfcgr IMPORTING free_pbt_wps = wp_available "note 890971 EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 OTHERS = 6.
MASTERIDOC_CREATE_REQ_MATCOR CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATCOR' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp output_counter_init = output_counter_offset "//br output_total_init = output_total_mat "4.0
MASTERIDOC_CREATE_REQ_MATCOR CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATCOR' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp output_counter_init = output_counter_offset "//br output_total_init = output_total_mat" 4.0
MASTERIDOC_CREATE_REQ_MATCOR CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATCOR' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_matmas ON END OF TASK EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestyp suppress_progress_indicator = c_true TABLES marakey = t_matkeypack EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MASTERIDOC_CREATE_REQ_MATCOR CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATCOR' EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestyp suppress_progress_indicator = c_true IMPORTING CREATED_COMM_IDOCS = H_COMM_IDOCS TABLES marakey = t_matkeypack.
MASTERIDOC_CREATE_REQ_MATCOR CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATCOR' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_matmas ON END OF TASK EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestyp suppress_progress_indicator = c_true TABLES marakey = t_matkeypack EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MASTERIDOC_CREATE_REQ_MATCOR CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATCOR' EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestyp suppress_progress_indicator = c_true IMPORTING CREATED_COMM_IDOCS = H_COMM_IDOCS TABLES marakey = t_matkeypack.
MASTERIDOC_CREATE_REQ_MATMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp output_counter_init = output_counter_offset "//br output_total_init = output_total_mat" 4.0
MG_IDOC_CREATE_FULL_MAT CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
MASTERIDOC_CREATE_REQ_MATMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp output_counter_init = output_counter_offset "//br output_total_init = output_total_mat "4.0
MG_IDOC_CREATE_FULL_MAT CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_matmas ON END OF TASK EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestyp suppress_progress_indicator = c_true sendconfig = sendall TABLES marakey = t_matkeypack EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MASTERIDOC_CREATE_REQ_MATMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS' EXPORTING RCVPFC = SPACE RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = SPACE SNDPRN = SPACE SNDPRT = SPACE MESSAGE_TYPE = MESTYP SUPPRESS_PROGRESS_INDICATOR = C_TRUE SENDCONFIG = SENDALL IMPORTING CREATED_COMM_IDOCS = H_COMM_IDOCS TABLES MARAKEY = T_MATKEYPACK.
MG_IDOC_CREATE_FULL_MAT CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_send_full ON END OF TASK EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS resource_failure = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MG_IDOC_CREATE_FULL_MAT CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
MASTERIDOC_CREATE_REQ_MATMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_matmas ON END OF TASK EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestyp suppress_progress_indicator = c_true sendconfig = sendall TABLES marakey = t_matkeypack EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MASTERIDOC_CREATE_REQ_MATMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_MATMAS' EXPORTING RCVPFC = SPACE RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = SPACE SNDPRN = SPACE SNDPRT = SPACE MESSAGE_TYPE = MESTYP SUPPRESS_PROGRESS_INDICATOR = C_TRUE SENDCONFIG = SENDALL IMPORTING CREATED_COMM_IDOCS = H_COMM_IDOCS TABLES MARAKEY = T_MATKEYPACK.
MG_IDOC_CREATE_FULL_MAT CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_send_full ON END OF TASK EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS resource_failure = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MG_IDOC_CREATE_FULL_MAT CALL FUNCTION 'MG_IDOC_CREATE_FULL_MAT' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
MASTERIDOC_CREATE_REQ_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ARTMAS' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestypat output_total_init = output_total_art output_counter_init = output_counter_offset dxwb_call = dxwbcall "JH/29.04.99/4.6A
MG_IDOC_CREATE_FULL_ART CALL FUNCTION 'MG_IDOC_CREATE_FULL_ART' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
MASTERIDOC_CREATE_REQ_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ARTMAS' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestypat output_total_init = output_total_art output_counter_init = output_counter_offset dxwb_call = dxwbcall "JH/29.04.99/4.6A
MG_IDOC_CREATE_FULL_ART CALL FUNCTION 'MG_IDOC_CREATE_FULL_ART' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
MASTERIDOC_CREATE_REQ_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ARTMAS' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_artmas ON END OF TASK EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestypat suppress_progress_indicator = c_true TABLES marakey = t_matkeypack EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MASTERIDOC_CREATE_REQ_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ARTMAS' EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestypat suppress_progress_indicator = c_true IMPORTING CREATED_COMM_IDOCS = H_COMM_IDOCS TABLES marakey = t_matkeypack.
MG_IDOC_CREATE_FULL_ART CALL FUNCTION 'MG_IDOC_CREATE_FULL_ART' STARTING NEW TASK taskname DESTINATION IN GROUP RFCGR PERFORMING return_info_send_full ON END OF TASK EXPORTING RCVPFC = ' ' RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = ' ' SNDPRN = ' ' SNDPRT = ' ' MESSAGE_TYPE = MESTYP TABLES MARAKEY = T_MATKEYPACK EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MG_IDOC_CREATE_FULL_ART CALL FUNCTION 'MG_IDOC_CREATE_FULL_ART' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
MASTERIDOC_CREATE_REQ_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ARTMAS' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_artmas ON END OF TASK EXPORTING rcvpfc = space rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = space sndprn = space sndprt = space message_type = mestypat suppress_progress_indicator = c_true TABLES marakey = t_matkeypack EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MASTERIDOC_CREATE_REQ_ARTMAS CALL FUNCTION 'MASTERIDOC_CREATE_REQ_ARTMAS' EXPORTING RCVPFC = SPACE RCVPRN = RECEIVER_PRN RCVPRT = RECEIVER_PRT SNDPFC = SPACE SNDPRN = SPACE SNDPRT = SPACE MESSAGE_TYPE = MESTYPAT SUPPRESS_PROGRESS_INDICATOR = C_TRUE IMPORTING CREATED_COMM_IDOCS = H_COMM_IDOCS TABLES MARAKEY = T_MATKEYPACK.
MG_IDOC_CREATE_FULL_ART CALL FUNCTION 'MG_IDOC_CREATE_FULL_ART' STARTING NEW TASK taskname DESTINATION IN GROUP rfcgr PERFORMING return_info_send_full ON END OF TASK EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS RESOURCE_FAILURE = 01 system_failure = 02 MESSAGE LV_MSG communication_failure = 03 MESSAGE LV_MSG.
MG_IDOC_CREATE_FULL_ART CALL FUNCTION 'MG_IDOC_CREATE_FULL_ART' EXPORTING rcvpfc = ' ' rcvprn = receiver_prn rcvprt = receiver_prt sndpfc = ' ' sndprn = ' ' sndprt = ' ' message_type = mestyp TABLES marakey = t_matkeypack EXCEPTIONS OTHERS = 0.
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 RBDSEMAT or its description.