Weird results after enhancing the release strategy
For customizing reasons I had to use enhancement <u>M06E0004</u> (EXIT_SAPLEBND_002)
This enhancement allows you to <b>change the communication structure for determining the release strategy</b> for external purchasing documents. I added a new field to the CEKKO structure that I use in the customizing to determine my release strategy.
In the exit I added the following code:
data: wa_bekpo LIKE LINE OF it_bekpo. MOVE-CORRESPONDING I_CEKKO TO E_CEKKO. READ TABLE it_bekpo INTO wa_bekpo INDEX 1. IF sy-subrc EQ 0. E_CEKKO-ZZ_MENGE = wa_bekpo-menge. E_CEKKO-ZZ_MTART = wa_bekpo-mtart. ENDIF.
With this code I copy the input CEKKO data to the output CEKKO data and I fill in the Z-fields menge (Purchase order quantity) and mtart (Material type)
So for so good!
After I completed my customizing, I began testing and I bumped against a weird <u>problem</u>:
<i><b>It appears that when I fill in a qty of 1,3L (in ME21N) that the system thinks it is 1300L.</b></i>
Did you already have this problem and maybe you can give me a hint in the right direction?