SAP Function Modules

BAPI_BUS1077_CHANGE SAP Function module - EHS: Change Specification







BAPI_BUS1077_CHANGE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name BAPI_BUS1077_CHANGE into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: 1077
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM BAPI_BUS1077_CHANGE - BAPI BUS1077 CHANGE





CALL FUNCTION 'BAPI_BUS1077_CHANGE' "EHS: Change Specification
* EXPORTING
*   key_date = SY-DATUM         " rcgaddinf-valdat  Validity Date for Specification Key
*   change_number =             " rcgaddinf-aennr  Change number
*   valfr =                     " rcgaddinf-valdat  Lower Time Interval Limit
*   valto =                     " rcgaddinf-valdat  Upper Time Interval Limit
*   flg_key_date_switch_only =   " bapistdtyp-boolean  Change key date and change number only
*   multlangu_params =          " ehslsadm      Language support parameters
*   flg_buffer =                " bapistdtyp-boolean  Buffer Specification Data
*   flg_testrun =               " bapistdtyp-boolean  Only Simulate Changes
*   flg_ownid_srsid_keep =      " bapistdtyp-boolean  Retain Data Origin and Data Provider
*   flg_header =                " bapistdtyp-boolean  Change Specification Header Data
*   flg_header_usage =          " bapistdtyp-boolean  Change Restrictions to Specification Header
*   flg_refsubs =               " bapistdtyp-boolean  Change Reference Specification Data
*   flg_ident =                 " bapistdtyp-boolean  Change Identifier Data
*   flg_ident_sublist =         " bapistdtyp-boolean  Change Regulatory List Assignments
*   flg_ident_longtext =        " bapistdtyp-boolean  Change Long Texts for Identifiers
*   flg_ident_usage =           " bapistdtyp-boolean  Change Usages for Identifiers
*   flg_matjoin =               " bapistdtyp-boolean  Change Material Assignments
*   flg_tplrel =                " bapistdtyp-boolean  Reject/Refuse/(De)activate Inheritances
*   flg_applscp =               " bapistdtyp-boolean  Change Scopes of Application
*   flg_prop_header =           " bapistdtyp-boolean  Change Value Assignment Header Data
*   flg_prop =                  " bapistdtyp-boolean  Change Value Assignment Instances
*   flg_prop_data =             " bapistdtyp-boolean  Change Value Assignment Data
*   flg_prop_comp =             " bapistdtyp-boolean  Change Composition Data
*   flg_prop_usage =            " bapistdtyp-boolean  Change Usage Data
*   flg_prop_rel =              " bapistdtyp-boolean  Change Assessment Data
*   flg_prop_source =           " bapistdtyp-boolean  Change Data for Source Details
*   flg_prop_ftext =            " bapistdtyp-boolean  Change User-Defined Texts
*   flg_prop_ftext_longtext =   " bapistdtyp-boolean  Change Long Texts for User-Defined Texts
*   flg_prop_tab07 =            " bapistdtyp-boolean  Change Transport Approval Data
*   flg_prop_tab0b =            " bapistdtyp-boolean  Change Packaging Code Approval Data
*   flg_prop_tab0d =            " bapistdtyp-boolean  Change Risk Classification Data
*   flg_prop_tab0f =            " bapistdtyp-boolean  Change Transport Classification Data
*   flg_prop_pack =             " bapistdtyp-boolean  Change Packaging Data
*   flg_prop_sprov =            " bapistdtyp-boolean  Change Special Packing Provisions
*   flg_prop_carr =             " bapistdtyp-boolean  Change Transport Regulations
*   flg_val_check_by_status = 'X'  " bapistdtyp-boolean  Check: Status allows value assignment to be edited
*   flg_use_local_inh_rec =     " bapistdtyp-boolean  Allow Editing of Inheritance Pointers
*   flg_no_esnt_actv_flg_logic =   " bapistdtyp-boolean
*   flg_del_by_void_ltxtflg =   " bapistdtyp-boolean
  IMPORTING
    flg_abort_on_error =        " bapistdtyp-boolean  Cancel processing
  TABLES
    return =                    " bapiret2      Confirmations
