cancel
Showing results for 
Search instead for 
Did you mean: 

Change Hu

Former Member
0 Kudos

I need to update weight and volume to an HU in a delivery.

I've tried with bapi BAPI_HU_CHANGE_HEADER, without success.

This because of vpobj '01'.

Is there another function to change value in hu?

Accepted Solutions (0)

Answers (2)

Answers (2)

rmazzali
Active Contributor
0 Kudos

use V51P_UPDATE_IN_UPDATE_TASK and then call

CALL FUNCTION 'HU_HUMSEG_UPDATE_DB'

exporting

if_syncron = 'X'.

commit work and wait.

in MV50AFZ1 works fine

pls. reward if helpful

Roberto

Former Member
0 Kudos

u can try using scat or bdc .

reward if helps !!!

Former Member
0 Kudos

Hello Mukund,

thanks for your reply.

I've just tried bdc, but i receive the subseguent message.

Messages occurred - no display in batch input

Message no. HUDIALOG406

Diagnosis

Messages have occurred that cannot be displayed due to batch input processing. In adverse cases, these messages can result in inconsistencies.

Handling units are not designed for processing per batch input, since batch input does not support basis techniques that are used in the HU area (for example, display of packing hierarchy in the tree structure). Therefore, we strongly advise you not to process handling units using batch input.

Procedure

SAP recommends that you instead create handling units for deliveries using IDOC DELVRY03 (WHSCON). To create free HUs, you can use BAPIs or function modules from function group V51E.

Former Member
0 Kudos

Hello,

Did you find a solution for your problem ? I need to do the same thing (update wt) and with the bapi not working for vpobj '01' I can not do it at all from my program.

Thanks.

Van

Former Member
0 Kudos

Hello,

Did you find a solution for your problem ? I need to do the same thing (update wt) and with the bapi not working for vpobj '01' I can not do it at all from my program.

Thanks.

Van