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

RN2DOC_CREATE_LINK_ARCH_TEST SAP ABAP Report - Test Program for Archive Interface







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


Text pool values


Selection Text: P_PROD = D Update Run (DB Changes)
Selection Text: P_TEST = D Test Run (Log Only)
Selection Text: R_ARCDOC = D Document ID
Selection Text: R_ARCID = D Content Repository ID
Selection Text: R_ARCOBJ = D Document Type
Selection Text: R_DTID = D Document Category ID
Selection Text: R_DTVERS = D DocCatgy Version No.
Selection Text: R_EINRI = D Institution
Selection Text: R_FALNR = D Case
Selection Text: R_MITARB = D Employee Responsible
Selection Text: R_ORGDO = D Documenting Org. Unit
Selection Text: R_PATNR = D Patient
Title: Test Program for Archive Interface
Text Symbol: T02 = The program is not released, but intended for internal use only.
Text Symbol: T01 = ATTENTION:
Text Symbol: H15 = Document Created:
Text Symbol: H14 = OUTPUT
Text Symbol: H13 = Messages:
Text Symbol: H12 = INPUT
Text Symbol: H11 = PRODUCTIVEMODE: Documents were archived
Text Symbol: H10 = TESTMODE: No documents were archived
Text Symbol: E13 = ArchObject
Text Symbol: E12 = PTR
Text Symbol: E11 = Archive Document ID
Text Symbol: 001 = Typ
Text Symbol: 002 = Message Class
Text Symbol: 003 = No.
Text Symbol: 004 = Message
Text Symbol: 010 = Entry Parameter:
Text Symbol: 011 = Number of Errors:
Text Symbol: 012 = Lines of I_MESG:
Text Symbol: 020 = Type
Text Symbol: 021 = DocNumber
Text Symbol: 022 = DocPartNo.
Text Symbol: 023 = Doc.Vers.
Text Symbol: B01 = Document Management Data
Text Symbol: B02 = Archive Data:
Text Symbol: B10 = Processing Mode





Text Symbol: E01 = Inst
Text Symbol: E02 = Doc.Ctgy
Text Symbol: E03 = Employee
Text Symbol: E04 = Docu. OU
Text Symbol: E05 = Test (Log Only)
Text Symbol: E06 = Productive (DB Change)
Text Symbol: E07 = Processing Mode
Text Symbol: E08 = PatNo
Text Symbol: E09 = Case
Text Symbol: E10 = ID


INCLUDES used within this REPORT RN2DOC_CREATE_LINK_ARCH_TEST

INCLUDE RNDATA00.
INCLUDE IN2DOC_CONST01.


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:

BAPI_MEDDOC_CREATE_LINK CALL FUNCTION 'BAPI_MEDDOC_CREATE_LINK' EXPORTING archive_link = on documentdata_in = gs_docdatain archivedata = gs_archivedata testrun = g_testrun IMPORTING worst_returned_msgty = g_worst_msgty documentdata = gs_docdata TABLES return = gt_return movement_in = gt_movein caseservice_in = gt_servin request_in = gt_reqin movement = gt_move caseservice = gt_serv request = gt_req.

BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' IMPORTING return = gs_return_commit.

BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK' IMPORTING return = gs_return_commit.



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