Skip to Content

Question on inbound idoc and need to change the unit of measure

Hi,

My requirement is that an inbound idoc has UOM ( unit of measure as PCE ) and its trying to create a representative number, if the UOM is PCE it should be changed to EA, I had found one standard exit LVED4F0Z, but the problem is I am not sure where I can implement the change for changing the UOM. pfa screenshot.

 

thanks,

balu

capture.png (53.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 11 at 06:12 AM

    PCE, EA and ST are already the same UOM, but in french, english and german languages (check CUNI conversion exit)

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 10 at 05:16 PM

    Hi Bala,

    Please check what is the ISO Code for ALE/EDI for 'Each' in transaction CUNI. (Transaction CUNI -> Unit of measurement (no dimensions).

    Whatever is the value maintained there, your Idoc should have that value in the inbound idoc (E1EDP10-VERME) and it will get converted to SAP unit by FM 'ISO_TO_SAP_MEASURE_UNIT_CODE'.

    Just to let you know that 'PC' or 'EA' might internally be stored as 'ST' as is visible in your debug session. You should check this in table T006. More often units are stored after an internal format conversion. Therefore, their internal value might look different from external value.

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sapeskh,

      Actually I am getting data from INBOUND IDOC so if i chnage the UOM from PCE to EA in user exit LVED4F0Z that means in the internal table XIDOC where segname equal to E1EDP10 -VRKME field can I able to meet the requirement?

      please suggest.

      thanks,

      balu