Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question