Handling unit error: HU into which you want to pack could not be found

Dear All,
    I used BAPI
     BAPI_HU_CREATE
    HU_PACKING_AND_UNPACKING
To  create handling unit for delivery,
But when I run  HU_PACKING_AND_UNPACKING then error:
u2018HU into which you want to pack could not be found,u2019,I know system not found the item unti to Pack,But I donu2019t know how to set this field?
Could you give some help?
Thanks

Try this
DATA S_VEKP TYPE VEKP.
  DATA: LS_VBKOK_WA TYPE VBKOK,
        LT_PROT TYPE TABLE OF PROTT,
        LT_REHANG TYPE TABLE OF HUM_REHANG_HU,
        LT_REHANG_WA TYPE HUM_REHANG_HU.
  LS_VBKOK_WA-VBELN = LIPS-VBELN." '0080002891'.
  LS_VBKOK_WA-WABUC = 'X'.
  LS_VBKOK_WA-VBELN_VL = LIPS-VBELN."'0080002891'.
  LS_VBKOK_WA-VBTYP_VL = '7'.
  LOOP AT HUITEM.
    LT_REHANG_WA-VENUM =  HUHEADER-HU_ID.
    LT_REHANG_WA-VEPOS =  HUITEM-HU_ITEM_NUMBER.
    LT_REHANG_WA-RFBEL =  LIPS-VBELN."'0080002891'.
    LT_REHANG_WA-RFPOS =  LIPS-POSNR.                       "'000010'.
    APPEND LT_REHANG_WA TO LT_REHANG.
  ENDLOOP.
VEKP-VHILM_KU = VEKPVB-EXIDV.
DATA I TYPE I VALUE 1.
LOOP AT XLIPS INTO LIPS.
READ TABLE TVEKP INTO S_VEKP INDEX I.
VEKP-VHILM_KU = S_VEKP-EXIDV.
vekp-vhilm = 'IPALLET'.
VEKP-HU_LGORT = 'X'.
VEKP-EXIDV = ''.
    i = i + 1.
  read table tvekp into vekp index i.
  CALL FUNCTION 'V51P_FIND_HEADER'
   EXPORTING
  IF_HEADER_INDEX       =
  IS_GENERAL            =
     IS_VEKP               = vekp
   IMPORTING
     ES_HEADER             = evekp
  EF_HEADER_INDEX       =
   EXCEPTIONS
     NOT_FOUND             = 1
     NO_SHP_MAT            = 2
     ERROR_ON_EXIDV        = 3
     FATAL_ERROR           = 4
     OTHERS                = 5
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PACKING**************
  DATA IS_V51VP TYPE V51VP.
  IS_V51VP-TMENG = LIPS-FMENG.
  DATA ET_CHANGED TYPE VSEP_T_CHANGED.
  DATA ES_ITEM TYPE V51VP.
  break vijgal.
  MOVE-CORRESPONDING LIPS TO  IS_V51VP .
IS_V51VP-VBELN = '10'.
  IS_V51VP-HU_LGORT = 'X'.
  CALL FUNCTION 'V51P_FIND_MATERIAL'
   EXPORTING
    IF_INDEX_MATERIAL       =
    IF_NO_OBJECT            =
    IF_DONT_CHECK           =
    IF_FAST_ENTRY           =
     IS_V51VP                = IS_V51VP
    IT_V51VP                =
   IMPORTING
    EF_INDEX                =
     ES_MATERIAL_ITEM        = ES_ITEM
     ET_CHANGED              = ET_CHANGED
    ET_SERNR                =
   EXCEPTIONS
     ITEM_NOT_FOUND          = 1
     MAT_NOT_FOUND           = 2
     ERROR                   = 3
     OTHERS                  = 4
*ES_ITEM-HU_LGORT = 'X'.
COMMIT WORK.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE-CORRESPONDING LIPS TO HU.
HU-VBELN  = ' '.
  hu-EXIDV = evekp-exidv."'$'.
  hu-venum = evekp-venum.
*hu-VEPOS = lips-posnr.
  hu-VELIN = '1'.
  hu-BELNR = LIPS-VBELN.
  hu-POSNR = lips-posnr.
