‎2013 Dec 16 12:45 AM
Hi,
I have a problem regarding column headings for line items in the script. Actually I need to do the changes in the existing copied Z-form. In the form for main window they are printing standard text for some text and after print the table data for line item (header+item).
Problem : Only print headings if there is at lease one detailed line item which will print on the same page.
Please help me..it's very urgent to fix this.
Thanks and Regards
Raju
‎2013 Dec 16 5:00 AM
Hi Raju
In case you want to print header only if their is a line item that you will have to control in your driver program where you are calling WRITE_FORM for that element.
You put a check if you have line print else skip
Nabheet
‎2013 Dec 16 5:00 AM
Hi Raju
In case you want to print header only if their is a line item that you will have to control in your driver program where you are calling WRITE_FORM for that element.
You put a check if you have line print else skip
Nabheet
‎2013 Dec 16 5:21 AM
Hi Nabheet,
I already put the check if when line item is trigger then only i pass the header but here i want page headings in corresponding pages which has line item.
Example :
5 line items
Page 1: some standard text and 3 line items with header
Page 2: only line items, totals and some text. here no header
Note : I don't want heading in all pages, need only when at lease one detailed line item which will print on the same page.
Thanks
Raju
‎2013 Dec 16 7:14 AM
Hi Raju
Check two things
Donot display header
CALL FUNCTION 'WRITE_FORM'
EXPORTING element = 'HEADER'
function = 'DELETE'
type = 'TOP'
EXCEPTIONS OTHERS = 1.
nabheet