SAP Reports / Programs

FRE_ORD_IN_PROCESS_BUFFER SAP ABAP Report - Report FRE_ORD_IN_PROCESS_BUFFER







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

FRE06 - Processing of Order Inbound Buffer


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 FRE_ORD_IN_PROCESS_BUFFER. "Basic submit
SUBMIT FRE_ORD_IN_PROCESS_BUFFER AND RETURN. "Return to original report after report execution complete
SUBMIT FRE_ORD_IN_PROCESS_BUFFER 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_TASKS = Maximum Number of Processes
Selection Text: P_SVRGR = Logon / server group
Selection Text: P_CPSTAT = Processing Status - New
Selection Text: P_BLOCK = OP items per package
Selection Text: S_CPSTAT = Processing Status - Actual
Selection Text: S_DBEDAT = Order Date
Selection Text: S_DEINDT = Planned Delivery Date
Selection Text: S_DPSTAT = Processing Status D
Selection Text: S_ITMNO = Item Number
Selection Text: S_LOCFR = Source Location
Selection Text: S_LOCTO = Target Location
Selection Text: S_LOCTOP = Target Location
Selection Text: S_LOTYP = Target Location Type
Selection Text: S_LPSTAT = Processing Status L
Selection Text: C_PSOPDR = Send OP Del Recs immediately
Selection Text: C_PROC = Process OP Items
Selection Text: C_PPARAL = Parallel Processing
Selection Text: C_LIST = Display OP Data
Selection Text: C_DELE = Delete OP Items
Selection Text: C_COMPLD = Create only complete documents
Selection Text: C_CHNG = Change OP item status
Selection Text: S_MATNR = Article
Selection Text: S_ORDNO = Document Number
Selection Text: S_PPSTAT = Processing Status P
Title: Report FRE_ORD_IN_PROCESS_BUFFER
Text Symbol: S20 = Performance Options
Text Symbol: S12 = Create only complete documents
Text Symbol: S11 = Send OP DEL-Records immediately
Text Symbol: S10 = Processing Parameters
Text Symbol: S04 = Delete Order Proposals
Text Symbol: S03 = Process Order Proposals
Text Symbol: S02 = Change Order Proposal Processing Status
Text Symbol: S01 = Display Order Proposal Data
Text Symbol: S00 = Choose Processing Function
Text Symbol: I03 = Order proposals processed ...
Text Symbol: I02 = Order proposal items changed ...
Text Symbol: I01 = Select order proposal header ...
Text Symbol: HTK =





Text Symbol: E11 = Error deleting record(s) in FRE_BIF_OPI_IN !
Text Symbol: E10 = Check status FRE_BIF_OPI_IN !
Text Symbol: E09 = Error updating record(s) in FRE_BIF_OPI_IN !
Text Symbol: E08 = You must select one order proposal number
Text Symbol: E07 = Excludes, Ranges and Patterns are not allowed
Text Symbol: E06 = in combination with item selection !
Text Symbol: E05 = Only one order proposal number is possible
Text Symbol: E04 = The interface processing is locked by user
Text Symbol: E03 = Set the New Processing Status in the
Text Symbol: E02 = No data found in the BIF tables !
Text Symbol: E01 = Make at least one selection in the
Text Symbol: 003 = Order proposal item deletion records sent to F&R.
Text Symbol: 002 = Order proposals items deleted from BIF table.
Text Symbol: 001 = Order proposal item status changed to


INCLUDES used within this REPORT FRE_ORD_IN_PROCESS_BUFFER

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:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = sy-cprog i_callback_pf_status_set = 'ALV_SET_PF_STATUS' i_callback_user_command = 'ALV_USER_COMMAND' is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = 'A' i_tabname_header = lf_tabname_head i_tabname_item = lf_tabname_item i_structure_name_header = 'FRE_BIF_OPH_IN' i_structure_name_item = 'FRE_BIF_OPI_IN' is_keyinfo = ls_keyinfo * i_bypassing_buffer = 'X' TABLES t_outtab_header = lt_fre_bif_oph_in t_outtab_item = lt_fre_bif_opi_in EXCEPTIONS OTHERS = 0.

FRE_ORD_BUFFER_UPDATE CALL FUNCTION 'FRE_ORD_BUFFER_UPDATE' EXPORTING i_status = p_cpstat i_statval = '95' i_commit_ordno = 'X' it_items = lt_fre_bif_opi_in[] EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4.

