SAP Reports / Programs | Clinical System | Clinical System(IS-HMED) SAP IS

RN2D13BG SAP ABAP Report - Generated SAPscript Control: 100 0001 N3BGD13BOG version 01 (Germany)







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


Text pool values


Title: Generated SAPscript Control: 100 0001 N3BGD13BOG version 01 (Germany)
Text Symbol: 001 = Disallowed Value in the Database


INCLUDES used within this REPORT RN2D13BG

No INCLUDES are used within this REPORT code!


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:

ISH_N2_DOCUMENT_CHECK CALL FUNCTION 'ISH_N2_DOCUMENT_CHECK' EXPORTING SS_MODE = ' ' SS_TCODE = IN_TCODE SS_VCODE = 'PRI' TABLES SS_NDOC = IN_NDOC EXCEPTIONS NO_AUTH = 1 NO_DOCUMENT = 2 OTHERS = 3.

ISH_N2_SET_GLOBAL_DATA CALL FUNCTION 'ISH_N2_SET_GLOBAL_DATA' EXPORTING SS_NPAT = IN_NPAT SS_N2DT = IN_N2DT SS_N2DTT = IN_N2DTT TABLES SS_NDOC = IN_NDOC.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING NO_DIALOG = TRUE IMPORTING * OUT_ARCHIVE_PARAMETERS = SYS_ARCHIVE_PARAMS OUT_PARAMETERS = SYS_PARAMS VALID = SYS_VALID EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 1 INVALID_PRINT_PARAMS = 2 INVALID_ARCHIVE_PARAMS = 3 OTHERS = 4.

GET_TEXT_PRINT_PARAMETERS CALL FUNCTION 'GET_TEXT_PRINT_PARAMETERS' EXPORTING OPTIONS = DRUCK_OPTIONS * FORMAT_ITF = ' ' IMPORTING NEWOPTIONS = DRUCK_OPTIONS PRINT_FORMAT = DRUCK_PRINT_FORMAT EXCEPTIONS CANCELED = 1 OTHERS = 2.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING NO_DIALOG = TRUE IMPORTING * OUT_ARCHIVE_PARAMETERS = SYS_ARCHIVE_PARAMS OUT_PARAMETERS = SYS_PARAMS VALID = SYS_VALID EXCEPTIONS ARCHIVE_INFO_NOT_FOUND = 1 INVALID_PRINT_PARAMS = 2 INVALID_ARCHIVE_PARAMS = 3 OTHERS = 4.

SET_PRINT_PARAMETERS CALL FUNCTION 'SET_PRINT_PARAMETERS' EXPORTING * IN_ARCHIVE_PARAMETERS = ' ' IN_PARAMETERS = SYS_PARAMS EXCEPTIONS OTHERS = 1.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING * APPLICATION = 'TX' * ARCHIVE_INDEX = ' ' * ARCHIVE_PARAMS = ' ' * DEVICE = 'PRINTER' DIALOG = ' ' FORM = SS_FORMULAR * LANGUAGE = SY-LANGU OPTIONS = DRUCK_OPTIONS * IMPORTING * language = * new_archive_params = * result = EXCEPTIONS CANCELED = 1 DEVICE = 2 FORM = 3 OPTIONS = 4 UNCLOSED = 5 OTHERS = 6.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = S_TXTELEMENT * FUNCTION = 'SET' * TYPE = 'BODY' WINDOW = S_WINDOW * IMPORTING * PENDING_LINES = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 OTHERS = 7.

ISH_N2_TEXT_LONG_TO_BUFFER CALL FUNCTION 'ISH_N2_TEXT_LONG_TO_BUFFER' EXPORTING SS_TLONG = TEXT_WORK * SS_APPEND = ' ' * IMPORTING * SS_TTAB_HIGH = TABLES SS_TTAB = L_TEXTBUFFER EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = SS_TXTELEMENT * FUNCTION = 'SET' * TYPE = 'BODY' WINDOW = SS_WINDOW * IMPORTING * PENDING_LINES = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 OTHERS = 7.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = SS_TXTELEMENT * FUNCTION = 'SET' * TYPE = 'BODY' WINDOW = SS_WINDOW * IMPORTING * PENDING_LINES = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 OTHERS = 7.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = LL_TXTELEMENT * FUNCTION = 'SET' * TYPE = 'BODY' WINDOW = SS_WINDOW * IMPORTING * PENDING_LINES = EXCEPTIONS ELEMENT = 1 FUNCTION = 2 TYPE = 3 UNOPENED = 4 UNSTARTED = 5 WINDOW = 6 OTHERS = 7.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' * importing * result = * tables * OTFDATA = EXCEPTIONS UNOPENED = 1 OTHERS = 2.

ISH_N2_SET_PFSTATUS_PARAM_DOK CALL FUNCTION 'ISH_N2_SET_PFSTATUS_PARAM_DOK' EXPORTING SS_VCODE = SVCODE SS_DOKSTATUS = IN_TDWS-DOSAR SS_DYNANZ = DYNANZ SS_DYNTYP = SPACE SS_LISTANZ = IN_LISTANZ SS_LISTPOS = IN_LISTPOS EXCEPTIONS OTHERS = 1.

ISH_N2_SET_TITLEBAR CALL FUNCTION 'ISH_N2_SET_TITLEBAR' EXPORTING SS_DOKBEZ = IN_N2DTT-DTKB SS_VCODE = SVCODE SS_VNAME = IN_NPAT-VNAME SS_NNAME = IN_NPAT-NNAME SS_BILDNR = 0 SS_BILDANZ = 0 SS_DOKSTAT = IN_TDWST-STABK EXCEPTIONS OTHERS = 1.



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