2006 Jan 10 9:14 AM
Can anybody please help?
I have a global data in smartform say revenue which is of data type CURR, length 28 and decimal place 2.
To display the content of revenue I have a text element . Although I have set the Paragraph formats in the text element to be Helve 10 (left), the content of revenue always displayed very closed to the right hand side in the cell,seeminly the content is right aligned.
Can anyone please help me with it?
Thanks
Heather
2006 Jan 10 9:20 AM
Check the left margin for the paragraph type in SMARTSTYLES.
In text element go to the text editor check thare is any space you r gave in left.
If not get back me with detail steps of your creation.
Alex
2006 Jan 10 9:20 AM
Check the left margin for the paragraph type in SMARTSTYLES.
In text element go to the text editor check thare is any space you r gave in left.
If not get back me with detail steps of your creation.
Alex
2006 Jan 10 9:31 AM
Hi Alex,
I have checked Text Editor,there is no space left.
The following values are set in Text:
The text type: Text Element
Start Time: New Paragraph
Paragrap Formats: Helve 10 (left)
Variabl "revenue" is created in Global Definition.
Thank you for your help!
Heather
2006 Jan 10 9:37 AM
Enter a transaction code SMARTSTYLES and create a paragraph P1 and assign the propeties
Alignment, font name, font size
In a smartform for the text element select the output option, here u assign the smartstyles name.
In Text editor u have P1 and assign that, it will work it out i think.
Alex
2006 Jan 10 9:39 AM
you can also check, whats the window size for the text element.
revert me still u have issues.
Alex
2006 Jan 10 9:56 AM
Hi,
Check the alignment of previous text element before the revenue text element.
Sometimes if it is left alignment,even the left alignment of revenue seems to come as right aligned.But actually it is left aligned.
Check that and kindly reward points by clicking the star on the left of reply,if it helps.
2006 Jan 10 10:20 AM
Hi Jayanthi,
thank you for ur reply, I have already checked that.
Hi Alex,
I think the problem is with the data type which I used CRMT_ACT_CURRENCY to define "revenue",when I change the data type from CRMT_ACT_CURRENCY to Text 10, the problem solved.However, as "revenue" contains the total revenue, I don't think it's a good idea to change the data type. You have any idea on it?
Also,thank you for your solution, I will try that, but I need to ask my mentor if I can create something in the package.
Thanks Heather
2006 Jan 10 11:52 AM
Dont change the type of variable,
You can condense the variable before showing into the text element.
You have to take care of your window size also.
Alex
2006 Jan 11 2:08 AM
Hi Alex,
Thank you for your help!
The window size is fine as I put the revenue in a template, I think I will condense the variable length.
Thanks
Heather
2006 Jan 11 6:10 AM
I think your issue solved, please close the thread and assign the points.
Alex
2006 Jan 10 9:33 AM
Hi Heather,
Simple way is to have a character field of sufficient length(28) (As char field is left justified, revenue value will be left aligned)....
Regards,
Raj