CFB_WL_WRITE_TO_ARCHIVE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used to archive the weight logs that were generated when using the
If you would like to execute this report or see the full code listing simply enter CFB_WL_WRITE_TO_ARCHIVE 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: S_USER = D .
Selection Text: S_SCL_ID = D .
Selection Text: S_MJAHR = D .
Selection Text: S_MBLNR = D .
Selection Text: S_DATE = D .
Selection Text: P_WRITST = D .
Selection Text: P_WRIPRD = D .
Selection Text: P_SNAP = D .
Selection Text: P_PROT_O = D .
Selection Text: P_PROT = D .
Selection Text: P_DEST = D .
Selection Text: P_DELTST = D .
Selection Text: P_COMENT = D .
Selection Text: P_AR_ILM = D .
Selection Text: S_DOCCHK = Check Preceding Doc. Archiv.
Title: Program CFB_WL_WRITE_TO_ARCHIVE
Text Symbol: 010 = Production Order Not Yet Archived
Text Symbol: 009 = Purchasing doc. not archived yet
Text Symbol: 008 = No Data Selected
Text Symbol: 007 = Weight List Entries for Material Document Archived
Text Symbol: 006 = Creating Snapshot
Text Symbol: 005 = Retention Per. End Reached
Text Symbol: 004 = Completed
Text Symbol: 003 = Execution...
Text Symbol: 002 = Material document not archived yet
Text Symbol: 001 = Weight Log Entries
INCLUDE ARCH_WRITE_PRG_STANDARD2.
INCLUDE CFB_WL_WRITE_F01.
No SAP DATABASE tables are accessed within this REPORT code!
ARCHIVE_PROTOCOL_LINE_DETAIL CALL FUNCTION 'ARCHIVE_PROTOCOL_LINE_DETAIL'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.