*   sub_header =                " bapi1077rh    Specification Header Data
*   sub_headerx =               " bapisubrhx    Change Table for Specification Header Data
*   refsubs =                   " bapi1077rr    Reference Specification Data
*   refsubsx =                  " bapisubrrx    Change Table for Reference Specification Data
*   ident_header =              " bapi1077ri    Identifier Data
*   ident_headerx =             " bapisubrix    Change Table for Identifier Data
*   ident_longtext =            " bapi1077il    Identifier long texts
*   ident_longtextx =           " bapisubilx    Change Table for Long Texts
*   ident_sublist =             " bapi1077rl    Regulatory List Assignments
*   ident_sublistx =            " bapisubrlx    Change Table for Regulatory List Assignment
*   matjoin =                   " bapi1077mj    Material Assignments
*   matjoinx =                  " bapisubmjx    Change Table for Material Data
*   tplrel =                    " bapi1077tplrel  Inheritance relationships
*   tplrelx =                   " bapisubtplrelx  Change Table for Inheritance Relationships
*   applscp =                   " bapi1077applscp  Scopes of Application
*   applscpx =                  " bapisubapplscpx  Change Table for Scopes of Application
*   prop_header =               " bapi1077vh    Value Assignment Types
*   prop_headerx =              " bapisubvhx    Change Table for Value Assignment Types
*   prop_val =                  " bapi1077va    Value assignment instances
*   prop_valx =                 " bapisubvax    Change Table for Value Assignment Instances
*   prop_data =                 " bapi1077pr    Value Assignment Data
*   prop_datax =                " bapisubprx    Change Table for Value Assignment Data
*   prop_component =            " bapi1077vp    Component Assignments
*   prop_componentx =           " bapisubvpx    Change Table for Component Data
*   prop_usage =                " bapi1077du    Usage Data
*   prop_usagex =               " bapisubdux    Change Table for Usage Information
*   prop_reliability =          " bapi1077dr    Assessment Data
*   prop_reliabilityx =         " bapisubdrx    Change Table for Assessment Data
*   prop_source =               " bapi1077ds    Source Details
*   prop_sourcex =              " bapisubdsx    Change Table for Source Details
*   prop_ftext =                " bapi1077df    User-Defined Texts
*   prop_ftextx =               " bapisubdfx    Change Table for User-Defined Texts
*   prop_ftext_longtext =       " bapi1077fl    Long Texts for User-Defined Texts
*   prop_ftext_longtextx =      " bapisubflx    Change Table for Long Texts
*   prop_tab07 =                " bapi107707    Transport Approval Data
*   prop_tab07x =               " bapisub07x    Change Table for Transport Approval
*   prop_tab0b =                " bapi10770b    Packaging Code Approval Data
*   prop_tab0bx =               " bapisub0bx    Change Table for Packaging Code Approval
*   prop_tab0d =                " bapi10770d    Risk Classification Data
*   prop_tab0dx =               " bapisub0dx    Change Table for Risk Classification
*   prop_tab0f =                " bapi10770f    Transport Classification Data
*   prop_tab0fx =               " bapisub0fx    Change Table for Transport Classification
*   prop_pack =                 " bapi1077pack  Packaging Data
*   prop_packx =                " bapi1077packx  Change Table for Packaging Data
*   prop_sprov =                " bapi1077sprov  Special Packing Provisions
*   prop_sprovx =               " bapi1077sprovx  Change Table for Special Packing Provisions
*   prop_carr =                 " bapi1077carr  Provisions for Carriage
*   prop_carrx =                " bapi1077carrx  Change Table for Transport Regulations
    .  "  BAPI_BUS1077_CHANGE

ABAP code example for Function Module BAPI_BUS1077_CHANGE





