RN2PMD_BCSET_FROM_TRANSPORT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for PMD: Create BC Set from document category transport ..see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RN2PMD_BCSET_FROM_TRANSPORT into the relevant SAP transactions such as SE38 or SE80
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: P_ANWDIA = Dialog Application
Selection Text: P_ANWFRM = Print Form
Selection Text: P_ANWPRI = Print Application
Selection Text: P_DEID = Documentation Element
Selection Text: P_DOKART = Document Type
Selection Text: P_DTID = Document Category
Selection Text: P_DTVERS = Document Category Version
Selection Text: P_EINRI = Institution
Selection Text: P_TMODE = Test Mode
Selection Text: P_KORR = D .
Title: (obsolete)
Text Symbol: BGN = Keys of Generated Objects
Text Symbol: BKY = Key Fields
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SAPGUI_PROGRESS_INDICATOR ******* CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ******* EXPORTING ******* percentage = 100 ******* text = 'Verarbeitung abgeschlossen.'.
SCPR_EXT_BCSET_ID_ASK ******* CALL FUNCTION 'SCPR_EXT_BCSET_ID_ASK' ******* IMPORTING ******* bcset_id = g_id ******* bcset_text = g_text ******* component = g_component ******* minrelease = g_minrel ******* maxrelease = g_maxrel ******* EXCEPTIONS ******* user_abort = 1 ******* OTHERS = 2.
TR40_GET_COMPLETE_PROJECT ******* CALL FUNCTION 'TR40_GET_COMPLETE_PROJECT' ******* EXPORTING ******* iv_trkorr = p_korr ******* TABLES ******* et_orders = lt_orders.
TR_READ_COMM ******* CALL FUNCTION 'TR_READ_COMM' ******* EXPORTING ******* wi_dialog = off ******* wi_trkorr = l_order-trkorr ******* wi_sel_e071 = 'X' ******* wi_sel_e071k = 'X' ******* TABLES ******* wt_e071 = lt_e071 ******* wt_e071k = lt_e071k.
SCPR_TR_READ_DATA ******* CALL FUNCTION 'SCPR_TR_READ_DATA' ******* TABLES ******* tab_e071 = lt_e071_complete ******* tab_e071k = lt_e071k_complete ******* tab_descr_and_data = lt_data ******* EXCEPTIONS ******* no_data_found = 1 ******* OTHERS = 2.
SAPGUI_PROGRESS_INDICATOR ******* CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ******* EXPORTING ******* percentage = 99 ******* text = 'Lese Feldwerte...'.
SCPR_TEMPL_DATA_TO_RECA_VALUES ******* CALL FUNCTION 'SCPR_TEMPL_DATA_TO_RECA_VALUES' ******* EXPORTING ******* profid = g_id ******* TABLES ******* descr_and_data = lt_data ******* recattr = gt_attributes ******* values = gt_values.
SAPGUI_PROGRESS_INDICATOR ******* CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ******* EXPORTING ******* percentage = l_percent ******* text = 'Bearbeite Tabelleneinträge...'.
SAPGUI_PROGRESS_INDICATOR ******* CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ******* EXPORTING ******* percentage = 60 ******* text = 'Prüfe Transportanschluß...'.
SCPR_CT_TRANSPORT_CHECK ******* CALL FUNCTION 'SCPR_CT_TRANSPORT_CHECK' ******* EXPORTING ******* profid = g_id ******* EXCEPTIONS ******* stop_editing = 1 ******* to_display_mode = 2 ******* OTHERS = 3.
SAPGUI_PROGRESS_INDICATOR ******* CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ******* EXPORTING ******* percentage = 70 ******* text = 'Übertrage Attribute...'.
SAPGUI_PROGRESS_INDICATOR ******* CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' ******* EXPORTING ******* percentage = 80 ******* text = 'Schreibe neues BC-Set...'.
SCPR_EXT_BCSET_WRITE ******* CALL FUNCTION 'SCPR_EXT_BCSET_WRITE' ******* EXPORTING ******* bcset_id = g_id ******* bcset_text = g_text ******* component = g_component ******* minrelease = g_minrel ******* maxrelease = g_maxrel ******* TABLES ******* values = gt_values ******* recattr = lt_attr_new ******* EXCEPTIONS ******* user_abort = 1 ******* error_in_transport_layer = 2 ******* other_error = 3 ******* OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.