SAP Reports / Programs | Public Sector Management | Funds Management | Funds Management-Specific Postings(PSM-FM-PO) SAP PSM

RFEXBLK0 SAP ABAP Report - Export Execution Data







RFEXBLK0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program exports all data relevant to the attachment of an external execution software...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 RFEXBLK0 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

F8V1 - Export execution data


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 RFEXBLK0. "Basic submit
SUBMIT RFEXBLK0 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEXBLK0 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: L_BUKRS = Company code
Selection Text: P_PC = Download to PC
Selection Text: S_KUNNR = Customers
Selection Text: S_LIFNR = Vendors
Selection Text: XALBEL = Transfer all documents
Selection Text: XDBUP = Data base entries update
Selection Text: XKRED = Also select customer data
Title: Export Execution Data
Text Symbol: 001 = File specifications
Text Symbol: 002 = Path
Text Symbol: 003 = LEADFILE
Text Symbol: 004 = Basic settings for document selection
Text Symbol: 005 = Only customers in execution
Text Symbol: 006 = Update of the database entries (test)
Text Symbol: 007 = Only Vendors in Execution
Text Symbol: 010 = File already exists
Text Symbol: 012 = File name
Text Symbol: 020 = Overwrite?
Text Symbol: 030 = Write to file


INCLUDES used within this REPORT RFEXBLK0

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:

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_fname including_dir = 'X' IMPORTING file_name = p_pcpath EXCEPTIONS OTHERS = 1.

FM_FYC_SCHEDMAN_INIT CALL FUNCTION 'FM_FYC_SCHEDMAN_INIT' EXPORTING i_repid = sy-repid "report id i_tcode = 'F8V1' "transaction code i_wfitem = wf_witem "parameter of RKASMAWF i_wflist = wf_wlist "parameter of RKASMAWF IMPORTING e_f_schedman_key = g_f_schedman_key.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING filename = l_pcpath " ds_name query = 'FE' "abbrev. for 'file exists'

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = l_unixpath EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = text-010 textline2 = text-020 titel = text-030 IMPORTING answer = l_answer.

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

OUTBOUND_CALL_00103010_E CALL FUNCTION 'OUTBOUND_CALL_00103010_E' EXPORTING i_dateiname = l_pcpath i_pc = p_pc TABLES t_t001 = l_t_t001 t_kna1 = l_t_kna1 t_lfa1 = l_t_lfa1 t_knb1 = l_t_knb1 t_lfb1 = l_t_lfb1 t_psokn = l_t_psokn t_psolf = l_t_psolf t_knb5 = l_t_knb5 t_lfb5 = l_t_lfb5 t_knbk = l_t_knbk t_lfbk = l_t_lfbk t_pskw4 = l_t_pskw4 t_pso04 = l_t_pso04 t_pso05 = l_t_pso05 t_t047a = l_t_t047a t_t047b = l_t_t047b t_bkpf = l_t_bkpf t_bsid = l_t_bsid t_bsik = l_t_bsik t_bsad = l_t_bsad t_bsak = l_t_bsak t_bsec = l_t_bsec.

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

NET_DUE_DATE_GET CALL FUNCTION 'NET_DUE_DATE_GET' EXPORTING i_zfbdt = c_t_ford-zfbdt i_zbd1t = c_t_ford-zbd1t i_zbd2t = c_t_ford-zbd2t i_zbd3t = c_t_ford-zbd3t i_shkzg = c_t_ford-shkzg i_rebzg = c_t_ford-rebzg * I_KOART = 'D' IMPORTING e_faedt = c_t_ford-nfaedt.

NET_DUE_DATE_GET CALL FUNCTION 'NET_DUE_DATE_GET' EXPORTING i_zfbdt = c_t_guts-zfbdt i_zbd1t = c_t_guts-zbd1t i_zbd2t = c_t_guts-zbd2t i_zbd3t = c_t_guts-zbd3t i_shkzg = c_t_guts-shkzg i_rebzg = c_t_guts-rebzg * I_KOART = 'D' IMPORTING e_faedt = c_t_guts-nfaedt.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

FI_PSO_PSO43_READ CALL FUNCTION 'FI_PSO_PSO43_READ' IMPORTING e_pso35 = l_f_pso35.

ENQUEUE_EXKNA1 CALL FUNCTION 'ENQUEUE_EXKNA1' EXPORTING kunnr = u_t_knb1_upd-kunnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EXLFA1 CALL FUNCTION 'ENQUEUE_EXLFA1' EXPORTING lifnr = u_t_lfb1_upd-lifnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsid_upd-bukrs belnr = u_t_bsid_upd-belnr gjahr = u_t_bsid_upd-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EFBKPF





CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsad_upd-bukrs belnr = u_t_bsad_upd-belnr gjahr = u_t_bsad_upd-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsik_upd-bukrs belnr = u_t_bsik_upd-belnr gjahr = u_t_bsik_upd-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsak_upd-bukrs belnr = u_t_bsak_upd-belnr gjahr = u_t_bsak_upd-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

ENQUEUE_EXKNA1 CALL FUNCTION 'ENQUEUE_EXKNA1' EXPORTING kunnr = u_t_knb1-kunnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsid-bukrs belnr = u_t_bsid-belnr gjahr = u_t_bsid-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsad-bukrs belnr = u_t_bsad-belnr gjahr = u_t_bsad-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EXLFA1 CALL FUNCTION 'ENQUEUE_EXLFA1' EXPORTING lifnr = u_t_lfb1-lifnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.




ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsik-bukrs belnr = u_t_bsik-belnr gjahr = u_t_bsik-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING bukrs = u_t_bsak-bukrs belnr = u_t_bsak-belnr gjahr = u_t_bsak-gjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = l_pcpath EXCEPTIONS OTHERS = 1.



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