cancel
Showing results for 
Search instead for 
Did you mean: 

VL02N - Post Goods Issue Error - HUGENERAL319

Former Member
0 Kudos

Hello Everyone,

When I try to post goods issue for an Outbound Delivery, I receive the following:

EHUGENERAL31910HU item contains different data than the stock posting





I have looked around SDN and the Service Marketplace but no luck.  Is there a way to fix this?  The 711/712 movement does not work for me as the qty on the HU is correct and the qty on the delivery is correct as well.  When I debug the issue, the error is being thrown from the FM HU_UPDATE_FROM_HUMSEG:

...

*... check if actual item data equal data in IM

     IF NOT <header>-HU_LGORT CA ' AB' AND                    "SP_601250

        NOT ls_item IS INITIAL

        and not ls_huimseg-movement_type = '+'.

       include incl_pu31_check_from_data.

     ENDIF.

...

INCL_PU31_CHECK_FROM_DATA

IF LS_HUIMSEG-GEGEN = '-' OR                           "SP_601250

          ( LS_HUIMSEG-GEGEN IS INITIAL AND LS_HUIMSEG-LEIT = '+' AND

            <HEADER>-STATUS <> GC_STATUS_INV                  "SP_614129

            and gs_header51-repack is initial ).              "SP_625189

         IF ls_huimseg-N_MATNR NE LS_ITEM-MATNR OR

            ls_huimseg-N_CHARG NE LS_ITEM-CHARG OR

            ls_huimseg-N_WERKS NE LS_ITEM-WERKS OR

            ls_huimseg-N_LGORT NE LS_ITEM-LGORT OR

            ls_huimseg-N_BESTQ NE LS_ITEM-BESTQ OR

            ls_huimseg-N_SOBKZ NE LS_ITEM-SOBKZ OR

            ls_huimseg-N_SONUM NE LS_ITEM-SONUM.

           call function 'V51P_GLOBAL_TABLE_RESTORE'.

           MESSAGE E319(HUGENERAL) RAISING FATAL_ERROR.

         ENDIF.

Any help is greatly appreciated to resolve this issue.  Clear, accurate, concise, and helpful answers will be rewarded...

Thanks,

John

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member655867
Discoverer
0 Kudos

Hello,

Can you explain, how do you solve this task?

Drago

Former Member
0 Kudos

Hi,

it needs to be checked is table HUMSEG is correctly updated.

Thanks

Manoj

Former Member
0 Kudos

As given in the code please cross check the material, batch,Plant, Storage location,Special stock indicator, Stock Category of the HU & Delivery.Seems like a single mismatch hence the issue.