SAP Reports / Programs | Sales and Distribution | Sales | Basic Functions(SD-SLS-GF) SAP SD

SDFERT02 SAP ABAP Report - Test Assembly Orders Marked for Deletion







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


Text pool values


Display abnormal assembly orders selected for deletion
Selection Text: AUART = Order type
Selection Text: AUFNR = Order number
Selection Text: KDAUF = Sales order number
Title: Test Assembly Orders Marked for Deletion
Text Symbol: 003 = Statistic
Text Symbol: 100 = A new % & exists for the order item
Text Symbol: 101 = There is no requested sched.line
Text Symbol: 102 = Sales order hdr missing
Text Symbol: 103 = Sales order item missing
Text Symbol: 104 = Subs. assembly rqmnts met, but there is no current order for item
Text Symbol: 105 = % has been marked for deletion but refers to sales order
Text Symbol: 106 = Status object & does not exist
Text Symbol: 107 = Display Abnormal Assembly Order with Del. Indicator
001 Order Sales order Item Notification


INCLUDES used within this REPORT SDFERT02

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:

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = aufk-objnr status = 'I0076' "LÖVM EXCEPTIONS object_not_found = 01 status_not_active = 02.

SD_ORDER_SUBSEQUENT_ALLOWED CALL FUNCTION 'SD_ORDER_SUBSEQUENT_ALLOWED' EXPORTING btvap = tvap btvep = tvep bvbak = vbak bvbap = vbap bvbep = vbep bvbuk = vbuk bvbup = vbup fofun = '05' EXCEPTIONS error = 1 warning = 2 OTHERS = 3.

STRING_REPLACE CALL FUNCTION 'STRING_REPLACE' EXPORTING pattern = '%' substitute = autyp-text CHANGING text = text_out.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = gc_pf_status is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events TABLES t_outtab = gt_liste EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = iv_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_list.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_list.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = gc_save it_events = lt_events TABLES t_outtab = gt_statistic EXCEPTIONS program_error = 1 OTHERS = 2.

/SAPDMC/DATAELEMENT_GET_TEXTS CALL FUNCTION '/SAPDMC/DATAELEMENT_GET_TEXTS' EXPORTING name = iv_dataelement IMPORTING text_header = xv_text_head text_middle = xv_text_mid text_long = xv_text_long text_short = xv_text_short EXCEPTIONS not_found = 1 OTHERS = 2.



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