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: 

HU_ITEM_CHANGE

Former Member
0 Kudos

Hi

whenever i try passing parameters to this Fm( for changing the quantity) it says the Handling unit doesn't exists....

but the field and the value does exists in table VEPO...

Pls suggest the way out..

Regards

Gunjan

6 REPLIES 6

Former Member
0 Kudos

hi Gunjan Kumar,

Ask your functional consultant to create the handing unit and get the details of that weather it is internal or external numbering.

Regards,

Balaji E.

Former Member
0 Kudos

Hi,

I suspect that the HU number is not coming into Header in that Fun module raising that exception:

see the code:

ls_header-venum = is_item-venum.

call function 'V51P_FIND_HEADER'

exporting

is_vekp = ls_header

importing

es_header = ls_header

exceptions

others = 99.

if not sy-subrc is initial.

raise error.

endif.

May be something wrong with internal/external number of HU.

Check.

regards,

Anji

0 Kudos

hi

Problem comes while calling the FM V51P_FIND_ITEMS

it doesn't find entry while reading GT_XVEPO:

READ TABLE GT_XVEPO INTO ES_ITEM WITH KEY MANDT = SY-MANDT

VENUM = IS_VEPO-VENUM

VEPOS = IS_VEPO-VEPOS

BINARY SEARCH.

IF NOT SY-SUBRC IS INITIAL.

MESSAGE E142(HUGENERAL) RAISING NOT_FOUND.

ENDIF.

pls help

regards

Gunjan

0 Kudos

hi Gunjan Kumar,

There is nothing to be done by they have to create the handling unit

Regards,

Balaji E.

0 Kudos

hi bala

thx for that......but ther r already few entries in table vekp and vepo using which i m testing this FM;;;;

so where does the problem lies?

Regards

Gunjan

Former Member
0 Kudos

Hi Gunjan,

I may not give complete solution for your case, but here some inputs from my side...

1) Are you updating delivery manually / through Idocs.

2) If you are doing through Idocs, E1EDL37 segement should be filled with data, especially EXIDV.

Can you give your confirmation.

Thanks

Satya