cancel
Showing results for 
Search instead for 
Did you mean: 

Find all HU's for a specific plant/storage location

Former Member
0 Kudos

Hi,

I'm looking for a bapi giving me the list of HU in a specific Plant/Storage location.

I use HUMO transaction with fields plant and storage location in contents and it works.

But I don't know how to get the same list with bapi BAPI_HU_GETLIST.

Which parameters should I fill?

Thanks for your help

Pierre

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi stephen and christian

thanks for your help but It still doesn't work.

I tried to fill only the plant parameter in HUHEADER but the message is still "No handling units could be found"

So I try with no parameters at all to get all HU in the system and it finds nothing

I don't understand which parameter has to be filled

christian_rosa
Employee
Employee
0 Kudos

Hi Pierre,

I have spent some time on it and confirmed that this BAPI is not intended to list the HUs for plant and storage location. It only serve HUs per object of EXIDVs. The name of the BAPI can mislead but HELP documentation confirms what I saw in the BAPI source code.

It seems for this type of requisite you may write your own code.

Have a great day !

Christian Rosa

Answers (4)

Answers (4)

Former Member
0 Kudos

unfortunatly no bapi exist to get list of hu

Former Member
0 Kudos

hi

thanks for the answer, I'll ask developper to create a programm.

Thanks again for the time you spent on it.

have a nice day

Pierre

christian_rosa
Employee
Employee
0 Kudos

Hi Pierre,

Could you please close this thread?

Thanks for you participation and keep asking questions through this channel.

BR

Christian

christian_rosa
Employee
Employee
0 Kudos

Hi Pierre,

In HUMO tab content it provides you plant and storage location to filter the HU list in the screen. However HUMO does not

make use of BAPI_HU_GETLIST to have that exact list. I haven't tried but I believe you can set plant in header parameter and plant/sloc in the item parameter. Remember that ONLYKEYS parameter will play a role on which data is going to be shown (with details or not).

Best Regards,

Christian Rosa

0 Kudos

Hello Pierre,

Looking at the documentation in SE37, it appears that these values can be passed to the Bapi using the HUHEADER table (refererence type BAPIHUHEADER) Have you tested this?

Regards

Stephen