The ABAP code below is a full code listing to execute function module BAPI_BUS1077_CHANGE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_flg_abort_on_error  TYPE BAPISTDTYP-BOOLEAN ,
it_return  TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM
wa_return  LIKE LINE OF it_return ,
it_sub_header  TYPE STANDARD TABLE OF BAPI1077RH,"TABLES PARAM
wa_sub_header  LIKE LINE OF it_sub_header ,
it_sub_headerx  TYPE STANDARD TABLE OF BAPISUBRHX,"TABLES PARAM
wa_sub_headerx  LIKE LINE OF it_sub_headerx ,
it_refsubs  TYPE STANDARD TABLE OF BAPI1077RR,"TABLES PARAM
wa_refsubs  LIKE LINE OF it_refsubs ,
it_refsubsx  TYPE STANDARD TABLE OF BAPISUBRRX,"TABLES PARAM
wa_refsubsx  LIKE LINE OF it_refsubsx ,
it_ident_header  TYPE STANDARD TABLE OF BAPI1077RI,"TABLES PARAM
wa_ident_header  LIKE LINE OF it_ident_header ,
it_ident_headerx  TYPE STANDARD TABLE OF BAPISUBRIX,"TABLES PARAM
wa_ident_headerx  LIKE LINE OF it_ident_headerx ,
it_ident_longtext  TYPE STANDARD TABLE OF BAPI1077IL,"TABLES PARAM
wa_ident_longtext  LIKE LINE OF it_ident_longtext ,
it_ident_longtextx  TYPE STANDARD TABLE OF BAPISUBILX,"TABLES PARAM
wa_ident_longtextx  LIKE LINE OF it_ident_longtextx ,
it_ident_sublist  TYPE STANDARD TABLE OF BAPI1077RL,"TABLES PARAM
wa_ident_sublist  LIKE LINE OF it_ident_sublist ,
it_ident_sublistx  TYPE STANDARD TABLE OF BAPISUBRLX,"TABLES PARAM
wa_ident_sublistx  LIKE LINE OF it_ident_sublistx ,
it_matjoin  TYPE STANDARD TABLE OF BAPI1077MJ,"TABLES PARAM
wa_matjoin  LIKE LINE OF it_matjoin ,
it_matjoinx  TYPE STANDARD TABLE OF BAPISUBMJX,"TABLES PARAM
wa_matjoinx  LIKE LINE OF it_matjoinx ,
it_tplrel  TYPE STANDARD TABLE OF BAPI1077TPLREL,"TABLES PARAM
wa_tplrel  LIKE LINE OF it_tplrel ,
it_tplrelx  TYPE STANDARD TABLE OF BAPISUBTPLRELX,"TABLES PARAM
wa_tplrelx  LIKE LINE OF it_tplrelx ,
it_applscp  TYPE STANDARD TABLE OF BAPI1077APPLSCP,"TABLES PARAM
wa_applscp  LIKE LINE OF it_applscp ,
it_applscpx  TYPE STANDARD TABLE OF BAPISUBAPPLSCPX,"TABLES PARAM
wa_applscpx  LIKE LINE OF it_applscpx ,
it_prop_header  TYPE STANDARD TABLE OF BAPI1077VH,"TABLES PARAM
wa_prop_header  LIKE LINE OF it_prop_header ,
it_prop_headerx  TYPE STANDARD TABLE OF BAPISUBVHX,"TABLES PARAM
wa_prop_headerx  LIKE LINE OF it_prop_headerx ,
it_prop_val  TYPE STANDARD TABLE OF BAPI1077VA,"TABLES PARAM
wa_prop_val  LIKE LINE OF it_prop_val ,
it_prop_valx  TYPE STANDARD TABLE OF BAPISUBVAX,"TABLES PARAM
wa_prop_valx  LIKE LINE OF it_prop_valx ,
it_prop_data  TYPE STANDARD TABLE OF BAPI1077PR,"TABLES PARAM
wa_prop_data  LIKE LINE OF it_prop_data ,
it_prop_datax  TYPE STANDARD TABLE OF BAPISUBPRX,"TABLES PARAM
wa_prop_datax  LIKE LINE OF it_prop_datax ,
it_prop_component  TYPE STANDARD TABLE OF BAPI1077VP,"TABLES PARAM
wa_prop_component  LIKE LINE OF it_prop_component ,
it_prop_componentx  TYPE STANDARD TABLE OF BAPISUBVPX,"TABLES PARAM
wa_prop_componentx  LIKE LINE OF it_prop_componentx ,
it_prop_usage  TYPE STANDARD TABLE OF BAPI1077DU,"TABLES PARAM
wa_prop_usage  LIKE LINE OF it_prop_usage ,
it_prop_usagex  TYPE STANDARD TABLE OF BAPISUBDUX,"TABLES PARAM
wa_prop_usagex  LIKE LINE OF it_prop_usagex ,
it_prop_reliability  TYPE STANDARD TABLE OF BAPI1077DR,"TABLES PARAM
wa_prop_reliability  LIKE LINE OF it_prop_reliability ,
it_prop_reliabilityx  TYPE STANDARD TABLE OF BAPISUBDRX,"TABLES PARAM
wa_prop_reliabilityx  LIKE LINE OF it_prop_reliabilityx ,
it_prop_source  TYPE STANDARD TABLE OF BAPI1077DS,"TABLES PARAM
wa_prop_source  LIKE LINE OF it_prop_source ,
it_prop_sourcex  TYPE STANDARD TABLE OF BAPISUBDSX,"TABLES PARAM
wa_prop_sourcex  LIKE LINE OF it_prop_sourcex ,
it_prop_ftext  TYPE STANDARD TABLE OF BAPI1077DF,"TABLES PARAM
wa_prop_ftext  LIKE LINE OF it_prop_ftext ,
it_prop_ftextx  TYPE STANDARD TABLE OF BAPISUBDFX,"TABLES PARAM
wa_prop_ftextx  LIKE LINE OF it_prop_ftextx ,
it_prop_ftext_longtext  TYPE STANDARD TABLE OF BAPI1077FL,"TABLES PARAM
wa_prop_ftext_longtext  LIKE LINE OF it_prop_ftext_longtext ,
it_prop_ftext_longtextx  TYPE STANDARD TABLE OF BAPISUBFLX,"TABLES PARAM
wa_prop_ftext_longtextx  LIKE LINE OF it_prop_ftext_longtextx ,
it_prop_tab07  TYPE STANDARD TABLE OF BAPI107707,"TABLES PARAM
wa_prop_tab07  LIKE LINE OF it_prop_tab07 ,
it_prop_tab07x  TYPE STANDARD TABLE OF BAPISUB07X,"TABLES PARAM
wa_prop_tab07x  LIKE LINE OF it_prop_tab07x ,
it_prop_tab0b  TYPE STANDARD TABLE OF BAPI10770B,"TABLES PARAM
wa_prop_tab0b  LIKE LINE OF it_prop_tab0b ,
it_prop_tab0bx  TYPE STANDARD TABLE OF BAPISUB0BX,"TABLES PARAM
wa_prop_tab0bx  LIKE LINE OF it_prop_tab0bx ,
it_prop_tab0d  TYPE STANDARD TABLE OF BAPI10770D,"TABLES PARAM
wa_prop_tab0d  LIKE LINE OF it_prop_tab0d ,
it_prop_tab0dx  TYPE STANDARD TABLE OF BAPISUB0DX,"TABLES PARAM
wa_prop_tab0dx  LIKE LINE OF it_prop_tab0dx ,
it_prop_tab0f  TYPE STANDARD TABLE OF BAPI10770F,"TABLES PARAM
wa_prop_tab0f  LIKE LINE OF it_prop_tab0f ,
it_prop_tab0fx  TYPE STANDARD TABLE OF BAPISUB0FX,"TABLES PARAM
wa_prop_tab0fx  LIKE LINE OF it_prop_tab0fx ,
it_prop_pack  TYPE STANDARD TABLE OF BAPI1077PACK,"TABLES PARAM
wa_prop_pack  LIKE LINE OF it_prop_pack ,
it_prop_packx  TYPE STANDARD TABLE OF BAPI1077PACKX,"TABLES PARAM
wa_prop_packx  LIKE LINE OF it_prop_packx ,
it_prop_sprov  TYPE STANDARD TABLE OF BAPI1077SPROV,"TABLES PARAM
wa_prop_sprov  LIKE LINE OF it_prop_sprov ,
it_prop_sprovx  TYPE STANDARD TABLE OF BAPI1077SPROVX,"TABLES PARAM
wa_prop_sprovx  LIKE LINE OF it_prop_sprovx ,
it_prop_carr  TYPE STANDARD TABLE OF BAPI1077CARR,"TABLES PARAM
wa_prop_carr  LIKE LINE OF it_prop_carr ,
it_prop_carrx  TYPE STANDARD TABLE OF BAPI1077CARRX,"TABLES PARAM
wa_prop_carrx  LIKE LINE OF it_prop_carrx .


