SAP G_DELETE_T811D Function Module for Delete Allocation History (T811D)









G_DELETE_T811D is a standard g delete t811d SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Delete Allocation History (T811D) processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for g delete t811d FM, simply by entering the name G_DELETE_T811D into the relevant SAP transaction such as SE37 or SE38.

Function Group: GARC
Program Name: SAPLGARC
Main Program: SAPLGARC
Appliation area: G
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function G_DELETE_T811D pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'G_DELETE_T811D'"Delete Allocation History (T811D)
EXPORTING
* TAB = "
* RLDNR = "
* RRCTY = "
* RVERS = "Version
* BUKRS = "
* RCOMP = "
* RYEAR = "
* POPER_FR = "
* POPER_TO = "

IMPORTING
COUNTER = "
.



IMPORTING Parameters details for G_DELETE_T811D

TAB -

Data type: T800A-TAB
Optional: Yes
Call by Reference: No ( called with pass by value option)

RLDNR -

Data type: GLU1-RLDNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

RRCTY -

Data type: GLU1-RRCTY
Optional: Yes
Call by Reference: No ( called with pass by value option)

RVERS - Version

Data type: GLU1-RVERS
Optional: Yes
Call by Reference: No ( called with pass by value option)

BUKRS -

Data type: GLU1-RBUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

RCOMP -

Data type: GLU1-RCOMP
Optional: Yes
Call by Reference: No ( called with pass by value option)

RYEAR -

Data type: GLU1-RYEAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

POPER_FR -

Data type: GLU1-POPER
Optional: Yes
Call by Reference: No ( called with pass by value option)

POPER_TO -

Data type: GLU1-POPER
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for G_DELETE_T811D

COUNTER -

Data type: SY-TABIX
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for G_DELETE_T811D Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_tab  TYPE T800A-TAB, "   
lv_counter  TYPE SY-TABIX, "   
lv_rldnr  TYPE GLU1-RLDNR, "   
lv_rrcty  TYPE GLU1-RRCTY, "   
lv_rvers  TYPE GLU1-RVERS, "   
lv_bukrs  TYPE GLU1-RBUKRS, "   
lv_rcomp  TYPE GLU1-RCOMP, "   
lv_ryear  TYPE GLU1-RYEAR, "   
lv_poper_fr  TYPE GLU1-POPER, "   
lv_poper_to  TYPE GLU1-POPER. "   

  CALL FUNCTION 'G_DELETE_T811D'  "Delete Allocation History (T811D)
    EXPORTING
         TAB = lv_tab
         RLDNR = lv_rldnr
         RRCTY = lv_rrcty
         RVERS = lv_rvers
         BUKRS = lv_bukrs
         RCOMP = lv_rcomp
         RYEAR = lv_ryear
         POPER_FR = lv_poper_fr
         POPER_TO = lv_poper_to
    IMPORTING
         COUNTER = lv_counter
. " G_DELETE_T811D




ABAP code using 7.40 inline data declarations to call FM G_DELETE_T811D

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single TAB FROM T800A INTO @DATA(ld_tab).
 
"SELECT single TABIX FROM SY INTO @DATA(ld_counter).
 
"SELECT single RLDNR FROM GLU1 INTO @DATA(ld_rldnr).
 
"SELECT single RRCTY FROM GLU1 INTO @DATA(ld_rrcty).
 
"SELECT single RVERS FROM GLU1 INTO @DATA(ld_rvers).
 
"SELECT single RBUKRS FROM GLU1 INTO @DATA(ld_bukrs).
 
"SELECT single RCOMP FROM GLU1 INTO @DATA(ld_rcomp).
 
"SELECT single RYEAR FROM GLU1 INTO @DATA(ld_ryear).
 
"SELECT single POPER FROM GLU1 INTO @DATA(ld_poper_fr).
 
"SELECT single POPER FROM GLU1 INTO @DATA(ld_poper_to).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!