RN1PMD_SGEN_BG is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to generate a parameterizable medical document (PMD)...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 RN1PMD_SGEN_BG 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_DTID = Document Category
Selection Text: P_DTVERS = Version
Selection Text: P_EINRI = D .
Title: Generate Document Category
Text Symbol: 001 = Selection Criteria
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_EN2DT CALL FUNCTION 'ENQUEUE_EN2DT' EXPORTING einri = p_einri dtid = p_dtid dtvers = p_dtvers EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ISH_N2_PMD_GENERATE_PROGRAM CALL FUNCTION 'ISH_N2_PMD_GENERATE_PROGRAM' EXPORTING i_dtkey = ls_document_type_key " Schlüssel des Dokumenttyps * BEGIN MED-50499 * i_what = n2c_gen__version " 'Version', 'DocType', 'Pool' --> s....N2C
DEQUEUE_EN2DT CALL FUNCTION 'DEQUEUE_EN2DT' EXPORTING einri = p_einri dtid = p_dtid dtvers = p_dtvers.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.