DATA(ld_key_date) = 20191121

DATA(ld_change_number) = some text here

DATA(ld_valfr) = 20191121

DATA(ld_valto) = 20191121

DATA(ld_flg_key_date_switch_only) = some text here
DATA(ld_multlangu_params) = 'Check type of data required'.

DATA(ld_flg_buffer) = some text here

DATA(ld_flg_testrun) = some text here

DATA(ld_flg_ownid_srsid_keep) = some text here

DATA(ld_flg_header) = some text here

DATA(ld_flg_header_usage) = some text here

DATA(ld_flg_refsubs) = some text here

DATA(ld_flg_ident) = some text here

DATA(ld_flg_ident_sublist) = some text here

DATA(ld_flg_ident_longtext) = some text here

DATA(ld_flg_ident_usage) = some text here

DATA(ld_flg_matjoin) = some text here

DATA(ld_flg_tplrel) = some text here

DATA(ld_flg_applscp) = some text here

DATA(ld_flg_prop_header) = some text here

DATA(ld_flg_prop) = some text here

DATA(ld_flg_prop_data) = some text here

DATA(ld_flg_prop_comp) = some text here

DATA(ld_flg_prop_usage) = some text here

DATA(ld_flg_prop_rel) = some text here

DATA(ld_flg_prop_source) = some text here

DATA(ld_flg_prop_ftext) = some text here

DATA(ld_flg_prop_ftext_longtext) = some text here

DATA(ld_flg_prop_tab07) = some text here

DATA(ld_flg_prop_tab0b) = some text here

DATA(ld_flg_prop_tab0d) = some text here

DATA(ld_flg_prop_tab0f) = some text here

DATA(ld_flg_prop_pack) = some text here

DATA(ld_flg_prop_sprov) = some text here

DATA(ld_flg_prop_carr) = some text here

DATA(ld_flg_val_check_by_status) = some text here

DATA(ld_flg_use_local_inh_rec) = some text here

DATA(ld_flg_no_esnt_actv_flg_logic) = some text here

DATA(ld_flg_del_by_void_ltxtflg) = some text here

"populate fields of struture and append to itab
append wa_return to it_return.

"populate fields of struture and append to itab
append wa_sub_header to it_sub_header.

"populate fields of struture and append to itab
append wa_sub_headerx to it_sub_headerx.

"populate fields of struture and append to itab
append wa_refsubs to it_refsubs.

"populate fields of struture and append to itab
append wa_refsubsx to it_refsubsx.

"populate fields of struture and append to itab
append wa_ident_header to it_ident_header.

"populate fields of struture and append to itab
append wa_ident_headerx to it_ident_headerx.

"populate fields of struture and append to itab
append wa_ident_longtext to it_ident_longtext.

"populate fields of struture and append to itab
append wa_ident_longtextx to it_ident_longtextx.

"populate fields of struture and append to itab
append wa_ident_sublist to it_ident_sublist.

"populate fields of struture and append to itab
append wa_ident_sublistx to it_ident_sublistx.

"populate fields of struture and append to itab
append wa_matjoin to it_matjoin.

"populate fields of struture and append to itab
append wa_matjoinx to it_matjoinx.

"populate fields of struture and append to itab
append wa_tplrel to it_tplrel.

"populate fields of struture and append to itab
append wa_tplrelx to it_tplrelx.

"populate fields of struture and append to itab
append wa_applscp to it_applscp.

"populate fields of struture and append to itab
append wa_applscpx to it_applscpx.

"populate fields of struture and append to itab
append wa_prop_header to it_prop_header.

"populate fields of struture and append to itab
append wa_prop_headerx to it_prop_headerx.

"populate fields of struture and append to itab
append wa_prop_val to it_prop_val.

"populate fields of struture and append to itab
append wa_prop_valx to it_prop_valx.

"populate fields of struture and append to itab
append wa_prop_data to it_prop_data.

"populate fields of struture and append to itab
append wa_prop_datax to it_prop_datax.

"populate fields of struture and append to itab
append wa_prop_component to it_prop_component.

"populate fields of struture and append to itab
append wa_prop_componentx to it_prop_componentx.

"populate fields of struture and append to itab
append wa_prop_usage to it_prop_usage.

"populate fields of struture and append to itab
append wa_prop_usagex to it_prop_usagex.

"populate fields of struture and append to itab
append wa_prop_reliability to it_prop_reliability.

"populate fields of struture and append to itab
append wa_prop_reliabilityx to it_prop_reliabilityx.

"populate fields of struture and append to itab
append wa_prop_source to it_prop_source.

"populate fields of struture and append to itab
append wa_prop_sourcex to it_prop_sourcex.

"populate fields of struture and append to itab
append wa_prop_ftext to it_prop_ftext.

"populate fields of struture and append to itab
append wa_prop_ftextx to it_prop_ftextx.

"populate fields of struture and append to itab
append wa_prop_ftext_longtext to it_prop_ftext_longtext.

