10-05-2016 3:12 PM
Hi experts,
I have to use different styles in the single line in so10 text.
Can i know , how to use it .
<B1>&w_inv& &w_vbeln&,,,,,,,,,,&w_head_txt&,,,,,,,,,,&w_copy&</> </>
&w_inv& &w_vbeln& ----left aligned
&w_head_txt& ----Centered
&w_copy& ----right aligned
But, in my case ...based on text , its going to the next line, where i need to print only in single line .
Regards,
Karthik S
10-05-2016 4:07 PM
Hi
A standard text is like a sapscript:
<A1>TEXT 1</> <A2>TEXT 2</>
Where A1 and A2 are your characters with different styles
The problem is to understand where you've defined them, I mean in which Style
The standard text uses the style of form SYSTEM by defaul, but you can change it and assign an your own style, or you can use paragraph or character of the form where the standard text is used
Max
10-06-2016 10:52 AM
Hi All,
I have used the code like below , but it didnt work .
Can anyone suggest an idea for it .
C2 - Centered & 10 char
R2 - Right align & 10 char
Regards,
Karthik S
10-06-2016 11:09 AM
Hi,
you are using tab(ulator) positioning in your text (double comma moves to next tab position).
Tab positions are attributes of a paragraph definition, they are NOT attributes of character formats (the B1 and R2 tags you are using are character formats). Tab positions can have different alignment attributes.
So ensure that you use a dedicated paragraph definition for your text - it can come from the SAPscript style associated with the SO10 text, or, if no style is specified, it comes from the SAPscript form.
* means "default paragraph" which also maps to a certain paragraph in style or form.
Regards,
Alex
10-06-2016 11:28 AM
Thanks for your reply .
I am using this in smartform, how can i use it .
I want to display like below
Invoice No : XXXXX Invoice Date
where, Invoice No(text) is dynamic text
Regadrs,
Karthik S
10-06-2016 12:57 PM
Hi
Your code has to be:
<B1>&w_inv& &w_vbeln&</><C2>&w_head_txt&</><R2>&w_copy&</>
Max