Application Development and Automation 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: 
Read only

Problems with BAPI_INB_DELIVERY_CHANGE

Former Member
0 Likes
652

Hi,

in my scenario I want to insert some pallets in inbound delivery .

Since I read each pallet one at time so that every time I want that the batch of the position corresponds to one of those that already have for that material falls in the same subposition pallets so they do not create an excessive number of pallet subpositions.

EX

1 read: Batch 1 in SubPos. 900001 first time of Position '000010'

2 read Batch 2 in SubPos. 900002 of Position '000010'

3 read Batch1 in SubPos. 900001 -> I don't want create 900003 of Position '000010'

How do I read each with the same subposition using BAPI_INB_DELIVERY_CHANGE '90001 increasing the amount from time to time in part of the total (Partial quantity) ?

I read that is possible do using in ITEM_DATA of BAPI_INB_DELIVERY_CHANGE using correctly HIERARITEM and USEHIERITM but I don't still to get the correct configuration

In the example is how I try.

EX.

0180006736|000010 |45AE4800345 | |000000 | | 10000.000 | 10000.000

0180006736|000010 |45AE4800345 |NOSCADBRIK|900001 |1 |1000.000 | 1000.000

Do you know anything?

Thanks a lot

2 REPLIES 2
Read only

Former Member
0 Likes
497

Is there an older thread where it was explained how use correctly the parameters (USEHIERITEM etc.) of function

BAPI_INB_DELIVERY_CHANGE???

Thanks in advance.

Read only

0 Likes
497

I've just found the right configuration but the problem is that second time doesn't work well as the first.

So.

the first time the quantity came subtract from delivery position and added to the right subposition.

the second time the quantity came subtract from delivery position but not added to the subposition

Why this?

From the first to the second time I execute other operations like picking and packing, creation of OT etc.

There is a method for considering the second time like the first?

Thanks