"populate fields of struture and append to itab
append wa_prop_ftext_longtextx to it_prop_ftext_longtextx.

"populate fields of struture and append to itab
append wa_prop_tab07 to it_prop_tab07.

"populate fields of struture and append to itab
append wa_prop_tab07x to it_prop_tab07x.

"populate fields of struture and append to itab
append wa_prop_tab0b to it_prop_tab0b.

"populate fields of struture and append to itab
append wa_prop_tab0bx to it_prop_tab0bx.

"populate fields of struture and append to itab
append wa_prop_tab0d to it_prop_tab0d.

"populate fields of struture and append to itab
append wa_prop_tab0dx to it_prop_tab0dx.

"populate fields of struture and append to itab
append wa_prop_tab0f to it_prop_tab0f.

"populate fields of struture and append to itab
append wa_prop_tab0fx to it_prop_tab0fx.

"populate fields of struture and append to itab
append wa_prop_pack to it_prop_pack.

"populate fields of struture and append to itab
append wa_prop_packx to it_prop_packx.

"populate fields of struture and append to itab
append wa_prop_sprov to it_prop_sprov.

"populate fields of struture and append to itab
append wa_prop_sprovx to it_prop_sprovx.

"populate fields of struture and append to itab
append wa_prop_carr to it_prop_carr.

