Sapscript - Paragraph Format - Tab space Issue
Hello Experts,
I'm facing issue with the Tab Space Alignment in the Paragraph Format.
I'm giving these values for a Paragraph Format Tabs:
Tab Position:
1: 0,10 CH
2 :3,50CH
3: 6,50CH
12: 76,00CH
Inspite of reducing the TAB position for 5th Tab; it is still aligning a bit far.
And whenever the Description (Field 3) is longer; all the Values are pushing towards right.
Alignment is not getting adjusted. How can I make this as Fixed?
Here's the screenshot:
Please advise.
Thanks & Regards,
Sowmya
Hi,
For Standard Text, Paragraph format will be applicable from Standard Styles which will be creating in Transaction code SE72 and apply that Paragraph Format to Text in Standard Text transaction code SO10 then the Paragraph format will be applicable. And transport the Created Style in SE72 to Quality and Production Systems.
Apply the Created Paragraph format created in SE72 to text by below steps:
So10>Provide text>Click on CHANGE>Click on MENU FORMAT>Change Style->Double click on STYLE created in SE72-->Apply the newly created Paragraph Format to text in So10
Edited by: Venkatmani29 on May 2, 2011 12:43 PM
Similar Messages
-
Script Paragraph Format-TAB position Problem....
In Script- Medruck , There is a line:
IM ,,,,,,Qty. ,,Unit ,,Deliv. date ,,,,&ETUHRTXT&
where IM is a paragraph format with TAB positions at:2,3,23,24,34,40,51,57.
what is the meaning of ,,,,,,Qty ????
what is the difference in writing :
IM ,,Qty,,Unit,,Deliv. date,,&ETUHRTXT& AND
IM ,,,,,,Qty. ,,Unit ,,Deliv. date ,,,,&ETUHRTXT&
How would the Display look like??Hi Srikar again,
If you are putting one tab position after every field, in this case count tab position from the starting i.e. from first variable and go on countin till end . This will take you adding position one after other and it will not overlap.
e.g. Mat,,qty,,price
and tab position as 1 : 5 2: 10 3: 15 4:20
then mat will start at 1 to 5 and qty will from 10 onward.
Regards,
Vijay -
SAPscript paragraph format question
I have a paragraph format called 'ZX' in first sapscript. I am able to enter into graphical PC editor in this sapscript. I am using this paragraph format while defining a address in one window.
I also have the same paragraph format 'ZX' in a second sapscript and using it for defining a address. When I tried entering into graphical PC editor for this second sapscript, it says 'Unknown paragraph format ZX' !
Is there any place where we have to assign paragraph format to the sapscripts? I am confused why this error is coming for the second sapscript.
Thanks in advance for your input,
KrishenI Guess You have to define the paragraph format for the second script in the second script only..I dont think you can use the pragraph format of one script in the other.
- Guru
Reward points for helpful answers -
What table stores the SAPscript paragraph formats for a form.
Does anyone know where the paragraph formats are stored for a SAPscript form. I can view them using SE71, but what I am looking for is the table where all this information is stored.
Thanks.
Bill LomeliHi Bill,
Check table "DOKHL" .
ID = 'DE' (Paragraph ID)
LANGU = SY-LANGU
OBJECT = 'TDPARAGRAPH'.
TYP = 'E'.
*------Sample code -
SELECT SINGLE *
FROM DOKHL
WHERE LANGU = LANGU
AND ID = ID "Paragraph ID"
AND OBJECT = OBJECT "value :TDPARAGRAPH"
AND TYP = TYP 'value :E'.
Lanka
Message was edited by: Lanka Murthy -
Migrating from Sapscript Paragraph Format to Smartforms Style
There are some tool to export paragraph formats?
Thank youHi,
Goto SMARTSTYLES Tcode..in Menu..
Utilities--->Convert SAP Script Style..
and Give...
From (SAP Script Style)----
To(SMART Style)----
Message was edited by:
Vishnu Reddy -
For SAPscript INCLUDE TEXT, how to align as Paragraph format
Hi experts and ABAP colleagues!
Need your help on this sapscript problem:
How to align texts taken from "INCLUDE TEXT" in SAPscript, according to tab defined in Paragraph Format?
For example, I defined BG to have tabstop at the 2nd column (or equivalent to 1st tab position) where I need to print the text, and then declared it in SE71 like below:
However the text prints at the leftmost instead of at the 2nd col position - (8th char tab defined in par. format BG). Hence it is not aligned to its proper heading. Line Number instead of Description - which is not okay for client view that needs these Thai texts.
The technical details I included below. Kindly examine:
1.) Window >Main > Text Element > Include Text command
/E ITEM_TEXT
BG ,,&TTXIT-TDTEXT&
/: INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID&
/: NEW-PARAGRAPH BG
Note: I used command "NEW-PARAGRAPH" and had exactly the above code in se71. Anything missed here? Pls. help. Thanks.
#2.) Paragraph Format > Tab
No. -
Tab Position -
Alignment
1 8,00 CH LEFT
2 28,00 CH CENTER
etc.
Note: and then i put in ",,&TTXIT-TDTEXT&" (see above) with the 2 comma's beforehand to say that its on the 1st tab or at the 8th character where it should be printed, but does not give intended result... pls help.
#3.) Paragraph Formats > Standard Attributes
Left Margin - 0 cm
Alignment - Left
no blank lines checkbox - ticked
Note: Is there any more attribute i can manipulate from here to force display at the right position?
Thank you so much in advance for all your help. Our project team will really appreciate it. May the Lord bless you as we go through our SAP work!
Sincerely,
CelesteHere's a thought, instead of using tabs, try writing a method that takes a string that is the starting string, a pad character, and a length and returns a string padded to that length with the specified character.
public String padR(String src, String padChar, int len)
// ... You get to fill in the rest suggestion try to do it without a loop
}Have fun,
PS. -
Hi All,
Please let me know how to create a paragraph format in sap scripts.
I tried to create a paragraph format, because there were some tab space issues with the old paragraph formats.for this at the header level I clicked on paragraph format and edit on application tool bar,but create a paragraph was disabled.
Please help me out.
Thanks in Advance,
PraveenHi,
This happens when your program is not actually copied to Current client language. For example English. This is can be solved by following the procedure mentioned.
1. Make sure that the program is copied into your client in the current system language.
2. Open the Script in SE71. Click <b>UTILITIES->CONVERT.ORIG.LANG</b>. Screen will pop up. It displays the orginal language of the script. Change the language to "EN' (assuming EN to be the current language). Now save and try to create the paragraphs.
Regards,
Vara -
I notice how tab spaces in tab script don't follow the paragraph formatting i set once the line is long enough for two rows.
Any ideas on how to work around with this?Hi,
refer How to use tabs in SAP Script !
Using Tabs in Sapscript
Thanks,
Chandra -
TAB in paragraph format for Script
hi,
i am doubt with the tabs for paragraph format in the script. how actually it work? i try to make change on the tab, but some time even i put a larger value, the space in the output will become smaller, can anyone explain to me how the tab actually work?
thanksThanks you very much.
but one more question, let say, if i have 3 tabs for an output.
HARLO,,MY,,WORLD,,!
any i configure the tabs as, 20, 30,15 all in CH
so after the "HARLO, it will have 20 CH of spacing, follow by "MY", 30 spacing, and 'MY" 15 spacing, end with "!"?
it this the way it works?
or it works in accumulate way, which include the text display as well?
i found in the forum, say that, it will fix the length of a field( if i display a field), even there is no any value in that field. so how does it work on this?
alot of question very thansk for the temper. -
Hi experts,
I am working on script.I have to display the output in below format
LABEL
FIELD1
FIELD2
I have created one window and assigned it to one paragraph format but my out put is not coming in desired format.please clarify how to use TAB in a paragraph,what is the meaning of ,,
Thanks in advanceHi abhishek,
USE of Tabs:
The use of Tabs in Paragraph format is to separate the two texts. Suppose see for paragraph format P1, the tab space u have assigned is say suppose 5cms.
In the script, consider in any of the window you have given like
P1 Text1,,Text2
In the Form Output,
the Space between text1 and text2 will be 5cms like given below:
Text1 Text2.
So here ,, will take the value 5cms which comes from the paragraph format p1. Suppose u didnt give any paragraph format and given tab as given below:
Text1,,Text2
Here ,, will take the normal tab space value.
Solution for your Question:
To print in the below format:
Label1
Field1
Field2
give the code in the se71 as given below:
Label1
&wa_f1&
&wa_f2&
Please if you got any more douts, reply back.
Please Reward Points if useful.
Thanks,
karthik -
Problem in creating new/changing paragraph format in sapscript
hi,
i am developing new sapscript form
based on standard sapscript : SD_PICK_SINGLE .
The problem is that I neither can't create new paragraph format in se71
for this form nor change an exist paragrapf format .
does anyone encountered such a problem
and can help me solve it ?
amiHi,
You have copied the Standard Sapscript, but i think you have not converted the Original Language "DE", as the standard one will be in "DE", so it is not allowing you to create new paragraph format or any changes.
Open the copied Zform in DE language, Click on Menu> Utilities> Convert original language,
Give From = DE
To = EN
Save and Open the Same Zform in EN language and do any modification.
Regards
Bala Krishna -
Unknown Paragraph format warning in SAPSCRIPT
Hi All,
I am getting 2 different warning messages in SAPScript.
1. Unknown Paragraph format <PF_Name> even though the paragraph format is defined properly in the Script.
2. Include expansion not possible, as at least one parameter is a symbol, even though the Standard test exists.
Can anyone please help?
Full reward points will be awarded for helpful answers.
Thanks,
NabaThe second warning is probably due to a statement something like,
/: INCLUDE &TEXTNAME&
As the SAPscript checker cannot find the name of standard text it cannot be certain it will exist. Provided the variable is populated with a valid name at runtime there will be no problem.
The message can be ignored.
Regards,
Nick -
Paragraph Format / Character Format for Variable address in SAPSCRIPT
Dear All,
I am trying to print variable address for ship-to-party. But the address is variable address for different vendors.
The contents like
/: ADDRESS PARAGRAPH AS
/: TITLE &LFA1-ANRED&
/: NAME &LFA1-NAME1&, &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&
/: STREET &LFA1-STRAS&
/: POBOX &LFA1-PFACH& CODE &LFA1-PSTL2&
/: CITY &LFA1-ORT01&, &LFA1-ORT02&
/: POSTCODE &LFA1-PSTLZ&
/: COUNTRY &LFA1-LAND1&
/: REGION &LFA1-REGIO&
/: FROMCOUNTRY &T001-LAND1&
/: ENDADDRESS
My question is, How to assign Paragragh format or character format to the above code?
Your reply will help alot..
Thanks and waiting
Regards
Anukulhi,
in ur code u already gave
/: ADDRESS PARAGRAPH AS goto paragraph formats n define or make the required changes for the paragraph format AS.
click on character formats n define/change the character formats as breakpoint has mentioned. -
Multiple character formats in a paragraph format
Hi. I've searched the general discussion and did not find this issue.
I have one paragraph format called Bomb that consists of a Wingding character (M) in the Numbering tab that prints a little black bomb in a side head. I combine with format with two other paragraph formats called Caution and Warning. These formats are in column and use a red, bold autonumber (CAUTION, WARNING) followed by a couple of spaces--the text goes immediately after the spaces.
My bosses now want the bomb symbol and the CAUTION/WARNING word in the side head, with the text in column. I can't see how to combine that Wingding character with the regular Verdana word. I had to do something similar with my Note format, except that I put the word "note" by itself as a side head and created a format to follow it called NoteAft for the text.This way, I have a line with the Note format, followed by a paragraph return, then the NoteAft format for the text.
I'd rather not have to use three formats to replace the existing two for Caution/Warning, so I hope y'all can help me figure out how to handle this thing.
I appreciate your suggestions! BTW, I'm using FM 7.2 but will want to switch over to 9.0 when my bosses agree.
Dimi EveretteOK, I managed to answer my own question!
Bomb para format: tab at 0.2 cm (not sure that's required...), Next Para tag is CAUTION; default font is Verdana; Run-In Head with no default punctuation; Numbering tab has Autonumber format checked, M in text field with Wingdings char format; defaults for Advanced and Table Cell tabs.
I press Return and CAUTION appears.
CAUTION para format: no tabs, Next Para is NoteAft; default font is Verdana; Side Head--Alignment: First Baseline; Numbering tab has Autonumber format checked, CAUTION in text field with RedBold char format; defaults for Advanced and Table Cell tabs.
I press Return and type the text of the CAUTION in the NoteAft style.
I'm going to change that Para tag to BombCaution and create another para tag with for BombWarning and be set! Of course this won't work unless your master page uses a column with room for side heads.
If you know of something more elegant, please pass it along.
Dimi -
Simple question in Paragraph format / Chracter format of FORMS?
Hello
I am enhancing a existing custom SAP Script by appending an additional line to a my_static_text (its not a standard text, it kept inside the SAP Script as a static text).
The current text looks like below,
existing text 1
existing text 1
After adding my addiitonal line, the text looks like below,
existing text 1
existing text 1
my additonal line
My requirement is, REDUCE the SPACE between the WORDS of a line, it should look like below
existing text 1
existing text 1
my additonal line
I checked paragraph format's FONT, but, not getting any clue that What & Wher i should make change to either paragraph format or character format? is it OUTLINE or is it LINE SPACING?
Thank youHi
The spaces can be set by pressing the keyboard for the space of course, but if you need the texts of the lines are stacked it's better to use the TAB.
The TAB are insert by a double commas ,,
So
existing text 1
existing text 1
If the tabs are used here, you can see them in the sapscript:
existing,,text,,1
existing,,text,,1
So how the text is written?
Max
Edited by: max bianchi on Oct 5, 2011 5:08 PM
Maybe you are looking for
-
Hi, I had a unique requirement for F110, One of our client wants to pay bills which are getting due on 30/06/2008 and this process will be carried out for another 30 days or so (i mean till 15th-Aug-08). During this period they might also enter Vendo
-
I just purchased an IPad 2 for my daughter. I connect to wi-fi at home and nothing happens, no internet, no facebook, no safari, no itunes, no connection. I t keeps telling me no internet connection. It connects to wi-fi at my work and public plac
-
Selecting PM order according to status in report
hello we are writing a report in which we need to select PM orders according to several parameters, one of which is a specific User Status. I see that there are many tables containing statuses, like TJ20, TJ30, and plenty of others but I cannot find
-
How to get bean's property value ?
Hi all, Hi I'm using JSF 1.2 How can I get and set session bean's property value in request bean action method ?
-
Hello gurus, I would like to know how i can create new status like "open" on sts. Thanks in advance, Vitor Ramalho