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

Align include text

Former Member
0 Likes
866

Include text to be aligned ??

Posted: Oct 17, 2006 12:03 AM Reply E-mail this post

Hi friends ,

If i am using the following script :-

[p1],,&LFA1-NAME3(C)&

[/:]INCLUDE &MSEG-MATNR(K)& OBJECT MATERIAL ID BEST LANGUAGE EN

this gives me output as:-

<tab space here> charles menon

t,blue,yellow,green,red

but i want the output to be :-

<tab space here> charles menon

<tab space here > t,blue,yellow,green,red

Basically i want to align the line 2( which comes from the include text ) to be aligned with the first line which is having a tab space from left margin.

Please let me know the solution.

regards,

siva

1 ACCEPTED SOLUTION
Read only

Rashid_Javed
Contributor
0 Likes
777

The INCLUDE statement has an option PARAGRAPH, you can define a custom paragraph that starts at first tab position by specifying the indent, and than use this paragraph in your include statement

Like suppose you have defined a paragraph format Z1 as mentioned above than your include statement will become as

/:]INCLUDE &MSEG-MATNR(K)& OBJECT MATERIAL ID BEST LANGUAGE EN PARAGRAPH Z1

Hope this helps

RJv
6 REPLIES 6
Read only

Former Member
0 Likes
777

In ur standard text give a tab sapce where ever u want.Or in the paragraph format u are using in stadard text(so10),give tab space initially.

Check and let me know if u face any problem.

Regards

Read only

0 Likes
777

Nope the text is being taken from me21n i mean the long text is taken from me21n screens using object id etc..

the text is not given by me , but by the func consult. or uploaded at run time.

so we cannot control the standard text.

i want to print the fetched text aligned to the line above . the line above has atab space from left margin.

Regards

siva

Read only

0 Likes
777

Siva,

I tried to check in different ways but I think it is not posible.Only thing u can do is adjust the no according the standard text,that is the no u are displaying above the standard text.

Regards

Read only

0 Likes
777

YA what Rashid said is right,it is working.

Define a new paragrapgh format as he said and keep the lft margin equall to the the tab space of the previous line.What I mean to say is the tab sapce of the first line and left marign should be equall.

Check and see.

Regards

Read only

Rashid_Javed
Contributor
0 Likes
778

The INCLUDE statement has an option PARAGRAPH, you can define a custom paragraph that starts at first tab position by specifying the indent, and than use this paragraph in your include statement

Like suppose you have defined a paragraph format Z1 as mentioned above than your include statement will become as

/:]INCLUDE &MSEG-MATNR(K)& OBJECT MATERIAL ID BEST LANGUAGE EN PARAGRAPH Z1

Hope this helps

RJv
Read only

0 Likes
777

This works...

/:]INCLUDE &MSEG-MATNR(K)& OBJECT MATERIAL ID BEST LANGUAGE EN PARAGRAPH Z1

thank you very much