SAP BAPI_BUS1077_DELETE Function Module for EHS: Delete Specification
BAPI_BUS1077_DELETE is a standard bapi bus1077 delete SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for EHS: Delete Specification 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 bapi bus1077 delete FM, simply by entering the name BAPI_BUS1077_DELETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: 1077
Program Name: SAPL1077
Main Program: SAPL1077
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function BAPI_BUS1077_DELETE 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 'BAPI_BUS1077_DELETE'"EHS: Delete Specification.
EXPORTING
* KEY_DATE = SY-DATUM "Validity date for object key
* FLG_HEADER_USAGE = "Delete restrictions to specification header
* FLG_REFSUBS = "Delete reference specification data
* FLG_IDENT = "Delete Identifiers
* FLG_IDENT_SUBLIST = "Delete regulatory list assignments
* FLG_IDENT_LONGTEXT = "Delete identifier long texts
* FLG_IDENT_USAGE = "Delete identifier usages
* FLG_MATJOIN = "Delete Material Assignments
* FLG_TPLREL = "Delete Inheritance Relationships
* FLG_APPLSCP = "Delete Scopes of Application
* FLG_PROP_HEADER = "Delete value assignment types
* CHANGE_NUMBER = "Change number
* FLG_PROP = "Delete instances of value assignments
* FLG_PROP_DATA = "Delete evaluations
* FLG_PROP_COMP = "Delete compositions
* FLG_PROP_USAGE = "Delete Usage
* FLG_PROP_REL = "Delete Assessments
* FLG_PROP_SOURCE = "Delete Source Details
* FLG_PROP_FTEXT = "Delete User-Defined Texts
* FLG_PROP_FTEXT_LONGTEXT = "Delete Long Texts for User-Defined Texts
* FLG_PROP_TAB07 = "Delete Transport Approval Data
* FLG_PROP_TAB0B = "Delete Packaging Code Approval Data
* VALFR = "Lower Time Interval Limit
* FLG_PROP_TAB0D = "Delete Risk Classification Data
* FLG_PROP_TAB0F = "Delete Transport Classification Data
* FLG_PROP_PACK = "Delete Packaging Data
* FLG_PROP_SPROV = "Delete Special Packing Provisions
* FLG_PROP_CARR = "Delete Provisions for Carriage
* FLG_VAL_CHECK_BY_STATUS = 'X' "Check: Status allows value assignment to be deleted
* FLG_INHED_DATA_DEL = "Delete inheritances with passed-on data
* VALTO = "Upper Time Interval Limit
* FLG_KEY_DATE_SWITCH_ONLY = "Change key date and change number only
* FLG_TESTRUN = "Simulate only
* FLG_BUFFER = "Buffer Specification Data
* FLG_OWNID_SRSID_KEEP = "Retain Data Origin and Data Provider
* FLG_HEADER = "Delete Specification
IMPORTING
FLG_ABORT_ON_ERROR = "Cancel processing
TABLES
RETURN = "BAPI feedback
* PROP_HEADER = "Value assignment types
* PROP_VAL = "Value assignment instances
* PROP_DATA = "Value Assignments
* PROP_COMPONENT = "Specification-component assignments
* PROP_USAGE = "Usage Data
* PROP_RELIABILITY = "Assessment data
* PROP_SOURCE = "Source data
* PROP_FTEXT = "User-Defined Texts
* PROP_FTEXT_LONGTEXT = "Long Texts for User-Defined Texts
* PROP_TAB07 = "Transport Approval Data
* SUB_HEADER = "Specification Header Data
* PROP_TAB0B = "Packaging Code Approval Data
* PROP_TAB0D = "Risk Classification Data
* PROP_TAB0F = "Transport Classification Data
* PROP_PACK = "Packaging Data
* PROP_SPROV = "Special Packing Provisions
* PROP_CARR = "Provisions for Carriage
* REFSUBS = "Reference Specification Data
* IDENT_HEADER = "Identifier data
* IDENT_LONGTEXT = "Identifier long texts
* IDENT_SUBLIST = "Identifier-regulatory list assignments
* MATJOIN = "Material Assignments
* TPLREL = "Inheritance relationships
* APPLSCP = "Scopes of Application
IMPORTING Parameters details for BAPI_BUS1077_DELETE
KEY_DATE - Validity date for object key
Data type: RCGADDINF-VALDATDefault: SY-DATUM
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_HEADER_USAGE - Delete restrictions to specification header
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_REFSUBS - Delete reference specification data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_IDENT - Delete Identifiers
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_IDENT_SUBLIST - Delete regulatory list assignments
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_IDENT_LONGTEXT - Delete identifier long texts
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_IDENT_USAGE - Delete identifier usages
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_MATJOIN - Delete Material Assignments
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_TPLREL - Delete Inheritance Relationships
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_APPLSCP - Delete Scopes of Application
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_HEADER - Delete value assignment types
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
CHANGE_NUMBER - Change number
Data type: RCGADDINF-AENNROptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP - Delete instances of value assignments
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_DATA - Delete evaluations
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_COMP - Delete compositions
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_USAGE - Delete Usage
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_REL - Delete Assessments
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_SOURCE - Delete Source Details
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_FTEXT - Delete User-Defined Texts
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_FTEXT_LONGTEXT - Delete Long Texts for User-Defined Texts
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_TAB07 - Delete Transport Approval Data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_TAB0B - Delete Packaging Code Approval Data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
VALFR - Lower Time Interval Limit
Data type: RCGADDINF-VALDATOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_TAB0D - Delete Risk Classification Data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_TAB0F - Delete Transport Classification Data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_PACK - Delete Packaging Data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_SPROV - Delete Special Packing Provisions
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_PROP_CARR - Delete Provisions for Carriage
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_VAL_CHECK_BY_STATUS - Check: Status allows value assignment to be deleted
Data type: BAPISTDTYP-BOOLEANDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
FLG_INHED_DATA_DEL - Delete inheritances with passed-on data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
VALTO - Upper Time Interval Limit
Data type: RCGADDINF-VALDATOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_KEY_DATE_SWITCH_ONLY - Change key date and change number only
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_TESTRUN - Simulate only
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_BUFFER - Buffer Specification Data
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_OWNID_SRSID_KEEP - Retain Data Origin and Data Provider
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
FLG_HEADER - Delete Specification
Data type: BAPISTDTYP-BOOLEANOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for BAPI_BUS1077_DELETE
FLG_ABORT_ON_ERROR - Cancel processing
Data type: BAPISTDTYP-BOOLEANOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for BAPI_BUS1077_DELETE
RETURN - BAPI feedback
Data type: BAPIRET2Optional: No
Call by Reference: No ( called with pass by value option)
PROP_HEADER - Value assignment types
Data type: BAPI1077VHOptional: Yes
Call by Reference: Yes
PROP_VAL - Value assignment instances
Data type: BAPI1077VAOptional: Yes
Call by Reference: Yes
PROP_DATA - Value Assignments
Data type: BAPI1077PROptional: Yes
Call by Reference: Yes
PROP_COMPONENT - Specification-component assignments
Data type: BAPI1077VPOptional: Yes
Call by Reference: Yes
PROP_USAGE - Usage Data
Data type: BAPI1077DUOptional: Yes
Call by Reference: Yes
PROP_RELIABILITY - Assessment data
Data type: BAPI1077DROptional: Yes
Call by Reference: Yes
PROP_SOURCE - Source data
Data type: BAPI1077DSOptional: Yes
Call by Reference: Yes
PROP_FTEXT - User-Defined Texts
Data type: BAPI1077DFOptional: Yes
Call by Reference: No ( called with pass by value option)
PROP_FTEXT_LONGTEXT - Long Texts for User-Defined Texts
Data type: BAPI1077FLOptional: Yes
Call by Reference: No ( called with pass by value option)
PROP_TAB07 - Transport Approval Data
Data type: BAPI107707Optional: Yes
Call by Reference: No ( called with pass by value option)
SUB_HEADER - Specification Header Data
Data type: BAPI1077RHOptional: Yes
Call by Reference: Yes
PROP_TAB0B - Packaging Code Approval Data
Data type: BAPI10770BOptional: Yes
Call by Reference: No ( called with pass by value option)
PROP_TAB0D - Risk Classification Data
Data type: BAPI10770DOptional: Yes
Call by Reference: No ( called with pass by value option)
PROP_TAB0F - Transport Classification Data
Data type: BAPI10770FOptional: Yes
Call by Reference: No ( called with pass by value option)
PROP_PACK - Packaging Data
Data type: BAPI1077PACKOptional: Yes
Call by Reference: Yes
PROP_SPROV - Special Packing Provisions
Data type: BAPI1077SPROVOptional: Yes
Call by Reference: Yes
PROP_CARR - Provisions for Carriage
Data type: BAPI1077CARROptional: Yes
Call by Reference: Yes
REFSUBS - Reference Specification Data
Data type: BAPI1077RROptional: Yes
Call by Reference: Yes
IDENT_HEADER - Identifier data
Data type: BAPI1077RIOptional: Yes
Call by Reference: No ( called with pass by value option)
IDENT_LONGTEXT - Identifier long texts
Data type: BAPI1077ILOptional: Yes
Call by Reference: No ( called with pass by value option)
IDENT_SUBLIST - Identifier-regulatory list assignments
Data type: BAPI1077RLOptional: Yes
Call by Reference: Yes
MATJOIN - Material Assignments
Data type: BAPI1077MJOptional: Yes
Call by Reference: No ( called with pass by value option)
TPLREL - Inheritance relationships
Data type: BAPI1077TPLRELOptional: Yes
Call by Reference: No ( called with pass by value option)
APPLSCP - Scopes of Application
Data type: BAPI1077APPLSCPOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for BAPI_BUS1077_DELETE 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: | ||||
lt_return | TYPE STANDARD TABLE OF BAPIRET2, " | |||
lv_key_date | TYPE RCGADDINF-VALDAT, " SY-DATUM | |||
lv_flg_abort_on_error | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_header | TYPE STANDARD TABLE OF BAPI1077VH, " | |||
lv_flg_header_usage | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_val | TYPE STANDARD TABLE OF BAPI1077VA, " | |||
lv_flg_refsubs | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_ident | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_data | TYPE STANDARD TABLE OF BAPI1077PR, " | |||
lt_prop_component | TYPE STANDARD TABLE OF BAPI1077VP, " | |||
lv_flg_ident_sublist | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_usage | TYPE STANDARD TABLE OF BAPI1077DU, " | |||
lv_flg_ident_longtext | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_ident_usage | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_reliability | TYPE STANDARD TABLE OF BAPI1077DR, " | |||
lv_flg_matjoin | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_source | TYPE STANDARD TABLE OF BAPI1077DS, " | |||
lv_flg_tplrel | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_ftext | TYPE STANDARD TABLE OF BAPI1077DF, " | |||
lv_flg_applscp | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_ftext_longtext | TYPE STANDARD TABLE OF BAPI1077FL, " | |||
lt_prop_tab07 | TYPE STANDARD TABLE OF BAPI107707, " | |||
lv_flg_prop_header | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_sub_header | TYPE STANDARD TABLE OF BAPI1077RH, " | |||
lv_change_number | TYPE RCGADDINF-AENNR, " | |||
lv_flg_prop | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_tab0b | TYPE STANDARD TABLE OF BAPI10770B, " | |||
lt_prop_tab0d | TYPE STANDARD TABLE OF BAPI10770D, " | |||
lv_flg_prop_data | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_tab0f | TYPE STANDARD TABLE OF BAPI10770F, " | |||
lv_flg_prop_comp | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_pack | TYPE STANDARD TABLE OF BAPI1077PACK, " | |||
lv_flg_prop_usage | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_sprov | TYPE STANDARD TABLE OF BAPI1077SPROV, " | |||
lv_flg_prop_rel | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_prop_carr | TYPE STANDARD TABLE OF BAPI1077CARR, " | |||
lv_flg_prop_source | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_ftext | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_ftext_longtext | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_tab07 | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_tab0b | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_valfr | TYPE RCGADDINF-VALDAT, " | |||
lt_refsubs | TYPE STANDARD TABLE OF BAPI1077RR, " | |||
lv_flg_prop_tab0d | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_tab0f | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_pack | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_sprov | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_prop_carr | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_val_check_by_status | TYPE BAPISTDTYP-BOOLEAN, " 'X' | |||
lv_flg_inhed_data_del | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_valto | TYPE RCGADDINF-VALDAT, " | |||
lt_ident_header | TYPE STANDARD TABLE OF BAPI1077RI, " | |||
lt_ident_longtext | TYPE STANDARD TABLE OF BAPI1077IL, " | |||
lv_flg_key_date_switch_only | TYPE BAPISTDTYP-BOOLEAN, " | |||
lv_flg_testrun | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_ident_sublist | TYPE STANDARD TABLE OF BAPI1077RL, " | |||
lt_matjoin | TYPE STANDARD TABLE OF BAPI1077MJ, " | |||
lv_flg_buffer | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_tplrel | TYPE STANDARD TABLE OF BAPI1077TPLREL, " | |||
lv_flg_ownid_srsid_keep | TYPE BAPISTDTYP-BOOLEAN, " | |||
lt_applscp | TYPE STANDARD TABLE OF BAPI1077APPLSCP, " | |||
lv_flg_header | TYPE BAPISTDTYP-BOOLEAN. " |
  CALL FUNCTION 'BAPI_BUS1077_DELETE' "EHS: Delete Specification |
