07-25-2014 7:51 AM
Dear expert
I know this issue is very old and I searched most of this discussion.
But we still cannot solved the issue.
1.Our system configuration is no problem in CUNI.
2.We set the relates unit and ISO code in the BAPI patamter.
This issue still happend and we cannot reappear in the production system.
Although user face this issue.
It is appreciaed that some experts could help me.
User always face this issue we could not found any reasn and cannot reappear in production system.
Our code for related unit is :
WL_ITEMDATA-PO_UNIT = WG_YMT0002S-BSTME.
CLEAR WL_T006.
READ TABLE TG_T006 INTO WL_T006
WITH KEY MSEHI = WG_YMT0002S-BSTME.
IF SY-SUBRC = 0.
WL_ITEMDATA-PO_UNIT_ISO = WL_T006-ISOCODE.
ENDIF.
WL_ITEMDATA-PO_PR_UOM = WG_PODATA-BPRME.
CLEAR WL_T006.
READ TABLE TG_T006 INTO WL_T006
WITH KEY MSEHI = WG_PODATA-BPRME.
IF SY-SUBRC = 0.
WL_ITEMDATA-PO_PR_UOM_ISO = WL_T006-ISOCODE.
ENDIF.
Thanks in advance.
07-28-2014 2:33 AM
Dear experts
Your answer will be helpful.
Except the ISO code is space, is there any othere possibility to happend this error?
Thanks in advacne.