‎2006 Oct 17 5:07 AM
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
‎2006 Oct 17 7:23 AM
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
‎2006 Oct 17 5:11 AM
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
‎2006 Oct 17 5:26 AM
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
‎2006 Oct 17 7:15 AM
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
‎2006 Oct 17 7:34 AM
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
‎2006 Oct 17 7:23 AM
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
‎2006 Oct 17 8:27 AM
This works...
/:]INCLUDE &MSEG-MATNR(K)& OBJECT MATERIAL ID BEST LANGUAGE EN PARAGRAPH Z1
thank you very much