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

SDDORD01 SAP ABAP Report - Double Orders in Period







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

SDD1 - Duplicate Sales Documents in Period


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 SDDORD01. "Basic submit
SUBMIT SDDORD01 AND RETURN. "Return to original report after report execution complete
SUBMIT SDDORD01 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_VTWEG = Distribution Channel
Selection Text: S_VKORG = Sales Organization
Selection Text: S_SPART = Division
Selection Text: S_KUNNR = Sold-To Party
Selection Text: S_ERDAT = Created On
Selection Text: S_AUART = Document Type
Selection Text: P_VARI = Layout
Title: Double Orders in Period
Text Symbol: 053 = Completely Processed
Text Symbol: 052 = Partially Processed
Text Symbol: 051 = Not Processed
Text Symbol: 043 = Meaning of status icons
Text Symbol: 042 = Descript.
Text Symbol: 041 = Icon
Text Symbol: 040 = Display details key
Text Symbol: 034 = Dist
Text Symbol: 033 = Rejection st.(Icon)
Text Symbol: 032 = DlSt
Text Symbol: 031 = Deliv.status (Icon)
Text Symbol: 030 = Status
Text Symbol: 010 = Double sales documents
Text Symbol: 003 = Execute
Text Symbol: 002 = Organizational Data
Text Symbol: 001 = Document Data


INCLUDES used within this REPORT SDDORD01

INCLUDE RVREUSE_GLOBAL_DATA.
INCLUDE DORD_GLOBAL_DATA.
INCLUDE DORD_ALV_FORMS.
INCLUDE DORD_ALV_LEGD_FORMS.


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = d_save CHANGING CS_VARIANT = GS_SD_ALV-VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = DORD_VARIANT I_TABNAME_HEADER = GS_SD_ALV-TABNAME_HEADER I_TABNAME_ITEM = GS_SD_ALV-TABNAME_ITEM i_save = d_save IMPORTING E_EXIT = DA_EXIT ES_VARIANT = GS_SD_ALV-VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = d_save CHANGING CS_VARIANT = GS_SD_ALV-VARIANT.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = DORD_REPID I_CALLBACK_PF_STATUS_SET = DORD_STATUS_DORD I_CALLBACK_USER_COMMAND = DORD_USER_COM IS_LAYOUT = GS_SD_ALV-LAYOUT IT_FIELDCAT = GS_SD_ALV-FIELDCAT IT_SORT = GS_SD_ALV-SORT i_save = d_save IS_VARIANT = GS_SD_ALV-VARIANT IT_EVENTS = GS_SD_ALV-EVENTS I_TABNAME_HEADER = GS_SD_ALV-TABNAME_HEADER I_TABNAME_ITEM = GS_SD_ALV-TABNAME_ITEM IS_KEYINFO = GS_SD_ALV-KEYINFO TABLES T_OUTTAB_HEADER = HEADTAB T_OUTTAB_ITEM = POSITAB.

SD_VBAP_ARRAY_READ_VBELN CALL FUNCTION 'SD_VBAP_ARRAY_READ_VBELN' TABLES IT_VBAK_KEY = LT_VBAK_KEY ET_VBAP = LT_VBAP.

ENQUEUE_EVVBAKE CALL FUNCTION 'ENQUEUE_EVVBAKE' EXPORTING VBELN = US_VBELN EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.

DEQUEUE_EVVBAKE CALL FUNCTION 'DEQUEUE_EVVBAKE' EXPORTING VBELN = US_VBELN.

RV_CALL_CHANGE_TRANSACTION CALL FUNCTION 'RV_CALL_CHANGE_TRANSACTION' EXPORTING VBELN = *PS_POSITAB-VBELN VBTYP = *PS_POSITAB-VBTYP.

SD_VBAP_READ_WITH_VBELN CALL FUNCTION 'SD_VBAP_READ_WITH_VBELN' EXPORTING I_VBELN = *PS_POSITAB-VBELN I_BYPASSING_BUFFER = GC_CHARA.

RV_CALL_DISPLAY_TRANSACTION CALL FUNCTION 'RV_CALL_DISPLAY_TRANSACTION' EXPORTING VBELN = PS_POSITAB-VBELN VBTYP = PS_POSITAB-VBTYP.



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