Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

right align text in sapscript-window

Former Member
0 Likes
3,379

I have this below mentioned piece of code in sapscript ==> windows. I want to right align the text Order qty, Price per unit and Net value. But dont know how to do it , can somebody please help me

UL     &ULINE(71)&
IL      <K>Item,,Material,,Description</>
I2      ,,<K>   Order qty.  ,,Unit   ,,    Price per unit   ,, Net value </>
UL     &ULINE(71)&

1 ACCEPTED SOLUTION
Read only

StMou
Active Participant
0 Likes
2,164

Hi,

Create you own Paragraph style in sapscript in reference of I2.

After go to Paragraphs format and change alignment of desired Tab position.

Rgds

7 REPLIES 7
Read only

StMou
Active Participant
0 Likes
2,165

Hi,

Create you own Paragraph style in sapscript in reference of I2.

After go to Paragraphs format and change alignment of desired Tab position.

Rgds

Read only

Former Member
0 Likes
2,164

Actually I m new to SAP, can u plz help me out step by step , how to do this???

Read only

Former Member
0 Likes
2,164

What do u mean by reference of I2

Read only

Former Member
0 Likes
2,164

Hi,

Goto pargraph formats -> Edit (Menu bar) -> Create element -> Give your paragraph format name.

Then give alignment as Right and set margin as per your reqiurement.

Then you will see buttons Font, Tabs, Outline there. In font you can give it according to the text display.

This is how you can create paragraph format.

Then you can use this paragraph format for your text. In your text editor at the satring you can see '/:' sign. Instead of this you can do F4 on this. there you will see your paragraph format. Choose that. You will get your text right aligned.

Thanks,

Archana

Read only

Former Member
0 Likes
2,164

But I want to do only for this Order qty., Price per unit and Net value. I dont want to inlude Unit

,,<K>   Order qty.  ,,Unit   ,,    Price per unit   ,, Net value </>

Read only

Former Member
0 Likes
2,164

Hi,

In that case,

Do one thing,

Order qty.  ,,Unit   
Price per unit   
Net value

Make your code like this. Set paragraph formats for 1st and thord row as right and for second line as left.

Please try this out and let me know if it works fine.

Thanks,

Archana

Read only

Former Member
0 Likes
2,164

I had a similar question and received a good reply here, in case anyone else can benefit from it.