01-11-2010 3:22 PM
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
01-22-2010 10:18 AM
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.