Functionality Using this BAPI, you can createparticipation groups> in thesystem. Transfer the company code and business entity (optional), in which theparticipation group is created. If external number assignment is used,you also have to enter the number of the participation group to becreated. For the meanings of the other parameters, refer to the specificparameter documentation.Example DATA: ls_bapi_pg TYPE bapi_re_particip_grp_dat, ld_compcode TYPE bapi_re_particip_grp_key-comp_code, ld_businessentitynumber TYPE bapi_re_particip_grp_key-business_entity, ld_participgroupnumber TYPE bapi_re_particip_grp_key-particip_group, lt_bapi_error TYPE bapirettab, * set text of PG ls_bapi_pg-particip_group_text = 'Alle'. CALL FUNCTION 'BAPI_RE_PG_CREATE' EXPORTING comp_code_ext = '1000' business_entity_number_ext = '1' particip_group_number_ext = 'ALL' particip_grp = ls_bapi_pg test_run = 'X' IMPORTING compcode = ld_comp_code businessentitynumber = ld_businessentitynumber participgroupnumber = ld_participgroupnumber TABLES return = lt_bapi_error. INCLUDE REBD_BAPI_SWENR_CREATED OBJECT DOKU ID TX INCLUDE RECA_BAPI_BUKRS_CREATED OBJECT DOKU ID TX INCLUDE RECA_BAPI_ID_CREATED OBJECT DOKU ID TX Description Number of the new business entity. See business entity number>. INCLUDE RECA_BAPI_PARAM_OPTIONAL OBJECT DOKU ID TX INCLUDE RECA_BAPI_BUKRS OBJECT DOKU ID TXDescription Number of the new participation group. See number of participation group>. INCLUDE RECA_BAPI_PARAM_OPTIONAL OBJECT DOKU ID TXDescription Transfer data of the participation group for creating using BAPI. INCLUDE RECA_BAPI_TEST_RUN OBJECT DOKU ID TX INCLUDE RECA_BAPI_TRANS OBJECT DOKU ID TX INCLUDE RECA_BAPI_EXTENSION_IN OBJECT DOKU ID TX INCLUDE RESC_BAPI_PARTICIP_OBJ_ADD OBJECT DOKU ID TX INCLUDE RECA_BAPI_RESUBM_RULE_ADD OBJECT DOKU ID TX INCLUDE RECA_BAPI_RETURN OBJECT DOKU ID TX INCLUDE RECA_BAPI_STATUS_ADD OBJECT DOKU ID TX |