SAP Reports / Programs

RFFMSHERLOCK_ADD_DOCUMENTS SAP ABAP Report - Clarification WL: Add Documents







RFFMSHERLOCK_ADD_DOCUMENTS 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 RFFMSHERLOCK_ADD_DOCUMENTS 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

FMSHERLOCK_ADD_D - Clarification WL: Add Documents


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 RFFMSHERLOCK_ADD_DOCUMENTS. "Basic submit
SUBMIT RFFMSHERLOCK_ADD_DOCUMENTS AND RETURN. "Return to original report after report execution complete
SUBMIT RFFMSHERLOCK_ADD_DOCUMENTS 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: PA_NMAX = Maximum Number of Items
Selection Text: SO_BELNR = D Document Number
Selection Text: SO_BUDAT = D Posting Date
Selection Text: SO_GJAHR = D Fiscal Year
Selection Text: SO_UMSKZ = D Special G/L Indicator
Title: Clarification WL: Add Documents
Text Symbol: 001 = Line Item Selection
Text Symbol: 002 = List Display
Text Symbol: 003 = Copy documents to clarification worklist?
Text Symbol: 004 = Documents selected
Text Symbol: 005 = End program?
Text Symbol: 006 = Should the program be ended?


INCLUDES used within this REPORT RFFMSHERLOCK_ADD_DOCUMENTS

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:

FM_FIPEX_GET_FROM_FIPOS CALL FUNCTION 'FM_FIPEX_GET_FROM_FIPOS' EXPORTING i_fipos = bsid-fipos IMPORTING e_fipex = l_fipex.

FI_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = l_bukrs IMPORTING e_t001 = l_t001.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = l_cprog i_callback_pf_status_set = 'SET_ALV_STATUS_SHERLOCK' i_callback_user_command = 'ALV_USER_COMMANDS_FMSHERLOCK' i_structure_name = 'FMSHERLOCK_ALV' is_layout = lf_layout it_fieldcat = lt_fieldcat i_save = 'A' TABLES t_outtab = lt_ausgabe EXCEPTIONS program_error = 1 OTHERS = 2 .

FMFK_GET_FIKRS_FROM_BUKRS CALL FUNCTION 'FMFK_GET_FIKRS_FROM_BUKRS' EXPORTING i_bukrs = u_bukrs IMPORTING e_fikrs = l_fikrs.

FM_FIPEX_READ_SINGLE_DATA CALL FUNCTION 'FM_FIPEX_READ_SINGLE_DATA' EXPORTING i_fikrs = l_fikrs i_gjahr = u_gjahr i_fipex = u_fipex IMPORTING e_f_vfmpg = l_f_vfmpg.

FM_FICTR_READ_SINGLE CALL FUNCTION 'FM_FICTR_READ_SINGLE' EXPORTING i_fikrs = l_fikrs i_fictr = u_fistl i_date = u_budat i_gjahr = u_gjahr IMPORTING e_f_fmfctr = l_f_fmfctr.

FINCODE_READ CALL FUNCTION 'FINCODE_READ' EXPORTING ip_fikrs = l_fikrs ip_fincode = u_geber ip_gjahr = u_gjahr IMPORTING f_fmfincode = l_f_fmfincode.

FM_AUTH_CHECK_HHM CALL FUNCTION 'FM_AUTH_CHECK_HHM' EXPORTING i_actvt = con_act_display " Anzeigen i_fikrs = l_fikrs * I_VERSN = ' ' i_authgrp_fictr = l_f_fmfctr-augrp i_authgrp_fipex = l_f_vfmpg-augrp i_authgrp_fonds = l_f_fmfincode-augrp i_fictr = u_fistl i_fipex = u_fipex i_fonds = u_geber i_flg_fonds_space = l_xspace IMPORTING e_flg_auth = l_authorized.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING tcode = 'FB03' EXCEPTIONS ok = 0 not_ok = 1 OTHERS = 2.

FMITPOFM_SHOW_BANK_STATEMENT CALL FUNCTION 'FMITPOFM_SHOW_BANK_STATEMENT' EXPORTING i_belnr = wa_result-belnr i_gjahr = wa_result-gjahr i_bukrs = wa_result-bukrs EXCEPTIONS nothing_found = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-003 text_question = l_question IMPORTING answer = l_answer.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'FMSHERLOCK' msgty = 'E' msgv1 = wa_ausgabe-bukrs msgv2 = wa_ausgabe-belnr msgv3 = wa_ausgabe-gjahr msgv4 = space txtnr = '041'.

FM_SHERLOCK_ADD_DOCUMENT CALL FUNCTION 'FM_SHERLOCK_ADD_DOCUMENT' EXPORTING i_bukrs = wa_ausgabe-bukrs i_belnr = wa_ausgabe-belnr i_buzei = wa_ausgabe-buzei i_gjahr = wa_ausgabe-gjahr i_kukey = wa_ausgabe-kukey i_esnum = wa_ausgabe-esnum EXCEPTIONS nothing_found = 1 db_error = 2 OTHERS = 3.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = sy-msgid msgty = sy-msgty msgv1 = sy-msgv1 msgv2 = sy-msgv2 msgv3 = sy-msgv3 msgv4 = sy-msgv4 txtnr = sy-msgno.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING arbgb = 'FMSHERLOCK' msgty = 'S' msgv1 = l_moves msgv2 = space msgv3 = space msgv4 = space txtnr = '040'.

MESSAGES_STOP * CALL FUNCTION 'MESSAGES_STOP'.

MESSAGES_SHOW CALL FUNCTION 'MESSAGES_SHOW' EXCEPTIONS no_messages = 2.

POPUP_TO_CONFIRM





CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-005 text_question = text-006 IMPORTING answer = l_answer.



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