Skip to Content
Aug 19, 2016 at 03:27 PM

Fill Cost Center Medium text automatically using BADI


Hi All,

I'm trying to fill the Cost Center Medium Text (TXTMI) automatically based on the short text entered.

I'm using method IF_EX_USMD_RULE_SERVICE2~DERIVE for entity CCTR.

I noticed that method io_write_data->write_data will change the medium text ONLY when that field was already populated.

BUT if the medium text is blank and I want to fill it...then it does nothing!

Do you know how can I solve this?

Thanks in advance!