Skip to Content
0

While moving the stock internally, Inspection lot is allocating only for first item.

Feb 01 at 02:32 PM

17

avatar image
Former Member

Dear Mates,

I am facing some strange issue. After verying many links, I am here for answer.

My scenario is as follows:

I am moving stock internally by creating inbound delivery. All the stock belongs to same material and batch. Inspection lot is created. When Batch has only one storage bin, no issue, but when batch is having multiple storage bins, the inspection lot is getting assigned only for the first item but not for the remaining items.

I am using FM as below:

CALL FUNCTION 'PACK_HANDLING_UNIT_DLVRY'

EXPORTING i_hu_id = 'X'

i_new_hu = 'X'

i_update_db = 'X'

i_create_hu = 'X'

i_reference_object = ls_object

i_hu_header_main = ls_huhdr_proposal

i_hu_items = lt_huitm_proposal

i_save_step = 'ITEM'

i_pack_activity = 'PACK'

i_delivery_type = gc_inb_delivery_type

IMPORTING

o_hu_messages = lt_messages

o_hu_items = lt_humitem_dlvry

EXCEPTIONS

error_message = 10

input_missing = 1

not_possible = 2

header_error = 3

item_error = 4

serial_nr_error = 5

fatal_error = 6

operation_failed = 7

delivery_update_error = 8

OTHERS = 9.

How to achieve this..? I need Inspection lot to allocate for all the bins(all the items in storage bin).

The above FM is not released by SAP. Hence we are not able to approach SAP for this issue.

Thanks and Regards

Jagadeesh N

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers