11-09-2007 6:52 AM
Hi all
I am working on Check Printing..........using SAP Script.......n program RFFOUS_C
I m using the already existing fields...in the script F110_PRENUM_CHECK......
My requirement was to create a invoice table with line items (REGUP-BELNR)....
now i want the total number of invoice line items in the table.....
i want it to be printed on the invoice as a footer......
As we knw tht invoice line items r coming from the program but i am unable to figure out how to get it...........
once get it i ll use routine to get it into the check print.......
bt first i want number of invoice line items........
Plz help me...........
Thnx
Rohit
11-09-2007 4:46 PM
You can count the number of internal table line items using
DESCRIBE TABLE <itab> LINES <v_lines>.
And then once you get the count, display the same variable in footer window.
Thanks,
Srinivas
11-09-2007 4:46 PM
You can count the number of internal table line items using
DESCRIBE TABLE <itab> LINES <v_lines>.
And then once you get the count, display the same variable in footer window.
Thanks,
Srinivas