Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

No measurement unit is assigned to ISO-Code SPACE in BAPI_INCOMINGINVOICE_CREATE

former_member596090
Discoverer
0 Kudos

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.


1 REPLY 1

former_member596090
Discoverer
0 Kudos

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.