SAP Reports / Programs | Structures Workbench | Defense Forces and Public Security | Structures Workbench(IS-DFS-OF-FDP) SAP IS

/ISDFPS/STOCK_RETURNS SAP ABAP Report - Return Delivery Processing







/ISDFPS/STOCK_RETURNS 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 /ISDFPS/STOCK_RETURNS 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

/ISDFPS/STOCK_RETURN - Disband Force Element in Operation


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 /ISDFPS/STOCK_RETURNS. "Basic submit
SUBMIT /ISDFPS/STOCK_RETURNS AND RETURN. "Return to original report after report execution complete
SUBMIT /ISDFPS/STOCK_RETURNS 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: S_MATNR = D .
Selection Text: S_MATKL = D .
Selection Text: S_HU = D .
Selection Text: S_EXTWG = D .
Selection Text: P_STLOC = D .
Selection Text: P_RFORCE = D .
Selection Text: P_RELSEQ = D .
Selection Text: P_RELOC = D .
Selection Text: P_PLANT = D .
Selection Text: P_FORCE = D .
Selection Text: P_EPA = D .
Selection Text: S_PNAME = D .
Selection Text: P_STOCK = Stock Storage Location
Selection Text: P_STDPR = Return Standard Supplier
Selection Text: P_SERIAL = Plan Serial Numbers
Selection Text: P_PROV = Provisions Storage Locations
Selection Text: P_PLAN = Plan Complete Return Delivery
Selection Text: P_ORDERS = Generate Return Dlvy Orders
Selection Text: P_DATE = Return Delivery Date
Title: Return Delivery Processing
Text Symbol: 200 = Assignments
Text Symbol: 101 = RD Plan
Text Symbol: 010 = Technical Error in ALV Grid
Text Symbol: 006 = Name
Text Symbol: 005 = Stor.Loc
Text Symbol: 003 = Processing Options
Text Symbol: 002 = Receiving Force Element
Text Symbol: 001 = Issuing Force Element


INCLUDES used within this REPORT /ISDFPS/STOCK_RETURNS

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:

/ISDFPS/FDPDAMPO_FIND_EPA CALL FUNCTION '/ISDFPS/FDPDAMPO_FIND_EPA' EXPORTING i_force_id = gs_force-force_id IMPORTING e_pname_epa = p_epa EXCEPTIONS OTHERS = 0.

/ISDFPS/FORCE_READ_BY_LGORT CALL FUNCTION '/ISDFPS/FORCE_READ_BY_LGORT' EXPORTING i_werk = ls_sender-plant i_lgort = ls_sender-storage_loc IMPORTING e_force = ls_force.

RHOM_READ_INFTY_BUFFERED CALL FUNCTION 'RHOM_READ_INFTY_BUFFERED' EXPORTING otype = 'O ' objid = p_force infty = '1980' TABLES infty_dat = lt_it1980 EXCEPTIONS no_active_plvar = 1 OTHERS = 2.

RS_REFRESH_FROM_SELECTOPTIONS CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS' EXPORTING curr_report = sy-repid TABLES selection_table = lt_params EXCEPTIONS OTHERS = 0.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = gt_dynp.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'T001W' lfieldname = 'WERKS' IMPORTING dfies_wa = gs_field.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'T001L' lfieldname = 'LGORT' IMPORTING dfies_wa = gs_field.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'T001L' lfieldname = 'LGOBE' IMPORTING dfies_wa = gs_field.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'LGORT' display = space dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_STLOC' TABLES value_tab = gt_values field_tab = gt_fields return_tab = gt_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = gt_dynp.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'T001W' lfieldname = 'WERKS' IMPORTING dfies_wa = gs_field.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'T001W' lfieldname = 'NAME1' IMPORTING dfies_wa = gs_field.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'WERKS' display = space dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'P_PLANT' TABLES value_tab = gt_values field_tab = gt_fields return_tab = gt_return EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = ls_display_profile.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile i_t_log_handle = lt_handles EXCEPTIONS OTHERS = 5.



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 /ISDFPS/STOCK_RETURNS or its description.