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

issue regarding paragraph formats in sap scripts

Former Member
0 Likes
467

Hi all,

i am trying to use paragraph formats in scripts.plz let me know how each of the standard attributes and outline attributes works.

my requirement is there is script copied from medruck as zmm_medruck.

in this script the item details are for example as follows:

A B C D E

In the above a,b,c,d,e are field names.

now the problem is if the test in the field A is more than the length of the column, it is extending to the same row for remaining columns.

so , it is displaying as follows for example,

A B C D E

Please arrange the following details according to the owner.

in the above that text is related to only column A. but because the space is not sufficient it is extending to other columns. i want this to be displayed as follows:

A B C D E

please arrange

the following

details according

to the owner.

how to do this in sap script using paragraph tabs or anything else.

plz reply as soon as possible. this is urgent requirement.

points will be awarded.

thanking u in advance,

a.srinivas.

Hi all,

i am trying to use paragraph formats in scripts.plz let me know how each of the standard attributes and outline attributes works.

my requirement is there is script copied from medruck as zmm_medruck.

in this script the item details are for example as follows:

A B C D E

In the above a,b,c,d,e are field names.

now the problem is if the test in the field A is more than the length of the column, it is extending to the same row for remaining columns.

so , it is displaying as follows for example,

A B C D E

Please arrange the following details according to the owner.

in the above that text is related to only column A. but because the space is not sufficient it is extending to other columns. i want this to be displayed as follows:

A B C D E

please arrange

the following

details according

to the owner.

how to do this in sap script using paragraph tabs or anything else.

plz reply as soon as possible. this is urgent requirement.

points will be awarded.

thanking u in advance,

a.srinivas.

2 REPLIES 2
Read only

Former Member
0 Likes
445

Hi

Define Paragraph formats and define TAB settings and FONT settings for that Paragraph. then write the fields with the Tab settings like (,, is used for tab setting)

ZA PO no,,Item,,description,,qty,,Amount

do like this and see how it comes then

if your field text is 40 char and the column space is 15 char

then you have to split that text into 3 strings of 15 each and display

v_str1 = field+0(15)

v_str2 = field+16(15)

v_str3 = field+31(15)

display these 3 variables one below the other

Reward points for useful Answers

Regards

Anji

Read only

Former Member
0 Likes
445

Hi

u can decrease the tabs length for each filed.or create ur own tabs according ur fileds lenght.

otherwise decrease the filed lenght in text editor.

ex : ur A filed lenght is 20 chars , u can use A+0(15) in text editor

regards

chenna