FRE_ORD_BUFFER_UPDATE CALL FUNCTION 'FRE_ORD_BUFFER_UPDATE' EXPORTING i_status = 'P' i_commit_ordno = 'X' it_items = lt_fre_bif_opi_in[] EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4.

FRE_ORD_IN_INTERFACE CALL FUNCTION 'FRE_ORD_IN_INTERFACE' STARTING NEW TASK lf_taskname DESTINATION IN GROUP p_svrgr PERFORMING return_fre_ord_in_interface ON END OF TASK EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_41 op_item_if = lt_op_item_41 changing ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 resource_failure = 2 system_failure = 3 MESSAGE lf_message communication_failure = 4 MESSAGE lf_message OTHERS = 5.

FRE_ORD_IN_INTERFACE CALL FUNCTION 'FRE_ORD_IN_INTERFACE' EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_41 op_item_if = lt_op_item_41 CHANGING ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 OTHERS = 2. "#EC *

FRE_ORD_IN_INTERFACE2 CALL FUNCTION 'FRE_ORD_IN_INTERFACE2' STARTING NEW TASK lf_taskname DESTINATION IN GROUP p_svrgr PERFORMING return_fre_ord_in_interface2 ON END OF TASK EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_50 op_item_if = lt_op_item_50 changing ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 resource_failure = 2 system_failure = 3 MESSAGE lf_message communication_failure = 4 MESSAGE lf_message OTHERS = 5.

FRE_ORD_IN_INTERFACE2 CALL FUNCTION 'FRE_ORD_IN_INTERFACE2' EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_50 op_item_if = lt_op_item_50 CHANGING ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 OTHERS = 2. "#EC *

FRE_ORD_IN_INTERFACE3 CALL FUNCTION 'FRE_ORD_IN_INTERFACE3' STARTING NEW TASK lf_taskname DESTINATION IN GROUP p_svrgr PERFORMING return_fre_ord_in_interface3 ON END OF TASK EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_51 op_item_if = lt_op_item_51 changing ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 resource_failure = 2 system_failure = 3 MESSAGE lf_message communication_failure = 4 MESSAGE lf_message OTHERS = 5.

FRE_ORD_IN_INTERFACE3 CALL FUNCTION 'FRE_ORD_IN_INTERFACE3' EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_51 op_item_if = lt_op_item_51 CHANGING ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 OTHERS = 2. "#EC *

FRE_ORD_IN_INTERFACE4 CALL FUNCTION 'FRE_ORD_IN_INTERFACE4' STARTING NEW TASK lf_taskname DESTINATION IN GROUP p_svrgr PERFORMING return_fre_ord_in_interface4 ON END OF TASK EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_52 op_item_if = lt_op_item_52 changing ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 resource_failure = 2 system_failure = 3 MESSAGE lf_message communication_failure = 4 MESSAGE lf_message OTHERS = 5.






FRE_ORD_IN_INTERFACE4 CALL FUNCTION 'FRE_ORD_IN_INTERFACE4' EXPORTING is_control = ls_control TABLES op_header_if = lt_op_header_52 op_item_if = lt_op_item_52 CHANGING ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 OTHERS = 2. "#EC *

FRE_ORD_BUFFER_UPDATE CALL FUNCTION 'FRE_ORD_BUFFER_UPDATE' EXPORTING i_status = 'N' i_commit_ordno = 'X' it_items = lt_fre_bif_opi_in[] "1366126 EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4. "#EC *

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = ls_op_item_key-itmno IMPORTING output = ls_op_item_key-itmno.

FRE_ORD_BUFFER_DELETE CALL FUNCTION 'FRE_ORD_BUFFER_DELETE' EXPORTING i_commit_ordno = 'X' i_delete_hdr = 'X' it_items = lt_op_item_key_processed EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4.

FRE_ORD_BUFFER_DELETE CALL FUNCTION 'FRE_ORD_BUFFER_DELETE' EXPORTING i_commit_ordno = 'X' i_delete_hdr = 'X' it_items = lt_op_item_key_processed EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4.

FRE_ORD_BUFFER_UPDATE CALL FUNCTION 'FRE_ORD_BUFFER_UPDATE' EXPORTING i_status = 'C' i_commit_ordno = 'X' it_items = lt_op_item_key_proc_compl EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4.

