Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

EHS Identifiers : How To Update

Former Member
0 Kudos

Hi All,

I need to update the EHS Substance Identifiers (same which is done in TCode: CG02). The identifiers like 'Material Description'(IDTYP = 'MAT'). I need to do the same thing by a ABAP program, which will update the EHS Substance Material Description & CAS number, with the data from Material Master.

Thanks in Advance

Ipsita

1 REPLY 1

Former Member
0 Kudos

Hi All,

I found it at last by myself, after lots of SAP code debugging.

The EHS Identifier can be changed a BAPI, 'BAPI_BUS1077_CHANGE' and created using 'BAPI_BUS1077_CREATE'.

The parameters which are must to pass to chjange an identifier are follows:

CALL FUNCTION 'BAPI_BUS1077_CHANGE'

EXPORTING

flg_ident = 'X'

TABLES

return = gi_bapiret2

sub_header = gi_bapi1077rh

ident_header = gi_bapi1077ri2

ident_headerx = gi_bapisubrix2.

Parameters for creating a new identifier are:

CALL FUNCTION 'BAPI_BUS1077_CREATE'

EXPORTING

flg_ident = 'X'

TABLES

return = gi_bapiret2

sub_header = gi_bapi1077rh

ident_header = gi_bapi1077ri1.