Application Development 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: 

Script for packing list

Former Member
0 Kudos

Hi All,

i got this following requiring requirement for the modifying a script for packing list,

this is the logic i have to include:

b. Remove the carton ID & box ID from the print out, the line item should just print the total delivery quantity, do not split the printing by different box ID or carton ID.

<b>i. Delivery Item= LIPS-POSNR

ii. Delivery Qty for Item = LIPSD-G_LFIMG= LIPSD-PIKMG</b>

<b>c. Add Total Boxes for each item, this should be a calculation field for each material HUMV4-MATNR, count how many handling unit VEKPVB-EXIDV has been used to pack the same material , output the total boxes for each delivery item.

</b>d. <b>Add Gross Weight for each item , retrieve data from LIPS-BRGEW</b>

e. Add Net weight to the print out, below the gross weight – retrieve data from LIKP-NTGEW

f. For Net Weight & Gross Weight – all convert to KG before output on the print out

can any body help me what the exact bussiness flow i have to follow and any necessary hints on this

Message was edited by:

ram g

1 REPLY 1

Former Member
0 Kudos

Hi Ram,

You have to take the help of the functional consultant also and take the printout of the existing form for the packing list and note down all the changes to be done on the hard copy taken first.

then search in the script for the respective windows and for the respective fields in textelements of the script

One delivery may have multiple Handling Units

the link is VEPO-VBELN = LIPS-VBELN

from HU item table VEPO take the delivery no and link it with LIPS and LIKP table

What I understood is In Packing list the present data is coming from Delivery

but they wants to print certain things based on delivery and certain based on Handling Unit data

1.Remove the HU number from the print(Box id)-VEKP-EXIDV

2.Qty is printing based on HU remove that

now just print the qty based on delivery(sum of all items LIPS-LFIMG)

3. Add total boxes for each item(means no of HU's for each Delivery)

4. Take the Item wise gross weight from LIPS (brgew)

5.Take netweight from LIKP

6.Convert the unit of the Weight to KG

using a fun module UNIT_CONVERSION_SIMPLE

There may be already data fetching from the respective tables in the script check for the same and use

Otherwise to write the code you have to use the external subroutines to write some small program if extra coding is required to get the data from other tables

Hope this helps

Regards

Anji