SAP Reports / Programs | Product Lifecycle Management | Recipe Management(PLM-RM) SAP PLM

RMXTP_PRINT_TRIAL_PO SAP ABAP Report - Program RMXTP_PRINT_TRIAL_PO







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


Text pool values


Title: Program RMXTP_PRINT_TRIAL_PO
Text Symbol: DUP = Duplic.


INCLUDES used within this REPORT RMXTP_PRINT_TRIAL_PO

INCLUDE RMXTP_PRINT_TRIAL_POTOP . " GLOBAL DATA
INCLUDE PPCOINCL.
INCLUDE CODRGT10.
INCLUDE LCODRINC.


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:

RMXT310_PRNT_FRML_SELECT CALL FUNCTION 'RMXT310_PRNT_FRML_SELECT' EXCEPTIONS cancel = 1 OTHERS = 2.

CO_DR_PR_OPT_FILL CALL FUNCTION 'CO_DR_PR_OPT_FILL' EXPORTING prt_co = prlst_tmp IMPORTING pr_opt = pr_options.

RMXT350_TRIAL_GET_FOR_PPPI CALL FUNCTION 'RMXT350_TRIAL_GET_FOR_PPPI' EXPORTING i_objecttype = 'PO' i_objectkey = lv_obj_key IMPORTING * e_trial_id = gs_trial_hdr-trialid es_trial_header = gs_trial_hdr EXCEPTIONS objecttype_not_supported = 1 no_relation_found = 2 OTHERS = 3.

RCP963_GET_DATA_FOR_GUID CALL FUNCTION 'RCP963_GET_DATA_FOR_GUID' EXPORTING i_obj_kind = 'RCP' i_guid = gs_trial_hdr-source_rcp i_keydate = sy-datum i_flg_with_txt = 'X' * I_FLG_AUTH_F4 = ' ' * I_FLG_LANGUAGE = ' ' IMPORTING * E_SUBCAT = e_pname = gv_rcp_pname e_txt = gv_rcp_pnametxt.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = gs_key IMPORTING matdaten = gs_matdaten * return = * MATPER = * TABLES * SEQMAT01 = EXCEPTIONS account_not_found = 1 batch_not_found = 2 forecast_not_found = 3 lock_on_account = 4 lock_on_material = 5 lock_on_plant = 6 lock_on_sales = 7 lock_on_sloc = 8 lock_on_batch = 9 lock_system_error = 10 material_not_found = 11 plant_not_found = 12 sales_not_found = 13 sloc_not_found = 14 slocnumber_not_found = 15 sloctype_not_found = 16 text_not_found = 17 unit_not_found = 18 invalid_mch1_matnr = 19 invalid_mtcom = 20 sa_material = 21 wv_material = 22 waart_error = 23 t134m_not_found = 24 OTHERS = 25.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = gs_key_rspos IMPORTING matdaten = gs_matdaten_rspos * return = * MATPER = * TABLES * SEQMAT01 = EXCEPTIONS account_not_found = 1 batch_not_found = 2 forecast_not_found = 3 lock_on_account = 4 lock_on_material = 5 lock_on_plant = 6 lock_on_sales = 7 lock_on_sloc = 8 lock_on_batch = 9 lock_system_error = 10 material_not_found = 11 plant_not_found = 12 sales_not_found = 13 sloc_not_found = 14 slocnumber_not_found = 15 sloctype_not_found = 16 text_not_found = 17 unit_not_found = 18 invalid_mch1_matnr = 19 invalid_mtcom = 20 sa_material = 21 wv_material = 22 waart_error = 23 t134m_not_found = 24 OTHERS = 25.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = gs_key IMPORTING matdaten = gs_makt_trial EXCEPTIONS material_not_found = 11 others = 99.

MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = gs_key IMPORTING matdaten = gs_mchar_trial EXCEPTIONS account_not_found = 1 batch_not_found = 2 forecast_not_found = 3 lock_on_account = 4 lock_on_material = 5 lock_on_plant = 6 lock_on_sales = 7 lock_on_sloc = 8 lock_on_batch = 9 lock_system_error = 10 material_not_found = 11 plant_not_found = 12 sales_not_found = 13 sloc_not_found = 14 slocnumber_not_found = 15 sloctype_not_found = 16 text_not_found = 17 unit_not_found = 18 invalid_mch1_matnr = 19 invalid_mtcom = 20 sa_material = 21 wv_material = 22 waart_error = 23 t134m_not_found = 24 OTHERS = 25.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = * ARCHIVE_PARAMS = device = 'PRINTER' dialog = '' form = print_co-forml language = print_co-spras options = pr_options * MAIL_SENDER = * MAIL_RECIPIENT = * MAIL_APPL_OBJECT = * RAW_DATA_INTERFACE = '*' * IMPORTING * LANGUAGE = * NEW_ARCHIVE_PARAMS = * RESULT = EXCEPTIONS canceled = 1 device = 2 form = 3 options = 4 unclosed = 5 mail_options = 6 archive_error = 7 invalid_fax_number = 8 more_params_needed_in_batch = 9 spool_error = 10 codepage = 11 OTHERS = 12.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'DUMMY' function = 'SET' type = 'BODY' window = 'MAIN' * IMPORTING * PENDING_LINES = EXCEPTIONS element = 1 function = 2 type = 3 unopened = 4 unstarted = 5 window = 6 bad_pageformat_for_print = 7 spool_error = 8 codepage = 9 OTHERS = 10.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS unopened = 1 bad_pageformat_for_print = 2 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 RMXTP_PRINT_TRIAL_PO or its description.