Dear Sir/Madam,
i am developing a SD report in which i have to bifurcate provisional invoice details and final invoice details.we have developed report but its output format is not coming as per requirement which is given below:
Details are given below:
view:wb2_v_vbrk_vbrp2
table:konv
output format:
| provisional invoice | Final invoice details |
co code material vessel name bill doc no bill date qty amt sales order bill doc no bill date qty amount sales ord no
abc 123 xyz 1000141 12.04.1998 30 1234 90033 1000142 14.04.1998 30 1234 90033
to populate invoice value based on provisional and final billing
check sales order no and fetch billing no created against that sales order no and then we have to check billing date.
the document with later date will populate in FINAL INVOICE detail and other detail in PROVISIONAL INVOICE detail.
Kindly provide logic for above requirement.
Thnaks and regards
zuhi