RWRF_STOCK_SITUATION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report supports the selling off of consignment and floor stock and is to be carried out before posting of the POS sales...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 RWRF_STOCK_SITUATION into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WSSS - Set Stock Situation
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.
Selection Text: PA_ANZWE = Number of Plants per Process
Selection Text: PA_MXPRO = Maximum Number of Processes
Selection Text: PA_PRIOD = Include Previous Period
Selection Text: PA_SVGRP = D Server Group
Selection Text: P_LOG = Detailed Log
Selection Text: P_SLG1 = Display Application Log
Selection Text: SO_WERKS = D Plant
Title: Set Stock Situation
Text Symbol: BL1 = Selection Parameters
Text Symbol: BL2 = Parallel Processing
Text Symbol: BL3 = Logging
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = pa_svgrp IMPORTING max_pbt_wps = l_total free_pbt_wps = l_free 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.
APPL_LOG_SET_OBJECT CALL FUNCTION 'APPL_LOG_SET_OBJECT' EXPORTING object = g_log_object subobject = g_log_subobject no_log = ' ' EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_WRITE_HEADER CALL FUNCTION 'APPL_LOG_WRITE_HEADER' EXPORTING header = l_header EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_WRITE_SINGLE_MESSAGE CALL FUNCTION 'APPL_LOG_WRITE_SINGLE_MESSAGE' EXPORTING object = g_log_object subobject = g_log_subobject MESSAGE = l_single_msg update_or_insert = 'I' EXCEPTIONS object_not_found = 1 subobject_not_found = 2 OTHERS = 3.
APPL_LOG_WRITE_DB CALL FUNCTION 'APPL_LOG_WRITE_DB' EXPORTING object = g_log_object subobject = g_log_subobject TABLES object_with_lognumber = lt_log_no_tab EXCEPTIONS object_not_found = 1 subobject_not_found = 2 internal_error = 3 OTHERS = 4.
APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = g_log_object subobject = g_log_subobject external_number = l_extnumber object_attribute = 0 subobject_attribute = 0 external_number_attribute = 0 date_from = sy-datum time_from = '000000' date_to = sy-datum time_to = sy-uzeit suppress_selection_dialog = 'X' EXCEPTIONS no_authority = 1 OTHERS = 2.
WRF_SET_STOCK_SITUATION_PP_N CALL FUNCTION 'WRF_SET_STOCK_SITUATION_PP_N' STARTING NEW TASK g_taskname DESTINATION IN GROUP pa_svgrp PERFORMING come_back_pp ON END OF TASK TABLES it_werks_bwkey = gt_werks_f EXCEPTIONS resource_failure = 1 OTHERS = 2.
WRF_SET_STOCK_SITUATION CALL FUNCTION 'WRF_SET_STOCK_SITUATION' STARTING NEW TASK g_taskname DESTINATION IN GROUP pa_svgrp PERFORMING come_back ON END OF TASK TABLES it_werks_bwkey = gt_werks_f EXCEPTIONS resource_failure = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.