RFFMS182 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 RFFMS182 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_BUKRS = D Company code
Selection Text: P_KD = Cust.and vendor document lines
Selection Text: P_LISTE = Print list
Selection Text: P_MN = G/L Account Document Lines
Selection Text: P_TEST = Test run
Selection Text: S_BELNR = D Document number
Selection Text: S_GJAHR = D Fiscal year
Selection Text: S_HKONT = D General ledger account
Selection Text: S_KUNNR = D Customer
Selection Text: S_LIFNR = D Vendor
Selection Text: S_MONAT = D Posting period
Selection Text: S_RKONT = D General ledger account
Selection Text: S_UMSKS = D Sp.G/L trans.type
Title: Document lines receive commt item from G/L account (for LI/OI accts)=
Text Symbol: 001 = Company code
Text Symbol: 002 = Test run
Text Symbol: 003 = Upd. run
Text Symbol: 004 = Number of lines changed
Text Symbol: 100 = General selections
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = P_BUKRS IMPORTING E_T001 = G_F_COMPANY_CODE_DATA.
FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = P_BUKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = G_T_INVOICES_ALL-HKONT IMPORTING E_FIPOS = G_T_INVOICES_ALL-FIPNEW EXCEPTIONS FIPOS_DATA_NOT_FOUND = 1 NO_ACCOUNT_FOUND = 2 NO_FIPOS_FOUND = 3 OTHERS = 4.
FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = P_BUKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = G_T_INVOICES_ALL-HKONT IMPORTING E_FIPOS = G_T_INVOICES_ALL-FIPNEW EXCEPTIONS FIPOS_DATA_NOT_FOUND = 1 NO_ACCOUNT_FOUND = 2 NO_FIPOS_FOUND = 3 OTHERS = 4.
FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = P_BUKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = G_T_INVOICES_ALL-HKONT IMPORTING E_FIPOS = G_T_INVOICES_ALL-FIPNEW EXCEPTIONS FIPOS_DATA_NOT_FOUND = 1 NO_ACCOUNT_FOUND = 2 NO_FIPOS_FOUND = 3 OTHERS = 4.
FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = P_BUKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = G_T_INVOICES_ALL-HKONT IMPORTING E_FIPOS = G_T_INVOICES_ALL-FIPNEW EXCEPTIONS FIPOS_DATA_NOT_FOUND = 1 NO_ACCOUNT_FOUND = 2 NO_FIPOS_FOUND = 3 OTHERS = 4.
FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = P_BUKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = G_T_INVOICES_ALL-HKONT IMPORTING E_FIPOS = G_T_INVOICES_ALL-FIPNEW EXCEPTIONS FIPOS_DATA_NOT_FOUND = 1 NO_ACCOUNT_FOUND = 2 NO_FIPOS_FOUND = 3 OTHERS = 4.
FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING IP_FIKRS = G_F_COMPANY_CODE_DATA-FIKRS IP_FIPOS = C_F_LINE-FIPNEW IP_FLG_BUFFER_ALL = 'X' IMPORTING F_FMFPO = L_F_FMFPO EXCEPTIONS OTHERS = 3.
FM_CHANGE_AA_SUBST * CALL FUNCTION 'FM_CHANGE_AA_SUBST'
CALL METHOD REF_TO_BADI->GET_ACCNT_ASSIGN EXPORTING I_FMFPO = L_F_FMFPO I_COBL = L_F_COBL I_FMFCTR = L_F_FMFCTR IMPORTING E_FIPOS = C_F_LINE-FIPNEW.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFFMS182 - Document lines receive commt item from G/L account (for LI/OI accts)= RFFMS182 - Document lines receive commt item from G/L account (for LI/OI accts)= RFFMS181 - Provide Purchase Orders with Commitment Items RFFMS181 - Provide Purchase Orders with Commitment Items RFFMS180 - Program to Supply MM Documents with Commitment Items RFFMS180 - Program to Supply MM Documents with Commitment Items