Skip to Content
0
Former Member
Dec 14, 2006 at 07:47 AM

SAP SCRIPT

29 Views

hi,

I have a SAP SCRIPT which displays values as shown below.

NAME ADDRESS PHONE

-


XYZ Andheri , Mumbai 988888888.

if the field used in PRINT PROGRAM for displaying address is the internal table field "itab-adr" .Maximum space for ADDRESS as per current SAP SCRIPT - FORM is 60 characters.

So if the address is more than 60 ( it varies from 60 to 180 as per data stored in SAP tables )then the Phone Number will be displaced as given below.

NAME ADDRESS PHONE

-


XYZ Andheri , umbai ,bdedbewudbwiduwbned 988888888.

The maximaum size of address is 180 characters.So anyone ples let me know how can i split the address field into 2 or 3 lines depending upon the size of the address so it can be displayed in more than one line, without Misplacing PHONE NUMBER.For example if the ADRRESS consists of 140 characters then it should come in 3 lines(140/60) , if it contains onely 100 (100/60) then it should come in 2 lines.

Thanks

Avi..