RFM_CM_EXCLUDE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for One of the Core System Requirements issued by the Financial Systems Integration Office (FSIO) deals with the ability to exclude credit memos from being offset against potential invoice payments...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 RFM_CM_EXCLUDE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
FM_CM_EXCLUDE_CLR - Reset Credit Memo for Payment Offset
FM_CM_EXCLUDE - Exclude Credit Memo for Pmt Offset
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_ZLSPR = D .
Selection Text: S_MEAS = D .
Selection Text: S_LIFNR = D .
Selection Text: S_KBLNR = D .
Selection Text: S_GSBER = D .
Selection Text: S_GJAHR = D .
Selection Text: S_FUND = D .
Selection Text: S_FKBER = D .
Selection Text: S_FISTL = D .
Selection Text: S_FIPEX = D .
Selection Text: S_EBELN = D .
Selection Text: S_CPUDT = D .
Selection Text: S_COCD = D .
Selection Text: S_BUDAT = D .
Selection Text: S_BP = Budget Period
Selection Text: S_BLDAT = D .
Selection Text: S_BLART = D .
Selection Text: S_BELNR = D .
Selection Text: P_ZLSPR = D .
Selection Text: P_TEST = Simulation (do not update)
Selection Text: P_MD_SET = Set payment blocks
Selection Text: P_MD_CLR = Remove payment blocks
Selection Text: P_BUKRS = D .
Title: Exclude Credit Memos from Payment Offset
Text Symbol: TST = Simulation
Text Symbol: TPS = items successfully processed
Text Symbol: TPE = items not processed due to errors
Text Symbol: SVN = Vendor Selection
Text Symbol: SPR = Processing Options
Text Symbol: SIT = Selection by Account Assignment Elements
Text Symbol: SEL = Selection Criteria
Text Symbol: SDO = Document Selection
Text Symbol: SDH = Document Header Fields
Text Symbol: PB2 = Set payment blocks
Text Symbol: PB1 = Post changes
Text Symbol: ISL = vendor items to be blocked
Text Symbol: EXC = excluding
INCLUDE RFM_CM_EXCLUDE_SELSCREEN.
No SAP DATABASE tables are accessed within this REPORT code!
T008_READ CALL FUNCTION 'T008_READ' EXPORTING zlspr = p_zlspr IMPORTING e_t008 = ls_t008 EXCEPTIONS not_found = 1 OTHERS = 2.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = p_bukrs IMPORTING e_t001 = ls_t001.
LFA1_READ_SINGLE CALL FUNCTION 'LFA1_READ_SINGLE' EXPORTING id_lifnr =
- -lifnr IMPORTING es_lfa1 = ls_lfa1.
FI_DOCUMENT_TYPE_DATA CALL FUNCTION 'FI_DOCUMENT_TYPE_DATA' EXPORTING i_blart =
-blart IMPORTING e_t003 = ls_t003.
PR_WF_CHECK_RELEVANT CALL FUNCTION 'PR_WF_CHECK_RELEVANT' EXPORTING dmbtr =
-dmbtr wfvar = ls_t001-wfvar blart = -blart bkpf = bseg = EXCEPTIONS not_relevant1 = 1 not_relevant2 = 2.
READ_CUSTOMIZED_MESSAGE CALL FUNCTION 'READ_CUSTOMIZED_MESSAGE' EXPORTING i_arbgb = 'F5' i_dtype = 'E' i_msgnr = '707' IMPORTING e_msgty = lv_msgty.
FI_DOCUMENT_CHECK_CHANGE CALL FUNCTION 'FI_DOCUMENT_CHECK_CHANGE' EXPORTING i_awtyp =
-awtyp i_awref = -awkey(10) i_aworg = -awkey+10(10) i_awsys = -awsys i_bukrs = p_bukrs i_koart = 'K' EXCEPTIONS no_reference = 1 no_document = 2 OTHERS = 3.
MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.
AC_PAYMENTBLOCK_CHECK CALL FUNCTION 'AC_PAYMENTBLOCK_CHECK' EXPORTING i_accpmblk = ls_accpmblk.
ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING belnr =
- -belnr bukrs =
- -bukrs gjahr =
- -gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2.
FI_DOCUMENT_CHANGE CALL FUNCTION 'FI_DOCUMENT_CHANGE' EXPORTING i_awtyp =
-awtyp i_awref = -awkey(10) i_aworg = -awkey+10(10) i_awsys = -awsys i_buzei = - -buzei x_lock = space TABLES t_accchg = lt_accchg EXCEPTIONS no_reference = 1 no_document = 2 many_documents = 3 wrong_input = 4 overwrite_creditcard = 5 OTHERS = 6.
AC_PAYMENTBLOCK_UPDATE CALL FUNCTION 'AC_PAYMENTBLOCK_UPDATE' EXPORTING i_accpmblk = ls_accpmblk.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFM_CM_EXCLUDE - Exclude Credit Memos from Payment Offset RFM_CM_EXCLUDE - Exclude Credit Memos from Payment Offset RFM_BUDPERIOD_AFTER_SWITCH2TOP - Include RFM_BUDPERIOD_AFTER_SWITCH2TOP RFM_BUDPERIOD_AFTER_SWITCH2F01 - Include RFM_BUDPERIOD_AFTER_SWITCH2F01 RFM_BUDPERIOD_AFTER_SWITCH2 - Add Budget Period to DDIC objects after Business Function is activate RFM_BUDPERIOD_AFTER_SWITCH2 - Add Budget Period to DDIC objects after Business Function is activate