SAP Reports / Programs

SDLIEFSPE SAP ABAP Report - Sales Documents Blocked for Delivery







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

VA14L - Sales Documents Blocked for Delivery


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 SDLIEFSPE. "Basic submit
SUBMIT SDLIEFSPE AND RETURN. "Return to original report after report execution complete
SUBMIT SDLIEFSPE 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: WERKS = Plant
Selection Text: VTWEG = Distribution channel
Selection Text: VKORG = Sales organization
Selection Text: VKGRP = Sales group
Selection Text: VKBUR = Sales office
Selection Text: VBTYP = SD document category
Selection Text: VBELN = Sales and distrib.document
Selection Text: SPART = Division
Selection Text: P_ZEBRA = Striped pattern
Selection Text: P_VARI = Display variant
Selection Text: OPEN_VB = Open SD documents
Selection Text: MSR_BL = Approval Block
Selection Text: LIFSPE = Delivery block header
Selection Text: KUNNR = Customer
Selection Text: ALL_VB = All Sales Documents
Title: Sales Documents Blocked for Delivery
Text Symbol: S09 = Item Block
Text Symbol: S08 = Selection criteria
Text Symbol: S07 = End
Text Symbol: S06 = Cust.:
Text Symbol: S05 = Document Info
Text Symbol: S04 = Header block
Text Symbol: S03 = Display options
Text Symbol: S02 = Execute
Text Symbol: S01 = Organizat. Data
Text Symbol: 050 = Sales Doc. Cat.
Text Symbol: 030 = Basic list
Text Symbol: 020 = SD Documents Blocked for Delivery
Text Symbol: 010 = Standard


INCLUDES used within this REPORT SDLIEFSPE

INCLUDE RVDIREKT.


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 = L_SAVE CHANGING CS_VARIANT = LF_VARIANT EXCEPTIONS NOT_FOUND = 2.

SD_STATUS_VBAK_CHECK_INTERN CALL FUNCTION 'SD_STATUS_VBAK_CHECK_INTERN' EXPORTING i_objnr = l_spetab-objnr i_vrgng = vrgng_lief EXCEPTIONS allowed_with_warning = 0 not_allowed = 01 object_not_found = 02.

SD_STATUS_VBAK_CHECK_INTERN CALL FUNCTION 'SD_STATUS_VBAK_CHECK_INTERN' EXPORTING I_VBELN = U_L_SPETAB_VBELN I_VRGNG = VRGNG_LIEF EXCEPTIONS ALLOWED_WITH_WARNING = 0 NOT_ALLOWED = 01 OBJECT_NOT_FOUND = 02.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING IS_VARIANT = L_VARIANT I_SAVE = L_SAVE IMPORTING E_EXIT = L_EXIT ES_VARIANT = LF_VARIANT EXCEPTIONS NOT_FOUND = 2.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' "Überprüfung der ex.

REUSE_ALV_FIELDCATALOG_MERGE ** CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' ** EXPORTING ** I_PROGRAM_NAME = L_REPID * I_INTERNAL_TABNAME = ** I_STRUCTURE_NAME = 'VBUK' * I_CLIENT_NEVER_DISPLAY = 'X' " Mandantenfelder * I_INCLNAME = " Top-Includename ** CHANGING ** CT_FIELDCAT = U_LF_FIELDCAT ** EXCEPTIONS ** INCONSISTENT_INTERFACE = 1 ** PROGRAM_ERROR = 2 ** OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_BUFFER_ACTIVE = 'X' I_BACKGROUND_ID = 'ALV_BACKGROUND' I_CALLBACK_PROGRAM = L_REPID I_CALLBACK_PF_STATUS_SET = L_STATUS I_CALLBACK_USER_COMMAND = L_USER_COMMAND * I_STRUCTURE_NAME = 'VBUK' IS_LAYOUT = LF_LAYOUT IT_FIELDCAT = LF_FIELDCAT[] * IT_EXCLUDING = IT_SPECIAL_GROUPS = LF_SP_GROUP * I_DEFAULT = 'X' I_SAVE = L_SAVE IS_VARIANT = L_VARIANT IT_EVENTS = LF_EVENTS[] * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB = L_SPETAB .

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = U_LF_EVENTS.

RV_CALL_CHANGE_TRANSACTION CALL FUNCTION 'RV_CALL_CHANGE_TRANSACTION' EXPORTING VBELN = VBELN1 VBTYP = VBTYP1.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING * I_LOGO = 'ENJOYSAP_LOGO' IT_LIST_COMMENTARY = LF_LIST_TOP_OF_PAGE.

RV_CALL_CHANGE_TRANSACTION CALL FUNCTION 'RV_CALL_CHANGE_TRANSACTION' EXPORTING VBELN = VBELN1 VBTYP = VBTYP1.

SD_PARTNER_READ CALL FUNCTION 'SD_PARTNER_READ' EXPORTING F_VBELN = LVF_VBELN * OBJECT = 'VBPA' TABLES I_XVBADR = XVBADR I_XVBPA = XVBPA.

SD_PARTNER_DATA_PUT CALL FUNCTION 'SD_PARTNER_DATA_PUT' EXPORTING FIC_OBJECTTYPE = 'TEMP' FIC_OBJECTKEY = SPACE TABLES FRT_XVBPA = XVBPA FRT_XVBADR = XVBADR EXCEPTIONS NO_OBJECT_SPECIFIED = 1 NO_OBJECT_CREATION_POSSIBLE = 2 OTHERS = 3.

SD_PARTNER_ADDRESS_DIALOG CALL FUNCTION 'SD_PARTNER_ADDRESS_DIALOG' EXPORTING FIC_OBJECTTYPE = 'TEMP' FIC_OBJECTKEY = SPACE FIF_PARVW = 'WE' FIF_POSNR = '000000' FIF_PARNR = LVF_PARNR FIF_DISPLAY_ONLY = 'X' EXCEPTIONS PARAMETER_INCOMPLETE = 1 OBJECT_NOT_FOUND = 2 NO_ADDRESS = 3 PARTNER_NOT_FOUND = 4 OTHERS = 5.

SD_PARTNER_OBJECT_DESTROY CALL FUNCTION 'SD_PARTNER_OBJECT_DESTROY' EXPORTING FIC_OBJECTTYPE = 'TEMP' FIC_OBJECTKEY = SPACE EXCEPTIONS OBJECT_NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

RV_DOMAIN_VALUE_TEXTS CALL FUNCTION 'RV_DOMAIN_VALUE_TEXTS' EXPORTING DOMNAME = 'VBTYP' DOMVALUE = XVBTYP SINGLE = ' ' IMPORTING DDTEXT = TEXT.

FM_DOMAINVALUE_CHECK CALL FUNCTION 'FM_DOMAINVALUE_CHECK' EXPORTING i_domname = 'MSR_APPROVAL_BLOCK' TABLES t_dd07v = lt_dd07v EXCEPTIONS input_error = 1 value_not_allowed = 2 OTHERS = 3.



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