BAPI_BUS1077_CREATE 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_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
1077
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_BUS1077_CREATE' "EHS: Create 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_testrun = " bapistdtyp-boolean Simulate only * flg_buffer = " bapistdtyp-boolean Buffer data * flg_ownid_srsid_keep = " bapistdtyp-boolean Retain Data Origin and Data Provider * flg_header = " bapistdtyp-boolean Create specification header data * flg_header_usage = " bapistdtyp-boolean Create restrictions to specification header * flg_refsubs = " bapistdtyp-boolean Create reference specifications * flg_ident = " bapistdtyp-boolean Create Identifiers * flg_ident_sublist = " bapistdtyp-boolean Create regulatory list assignments * flg_ident_longtext = " bapistdtyp-boolean Create Long Texts for Identifiers * flg_ident_usage = " bapistdtyp-boolean Create usages for identifiers * flg_matjoin = " bapistdtyp-boolean Create Material Assignments * flg_tplrel = " bapistdtyp-boolean Create Inheritance Relationships * flg_applscp = " bapistdtyp-boolean Create Scopes of Application * flg_prop_header = " bapistdtyp-boolean Create value assignment types * flg_prop = " bapistdtyp-boolean Create value assignment instances * flg_prop_data = " bapistdtyp-boolean Create value assignment data * flg_prop_comp = " bapistdtyp-boolean Create compositions * flg_prop_usage = " bapistdtyp-boolean Create usage data * flg_prop_rel = " bapistdtyp-boolean Create Assessments * flg_prop_source = " bapistdtyp-boolean Create Source Details * flg_prop_ftext = " bapistdtyp-boolean Create User-Defined Texts * flg_prop_ftext_longtext = " bapistdtyp-boolean Create Long Texts for User-Defined Texts * flg_prop_tab07 = " bapistdtyp-boolean Create Transport Approval Data * flg_prop_tab0b = " bapistdtyp-boolean Create packaging code approval data * flg_prop_tab0d = " bapistdtyp-boolean Create Risk Classification Data * flg_prop_tab0f = " bapistdtyp-boolean Create Transport Classification Data * flg_prop_pack = " bapistdtyp-boolean Create packaging data * flg_prop_sprov = " bapistdtyp-boolean * flg_prop_carr = " bapistdtyp-boolean * flg_val_check_by_status = 'X' " bapistdtyp-boolean Truth Value * flg_wrng_idnt_ord_0 = " bapistdtyp-boolean IMPORTING flg_abort_on_error = " bapistdtyp-boolean Cancel Processing TABLES return = " bapiret2 Confirmations * sub_header = " bapi1077rh Specification Header Data * refsubs = " bapi1077rr Reference Specification Data * ident_header = " bapi1077ri Identifier Data * ident_longtext = " bapi1077il Identifier long texts * ident_sublist = " bapi1077rl Regulatory List Assignments * matjoin = " bapi1077mj Material Assignments * tplrel = " bapi1077tplrel Inheritance relationships * applscp = " bapi1077applscp Scopes of Application * prop_header = " bapi1077vh Value Assignment Types * prop_val = " bapi1077va Value assignment instances * prop_data = " bapi1077pr Value Assignments * prop_component = " bapi1077vp Component Assignments * prop_usage = " bapi1077du Usage Data * prop_reliability = " bapi1077dr Assessment Data * prop_source = " bapi1077ds Source data * prop_ftext = " bapi1077df User-Defined Texts * prop_ftext_longtext = " bapi1077fl Long Texts for User-Defined Texts * prop_tab07 = " bapi107707 Transport Approval Data * prop_tab0b = " bapi10770b Packaging Code Approval Data * prop_tab0d = " bapi10770d Risk Classification Data * prop_tab0f = " bapi10770f Transport Classification Data * prop_pack = " bapi1077pack Packaging Data * prop_sprov = " bapi1077sprov Special Packing Provisions * prop_carr = " bapi1077carr Provisions for Carriage . " BAPI_BUS1077_CREATE
The ABAP code below is a full code listing to execute function module BAPI_BUS1077_CREATE 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).
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_refsubs | TYPE STANDARD TABLE OF BAPI1077RR,"TABLES PARAM |
wa_refsubs | LIKE LINE OF it_refsubs , |
it_ident_header | TYPE STANDARD TABLE OF BAPI1077RI,"TABLES PARAM |
wa_ident_header | LIKE LINE OF it_ident_header , |
it_ident_longtext | TYPE STANDARD TABLE OF BAPI1077IL,"TABLES PARAM |
wa_ident_longtext | LIKE LINE OF it_ident_longtext , |
it_ident_sublist | TYPE STANDARD TABLE OF BAPI1077RL,"TABLES PARAM |
wa_ident_sublist | LIKE LINE OF it_ident_sublist , |
it_matjoin | TYPE STANDARD TABLE OF BAPI1077MJ,"TABLES PARAM |
wa_matjoin | LIKE LINE OF it_matjoin , |
it_tplrel | TYPE STANDARD TABLE OF BAPI1077TPLREL,"TABLES PARAM |
wa_tplrel | LIKE LINE OF it_tplrel , |
it_applscp | TYPE STANDARD TABLE OF BAPI1077APPLSCP,"TABLES PARAM |
wa_applscp | LIKE LINE OF it_applscp , |
it_prop_header | TYPE STANDARD TABLE OF BAPI1077VH,"TABLES PARAM |
wa_prop_header | LIKE LINE OF it_prop_header , |
it_prop_val | TYPE STANDARD TABLE OF BAPI1077VA,"TABLES PARAM |
wa_prop_val | LIKE LINE OF it_prop_val , |
it_prop_data | TYPE STANDARD TABLE OF BAPI1077PR,"TABLES PARAM |
wa_prop_data | LIKE LINE OF it_prop_data , |
it_prop_component | TYPE STANDARD TABLE OF BAPI1077VP,"TABLES PARAM |
wa_prop_component | LIKE LINE OF it_prop_component , |
it_prop_usage | TYPE STANDARD TABLE OF BAPI1077DU,"TABLES PARAM |
wa_prop_usage | LIKE LINE OF it_prop_usage , |
it_prop_reliability | TYPE STANDARD TABLE OF BAPI1077DR,"TABLES PARAM |
wa_prop_reliability | LIKE LINE OF it_prop_reliability , |
it_prop_source | TYPE STANDARD TABLE OF BAPI1077DS,"TABLES PARAM |
wa_prop_source | LIKE LINE OF it_prop_source , |
it_prop_ftext | TYPE STANDARD TABLE OF BAPI1077DF,"TABLES PARAM |
wa_prop_ftext | LIKE LINE OF it_prop_ftext , |
it_prop_ftext_longtext | TYPE STANDARD TABLE OF BAPI1077FL,"TABLES PARAM |
wa_prop_ftext_longtext | LIKE LINE OF it_prop_ftext_longtext , |
it_prop_tab07 | TYPE STANDARD TABLE OF BAPI107707,"TABLES PARAM |
wa_prop_tab07 | LIKE LINE OF it_prop_tab07 , |
it_prop_tab0b | TYPE STANDARD TABLE OF BAPI10770B,"TABLES PARAM |
wa_prop_tab0b | LIKE LINE OF it_prop_tab0b , |
it_prop_tab0d | TYPE STANDARD TABLE OF BAPI10770D,"TABLES PARAM |
wa_prop_tab0d | LIKE LINE OF it_prop_tab0d , |
it_prop_tab0f | TYPE STANDARD TABLE OF BAPI10770F,"TABLES PARAM |
wa_prop_tab0f | LIKE LINE OF it_prop_tab0f , |
it_prop_pack | TYPE STANDARD TABLE OF BAPI1077PACK,"TABLES PARAM |
wa_prop_pack | LIKE LINE OF it_prop_pack , |
it_prop_sprov | TYPE STANDARD TABLE OF BAPI1077SPROV,"TABLES PARAM |
wa_prop_sprov | LIKE LINE OF it_prop_sprov , |
it_prop_carr | TYPE STANDARD TABLE OF BAPI1077CARR,"TABLES PARAM |
wa_prop_carr | LIKE LINE OF it_prop_carr . |
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_refsubs | TYPE STANDARD TABLE OF BAPI1077RR , |
wa_refsubs | LIKE LINE OF it_refsubs, |
ld_valto | TYPE RCGADDINF-VALDAT , |
it_ident_header | TYPE STANDARD TABLE OF BAPI1077RI , |
wa_ident_header | LIKE LINE OF it_ident_header, |
ld_flg_key_date_switch_only | TYPE BAPISTDTYP-BOOLEAN , |
it_ident_longtext | TYPE STANDARD TABLE OF BAPI1077IL , |
wa_ident_longtext | LIKE LINE OF it_ident_longtext, |
ld_multlangu_params | TYPE EHSLSADM , |
it_ident_sublist | TYPE STANDARD TABLE OF BAPI1077RL , |
wa_ident_sublist | LIKE LINE OF it_ident_sublist, |
ld_flg_testrun | TYPE BAPISTDTYP-BOOLEAN , |
it_matjoin | TYPE STANDARD TABLE OF BAPI1077MJ , |
wa_matjoin | LIKE LINE OF it_matjoin, |
ld_flg_buffer | TYPE BAPISTDTYP-BOOLEAN , |
it_tplrel | TYPE STANDARD TABLE OF BAPI1077TPLREL , |
wa_tplrel | LIKE LINE OF it_tplrel, |
ld_flg_ownid_srsid_keep | TYPE BAPISTDTYP-BOOLEAN , |
it_applscp | TYPE STANDARD TABLE OF BAPI1077APPLSCP , |
wa_applscp | LIKE LINE OF it_applscp, |
ld_flg_header | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_header | TYPE STANDARD TABLE OF BAPI1077VH , |
wa_prop_header | LIKE LINE OF it_prop_header, |
it_prop_val | TYPE STANDARD TABLE OF BAPI1077VA , |
wa_prop_val | LIKE LINE OF it_prop_val, |
ld_flg_header_usage | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_data | TYPE STANDARD TABLE OF BAPI1077PR , |
wa_prop_data | LIKE LINE OF it_prop_data, |
ld_flg_refsubs | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_component | TYPE STANDARD TABLE OF BAPI1077VP , |
wa_prop_component | LIKE LINE OF it_prop_component, |
ld_flg_ident | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_usage | TYPE STANDARD TABLE OF BAPI1077DU , |
wa_prop_usage | LIKE LINE OF it_prop_usage, |
ld_flg_ident_sublist | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_reliability | TYPE STANDARD TABLE OF BAPI1077DR , |
wa_prop_reliability | LIKE LINE OF it_prop_reliability, |
ld_flg_ident_longtext | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_source | TYPE STANDARD TABLE OF BAPI1077DS , |
wa_prop_source | LIKE LINE OF it_prop_source, |
ld_flg_ident_usage | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_ftext | TYPE STANDARD TABLE OF BAPI1077DF , |
wa_prop_ftext | LIKE LINE OF it_prop_ftext, |
ld_flg_matjoin | 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_tplrel | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_tab07 | TYPE STANDARD TABLE OF BAPI107707 , |
wa_prop_tab07 | LIKE LINE OF it_prop_tab07, |
ld_flg_applscp | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_tab0b | TYPE STANDARD TABLE OF BAPI10770B , |
wa_prop_tab0b | LIKE LINE OF it_prop_tab0b, |
ld_flg_prop_header | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_tab0d | TYPE STANDARD TABLE OF BAPI10770D , |
wa_prop_tab0d | LIKE LINE OF it_prop_tab0d, |
ld_flg_prop | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_tab0f | TYPE STANDARD TABLE OF BAPI10770F , |
wa_prop_tab0f | LIKE LINE OF it_prop_tab0f, |
ld_flg_prop_data | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_pack | TYPE STANDARD TABLE OF BAPI1077PACK , |
wa_prop_pack | LIKE LINE OF it_prop_pack, |
ld_flg_prop_comp | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_sprov | TYPE STANDARD TABLE OF BAPI1077SPROV , |
wa_prop_sprov | LIKE LINE OF it_prop_sprov, |
ld_flg_prop_usage | TYPE BAPISTDTYP-BOOLEAN , |
it_prop_carr | TYPE STANDARD TABLE OF BAPI1077CARR , |
wa_prop_carr | LIKE LINE OF it_prop_carr, |
ld_flg_prop_rel | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_source | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_ftext | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_ftext_longtext | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_tab07 | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_tab0b | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_tab0d | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_tab0f | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_pack | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_sprov | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_prop_carr | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_val_check_by_status | TYPE BAPISTDTYP-BOOLEAN , |
ld_flg_wrng_idnt_ord_0 | TYPE BAPISTDTYP-BOOLEAN . |
This method creates one or more new specification objects or creates new
subobjects for an existing object. By assigning values to import
...See here for full SAP fm documentation
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_CREATE or its description.
BAPI_BUS1077_CREATE - EHS: Create Specification BAPI_BUS1077_CLEARBUFFER - EHS: Reset Specification Data Buffer BAPI_BUS1077_CHANGE - EHS: Change Specification BAPI_BUPR_SHAREHOLD_GET_DETAIL - SAP BP, BAPI: Read Details of a Shareholder Relationship BAPI_BUPR_SHAREHOLD_EXISTCHECK - SAP BP, BAPI: Check Existence of Shareholder Relationship BAPI_BUPR_SHAREHOLD_DELETE - SAP BP, BAPI: Delete Shareholder Relationship