Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pick, pack & PGi

Former Member
0 Likes
1,229

Hi Experts,

Today I would like to share my query with you all. As of we know that we have a function modules for picking and packing and for PGI are SD_DELIVERY_UPDATE_PICKING, SD_DELIVERY_UPDATE_PACKING and WS_DELIVERY_UPDATE respectively. Now what my query is we have any function module which performs all these activities at a time? Please provide me your valuable suggestions. Solutions will be highly appreciated and regardful. Waiting for your valuable replies..Its little bit urgent........

Regards,

Kumar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,022

Hi

Checkout the program VF04 - SDBILLDL / RV60SBT1 which does automatic billing, i dont think there is a FM for all together.

Regards

Divya

7 REPLIES 7
Read only

Former Member
0 Likes
1,023

Hi

Checkout the program VF04 - SDBILLDL / RV60SBT1 which does automatic billing, i dont think there is a FM for all together.

Regards

Divya

Read only

Former Member
0 Likes
1,022

Hey

you can also try out this badi badi_hu_autopack.

Regards

Divya

Read only

0 Likes
1,022

Hi Divya,

Nice to receive your valuable suggestion. I think for PGI we need to pass picking qty. In this BADI we don't have the feild for pick qty in their passing parameters. Especially it is for PGI i think ,, is it not???

Regards,

Kumar

Read only

Former Member
0 Likes
1,022

Hi All,

Got the answer. I am using WS)DELIVERY_UPDATE for picking and PGI also with proper parameters.

Regards,

Kumar.

Read only

Former Member
0 Likes
1,022

Hi,

I'm also using this FM SD_DELIVERY_UPDATE_PACKING. It's creating the HU but not really packing the assigned delivery items as packed positions. What is my mistake?

CREATING THE HEADER:

CALL FUNCTION 'HU_PACKING_REFRESH'.

CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING'

EXPORTING

delivery = w_vbkok-vbeln_vl

commit = 'X'

synchron = 'X'

TABLES

verko_tab = t_verko

verpo_tab = t_verpo

prot = t_prott

EXCEPTIONS

update_not_possible = 1

OTHERS = 2.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

IDENTIFY THE VALUE FOR VEKP-VENUM

  • Zuordnen der Stücke

w_exidv = '00000000000000000000'.

w_exidv+10(10) = w_vbpok-vbeln_vl.

SELECT SINGLE * FROM vekp

WHERE exidv EQ w_exidv.

FIND DATA FOR HU ITEMS

CLEAR w_verko.

CLEAR t_verko[].

LOOP AT t_vbpok INTO w_vbpok.

w_verpo-exidv = w_vbpok-vbeln_vl.

w_verpo-venum = vekp-venum.

w_verpo-velin = '1'.

w_verpo-vbeln = w_vbpok-vbeln_vl.

w_verpo-posnr = w_vbpok-posnr_vl.

w_verpo-charg = w_vbpok-charg.

w_verpo-werks = w_vbpok-werks.

w_verpo-matnr = w_vbpok-matnr.

w_verpo-lgort = w_vbpok-lgort.

w_verpo-tmeng = w_vbpok-pikmg.

w_verpo-vrkme = w_vbpok-meins.

APPEND w_verpo TO t_verpo.

ENDLOOP.

TRY TO PACK ITEMS

CALL FUNCTION 'HU_PACKING_REFRESH'.

CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING'

EXPORTING

delivery = w_vbkok-vbeln_vl

commit = 'X'

synchron = 'X'

TABLES

verko_tab = t_verko

verpo_tab = t_verpo

prot = t_prott

EXCEPTIONS

update_not_possible = 1

OTHERS = 2.

What is my mistake????

Regards

Norbert

Read only

0 Likes
1,022

Hi Norbert,

How did you solve ur problem?

Thanks

Read only

Former Member
0 Likes
1,022

Hi Lakshman,

How are you generating the HU in the delivery and packing the items into it?

Can you please give me some guidance.

Thanks