FRE_ORD_BUFFER_UPDATE CALL FUNCTION 'FRE_ORD_BUFFER_UPDATE' EXPORTING i_status = 'E' i_commit_ordno = 'X' it_items = lt_op_item_key_error EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4.

FRE_CONVERT_TIMESTAMP_2_DATE CALL FUNCTION 'FRE_CONVERT_TIMESTAMP_2_DATE' EXPORTING ip_timestamp = -ordertst ip_werks = lf_werks IMPORTING ep_datum = lf_bedat.

FRE_CONVERT_TIMESTAMP_2_DATE CALL FUNCTION 'FRE_CONVERT_TIMESTAMP_2_DATE' EXPORTING ip_timestamp = -delivtst ip_werks = lf_werks IMPORTING ep_datum = lf_eindt.

FRE_ORD_IF_MODIFY_DB CALL FUNCTION 'FRE_ORD_IF_MODIFY_DB' EXPORTING modus = 'M' TABLES it_fre_if_header = lt_fre_if_header_out it_fre_if_item = lt_fre_if_item_out EXCEPTIONS database_error = 0 OTHERS = 0.

FRE_ORD_SEND_PARALLEL CALL FUNCTION 'FRE_ORD_SEND_PARALLEL' EXPORTING send_option = fre_send_option time_stamp = lf_filename session = lf_session_id TABLES if_header = lt_fre_if_header_out if_item = lt_fre_if_item_out.

FRE_ORD_BUFFER_DELETE CALL FUNCTION 'FRE_ORD_BUFFER_DELETE' EXPORTING i_commit_ordno = 'X' i_delete_hdr = 'X' it_items = lt_op_item_key_delete EXCEPTIONS check_input = 1 db_error = 2 error = 3 OTHERS = 4.

ENQUEUE_E_FRE_MD_PRODUCT CALL FUNCTION 'ENQUEUE_E_FRE_MD_PRODUCT' EXPORTING fre_prodt = '01' fre_product = gc_lock_product EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

SUSR_USER_ADDRESS_READ CALL FUNCTION 'SUSR_USER_ADDRESS_READ' EXPORTING user_name = lf_user_name IMPORTING user_address = ls_user_address EXCEPTIONS user_address_not_found = 1 OTHERS = 2.

DEQUEUE_E_FRE_MD_PRODUCT CALL FUNCTION 'DEQUEUE_E_FRE_MD_PRODUCT' EXPORTING fre_prodt = '01' fre_product = gc_lock_product.

RS_SUPPORT_SELECTIONS CALL FUNCTION 'RS_SUPPORT_SELECTIONS' EXPORTING report = sy-cprog variant = lf_variant EXCEPTIONS OTHERS = 0.

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = lf_groupname IMPORTING max_pbt_wps = lf_max_pbt_wps free_pbt_wps = lf_free_pbt_wps EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 cant_init_different_pbt_groups = 6 OTHERS = 7.

FI_PROGRESS_INDICATOR * CALL FUNCTION 'FI_PROGRESS_INDICATOR' * EXPORTING * percentage = lpuf_percent * text = lpuf_text.

FRE_ORD_IN_PROCESS_BUFFER_PAR CALL FUNCTION 'FRE_ORD_IN_PROCESS_BUFFER_PAR' STARTING NEW TASK l_taskname DESTINATION IN GROUP p_svrgr PERFORMING return_fre_ord_in_par ON END OF TASK EXPORTING is_control = ls_control TABLES pt_fre_bif_oph_in = lt_fre_bif_oph_in pt_fre_bif_opi_in = lt_fre_bif_opi_in changing ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 resource_failure = 2 system_failure = 3 MESSAGE lf_message communication_failure = 4 MESSAGE lf_message OTHERS = 5.

FRE_ORD_IN_PROCESS_BUFFER_PAR



CALL FUNCTION 'FRE_ORD_IN_PROCESS_BUFFER_PAR' EXPORTING is_control = ls_control TABLES pt_fre_bif_oph_in = lt_fre_bif_oph_in pt_fre_bif_opi_in = lt_fre_bif_opi_in CHANGING ct_item_processed = lt_op_item_processed EXCEPTIONS error = 1 OTHERS = 2. "#EC *



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