cancel
Showing results for 
Search instead for 
Did you mean: 

Changes between MII 12.0.2 and 12.0.9 (patch 7)

Former Member
0 Kudos

Hi,

We've upgraded one of our non-production MII environments from MII 12.0.2 (build 88) to 12.0.9 (build 23), and some of our dashboard apps are not working correctly.

One issue that I've tracked down sounds similar to this post: []

But is different. We have a BLS that has a local property (called Hold_qty) that acts as an accumulator of a QUANTITY value that is returned in multiple rows from the associated SQL query.

Under 12.0.2, Hold_qty is defined with data type String. There is a repeater, with an assignment that assigns Local.Hold_qty the value of Local.Hold_qty + Order_table.Output(/Row/QUANTITY). This worked fine on 12.0.2, as the String would be converted to integer automatically (with value 0), then would accumulate the QUANTITY values.

Now in 12.0.9 it is no longer working and the Hold_qty value is NA after the repeater is done. It seems that MII is no longer converting the string type to integer before attempting the addition, thus the addition is attempted with Hold_qty having string NULL value, instead of integer Zero value. Because it is null, then MII calculates the result to NA. The MII manual does state that "Calculations that include null values return a value of NA".

My question, is why did the precedence of type conversion vs. property evaluation change between the versions? Is this change documented somewhere? I didn't have very good luck finding a list of changes in all of the versions between 12.0.2 and 12.0.9. Can someone point out where I can find such a list? I searched SAP notes and it seems that only some of the SPs between 2 and 9 have Notes but not all of them.

I changed the data type of Local.Hold_qty to Integer in the BLS and now it works correctly on 12.0.9, but I'm still curious as to why the change, as using Strings instead of integers and allowing the type conversion was a recommended approach in at least one post in the past: []

Thank you and best regards!

Accepted Solutions (0)

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

That's quite a time lapse between SP2 and SP9

Generally the Info link next to the download sca file gives you the patch history and relevant SAP note numbers, but I usually keep a local copy just for simple searching. No guarantees this is all of them, but here is the list of files I have for the SP_Patch_Notes:

SP02_0_SAPNote_1098594

SP03_0_SAPNote_1142918

SP03_1_SAPNote_1157227

SP04_0_SAPNote_1166730

SP05_0_SAPNote_1238985

SP06_0_SAPNote_1270442

SP06_1_SAPNote_1301833

SP06_2_SAPNote_1311583

SP06_3_SAPNote_1319850

SP07_1_SAPNote_1333706

SP07_2_SAPNote_1338890

SP07_3_SAPNote_1339450

SP07_4_SAPNote_1341964

SP07_5_SAPNote_1346624

SP07_6_SAPNote_1349672

SP08_0_SAPNote_1373034

SP08_1_SAPNote_1382184

SP08_2_SAPNote_1386055

SP08_3_SAPNote_1391480

SP08_4_SAPNote_1397629

SP08_5_SAPNote_1399673

SP08_6_SAPNote_1401285

SP09_0_SAPNote_1409462

SP09_1_SAPNote_1423088

SP09_2_SAPNote_1427373

SP09_3_SAPNote_1428898

SP09_4_SAPNote_1435052

SP09_5_SAPNote_1441399

SP09_6_SAPNote_1441952

SP09_7_SAPNote_1445267

Former Member
0 Kudos

Hi Jeremy,

Thank you very much for providing the list of notes - that is VERY helpful. I reviewed the list and did see a couple that seem to be related to the issue that we are seeing.

Specifically:

Note 1168706 which is included in SP04. But this fix seems to imply that what we were doing in SP02 should still work.

Note 1435052 which is SP09 patch 4, says:

"3- In a MII Transaction, if you have an XML Document with a field of type integer, and when you assign it to "nullnumber", it doesn't show up in the Data as "NA". But it displays a number eg. "-2147483648".

This isn't exactly what we are seeing, but seems very closely related, so perhaps the fix for this issue is what is causing our problem? Perhaps this fix introduced a new bug?

What is the proper means of reporting a potential bug? Should I wait for confirmation in this forum?

Thank you again so much for your help. As a final suggestion, since your list of MII releases and the associated SAP Note numbers is so useful, would it be possible for you to create a sticky thread that lists all releases (with associated SAP note numbers)? Or maybe this is overkill due to the way they are listed in the download section of Service Marketplace? If so, please disregard.

Best regards,

Steve Christensen