02-26-2007 7:05 AM
Hi,
In classical reporting, one field is of length 80 but my target field is of 40 length.
I want the rest 40 characters in second line. How to go for it?
Regards,
Jyoti
02-26-2007 7:08 AM
Hi Jyoti ,
What yuo can do is when you print the first line check the lenght of your feild , if it is greater than 40 , then set a flag and once the prinitng the first line is done , check the status of the flag , if it is set the print the portion of the variable which has not been printed.
Do revert back in case you want further information
Regards
Arun
02-26-2007 7:09 AM
02-26-2007 7:11 AM
where can i get this report ?
Also, Arun how to proceed for ur solution ?
02-26-2007 7:10 AM
Write:/001 itab-field+0(40),
/001 itab-field+41(80).
Hope this will oslve ur problem.
Reward if this helsp.
02-26-2007 8:17 AM
Hi ,
Could you pleas send me your code so that i can give you a better ans.
When you say your target feild , does that mean that you are moving the data from one internal table to another.
Please explain your requirement a bit more in detail.
Regards
Arun
02-26-2007 8:20 AM
Jyoti,
Take your first field position.
Ex : Write:/10 field+0(40),
/10 field+41(80).
02-26-2007 8:24 AM
Hi
you can use :
Write:/001 itab-field+0(40),
/001 itab-field+41(80).
Regards,
kumar
02-26-2007 10:49 AM