SAP Reports / Programs

RFFMS181 SAP ABAP Report - Provide Purchase Orders with Commitment Items







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RFFMS181. "Basic submit
SUBMIT RFFMS181 AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMS181 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RFFMS181

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFFMS181 or its description.