‎2009 Jan 19 10:54 AM
Hi Experts,
Currently I am using the command
/: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F02 LANGUAGE &NAST-SPRAS&
Now the header text is comming in left corner..but I want to print the same in the middle of line..
Since I am using as a command line it is not able to use one paragraph format...
Please advice..
Regards,
Sreeja
‎2009 Jan 19 10:56 AM
Hello Sreeja,
I think you can use character formats & tabs )
Use tabs to position the text.
BR,
Suhas
Edited by: Suhas Saha on Jan 19, 2009 4:28 PM
‎2009 Jan 19 11:01 AM
Hi ,
There is no alignment option for character format..also for this particular script , even in edit mode, create character format(edit->create element , edit->delete element and edit->copy element)is disabled.
Please suggest
Regards,
Sreeja
‎2009 Jan 19 11:03 AM
Hello Sreeja,
I just checked, you can use the following command to add the Paragraph format addition to incl. text )
/: INCLUDE &EKKO-EBELN& OBJECT EKKO ID F02 LANGUAGE &NAST-SPRAS& PARAGRAPH F
Use a paragraph format which is centred.
BR,
Suhas
Edited by: Suhas Saha on Jan 19, 2009 4:35 PM
‎2009 Jan 19 11:02 AM
Hi,
Goto SO10 Tcode,
Give the Text Name"EKKO", Text Id "F02", Lang"EN"
Click on Change
Menu>Format>Paragraph
Select C(for Centre)
Save and activate
if it not allows u to change, create a ZEKKO and do as i said and use that one in your script
Now call the same object in SAPScript and see the output
Edited by: Bala Krishna on Jan 19, 2009 4:34 PM
‎2009 Jan 19 11:13 AM
Hi ,
SO10 is the transaction code for creation of standard text,standard test is mainly used in script and smart form ,if some text is repeated in script r smart form no need to write every time in the layout ...
just create the standard text just call the in the layout... like
/:INCLUDE &GD_TEXT& OBJECT TEXT ID &GD_ID& LANGUAGE &GD_LANG&
GD_TEXT = Standard text name created within transaction SO10
GD_ID = Standard text ID set in transaction SO10
GD_LANG = Standard text language set in transaction SO10
if u want to print the text incenter choose below path
menu >format>paragraph --->choose type c -
for centre
Regards,
Madhu
‎2009 Jan 19 11:35 AM
Hi Suhas,
Thanks for the answer..
But in this script , even in edit mode, create paragraph format(edit->create element , edit->delete element and edit->copy element)is disabled.So I am unable to create a new paragraph format..
Please suggest
Regards,
Sreeja
‎2009 Jan 19 11:42 AM
Hello Sreeja,
Talk to your basis/security team. I cannot beleive in the developement system you DONOT have authorization to create / change paragrapgh formats.
Are you able to change the coding in the Script?
BR,
Suhas
‎2009 Jan 19 11:45 AM
Ya..I can edit code here ...only for this script i am facing this problem..
‎2009 Jan 19 9:02 PM
Hi Sreeja
Plz code with the syntax below:
/: INCLUDE name [OBJECT o] [ID i] [LANGUAGE l] [PARAGRAPH p]
[NEW-PARAGRAPH np]
Complete text will be displayed in the Format P specified if you have PARAGRAPH addition.
If you have NEW-PARAGRAPH along with it, then the 1st line of the text will be displayed in the NP format specified & the rest of the lines will be displayed in P format. If PARAGRAPH is not mentioned then complete lines of text will be displayed in NP format.
Thanks,
Geetha
‎2009 Jan 19 9:54 PM
It looks like you are not editing the script in the original language.
The script might have been created in language 'DE'.
You will be able to create / change the paregraph formats and character formats only in the original language.
You will be able to edit the window contents only in any other language.
When you enter the form name in the script. there is a field for language.. you have to select the original language and go into edit mode..
Thanks,
Kalyan
‎2010 Apr 23 10:01 AM
Hi Sreeja,
did you find the solution for this?
i am facing the same problem.