EXPORTING | ||
KEY_DATE | = lv_key_date | |
FLG_HEADER_USAGE | = lv_flg_header_usage | |
FLG_REFSUBS | = lv_flg_refsubs | |
FLG_IDENT | = lv_flg_ident | |
FLG_IDENT_SUBLIST | = lv_flg_ident_sublist | |
FLG_IDENT_LONGTEXT | = lv_flg_ident_longtext | |
FLG_IDENT_USAGE | = lv_flg_ident_usage | |
FLG_MATJOIN | = lv_flg_matjoin | |
FLG_TPLREL | = lv_flg_tplrel | |
FLG_APPLSCP | = lv_flg_applscp | |
FLG_PROP_HEADER | = lv_flg_prop_header | |
CHANGE_NUMBER | = lv_change_number | |
FLG_PROP | = lv_flg_prop | |
FLG_PROP_DATA | = lv_flg_prop_data | |
FLG_PROP_COMP | = lv_flg_prop_comp | |
FLG_PROP_USAGE | = lv_flg_prop_usage | |
FLG_PROP_REL | = lv_flg_prop_rel | |
FLG_PROP_SOURCE | = lv_flg_prop_source | |
FLG_PROP_FTEXT | = lv_flg_prop_ftext | |
FLG_PROP_FTEXT_LONGTEXT | = lv_flg_prop_ftext_longtext | |
FLG_PROP_TAB07 | = lv_flg_prop_tab07 | |
FLG_PROP_TAB0B | = lv_flg_prop_tab0b | |
VALFR | = lv_valfr | |
FLG_PROP_TAB0D | = lv_flg_prop_tab0d | |
FLG_PROP_TAB0F | = lv_flg_prop_tab0f | |
FLG_PROP_PACK | = lv_flg_prop_pack | |
FLG_PROP_SPROV | = lv_flg_prop_sprov | |
FLG_PROP_CARR | = lv_flg_prop_carr | |
FLG_VAL_CHECK_BY_STATUS | = lv_flg_val_check_by_status | |
FLG_INHED_DATA_DEL | = lv_flg_inhed_data_del | |
VALTO | = lv_valto | |
FLG_KEY_DATE_SWITCH_ONLY | = lv_flg_key_date_switch_only | |
FLG_TESTRUN | = lv_flg_testrun | |
FLG_BUFFER | = lv_flg_buffer | |
FLG_OWNID_SRSID_KEEP | = lv_flg_ownid_srsid_keep | |
FLG_HEADER | = lv_flg_header | |
IMPORTING | ||
FLG_ABORT_ON_ERROR | = lv_flg_abort_on_error | |
TABLES | ||
RETURN | = lt_return | |
PROP_HEADER | = lt_prop_header | |
PROP_VAL | = lt_prop_val | |
PROP_DATA | = lt_prop_data | |
PROP_COMPONENT | = lt_prop_component | |
PROP_USAGE | = lt_prop_usage | |
PROP_RELIABILITY | = lt_prop_reliability | |
PROP_SOURCE | = lt_prop_source | |
PROP_FTEXT | = lt_prop_ftext | |
PROP_FTEXT_LONGTEXT | = lt_prop_ftext_longtext | |
PROP_TAB07 | = lt_prop_tab07 | |
SUB_HEADER | = lt_sub_header | |
PROP_TAB0B | = lt_prop_tab0b | |
PROP_TAB0D | = lt_prop_tab0d | |
PROP_TAB0F | = lt_prop_tab0f | |
PROP_PACK | = lt_prop_pack | |
PROP_SPROV | = lt_prop_sprov | |
PROP_CARR | = lt_prop_carr | |
REFSUBS | = lt_refsubs | |
IDENT_HEADER | = lt_ident_header | |
IDENT_LONGTEXT | = lt_ident_longtext | |
IDENT_SUBLIST | = lt_ident_sublist | |
MATJOIN | = lt_matjoin | |
TPLREL | = lt_tplrel | |
APPLSCP | = lt_applscp | |
. " BAPI_BUS1077_DELETE |
ABAP code using 7.40 inline data declarations to call FM BAPI_BUS1077_DELETE
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 VALDAT FROM RCGADDINF INTO @DATA(ld_key_date). | ||||
DATA(ld_key_date) | = SY-DATUM. | |||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_abort_on_error). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_header_usage). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_refsubs). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_ident). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_ident_sublist). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_ident_longtext). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_ident_usage). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_matjoin). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_tplrel). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_applscp). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_header). | ||||
"SELECT single AENNR FROM RCGADDINF INTO @DATA(ld_change_number). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_data). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_comp). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_usage). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_rel). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_source). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_ftext). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_ftext_longtext). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_tab07). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_tab0b). | ||||
"SELECT single VALDAT FROM RCGADDINF INTO @DATA(ld_valfr). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_tab0d). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_tab0f). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_pack). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_sprov). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_prop_carr). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_val_check_by_status). | ||||
DATA(ld_flg_val_check_by_status) | = 'X'. | |||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_inhed_data_del). | ||||
"SELECT single VALDAT FROM RCGADDINF INTO @DATA(ld_valto). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_key_date_switch_only). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_testrun). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_buffer). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_ownid_srsid_keep). | ||||
"SELECT single BOOLEAN FROM BAPISTDTYP INTO @DATA(ld_flg_header). | ||||
Search for further information about these or an SAP related objects