"populate fields of struture and append to itab
append wa_prop_carrx to it_prop_carrx. . CALL FUNCTION 'BAPI_BUS1077_CHANGE' * EXPORTING * key_date = ld_key_date * change_number = ld_change_number * valfr = ld_valfr * valto = ld_valto * flg_key_date_switch_only = ld_flg_key_date_switch_only * multlangu_params = ld_multlangu_params * flg_buffer = ld_flg_buffer * flg_testrun = ld_flg_testrun * flg_ownid_srsid_keep = ld_flg_ownid_srsid_keep * flg_header = ld_flg_header * flg_header_usage = ld_flg_header_usage * flg_refsubs = ld_flg_refsubs * flg_ident = ld_flg_ident * flg_ident_sublist = ld_flg_ident_sublist * flg_ident_longtext = ld_flg_ident_longtext * flg_ident_usage = ld_flg_ident_usage * flg_matjoin = ld_flg_matjoin * flg_tplrel = ld_flg_tplrel * flg_applscp = ld_flg_applscp * flg_prop_header = ld_flg_prop_header * flg_prop = ld_flg_prop * flg_prop_data = ld_flg_prop_data * flg_prop_comp = ld_flg_prop_comp * flg_prop_usage = ld_flg_prop_usage * flg_prop_rel = ld_flg_prop_rel * flg_prop_source = ld_flg_prop_source * flg_prop_ftext = ld_flg_prop_ftext * flg_prop_ftext_longtext = ld_flg_prop_ftext_longtext * flg_prop_tab07 = ld_flg_prop_tab07 * flg_prop_tab0b = ld_flg_prop_tab0b * flg_prop_tab0d = ld_flg_prop_tab0d * flg_prop_tab0f = ld_flg_prop_tab0f * flg_prop_pack = ld_flg_prop_pack * flg_prop_sprov = ld_flg_prop_sprov * flg_prop_carr = ld_flg_prop_carr * flg_val_check_by_status = ld_flg_val_check_by_status * flg_use_local_inh_rec = ld_flg_use_local_inh_rec * flg_no_esnt_actv_flg_logic = ld_flg_no_esnt_actv_flg_logic * flg_del_by_void_ltxtflg = ld_flg_del_by_void_ltxtflg IMPORTING flg_abort_on_error = ld_flg_abort_on_error TABLES return = it_return * sub_header = it_sub_header * sub_headerx = it_sub_headerx * refsubs = it_refsubs * refsubsx = it_refsubsx * ident_header = it_ident_header * ident_headerx = it_ident_headerx * ident_longtext = it_ident_longtext * ident_longtextx = it_ident_longtextx * ident_sublist = it_ident_sublist * ident_sublistx = it_ident_sublistx * matjoin = it_matjoin * matjoinx = it_matjoinx * tplrel = it_tplrel * tplrelx = it_tplrelx * applscp = it_applscp * applscpx = it_applscpx * prop_header = it_prop_header * prop_headerx = it_prop_headerx * prop_val = it_prop_val * prop_valx = it_prop_valx * prop_data = it_prop_data * prop_datax = it_prop_datax * prop_component = it_prop_component * prop_componentx = it_prop_componentx * prop_usage = it_prop_usage * prop_usagex = it_prop_usagex * prop_reliability = it_prop_reliability * prop_reliabilityx = it_prop_reliabilityx * prop_source = it_prop_source * prop_sourcex = it_prop_sourcex * prop_ftext = it_prop_ftext * prop_ftextx = it_prop_ftextx * prop_ftext_longtext = it_prop_ftext_longtext * prop_ftext_longtextx = it_prop_ftext_longtextx * prop_tab07 = it_prop_tab07 * prop_tab07x = it_prop_tab07x * prop_tab0b = it_prop_tab0b * prop_tab0bx = it_prop_tab0bx * prop_tab0d = it_prop_tab0d * prop_tab0dx = it_prop_tab0dx * prop_tab0f = it_prop_tab0f * prop_tab0fx = it_prop_tab0fx * prop_pack = it_prop_pack * prop_packx = it_prop_packx * prop_sprov = it_prop_sprov * prop_sprovx = it_prop_sprovx * prop_carr = it_prop_carr * prop_carrx = it_prop_carrx . " BAPI_BUS1077_CHANGE
IF SY-SUBRC EQ 0. "All OK ENDIF.




ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_flg_abort_on_error  TYPE BAPISTDTYP-BOOLEAN ,
ld_key_date  TYPE RCGADDINF-VALDAT ,
it_return  TYPE STANDARD TABLE OF BAPIRET2 ,
wa_return  LIKE LINE OF it_return,
ld_change_number  TYPE RCGADDINF-AENNR ,
it_sub_header  TYPE STANDARD TABLE OF BAPI1077RH ,
wa_sub_header  LIKE LINE OF it_sub_header,
ld_valfr  TYPE RCGADDINF-VALDAT ,
it_sub_headerx  TYPE STANDARD TABLE OF BAPISUBRHX ,
wa_sub_headerx  LIKE LINE OF it_sub_headerx,
ld_valto  TYPE RCGADDINF-VALDAT ,
it_refsubs  TYPE STANDARD TABLE OF BAPI1077RR ,
wa_refsubs  LIKE LINE OF it_refsubs,
it_refsubsx  TYPE STANDARD TABLE OF BAPISUBRRX ,
wa_refsubsx  LIKE LINE OF it_refsubsx,
ld_flg_key_date_switch_only  TYPE BAPISTDTYP-BOOLEAN ,
it_ident_header  TYPE STANDARD TABLE OF BAPI1077RI ,
wa_ident_header  LIKE LINE OF it_ident_header,
ld_multlangu_params  TYPE EHSLSADM ,
it_ident_headerx  TYPE STANDARD TABLE OF BAPISUBRIX ,
wa_ident_headerx  LIKE LINE OF it_ident_headerx,
ld_flg_buffer  TYPE BAPISTDTYP-BOOLEAN ,
it_ident_longtext  TYPE STANDARD TABLE OF BAPI1077IL ,
wa_ident_longtext  LIKE LINE OF it_ident_longtext,
ld_flg_testrun  TYPE BAPISTDTYP-BOOLEAN ,
it_ident_longtextx  TYPE STANDARD TABLE OF BAPISUBILX ,
wa_ident_longtextx  LIKE LINE OF it_ident_longtextx,
ld_flg_ownid_srsid_keep  TYPE BAPISTDTYP-BOOLEAN ,
it_ident_sublist  TYPE STANDARD TABLE OF BAPI1077RL ,
wa_ident_sublist  LIKE LINE OF it_ident_sublist,
ld_flg_header  TYPE BAPISTDTYP-BOOLEAN ,
it_ident_sublistx  TYPE STANDARD TABLE OF BAPISUBRLX ,
wa_ident_sublistx  LIKE LINE OF it_ident_sublistx,
ld_flg_header_usage  TYPE BAPISTDTYP-BOOLEAN ,
it_matjoin  TYPE STANDARD TABLE OF BAPI1077MJ ,
wa_matjoin  LIKE LINE OF it_matjoin,
ld_flg_refsubs  TYPE BAPISTDTYP-BOOLEAN ,
it_matjoinx  TYPE STANDARD TABLE OF BAPISUBMJX ,
wa_matjoinx  LIKE LINE OF it_matjoinx,
ld_flg_ident  TYPE BAPISTDTYP-BOOLEAN ,
it_tplrel  TYPE STANDARD TABLE OF BAPI1077TPLREL ,
wa_tplrel  LIKE LINE OF it_tplrel,
ld_flg_ident_sublist  TYPE BAPISTDTYP-BOOLEAN ,
it_tplrelx  TYPE STANDARD TABLE OF BAPISUBTPLRELX ,
wa_tplrelx  LIKE LINE OF it_tplrelx,
ld_flg_ident_longtext  TYPE BAPISTDTYP-BOOLEAN ,
it_applscp  TYPE STANDARD TABLE OF BAPI1077APPLSCP ,
wa_applscp  LIKE LINE OF it_applscp,
ld_flg_ident_usage  TYPE BAPISTDTYP-BOOLEAN ,
it_applscpx  TYPE STANDARD TABLE OF BAPISUBAPPLSCPX ,
wa_applscpx  LIKE LINE OF it_applscpx,
ld_flg_matjoin  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_header  TYPE STANDARD TABLE OF BAPI1077VH ,
wa_prop_header  LIKE LINE OF it_prop_header,
ld_flg_tplrel  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_headerx  TYPE STANDARD TABLE OF BAPISUBVHX ,
wa_prop_headerx  LIKE LINE OF it_prop_headerx,
ld_flg_applscp  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_val  TYPE STANDARD TABLE OF BAPI1077VA ,
wa_prop_val  LIKE LINE OF it_prop_val,
ld_flg_prop_header  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_valx  TYPE STANDARD TABLE OF BAPISUBVAX ,
wa_prop_valx  LIKE LINE OF it_prop_valx,
ld_flg_prop  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_data  TYPE STANDARD TABLE OF BAPI1077PR ,
wa_prop_data  LIKE LINE OF it_prop_data,
ld_flg_prop_data  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_datax  TYPE STANDARD TABLE OF BAPISUBPRX ,
wa_prop_datax  LIKE LINE OF it_prop_datax,
ld_flg_prop_comp  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_component  TYPE STANDARD TABLE OF BAPI1077VP ,
wa_prop_component  LIKE LINE OF it_prop_component,
ld_flg_prop_usage  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_componentx  TYPE STANDARD TABLE OF BAPISUBVPX ,
wa_prop_componentx  LIKE LINE OF it_prop_componentx,
ld_flg_prop_rel  TYPE BAPISTDTYP-BOOLEAN ,
ld_flg_prop_source  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_usage  TYPE STANDARD TABLE OF BAPI1077DU ,
wa_prop_usage  LIKE LINE OF it_prop_usage,
ld_flg_prop_ftext  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_usagex  TYPE STANDARD TABLE OF BAPISUBDUX ,
wa_prop_usagex  LIKE LINE OF it_prop_usagex,
ld_flg_prop_ftext_longtext  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_reliability  TYPE STANDARD TABLE OF BAPI1077DR ,
wa_prop_reliability  LIKE LINE OF it_prop_reliability,
it_prop_reliabilityx  TYPE STANDARD TABLE OF BAPISUBDRX ,
wa_prop_reliabilityx  LIKE LINE OF it_prop_reliabilityx,
ld_flg_prop_tab07  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_source  TYPE STANDARD TABLE OF BAPI1077DS ,
wa_prop_source  LIKE LINE OF it_prop_source,
ld_flg_prop_tab0b  TYPE BAPISTDTYP-BOOLEAN ,
ld_flg_prop_tab0d  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_sourcex  TYPE STANDARD TABLE OF BAPISUBDSX ,
wa_prop_sourcex  LIKE LINE OF it_prop_sourcex,
ld_flg_prop_tab0f  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_ftext  TYPE STANDARD TABLE OF BAPI1077DF ,
wa_prop_ftext  LIKE LINE OF it_prop_ftext,
it_prop_ftextx  TYPE STANDARD TABLE OF BAPISUBDFX ,
wa_prop_ftextx  LIKE LINE OF it_prop_ftextx,
ld_flg_prop_pack  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_ftext_longtext  TYPE STANDARD TABLE OF BAPI1077FL ,
wa_prop_ftext_longtext  LIKE LINE OF it_prop_ftext_longtext,
ld_flg_prop_sprov  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_ftext_longtextx  TYPE STANDARD TABLE OF BAPISUBFLX ,
wa_prop_ftext_longtextx  LIKE LINE OF it_prop_ftext_longtextx,
ld_flg_prop_carr  TYPE BAPISTDTYP-BOOLEAN ,
ld_flg_val_check_by_status  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_tab07  TYPE STANDARD TABLE OF BAPI107707 ,
wa_prop_tab07  LIKE LINE OF it_prop_tab07,
ld_flg_use_local_inh_rec  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_tab07x  TYPE STANDARD TABLE OF BAPISUB07X ,
wa_prop_tab07x  LIKE LINE OF it_prop_tab07x,
ld_flg_no_esnt_actv_flg_logic  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_tab0b  TYPE STANDARD TABLE OF BAPI10770B ,
wa_prop_tab0b  LIKE LINE OF it_prop_tab0b,
ld_flg_del_by_void_ltxtflg  TYPE BAPISTDTYP-BOOLEAN ,
it_prop_tab0bx  TYPE STANDARD TABLE OF BAPISUB0BX ,
wa_prop_tab0bx  LIKE LINE OF it_prop_tab0bx,
it_prop_tab0d  TYPE STANDARD TABLE OF BAPI10770D ,
wa_prop_tab0d  LIKE LINE OF it_prop_tab0d,
it_prop_tab0dx  TYPE STANDARD TABLE OF BAPISUB0DX ,
wa_prop_tab0dx  LIKE LINE OF it_prop_tab0dx,
it_prop_tab0f  TYPE STANDARD TABLE OF BAPI10770F ,
wa_prop_tab0f  LIKE LINE OF it_prop_tab0f,
it_prop_tab0fx  TYPE STANDARD TABLE OF BAPISUB0FX ,
wa_prop_tab0fx  LIKE LINE OF it_prop_tab0fx,
it_prop_pack  TYPE STANDARD TABLE OF BAPI1077PACK ,
wa_prop_pack  LIKE LINE OF it_prop_pack,
it_prop_packx  TYPE STANDARD TABLE OF BAPI1077PACKX ,
wa_prop_packx  LIKE LINE OF it_prop_packx,
it_prop_sprov  TYPE STANDARD TABLE OF BAPI1077SPROV ,
wa_prop_sprov  LIKE LINE OF it_prop_sprov,
it_prop_sprovx  TYPE STANDARD TABLE OF BAPI1077SPROVX ,
wa_prop_sprovx  LIKE LINE OF it_prop_sprovx,
it_prop_carr  TYPE STANDARD TABLE OF BAPI1077CARR ,
wa_prop_carr  LIKE LINE OF it_prop_carr,
it_prop_carrx  TYPE STANDARD TABLE OF BAPI1077CARRX ,
wa_prop_carrx  LIKE LINE OF it_prop_carrx.


