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: 

Pack material to a HU

Former Member
0 Kudos

Hello Gurus,    

   I’m trying to figure out how to pack a material into a handling unit in a delivery.

I tried using BAPI_HU_CREATE, BAPI_HU_PACK….

I tried all the options and nothing worked correctly.

I also have to pack HU to HU and unpack HU from HU and material from HU.

  Now I’m inclined to do a BDC, but can someone suggest me on how to do a BDC on pack screen. As the screen can have multiple HU’s and multiple materials. I need to choose only 1 HU and 1 material at any point of time, based on the input.

  Can someone please point me on how to make a selection on the pack screen.

Please do not block my thread saying the solution already exists. I have been looking for a proper answer from 4 days and couldn’t resolve it. If someone finds a good link/ answer please post it.

Thanks for all the efforts.

-Amit.

1 REPLY 1

paul_bakker2
Active Contributor
0 Kudos

Hi,

I wouldn't be so quick to give up on the BAPIs. Most BAPIs have been around for years and are in use by thousands of clients. So if there's a problem it's probably with the code calling the BAPI.

BDCs are also a very poor solution (brittle, error-prone, slow), and for many new screens they simply can't work.

So.. back to the BAPIs: What exactly do you mean when you say  'nothing worked correctly'?

cheers

Paul