03-19-2007 11:49 AM
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
03-19-2007 12:26 PM
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.
03-19-2007 12:32 PM
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
03-19-2007 12:39 PM
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
03-19-2007 1:17 PM
hi Gunjan Kumar,
There is nothing to be done by they have to create the handling unit
Regards,
Balaji E.
03-19-2007 1:24 PM
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
03-19-2007 12:35 PM
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