ld_key_date = 20191121

"populate fields of struture and append to itab
append wa_return to it_return.

ld_change_number = some text here

"populate fields of struture and append to itab
append wa_sub_header to it_sub_header.

ld_valfr = 20191121

"populate fields of struture and append to itab
append wa_sub_headerx to it_sub_headerx.

ld_valto = 20191121

"populate fields of struture and append to itab
append wa_refsubs to it_refsubs.

"populate fields of struture and append to itab
append wa_refsubsx to it_refsubsx.

ld_flg_key_date_switch_only = some text here

"populate fields of struture and append to itab
append wa_ident_header to it_ident_header.
ld_multlangu_params = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_ident_headerx to it_ident_headerx.

ld_flg_buffer = some text here

"populate fields of struture and append to itab
append wa_ident_longtext to it_ident_longtext.

ld_flg_testrun = some text here

"populate fields of struture and append to itab
append wa_ident_longtextx to it_ident_longtextx.

ld_flg_ownid_srsid_keep = some text here

"populate fields of struture and append to itab
append wa_ident_sublist to it_ident_sublist.

ld_flg_header = some text here

"populate fields of struture and append to itab
append wa_ident_sublistx to it_ident_sublistx.

ld_flg_header_usage = some text here

"populate fields of struture and append to itab
append wa_matjoin to it_matjoin.

