SAP Reports / Programs

RFFMPOSA SAP ABAP Report - Process Petty Amounts







RFFMPOSA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Processing small amounts To avoid processing overpayments or underpayments on vendor and customer accounts manually, you can write off these so-called small amounts automatically using this program...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 RFFMPOSA into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FMPSOSA - Process Petty Amounts


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 RFFMPOSA. "Basic submit
SUBMIT RFFMPOSA AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMPOSA 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_DEFER = D Check deferral
Selection Text: P_DEBI = Customers
Selection Text: P_BUKRS = D Company code
Selection Text: P_BUDAT = D Posting date
Selection Text: P_BLDAT = D Document date
Selection Text: P_BELNR = Document number
Selection Text: S_LIFNR = D Vendor
Selection Text: S_KUNNR = D Customer
Selection Text: P_ZFBDT = Baseline date
Selection Text: P_XBLNR = Reference document number
Selection Text: P_UPAY = D Process underpayment
Selection Text: P_TESTR = Test run
Selection Text: P_RECUR = D Check standing request
Selection Text: P_PRE = Park request
Selection Text: P_POST = Post request
Selection Text: P_PERS = Sub-ledger account
Selection Text: P_OPAY = D Process overpayment
Selection Text: P_DEKR = Customers and vendors
Selection Text: P_DETAIL = Detailed log
Selection Text: P_DUNN = D Check dunning level
Selection Text: P_FAEDT = Net due date to
Selection Text: P_KREDI = Vendors
Selection Text: P_NUMB = Number of documents per req.
Title: Process Petty Amounts
Text Symbol: 014 = Clearing document
Text Symbol: 013 = Overpayment
Text Symbol: 012 = Underpayment
Text Symbol: 011 = Charge off small amounts: Production run
Text Symbol: 010 = Charge off small amounts: Test run
Text Symbol: 005 = Parameters
Text Symbol: 004 = Posting parameters
Text Symbol: 003 = Control data
Text Symbol: 002 = Summarization to
Text Symbol: 001 = Document selection


INCLUDES used within this REPORT RFFMPOSA

INCLUDE RKASMAWF.


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:

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = sy-repid "report id i_tcode = 'FMPSOSA' "transaction code i_wfitem = wf_witem "parameter of RKASMAWF i_wflist = wf_wlist "parameter of RKASMAWF i_flg_test = p_testr "flag for test mode IMPORTING e_f_schedman_key = g_f_schedman_key.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = g_s_log IMPORTING e_log_handle = g_log_handle EXCEPTIONS OTHERS = 1.

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key "obtained from schedman init i_wfitem = wf_witem "parameter of RKASMAWF i_wfokey = wf_okey "parameter of RKASMAWF i_aplstat = g_aplstat. "result filled

FM_FYC_SCHEDMAN_CLOSE CALL FUNCTION 'FM_FYC_SCHEDMAN_CLOSE' EXPORTING i_f_schedman_key = g_f_schedman_key "obtained from schedman init i_wfitem = wf_witem "parameter of RKASMAWF i_wfokey = wf_okey "parameter of RKASMAWF i_aplstat = g_aplstat. "result filled

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = g_s_display_profile i_t_log_handle = g_t_log_handle EXCEPTIONS OTHERS = 1.

DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING i_faede = l_faede IMPORTING e_faede = l_faede EXCEPTIONS OTHERS = 1.

DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING i_faede = l_faede IMPORTING e_faede = l_faede EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * I_LOG_HANDLE = i_s_msg = l_s_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = p_budat i_bukrs = u_bukrs IMPORTING e_gjahr = c_gjahr.

COMPANY_CODE_READ CALL FUNCTION 'COMPANY_CODE_READ' EXPORTING i_bukrs = u_bukrs IMPORTING e_t001 = l_f_t001.

FI_PSO_PSO04_READ CALL FUNCTION 'FI_PSO_PSO04_READ' EXPORTING i_psoea = u_t_psoea-psoea IMPORTING e_pso04 = l_f_pso04 EXCEPTIONS not_found = 1 OTHERS = 2.

FI_PSO_BUKRS_AUTH_CHECK CALL FUNCTION 'FI_PSO_BUKRS_AUTH_CHECK' EXPORTING i_act = '10' "con_act_post i_bukrs = p_bukrs.

