0% found this document useful (0 votes)
31 views2 pages

Zak Delivery Summary Rept

The document provides a summary of deliveries from a SAP system. It extracts delivery header and item data from tables LIKP and LIPS respectively based on input selection. The delivery number, item, material and quantity delivered are written out line by line.

Uploaded by

naveen441
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views2 pages

Zak Delivery Summary Rept

The document provides a summary of deliveries from a SAP system. It extracts delivery header and item data from tables LIKP and LIPS respectively based on input selection. The delivery number, item, material and quantity delivered are written out line by line.

Uploaded by

naveen441
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

*&---------------------------------------------------------------------*

*& Report ZAK_DELIVERY_SUMMARY_REPT


*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

report zak_delivery_summary_rept no standard page heading


line-size 255
line-count 65.

tables : likp.
*-- Delivery Header
types : begin of t_likp,
vbeln type vbeln_vl, "Document Number
vkorg type vkorg, "Sales Organisation
lfart type lfart, "Delivery Type
lfdat type lfdat_v, "Delivery Date
kunnr type kunwe, "Ship to Party
end of t_likp.
*- Delivery Item
types : begin of t_lips,
vbeln type vbeln_vl, "Delivery Number
posnr type posnr_vl, "Delivery Item
matnr type matnr, "Material Number
lfimg type lfimg, "Actual Quantity Delivered
end of t_lips.

types : tt_likp type standard table of t_likp,


tt_lips type standard table of t_lips.
data : lw_likp type t_likp,
lt_likp type tt_likp,
lw_lips type t_lips,
lt_lips type tt_lips.

select-options : s_vbeln for likp-vbeln.

start-of-selection.
*Populate delivery data from LIKP
clear lw_likp.
refresh lt_likp.
select
vbeln
vkorg
lfart
lfdat
kunnr
into table lt_likp
from likp
where vbeln in s_vbeln.

if sy-subrc eq 0.
*Populate delivery data from LIPS
clear lw_lips.
refresh lt_lips.
select
vbeln
posnr
matnr
lfimg
from lips
into table lt_lips
for all entries in lt_likp
where vbeln = lt_likp-vbeln.

else.
message e001(zak).
endif.

end-of-selection.

if not lt_lips is initial.


loop at lt_lips into lw_lips.
write : /3 lw_lips-vbeln,16 lw_lips-posnr,
25 lw_lips-matnr , 60 lw_lips-lfimg.
clear lw_lips.
endloop.
endif.
top-of-page.
write : / ' **************** Delivery Summary ***********'.
skip 1.
format color 1.
write : /3 'Delivery' , 16 'Item' , 25 ' Material', 60 'Quantity'.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy