RFFMS181 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 RFFMS181 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_KONT = with Account Assignment
Selection Text: P_PRINT = Print list
Selection Text: P_TEST = D Test run
Selection Text: P_UNKONT = w/o Account Assignment
Selection Text: S_BUKRS = D Company code
Selection Text: S_EBELN = D Purchasing document
Title: Provide Purchase Orders with Commitment Items
Text Symbol: 011 = Test Run
Text Symbol: 012 = Prod Run
Text Symbol: 013 = Document
Text Symbol: 014 = Position
Text Symbol: 015 = Pos
Text Symbol: 016 = Old CI
Text Symbol: 017 = New CI
Text Symbol: 018 = Please choose at least one type of purchase orders
Text Symbol: 019 = Number of document lines investigated
Text Symbol: 020 = Number of document lines with new Commitment Item:
Text Symbol: 021 = Number of errors:
Text Symbol: 022 = Company
Text Symbol: 023 = Purchase orders
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = L_T_KEY-BUKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = G_T_EKKN-SAKTO IMPORTING E_FIPOS = L_FIPOS EXCEPTIONS FIPOS_DATA_NOT_FOUND = 1 NO_ACCOUNT_FOUND = 2 NO_FIPOS_FOUND = 3.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
MR_ACCOUNT_ASSIGNMENT CALL FUNCTION 'MR_ACCOUNT_ASSIGNMENT' EXPORTING BEWERTUNGSKLASSE = MBEW-BKLAS BEWERTUNG_MODIF = U_BWMOD KONTENPLAN = U_KTOPL SOLL_HABEN_KENNZEICHEN = 'S' VORGANGSSCHLUESSEL = 'BSX' IMPORTING KONTO = L_HKONT EXCEPTIONS NOT_FOUND_T030 = 1 NOT_FOUND_T030R = 2 NOT_FOUND_T030B = 3 NOT_FOUND_T030S = 4.
FM3R_GET_POSIT_FROM_ACCOUNT CALL FUNCTION 'FM3R_GET_POSIT_FROM_ACCOUNT' EXPORTING I_BUKRS = U_BUKRS I_FLG_BUFFER_ALL = 'X' I_SAKNR = L_HKONT IMPORTING E_FIPOS = C_FIPOS EXCEPTIONS FIPOS_DATA_NOT_FOUND = 1 NO_ACCOUNT_FOUND = 2 NO_FIPOS_FOUND = 3.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = C_F_INFO-BUKRS IMPORTING E_T001 = L_F_T001.
FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING I_BUKRS = U_BUKRS IMPORTING E_T001 = L_F_T001.
FMFPO_READ_QUICK CALL FUNCTION 'FMFPO_READ_QUICK' EXPORTING IP_FIKRS = L_F_T001-FIKRS IP_FIPOS = C_FIPOS 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_FIPOS.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
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 RFFMS162 - Compare Value Date/Posting Date RFFMS162 - Compare Value Date/Posting Date