ld_flg_refsubs = some text here

"populate fields of struture and append to itab
append wa_matjoinx to it_matjoinx.

ld_flg_ident = some text here

"populate fields of struture and append to itab
append wa_tplrel to it_tplrel.

ld_flg_ident_sublist = some text here

"populate fields of struture and append to itab
append wa_tplrelx to it_tplrelx.

ld_flg_ident_longtext = some text here

"populate fields of struture and append to itab
append wa_applscp to it_applscp.

ld_flg_ident_usage = some text here

"populate fields of struture and append to itab
append wa_applscpx to it_applscpx.

ld_flg_matjoin = some text here

"populate fields of struture and append to itab
append wa_prop_header to it_prop_header.

ld_flg_tplrel = some text here

"populate fields of struture and append to itab
append wa_prop_headerx to it_prop_headerx.

ld_flg_applscp = some text here

"populate fields of struture and append to itab
append wa_prop_val to it_prop_val.

ld_flg_prop_header = some text here

"populate fields of struture and append to itab
append wa_prop_valx to it_prop_valx.

ld_flg_prop = some text here

"populate fields of struture and append to itab
append wa_prop_data to it_prop_data.

ld_flg_prop_data = some text here

"populate fields of struture and append to itab
append wa_prop_datax to it_prop_datax.

ld_flg_prop_comp = some text here

"populate fields of struture and append to itab
append wa_prop_component to it_prop_component.

ld_flg_prop_usage = some text here

"populate fields of struture and append to itab
append wa_prop_componentx to it_prop_componentx.

ld_flg_prop_rel = some text here

ld_flg_prop_source = some text here

"populate fields of struture and append to itab
append wa_prop_usage to it_prop_usage.

ld_flg_prop_ftext = some text here

"populate fields of struture and append to itab
append wa_prop_usagex to it_prop_usagex.

ld_flg_prop_ftext_longtext = some text here

"populate fields of struture and append to itab
append wa_prop_reliability to it_prop_reliability.

"populate fields of struture and append to itab
append wa_prop_reliabilityx to it_prop_reliabilityx.

ld_flg_prop_tab07 = some text here

"populate fields of struture and append to itab
append wa_prop_source to it_prop_source.

ld_flg_prop_tab0b = some text here

ld_flg_prop_tab0d = some text here

"populate fields of struture and append to itab
append wa_prop_sourcex to it_prop_sourcex.

ld_flg_prop_tab0f = some text here

"populate fields of struture and append to itab
append wa_prop_ftext to it_prop_ftext.

"populate fields of struture and append to itab
append wa_prop_ftextx to it_prop_ftextx.

ld_flg_prop_pack = some text here

"populate fields of struture and append to itab
append wa_prop_ftext_longtext to it_prop_ftext_longtext.

ld_flg_prop_sprov = some text here

"populate fields of struture and append to itab
append wa_prop_ftext_longtextx to it_prop_ftext_longtextx.

ld_flg_prop_carr = some text here

ld_flg_val_check_by_status = some text here

"populate fields of struture and append to itab
append wa_prop_tab07 to it_prop_tab07.

ld_flg_use_local_inh_rec = some text here

"populate fields of struture and append to itab
append wa_prop_tab07x to it_prop_tab07x.

ld_flg_no_esnt_actv_flg_logic = some text here

"populate fields of struture and append to itab
append wa_prop_tab0b to it_prop_tab0b.

ld_flg_del_by_void_ltxtflg = some text here

"populate fields of struture and append to itab
append wa_prop_tab0bx to it_prop_tab0bx.

"populate fields of struture and append to itab
append wa_prop_tab0d to it_prop_tab0d.

"populate fields of struture and append to itab
append wa_prop_tab0dx to it_prop_tab0dx.

"populate fields of struture and append to itab
append wa_prop_tab0f to it_prop_tab0f.

"populate fields of struture and append to itab
append wa_prop_tab0fx to it_prop_tab0fx.

"populate fields of struture and append to itab
append wa_prop_pack to it_prop_pack.

"populate fields of struture and append to itab
append wa_prop_packx to it_prop_packx.

"populate fields of struture and append to itab
append wa_prop_sprov to it_prop_sprov.

"populate fields of struture and append to itab
append wa_prop_sprovx to it_prop_sprovx.

"populate fields of struture and append to itab
append wa_prop_carr to it_prop_carr.

"populate fields of struture and append to itab
append wa_prop_carrx to it_prop_carrx.

SAP Documentation for FM BAPI_BUS1077_CHANGE


This method allows you to make changes to existing specification data. Changes can be made to subobjects of an existing instance. New ...See here for full SAP fm documentation

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_BUS1077_CHANGE or its description.