SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

RWRF_AT_GENF05 SAP ABAP INCLUDE - Subroutines AT handling







RWRF_AT_GENF05 is a standard ABAP INCLUDE 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 RWRF_AT_GENF05 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 RWRF_AT_GENF05. "Basic submit
SUBMIT RWRF_AT_GENF05 AND RETURN. "Return to original report after report execution complete
SUBMIT RWRF_AT_GENF05 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Subroutines AT handling


INCLUDES used within this REPORT RWRF_AT_GENF05

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:

RFC_REFRESH_BUFFER_ALLOC_TBL CALL FUNCTION 'RFC_REFRESH_BUFFER_ALLOC_TBL'.

RFC_CREATE_ALLOC_HEADER CALL FUNCTION 'RFC_CREATE_ALLOC_HEADER' EXPORTING fbi_alloc_header = plw_auko * FBI_RESET_MSG_NB = ' ' * FBI_DETERMINE_ALLOC_NO_ASAP = ' ' IMPORTING fbe_alloc_header = lw_alloc_header " like auko fbe_return_code = l_subrc TABLES fbt_msg_tbl = lt_msg .

WALL_QUANTITY_CONVERT_UNIT CALL FUNCTION 'WALL_QUANTITY_CONVERT_UNIT' EXPORTING fbi_material = plw_aupo-matnr fbi_base_unit = plw_ekpo-lmein fbi_source_quantity = plw_po_data-act_quan fbi_source_unit = plw_ekpo-meins fbi_destination_unit = plw_ekpo-lmein IMPORTING fbo_destination_quantity = plw_aupo-pmnge.

WALL_QUANTITY_CONVERT_UNIT CALL FUNCTION 'WALL_QUANTITY_CONVERT_UNIT' EXPORTING fbi_material = plw_ekpo-matnr fbi_base_unit = plw_ekpo-lmein fbi_source_quantity = plw_ekpo-menge fbi_source_unit = plw_ekpo-meins fbi_destination_unit = plw_ekpo-lmein IMPORTING fbo_destination_quantity = lw_auvz-menge_opt.

WAUF_PERCENTAGE_FROM_QUANTITY CALL FUNCTION 'WAUF_PERCENTAGE_FROM_QUANTITY' EXPORTING fbi_material = plw_ekpo-matnr fbi_base_unit = plw_ekpo-lmein " =aupo-meins fbi_quantity = plw_ekpo-menge " =auvz-bstmg fbi_alloc_unit = plw_ekpo-meins "auvz-aufme?? fbi_order_quantity = plw_ekpo-menge " =auvz-bstmg fbi_order_unit = ' ' " type AUFI-BSTME fbi_quantity_remainder = lf_remainder_p fbi_order_quantity_remainder = lf_remainder_po "=auvz-bstmg fbi_percentage_remainder = lf_remainder_percent IMPORTING fbo_order_quantity_delivery_ph = lf_po_quantity fbo_percentage = lw_auvw-weprz CHANGING fbc_quantity_delivery_ph = lw_auvw-bstmg.

WALL_QUANTITY_CONVERT_UNIT CALL FUNCTION 'WALL_QUANTITY_CONVERT_UNIT' EXPORTING fbi_material = plw_ekpo-matnr fbi_base_unit = plw_ekpo-lmein fbi_source_quantity = lw_item_details-quan_asgn_st fbi_source_unit = lw_item_details-unit fbi_destination_unit = lw_aufi-aufme IMPORTING fbo_destination_quantity = lw_aufi-pmngu.

WALL_QUANTITY_CONVERT_UNIT * CALL FUNCTION 'WALL_QUANTITY_CONVERT_UNIT' * EXPORTING * fbi_material = gw_po_data-matnr * fbi_base_unit = lw_aufg-aufme * fbi_source_quantity = lw_aufi-pmngu * fbi_source_unit = lw_aufi-aufme * fbi_destination_unit = lw_aufg-aufme * IMPORTING * fbo_destination_quantity = lf_pmngu.

RFC_CREATE_ALLOC_ITEM CALL FUNCTION 'RFC_CREATE_ALLOC_ITEM' EXPORTING fbi_alloc_item = plw_aupo fbi_qty_bottom_up = pl_bottom_up * FBI_RESET_MSG_NB = ' ' * FBI_GENERIC_ARTIKEL_COMPLETE = ' ' * FBI_ONLY_COMPLETE_ITEMS = ' ' fbi_kna1_check = ' ' " default 'X' * FBI_PREFETCH_MATERIAL = 'X' * FBI_PREFETCH_WRF1 = 'X' * FBI_PREFETCH_WLK1 = 'X' IMPORTING fbe_alloc_item = fbe_alloc_item fbe_return_code = l_subrc TABLES fbt_alloc_plants = plt_aufi fbt_alloc_plant_groups = plt_aufg fbt_alloc_plant_dp = plt_rw14a fbt_alloc_dc = plt_auvz fbt_alloc_dc_dp = plt_auvw fbt_msg_tbl = lt_msg *{ REPLACE AENK049152 1 *\ .

DEQUEUE_MWAUKOE CALL FUNCTION 'DEQUEUE_MWAUKOE' EXPORTING * MODE_AUKO = 'E' mandt = sy-mandt abeln = l_references-abeln * X_ABELN = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' .



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