*hu-SUB_HU_VENUM
*hu-SUB_HU_EXIDV
  hu-QUANTITY = lips-LFIMG.
  HU-GEWEI = LIPS-GEWEI.
  HU-MAGRV = LIPS-MAGRV.
  hu-ALTME = lips-meins.
  hu-LGNUM = WHS_ID.
*HU-
  hu-MEINS = lips-meins.
*hu-INVENT
  hu-MATNR = lips-matnr.
  hu-CHARG = lips-charg.
*SERAIL =
*SERPFL
  hu-WERKS = lips-werks.
  hu-LGORT = lips-lgort.
hu-P_MATERIAL = evekp-vhilm."'IPALLET'.
  HU-CUOBJ = LIPS-CUOBJ.
  MOVE-CORRESPONDING ES_ITEM TO HU_ITEM.
  CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
    EXPORTING
  IF_REPACK                =
      IS_PACKING_REQUEST       = hu
   IMPORTING
  EF_RCODE                 =
   ES_P_REQUEST             = HU
    ES_ITEM                  = hu_item
CHANGING
  CS_HEADER                =
   EXCEPTIONS
     MISSING_DATA             = 1
     HU_NOT_CHANGEABLE        = 2
     NOT_POSSIBLE             = 3
     CUSTOMIZING              = 4
     WEIGHT                   = 5
     VOLUME                   = 6
     SERIAL_NR                = 7
     FATAL_ERROR              = 8
     OTHERS                   = 9
commit work.

