‎2008 Aug 05 6:59 AM
Hi
I am printing invoice. This invoice has more than one items.
My requirement is i need to prind address for first line item.
I using t.code so10 to display this address. .The address is comming in Original Copy but it is not showing in other copies like (Duplicate , Quintriplicate ,Triplicate, Quadriplicate and Extra) .
how to print this address in Firstpages. pls help me out
‎2008 Aug 05 7:06 AM
Hi,
You can use text element on that particular window and assin the variables you can get address in each page.
Thanks and regards,
Das.........
‎2008 Aug 05 7:11 AM
Hi
I can not able to create new text element. B'coz driver program is a commen program for 20 output types. If i create new text element it will affect other invoices.
IF &PAGE& = '1'
INCLUDE &'ZV'VBDKR-VKORG'ARE1ADDRESS'& OBJECT TEXT ID ST PARAGRAPH IP
ENDIFI tried the above code.
when i debug the script page number value is always one. so it is printing all pages.
Pls help me
‎2008 Aug 05 7:15 AM
Hi Use like below.
/: IF &PAGE& = '1'
/: INCLUDE &'ZTXT& OBJECT TEXT ID ST PARAGRAPH PO
/: ENDIF
‎2008 Aug 05 7:18 AM
Hi Kumar,
Instead of &PAGE1& = '1'
try &SAPSCRIPT-FORMPAGES& = '1' (OR)
&SAPSCRIPT-JOBPAGES& = '1'.
Hope this will help you.
‎2008 Aug 05 7:49 AM