Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 27, 2011 at 01:54 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Jun 27, 2011 at 12:23 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 27, 2011 at 01:17 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 29, 2011 at 09:01 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Pierre,

      Could you please close this thread?

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

      BR

      Christian

  • avatar image
    Former Member
    Jun 29, 2011 at 09:02 AM

    unfortunatly no bapi exist to get list of hu

    Add comment
    10|10000 characters needed characters exceeded