SAP Reports / Programs | Patient Management | SAP Healthcare - Industry-Specific Components for Hospitals | Patient Management(IS-H-PM) SAP IS

RN1_CORRECT_COMMENT_TEXT SAP ABAP Report - Adjust Comment Text in Clinical Order







RN1_CORRECT_COMMENT_TEXT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for When the clinical order is saved, an error prevents the system from saving the line breaks in the long text of the "Comment" header component...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 RN1_CORRECT_COMMENT_TEXT 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 RN1_CORRECT_COMMENT_TEXT. "Basic submit
SUBMIT RN1_CORRECT_COMMENT_TEXT AND RETURN. "Return to original report after report execution complete
SUBMIT RN1_CORRECT_COMMENT_TEXT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Adjust Comment Text in Clinical Order
Text Symbol: 010 = Test Run
Text Symbol: 011 = List Output


INCLUDES used within this REPORT RN1_CORRECT_COMMENT_TEXT

INCLUDE MNDATA00.


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:

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING client = ls_t000-mandt id = ls_stxh-tdid language = ls_stxh-tdspras name = ls_stxh-tdname object = ls_stxh-tdobject TABLES lines = lt_tline.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING client = ls_t000-mandt header = ls_thead savemode_direct = 'X' TABLES lines = lt_tline_new EXCEPTIONS id = 1 language = 2 name = 3 object = 4 OTHERS = 5.



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 RN1_CORRECT_COMMENT_TEXT or its description.