cancel
Showing results for 
Search instead for 
Did you mean: 

Ignore null values into S&OP

0 Kudos

Hi Guys,


Product table in S&OP is updated with values "NULL" this is because no data in source. If source field has no data i want to hardcode it to 'undefined'.  I had below mapping restriction in HCI Data flow mapping but its not working. Pls suggest guys?

nvl(ltrim_blanks( rtrim_blanks(DetATINN.SUBBRANDID)), 'UNDEFINED')

Regards,

Raj

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Rajendar,

Try ifthenelse(DetATINN.SUBBRANDID = NULL,'UNDEFINED',ltrim_blanks( rtrim_blanks(DetATINN.SUBBRANDID))).

Thanks,

Kiran

0 Kudos

Thanks Kiran for quick reply.

I got below error message

WARNING        Column [SUBBRANDID]: ERROR          Column [SUBBRANDID]: Comparison data type is UNKNOWN ERROR          Column [SUBBRANDID]: Cannot convert <null> to <FUNCANY_TYPE>.

Former Member
0 Kudos

Error?

0 Kudos

Solved with below logic ifthenelse(CatDescr.SUBBRANDID is null or CatDescr.SUBBRANDID = '', 'UN', CatDescr.SUBBRANDID)

Answers (0)