FI_PSO_DOC_TYPE_AUTHORITY CALL FUNCTION 'FI_PSO_DOC_TYPE_AUTHORITY' EXPORTING i_blart = g_t_pso54-blart.

FI_PSO_DOC_TYPE_AUTHORITY CALL FUNCTION 'FI_PSO_DOC_TYPE_AUTHORITY' EXPORTING i_blart = g_t_pso54-blart.

FI_POSTING_KEY_DETERMINE CALL FUNCTION 'FI_POSTING_KEY_DETERMINE' EXPORTING i_koart = l_koart i_umsks = l_umsks "space i_shkzg = l_shkzg IMPORTING e_bschl = l_bschl_pers.

FI_POSTING_KEY_DETERMINE CALL FUNCTION 'FI_POSTING_KEY_DETERMINE' EXPORTING i_koart = l_koart i_umsks = l_umsks "space i_shkzg = l_shkzg IMPORTING e_bschl = l_bschl_glac.

FI_PSO_DOC_DIRECT_INPUT CALL FUNCTION 'FI_PSO_DOC_DIRECT_INPUT' EXPORTING i_del_nodata = ' ' i_intlot = 'X' "internal number i_lotkz_alloc = 'X' IMPORTING e_gjahr = c_gjahr e_belnr = c_belnr e_lotkz = l_lotkz TABLES t_bbkpf = l_t_bbkpf t_bbseg = l_t_bbseg EXCEPTIONS error_message = 01.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = 'C' * I_GROUP = ' ' * I_HOLDDATE = ' ' * I_KEEP = ' ' i_mode = 'N'.

FI_DOCUMENT_TYPE_FOR_TRANSFER





CALL FUNCTION 'FI_DOCUMENT_TYPE_FOR_TRANSFER' EXPORTING i_koart = 'D' IMPORTING e_blart = s_agblart_d.

FI_DOCUMENT_TYPE_FOR_TRANSFER CALL FUNCTION 'FI_DOCUMENT_TYPE_FOR_TRANSFER' EXPORTING i_koart = 'K' IMPORTING e_blart = s_agblart_k.

POSTING_INTERFACE_CLEARING CALL FUNCTION 'POSTING_INTERFACE_CLEARING' EXPORTING i_auglv = l_auglv i_tcode = l_tcode IMPORTING e_msgid = l_msgid e_msgno = l_msgno e_msgty = l_msgty e_msgv1 = l_msgv1 e_msgv2 = l_msgv2 e_msgv3 = l_msgv3 e_msgv4 = l_msgv4 e_subrc = l_subrc TABLES t_blntab = l_t_blntab t_ftclear = l_t_ftclear t_ftpost = l_t_ftpost t_fttax = l_t_fttax EXCEPTIONS clearing_procedure_invalid = 1 clearing_procedure_missing = 2 table_t041a_empty = 3 transaction_code_invalid = 4 amount_format_error = 5 too_many_line_items = 6 company_code_invalid = 7 screen_not_found = 8 no_authorization = 9 OTHERS = 10.

DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING i_faede = l_faede IMPORTING e_faede = l_faede EXCEPTIONS OTHERS = 1.

DETERMINE_DUE_DATE CALL FUNCTION 'DETERMINE_DUE_DATE' EXPORTING i_faede = l_faede IMPORTING e_faede = l_faede EXCEPTIONS OTHERS = 1.

FI_POSTING_KEY_DETERMINE CALL FUNCTION 'FI_POSTING_KEY_DETERMINE' EXPORTING i_koart = l_koart i_umsks = l_umsks "space i_shkzg = l_shkzg IMPORTING e_bschl = l_bschl_pers.

FI_POSTING_KEY_DETERMINE CALL FUNCTION 'FI_POSTING_KEY_DETERMINE' EXPORTING i_koart = l_koart i_umsks = l_umsks "space i_shkzg = l_shkzg IMPORTING e_bschl = l_bschl_glac.

FI_PSO_DOC_DIRECT_INPUT CALL FUNCTION 'FI_PSO_DOC_DIRECT_INPUT' EXPORTING i_del_nodata = ' ' i_intlot = 'X' "internal number i_lotkz_alloc = 'X' IMPORTING e_gjahr = c_gjahr e_belnr = c_belnr e_lotkz = l_lotkz TABLES t_bbkpf = l_t_bbkpf t_bbseg = l_t_bbseg EXCEPTIONS error_message = 01.



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 RFFMPOSA or its description.