SRM_KPRO_WRITE_PROGRAM 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 SRM_KPRO_WRITE_PROGRAM 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_ARCONT = Write Content in Archive
Selection Text: P_COMENT = D .
Selection Text: P_DELTST = D .
Selection Text: P_PROT = D .
Selection Text: P_PROT_O = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_WRITST = D .
Title: Document/Record Archiving: Write Program
Text Symbol: 001 = Select.
Text Symbol: 002 = Control
Text Symbol: 003 = Docs/Records
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ENQUEUE_E_SRM_ARC_TAG CALL FUNCTION 'ENQUEUE_E_SRM_ARC_TAG' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
ARCHIVE_PROTOCOL_INIT CALL FUNCTION 'ARCHIVE_PROTOCOL_INIT' EXPORTING i_detailprotocol = p_prot IMPORTING E_PROTOCOL_HANDLE = lv_protocol_hdl.
DEQUEUE_E_SRM_ARC_TAG CALL FUNCTION 'DEQUEUE_E_SRM_ARC_TAG'.
DEQUEUE_E_SRM_ARC_TAG CALL FUNCTION 'DEQUEUE_E_SRM_ARC_TAG'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SRM_KPRO_WRITE_PROGRAM - Document/Record Archiving: Write Program SRM_KPRO_WRITE_PROGRAM - Document/Record Archiving: Write Program SRM_KPRO_READ_PROGRAM - Document/Record Archiving: Read Program SRM_KPRO_READ_PROGRAM - Document/Record Archiving: Read Program SRM_KPRO_PRE_PROGRAM_READ_DF01 - SRMKPROPREPROGRAMREADDF01 SRM_KPRO_PRE_PROGRAM_F4_HELF01 - SRMKPROPREPROGRAMF4HELF01