‎2006 Feb 01 3:30 AM
Hi,
Iam getting some data from DB to print address in the smartform.While iam displaying the data iam getting
misaligned lines like this.
commissioner of buildings,
Building managemen
dept,
5, Maxwell Road,
#2-00, Tower Blk k,
Japan.
How can i get like this?
commissioner of buildings,
Building managemen dept,
5, Maxwell Road,
#2-00,Tower Blk k,
Japan.
Reward Guaranteed
kaki
‎2006 Feb 01 3:34 AM
Try creating a new paragraph format and align LEFT.
Assign the paragraph format to the text.
‎2006 Feb 01 3:34 AM
Hi Kaki,
You can allign the text.
In your Text element > Paragraph format> "L"(Avialble in SAP Standard Style "SYSTEM") Left allign
Then all the texts will be left aalligned.
IF "L" Paragraph not found the create new style and paragraph and assign that to your text element.
Please let me know why you are not using standard address Element.
Lanka
Message was edited by: Lanka Murthy
‎2006 Feb 01 3:34 AM
Try creating a new paragraph format and align LEFT.
Assign the paragraph format to the text.
‎2006 Feb 01 3:38 AM
Kaki,
If an address that you are printing and is stored as address in SAP, why are you not using the ADDRESS element in SMART Forms, so that formatting is already take care of.
Other wise you will have create a Style with Left alignment and take care of it for all the elements that you are trying to display.
Regards,
Ravi
‎2006 Feb 01 3:45 AM
Hi Ravi,
The address fields iam getting some different tables and putting into one ITAB.So iam calling this ITAB into smartforms.How can i put this itab into SAP standard address ?
kaki
‎2006 Feb 01 3:48 AM
Hi Kaki,
I have mentioned exactly the same in my earlier answer.
If you need "Address number" for using Address element.
In Address number enter your customer/vendor//Plant address number .
example : &KNA1-ADRNR& --For Customer
&LFA1-ADRNR& --for Vendor
Then select type of address radio button as
a) Post Box
b)Street
Then select no.of line to print Example :5.
Language : &SY-LANGU&
Lanka
‎2006 Feb 01 3:49 AM
Kaki,
Is this address of a customer / Vendor? If that is the case, there will be a address number in the Vendor / Cust table. You need to get that address number and pass that.
However, if you are talking about custom tables then it sis not possible.
Regards,
Ravi
‎2006 Feb 01 3:53 AM
Hi all,
I got it.Thanks for all the replies.
Points alloted,
cheers
kaki
‎2006 Feb 01 4:02 AM
‎2006 Feb 01 4:21 AM
Hi again,
How can i display if i have 10 addresses in ITAB?
Kaki