Skip to Content
Feb 03, 2022 at 06:46 AM

Set EHS text as bold using BAPI_BUS1077_CREATE/CHANGE


Dear All,

We have a requirement to set the texts for EHS substance numbers as bold when we are receiving the data from a third-party system. For creating the substance number, we are using the logic of standard BAPI_BUS1077_CREATE and for changing the substance data, we are trying to use logic of standard BAPI_BUS1077_CHANGE.

However, the standard BAPI is converting the character formats to a different one as the character format <H> (For Bold) is converted to <(><<)>H> due to which it is not getting identified by standard style EHS_STD.

Requesting a solution from everyone regarding this issue.