cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Packed quantity of a HU

Former Member
0 Kudos

Hello Gurus,

I am new into EWM. I have a requirement to get the packed quantity of an HU with alternate unit of measurement.

Could you please let me know if there is any table or function module from where I can get the packed quantity.

/scwm/aqua table give the quantity in Base unit of measure.

Thanks a lot advance for your help.

BR,

Catherine

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mary,

the packed qty in AuM can be obtained from below tables:

/SCWM/GMHUHDR for Header level info

/SCWM/GMHUITM for Item level info

BR,

Anoop

Former Member
0 Kudos

Hello Mary,

You can find Alternative unit of measure in same table .

Field - UNIT - Base Unit of Measure

Field - ALTME - Alternate unit of measure .

BR,

Olet

Former Member
0 Kudos

Hello Olet,

Thanks for your response.

I am able to get the AUM from the table however I need the packed quantity in the AUM not in BUM. I believe in the table the quantity field holds the value in BUM.

BR,

Catherine

Former Member
0 Kudos

Hello Mary,

If you want packed quantity in AuM

You will get it in  below tables :

Header -  /scwm/gmhuhdr

Item - /scwm/gmhuitm

Take the HU log or Parent value for the required HU from Header table and search it in Item table.

BR,

Olet

romit_raina
Active Participant
0 Kudos

Hi,

Please try the below steps for your requirement:

1.You need to get the HU id ( i.e. - GUID_HU) from table - /SCWM/HUHDR ,by passing  HU number (in HUIDENT)

2. Pass the above GUID_HU to the FM - /SCWM/HU_GT_FILL. as shown below :

CALL FUNCTION '/SCWM/HU_GT_FILL'

       EXPORTING

         it_guid_hu  =  " Build you table if GUID_HU

       IMPORTING

         et_huhdr    =  " Headre detail

         et_huitm    =  " Item Detail

       EXCEPTIONS

         OTHERS      = 1.



In the Item detail (ET_HUITM) ;

Field -  MEINS is for BUoM ,

           QUAN is for base unit quantity


           ALTME is for AUoM,

          QUANA is for Alternate unit quantity


IF above FM does not give any value please try Where Used list of that FM and implement correctly the FM.



Stay Awesome

Romit Raina