Similar Messages

  • False message: The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.

    When I specify http://www.celticmanner.com/selector_test.html to Firefox 6.01, I get the false message:
    Multiple Choices
    The document name you requested (/selector_test.html) could not be found on this server. However, we found documents with names similar to the one you requested.
    Available documents:
    /selector_test.txt (common basename)
    The file http://www.celticmanner.com/selector_test.html IS PRESENT on the host.
    The file http://www.celticmanner.com/selector_test.txt IS NOT. (It had been earlier.)
    I do not find the text "selector_test.txt" anywhere on my partition C! Where does Firefox retain a pointer to this file that no longer exists? And why?
    NB: The text "could not be found on this server" is sloppy. That message is not issued from a servcer, but from the instance of Firefox on my computer. The message should read "could not be found on the specified server".
    B. Somers

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

  • Error messages:  "itunesobjspl/jenetsvc.dll The specified module could not be found."  And Error -2032  "Quicktime failed to initialize."

    I initially got the Error -2032 message after downloading the newest version of itunes.  I read a geek blog that said to uninstall Quicktime and I did that a bunch of times.  I also uninstalled and reinstalled itunes repeatedly.  None of this works.  I noticed that the apple website said the requirements for the new quicktime/itunes download included an intel processor and I have a celeron processor, so I wondered if that was the problem, although everything has been running fine up until now, so I don't know.  It also doesn't address the missing .dll file, but I may have accidentally deleted that because I went into the registry to try and unload some Quicktime files when I uninstalled Quicktime.  I did this at the suggestion of the blog, but I may have screwed it up.  Now I need to repair the missing .dll and still try to get itunes running

     ErikEJ wrote:
    Have you set your solution target to "Any CPU" ?? If so, set to "x86", as SQL Compact only runs in WoW mode on x64. Or use corflags.exe /32BIT+ against your project output (.exe file).
     ErikEJ wrote:
    Look at this blog post for a walk-through: http://erikej.blogspot.com/2008/01/x64-and-sql-compact.html
    Hello everyone,
    I have the same problem as mentioned above "Unable to load DLL 'elev.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) ", when trying to load the dll file into a window application.  I developed a window application in VS2005 and want to import a dll file from another program into my project and use it.  But when I try to call one of the function in the dll file, I got the error message "Unable to load dll 'elev.dll".  I try all options that say it works to solve this problem, but somehow it doesn't work for me. I put the "elev.dll" file in the bin folder and use P/Invoke to import the dll file into my project.  Can anyone help me out with this?  thanks and really appreciated!
     Here is how I import the dll:
    [DllImport(@"D:\elev.dll")]
    //[DllImport("emap.dll", SetLastError = true)]
    private static extern void EMA_Init();
    and in the code,  I call the function above but failed to load the dll file
    EMA_Init();

  • What does error message "a server with the specified hostname could not be found" mean? I'm a bit of a newbie to this can you help. Thanks

    Hi Folks
    Not to good at this techno stuff have a message on my phone saying "a server with the specified hostname could not be found" can anyone tell me what this means and how to fix it?
    Thanks

    Hi on several apps, eg local paper, can get printed word but no photos or media etc.

  • Error messages: The song names for this CD could not be found online; User not registered for online use.  iTunes 12 - Windows XP - How do you fix this?

    iTunes 11 worked fine.  This only occurred after downloading iTuens 12.  I saw resolutions for Mac (deleting files), but how can this issue be resolved on Windows XP?

    Thanks!  That worked.
    I did the.....
    Press the WinLogoKey+R
    Type in %appdata% and press return
    Double click on Apple Computer
    Double click on iTunes
    Delete the file CD Info.cidb
    but that didn't work.
    Then I did the....
    Try deleting com.apple.iTunes.Gracenote.plist in the same folder
    and that didn't work.
    BUT....when I did the....
    and if that doesn't work try deleting iTunesPrefs.xml.
    the names displayed successfully, and I was able to download the album art work also.  I left the preferences as is before and after the file deletion.
    Thanks for your help!!!!!

  • The attempted operation failed. An object could not be found. Outlook 2010 error

    I am unable to search other mailbox in Outlook 2010, getting the following error: The attempted operation failed. An object could not be found. I removed both instances of
    KB2956128
    installed
    on 2/11/2015. It worked for a while and issue returned againa. Any suggestions?

    Hi,
    Thank you for your reporting. We have noticed this, and would like to collect more information for further investigation.
    Can you guys share your detailed system info? Also, if you have any log files about the issue, kindly share with us by sending them to this email account:
    [email protected] (please use the link of this thread as the subject).
    We appreciate your assistance with this.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • The type or namespace name 'SQLite' could not be found (are you missing a using directive or an assembly reference?)

    Trying to get sql server compact up and running. I connected to a sqlite database and atuo generated the model.cs code.
    however, I get the following error.
    Error    1    The type or namespace name 'SQLite' could not be found (are you missing a using directive or an assembly reference?)    C:\Users\kenny\Documents\Visual Studio 2013\Projects\WindowsFormsApplication2\WindowsFormsApplication1\Model.cs  
     3
    Any help is greatly appreciated. Please provide some detail as I am novice. 
    Thanks

    Ok so I got the past that problem. I had to add the package System.Data.SQLite Core in Manage NuGet.
    Then I changed the auto-generated code "using SQLite" to "using System.Data.SQLite".
    But now I have a new problem, it says "System.Data.SQLite.SQLiteConnection' does not contain a definition for 'CreateTable' "
    Here is the code
    //This code was generated by a tool.
    //Changes to this file will be lost if the code is regenerated.
    //using SQLite;
    using System;
    using System.Data.SQLite;
    using System.Data.SQLite.EF6;
    namespace WindowsFormsApplication2
    public class SQLiteDb
    string _path;
    public SQLiteDb(string path)
    _path = path;
    public void Create()
    using (SQLiteConnection db = new SQLiteConnection(_path))
    db.CreateTable<servers>();
    public partial class servers
    public Int64 server_name { get; set; }
    public Double cpu_usage { get; set; }
    Any ideas why CreateTable is not available?

  • Getting error message "the requested item could not be found" when trying to install Firefox on my android.

    I had to uninstall Firefox for Android because I was having problems logging in to sync. I got a support e-mail to uninstall and reinstall because the sync issue had been fixed. I uninstalled the Firefox app and then when I tried to reinstall it I get the error message on my phone "the requested item could not be found." HELP!

    Some supported phones are not displaying Firefox in the Market for some reason. We're still investigating this. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    and then download the app directly from here:
    http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/4.0b3/android-r7/multi/
    (Note: If your phone is from AT&T, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • Hello I'm on a Mac I did an update of my system and dreamweaver does not want to open I Error 150: 30 thank you for contacting support could someone tell me what to do

    hello
    I'm on a Mac I did an update of my system and dreamweaver does not want to open I
    Error 150: 30
    thank you for contacting support
    could someone tell me what to do

    What is the complete error message?
    If this is a licensing issue, try this:
    http://www.adobe.com/support/contact/licensing.html

  • Error in Packaging: Required handling Unit Could not be found.

    Hi Experts,
    I am facing one typical problem of " Required handling unit could not be found." Though the users had done the packing all the packaging related screen appears  blank. And this problem is arising after some interval i.e. say for 6-7 outbound deliveries packaging related data can be viewed but suddenly for one delivery the data could not be viewed. Due to this handling unit data is missing on the packing slip and invoice. When i investigated the issue i found that no internal no are assigned to the handling units. Is it the system generated error or the transaction error i.e. packing-unpacking the material and then deleting the handling units without removing the material from handling units? Pl guide on the same.
    Thanks in advance.

    Ensure that
    a)  Number Range for Handling Units is maintained in VNKP
    b)  the required Packing Instruction and determination are maintained in POP1 & POF2
    c)  the value is maintained in material master sales:General/Plant data view against the field Packaging mat.type
    thanks
    G. Lakshmipathi

  • I cannot log into facebook. I get the following message: 404 Error - Not Found The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request,

    I am not able to go to the facebook site. www.facebook.com is not working. I get the following error message. 404 Error - Not Found
    The resource you have requested could not be found on the server. There are many possible reasons for this. Either the file does not exist, there is an error in your request, or the file is not accessible in the requested directory. Please verify that:
    * You have used the proper case; requests ARE case-sensitive!
    * You have entered the URL correctly. (i.e. proper directory/filename)
    * You used the FULL URL. (i.e. proper file type: .html, .gif , .jpg, etc.)
    * You use a tilde (~) before user directories. (i.e. www.furcen.org/~jurann/ )
    * The user/file still exists on this server.
    I also get redirected to "Busca Google" when typing www.facebook.com in the address bar.
    == URL of affected sites ==
    http://facebook.com; buscagoogle.com

    I have the same problem and it does not have to do with firefox. Do you have any idea how to fix it through?

  • On some of my files there is a ! in front of it, if I try to play the song, I get an error message; "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?" Then when I click "Locate", I get nothing.

    I'm really dumbfounded on this one and it's driving me bonkers!!!! On some of my music files there is a ! in front of it, if I try to play the song, I get an error message; "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?"
    This began to happen when Chuck made playlists2burn on2CD-and then he would delete the playlist; sending all the song files into oblivion. Certain songs have a ! right next to the file name, and as I stated before, i get that error message:
    "The song "_____" could not be used, because the original file could not be found. Would you like to locate it?"
    So I click on "Locate". No help. I get a menu with folders that say "catroot" and other folders which names I cannot remember, but I scroll PAST the file folders, & it's just a bunch of ".DLL" files.....I don't understand what any of the names of the folders mean...it's frustr8ing-coz this is my 2nd iTouch, my 1st one got stolen & I can't afford2buy my music back at this time & i NEVER before had a single problem with losing song file locations.
                  Is there anyone out there who has been through this frustrating game of chasing your tail?....<that's how I feel>
    If so I would be ever so gr8ful if maybe someone with the knowledge would be so kind as 2 tell me how/where 2 retrieve these songs & how to put everything back where it belongs, I would be 4ever gr8ful !!!
    I can't afford 2 replace the songs just like I'm unable 2 buy back my old music from my stolen iTouch....man that was an awesome collection-someday I'll be able 2 afford 2 do that & I would like 2 have all the new music that I paid 4 but cannot find when I got my new iTouch....that would just be  wonderful.
                 I hope someone sees this post that can help me retrieve these files....losing $100.00 of iTunes is a REAL BUMMER!!!!!!
                                                      ThanQ SO very much!
                                                                             [email protected] or [email protected] or [email protected] .
                                                                                               You can also find me on Facebook, my given name is Tiffinie Trimmer, &
                                                                                                that's my Facebook "handle".    ThanQ 4 taking the time 2 read all of this!
                                                                                                hope 2 get a reply someday....I'll B checking all my emails & my Facebook, as well
                                                                                                as marking this page in my FAVORITES so I can find it fast! Take Care!!!

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • I have a new computer that downloaded all of my playlist. but i cannot play all songs. i get a error that say "the song could not be used because the original file could not be found. would you like to locate it? but it does not help to resolve.

    i installed itunes to my new computer and transfered all my playlist from the older computer. the software came with the new computer hp link up. the problem
    comes in where i want to play a certain song on a playlist and this error pops up "the song could not be used because the original file could not be found.
    would you like to locate it? which is of no help.
    is there a solution to this problem?

    The file path for these songs IS NOT correct per your iTunes Library file. 
    See: http://dougscripts.com/itunes/scripts/ss.php?sp=listmias  for an Applescript to locate these files for re-adding.

  • [Create Login] Provisioning Error: event handler/adapter could not be found

    Hello,
    I am running a fresh install of OIM 9.0.3 (installed yesterday) on a Windows XP Machine running:
    Weblogic 813 SP6
    JDK142 11,
    MSSQL 2000 SP3a I have a test resource, a simple MSSQL Table with a few fields, which I used the connector pack to install and connect. I imported the resource without any issues. However, when I attempt to Create Login on the resource, it gives me the following error:
    "An error occurred while retrying one of the tasks
    Create Login: Event Handler not found"When I check the details of Create Login (in my To-Do List for xelsysadm):
    Error Details
    The class file for event handler/adapter "adpDBCREATELOGIN" could not be found.I am very new to this system, and I really don't know where to begin trouble shooting this issue. Any ideas on what might be wrong with the system? It could be anywhere from missing a step in the beginning of the installation to doing something incorrectly. Any pointers on where I can start troubleshooting as to why I can't provision would be very helpful and much appreciated!
    Thanks

    Did you compile the adapters? When you import them from XML they must be compiled before you can use them. Go to the Design Console -> Dev tools -> Adapter Manager and compile them there.

  • Error -2003: a data handler needed by the movie could not be found

    Hello.
    I just purchased QuickTime Pro and the MPEG-2 add-on for it, for the single purpose of transcoding some MPEG-2 recordings to H.264. However, when I try to open any of my MPEG-2 files in Quicktime, I get the message: "error -2003: a data handler needed by the movie could not be found (my-filename.mpg)"
    I can play these files in a number of different free players--VLC, Mplayer, Windows Media Player, RealPlayer... but not in the player I paid $50 for.
    Can someone please help me?

    That doesn't really help. Besides, I haven't even got to the point where I'm trying to export. I get this error message when I try to open the file. I can't even play back the clip.
    And the MPEG-2 page clearly states: "The QuickTime MPEG-2 Playback Component provides QuickTime users with the ability to import and play back MPEG-2 content, including both multiplexed (a.k.a. muxed, where the audio and video tracks are interleaved together into one track) and non-multiplexed (a.k.a. elementary) streams."
    Also, Streamclip crashes when I try to load my MPEG-2 clips, so that's not going to work (and even if it did, I am trying to find a simple way to take the HDTV content I've recorded off the air and get it onto my AppleTV--I want fewer steps, not more).
    Looks like I'll have to waste some time calling customer service to get a refund, since there's no way to do this via the website.

Maybe you are looking for

  • HT4623 What if my iPhone 4 never had an update not even to iOS 5 ? How do I update it ?

    How do I update an iPhone 4 if I've never had it updated at all not even to iOS 5

  • Podcasts app

    I got a new iPod Touch (5th gen) and am looking for a podcasts app with the following properties: 1) Sync podcasts from my computer to my iPod without wifi 2) When I connect the cable between my computer and my iPod and I sync it, I want it to remove

  • From .psd in flash

    Hi! I`m new to Flash. I am trying to make a "story ",I can say. I made the background ,the ground etc. in Photoshop. And I inported them in flash. I would like to know how I can make the .psd or .jpg [as saved from photoshop] be editable in flash. Li

  • How to create  table level index.

    Hi All,        I have written a program for c-form tracking , where i used purchasing tables like EKBE , EKKO and accounting tables , BSEG and BKPF.BSEG isa cluster table . it is taking execution time more at database level , so if i create a index o

  • TS3899 Having trouble getting email from my blue yonder account.

    ipad says searching for mail and then times out with error message, "server not working check settings". have checked settings and deleted account and re installed but still having trouble. Also tried power on off. Can send mail ok. Any help would be