08-29-2006 5:23 PM
Hi all,
My problem. One Sales Order has more than 2 Invoices.
Until Invoice Number I want to display in separate rows and from Total Invoice Qty I want to display in one row for that sales order no.
Please Help me .
__________________________________________________________
order no l inv qty l invoice no l tot inv qty l returns l
__________________________________________________________
500001----5
5
-
500001----5
5
-
I want it in this way
__________________________________________________________
order no l inv qty l invoice no l tot inv qty l returns l
__________________________________________________________
500001-------5 -
210444
-
10 -
5
500001-------5 -
210455
-
Thank u.
08-29-2006 5:27 PM
Hi Balaji,
You have to populate the field catalog accordingly changin the row position for the last two fields....
wa_fieldcat-tabname= 'ITAB'.
wa_fieldcat-fieldname= 'VBELN'.
wa_fieldcat-row_pos = 1.
wa_fieldcat-clo_pos = 3.
wa_fieldcat-seltext_m = 'Invoice No'.
append wa_fieldcat to it_fieldcat.
wa_fieldcat-tabname= 'ITAB'.
wa_fieldcat-fieldname= 'BWENG'.
wa_fieldcat-row_pos = 2.
wa_fieldcat-clo_pos = 4.
wa_fieldcat-seltext_m = 'Total Qty'.
append wa_fieldcat to it_fieldcat.
Regards,
Vidya.
08-29-2006 6:02 PM