Skip to Content
avatar image
Former Member

Anyone familiar with the Packing--Handling unit number assignment logic?

Hi,

I am checking an program which related to the Auto. Packing by using the BDC function.

Coding as following:

check pick_flag = 'X'.

***1st screen

  perform bdc_screen      using 'SAPMV50A' '4004'.
  perform bdc_field       using 'BDC_CURSOR'
                                'LIKP-VBELN'.
  perform bdc_field       using 'BDC_OKCODE'
                                '=VERP_T'.
  perform bdc_field       using 'LIKP-VBELN'
                                delivery.

***2nd screen
  perform bdc_screen      using 'SAPLV51G' '6000'.
  perform bdc_field       using 'BDC_OKCODE'
                                '=UE6VDIR'.
  perform bdc_field       using 'BDC_CURSOR'
                                'V51VE-VHILM(01)'.

  loop at t_poio where vbeln = i_zac_po_io-vbeln
          and h4deldate = i_zac_po_io-h4deldate.

    select single * from lips into lips
                        where vbeln = delivery
                          and posnr = t_poio-posnr.
    move lips-lfimg to pick_qty1.

    perform bdc_screen      using 'SAPLV51G' '6000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'HUMV4-POSNR'.
    perform bdc_field       using 'VEKP-VHILM'
                                  'box'.
    perform bdc_field       using 'HUMV4-QUANTITY'
                                  pick_qty1.
    perform bdc_field       using 'HUMV4-POSNR'
                                  t_poio-posnr.
  endloop.

  perform bdc_screen      using 'SAPLV51G' '6000'.
  perform bdc_field       using 'BDC_OKCODE'
                                '=SICH'.

From above screens and fields, i couldn't find the field of Handling Unit number--EXIDV.

So there is no HU number assignment logic...like:

                               '=HU_VERP'.                                                                                
000169
     PERFORM bdc_field       USING 'BDC_CURSOR'                                           
 
000170
                                   'V51VE-EXIDV(01)'.                                                                                
000171
     PERFORM bdc_dynpro      USING 'SAPLV51G' '6000'.

Then how this HU number is filled in front-end??

Or whether means that if there is no HU number assignment logic in that BDC program, then this HU number will be filled by system automaticly by using the number range defined in the SPRO??

Thanks.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 22, 2007 at 09:12 AM

    HI

    Check Tcode VHAR and check the no range interval assigned..

    hope it must be externall.. so system assigns ext no based on pack mat type..

    let me know if it helps.

    Regshan1242

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Shan1242,

      I just checked the VHAR and found that the system is configured like below:

      0001 Land

      0002 Container

      0003 Sea

      0004 Air

      0005 Carton Box

      0006 Pallet

      And we always using Box as the packing material...Then i checked the detail of the BOX:

      Number Assgnment: Any external number can be entered( no HU functionality)

      Then what does this means?

      The BOX number could only be assigned with external number???

      thanks.

  • avatar image
    Former Member
    Aug 23, 2007 at 05:05 AM

    Goto IMG-Log General-HU-Basics settings..

    under VHAR check int num and ext number ranges..

    system picks up ext no when u create HU..

    Hope it helps u..

    Reg

    Shan1242

    Add comment
    10|10000 characters needed characters exceeded