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?
thanks
Thanks 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.
Similar Messages
-
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 -
Use of "Next paragraph same page" check box in paragraph format of SCRIPT?
Hi Guys,
What is the use of "Next paragraph same page" check box in paragraph format of SCRIPT?
Don't Send me the F1 help ....i am not clear with that help it is quite confusing.
Provide example if possible.
Solutions will be rewarded.
Regards,
GURUHello.
You probably know the idea of PROTECT command. It makes that a paragraph wont break in two. If it fit's totaly in one page it will print in that page. If not, it will print totaly in the second page (won't break at the middle).
The checkbox you are asking, makes the same with two paragraphs. This means that if you have paragraphs A and B (A becomes first) and if paragraph A has that option, the next paragraph won't break, and appear in the second page. If paragraph A is in first page, paragraph B will print in first page too, or they will both print in second page.
Try it.
Best regards.
Valter Oliveira. -
Using paragraph format for long text...
Hello,
When I try to print the long text using include then
it starts printing from the very first line.
But I want to use some paragraph format for it. How can I use it because I am using
/: INCLUDE '200007200000100' OBJECT AUFK ID KOPF
So where do I mention the paragraph format in the tag column becaue I am already using /: controll command in font of the include ?Check this thread...
SAPScript - Standard Text
It looks like the PARAGRAPH P2 statement can do that declaration, on the subsequent line.
This website also has some good examples:
http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
Cheers,
John -
Use two different paragraph formats for one element
Hi,
I think this is really simple, but I don't get it.
I have an element with the name "Step" and I have two paragraph formats for this element. Both for numbering. I use one of these formats to set the numbering back to one, so I can start with number 1 anywhere I want, so I think there is noch real context rule for this case. How do I declare this in my EDD? Is it possible to say my EDD that it is possible to use both.
Thanks.Dokuteam,
In most cases I have seen context rules using the sibling indicator { first } to handle the start of numbering.
If you want to be able to control restarting of the numbering anywhere, you can add an attribute to the element, like restart = yes | no with "no" being the default value. Then your context rule would use an attribute indicator similar to
If [restart = "yes"]
use PgfFmt1
Else
use PgfFmt2
- Michael -
hi experts,
in scripts, in paragraph formats we have a tan called "outline".
can any one help me to know abt that. plz give me what is the purpose of it, n how to implement that one. i mean how to use it.
thanks in advance for ur responce.hi
good
The paragraph numbering and marking attributes are used to structure texts into chapters, subchapters, and sections. Numbering is carried out automatically by SAPscript.
You can create an outline with the entry options available:
Outline
Enter the name of the highest-level paragraph in an outline hierarchy here. The outline hierarchy is created by assigning this paragraph to all outline paragraphs.
Outline level
Enter the level in the outline hierarchy. The outline levels of the paragraphs are numbered upwards from 1; the highest outline level therefore has the outline number 1.
Number margin
Specify the space between numbering and window border. Note that your numbering may extend into the text area of the paragraph if the difference between the left margin and the number margin is not great enough to hold the numbering characters.
Left/right delimiter
Specify the character that precedes or follows the numbering.
Number chaining
Specify whether you want the paragraph numbering of the paragraph to be preceded by the numbering of all higher paragraphs in the hierarchy.
Example for number chaining
with without
3. 3.
3.1 1.
3.2 2.
3.2.1 1.
Character string
Specify the numbering format. The numbering can be assigned a different font or character format to the rest of the paragraph.
Numbering type
ARABIC
Arabic numerals: 1, 2, 3.
CHAR Fixed character: letter or numeral, entered in the field
LETTER Letters: A-Z
ROMAN Roman numerals: I, II, III, IV
Depending upon the numbering type that you select, the following attributes may also apply:
Fixed character
Define the fixed character to be used for numbering. You should only make an entry in the field Fixed character if you have specified CHAR as the numbering type. Fixed characters include + - and o .
Output length
Enter the number of characters for Arabic numerals.
Upper case
Specify for letters or Roman numerals.
check this link hope this will help you to solve your problem.
http://abapprogramming.blogspot.com/2007/11/sap-script-controls-2.html
thanks
mrutyun^ -
Paragraph Format for Notes, Tips & Warnings With Graphics
I have been reading Publishing Fundamentals and it says you can create a paragraph format that uses the Frame Above Pgf & Below Pgf and Graphics Frames to create a Paragraph Style for Notes, Tips, Warnings, etc. that includes lines above and below and a graphic to the side.
I am attaching a FrameMaker file that shows what I have been able to accomplish and also shows what I really want. To look at this file, save it and rename, dropping ".text" from the file name.
I am using FrameMaker Version 8.0p277 (the Technical Communications Suite version). My colleagues all have FrameMaker 8 (not the Tech Comm Suite version) and I need to share my template with them.
I appreciate any and all suggestions,
CherylCheryl Bowsher wrote:
I have been reading Publishing Fundamentals and it says you can create a paragraph format that uses the Frame Above Pgf & Below Pgf and Graphics Frames to create a Paragraph Style for Notes, Tips, Warnings, etc. that includes lines above and below and a graphic to the side.
I am attaching a FrameMaker file that shows what I have been able to accomplish and also shows what I really want. To look at this file, save it and rename, dropping ".text" from the file name.
I am using FrameMaker Version 8.0p277 (the Technical Communications Suite version). My colleagues all have FrameMaker 8 (not the Tech Comm Suite version) and I need to share my template with them.
I appreciate any and all suggestions,
Cheryl
Hi, Cheryl:
Search Google for "siliconprairie autotext" (without quotes) for an inexpensive tool, and "reficons" (without quotes) for a free tool. They both are useful for this kind of thing.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
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 -
Not able to create new paragraph format for copied layout of WESCHEINVERS3
hi all,
Iam facing one of the pecular problem I copied WESCHEINVERS3 into Zlayout from client 000.
when i tried to create new paragraph format I found the create element greyed out I have never seen this issue earlier.
May I know why the menu path paragraph->EDIT->create element is greyed out.
thanksHi,
U can create new paragraph formats, windows, character formats etc., only in original language of the FORM.. I guess u were trying to create a new paragraph format in 'EN' but the original language of form 'WESCHEINVERS3' is 'DE', so u can create the new paragaraph format in the copied Z form only in DE language.
Try to open the Z FORM in DE and create the Paragraph format...
Hope it helps!!
Rgds,
Pavan -
Error in setting up page format for Script.
Hi,
I have set up a customized page format.
I set up Page format, Format types and Device types.
I have throughly checked wit the other working formats, everthing seems right..
Page format : zmed_po - Portait
Format type : zmed_po
Error - No Printer font maintained for ZMED_PO.
Please help me out.
Cheers,
SamHI Sam,
For this u need to setup the printer at OS level. There u need to setup the fonts and etc.. related to the printer. I hope this is eror from OS level...
regards
reghu -
What is code for to open a pdf format for scripts and smartforms
hi
experts
can we help for thisHi Raviteja,
Here is the code for converting a smartform into a PDF File..
DATA: BIN_FILESIZE TYPE I,
BIN_FILE TYPE XSTRING,
T_OTF LIKE ITCOO OCCURS 200 WITH HEADER LINE,
T_DOC LIKE DOCS OCCURS 200 WITH HEADER LINE,
T_LINES1 LIKE TLINE OCCURS 200 WITH HEADER LINE,
T_FINAL_PDF LIKE TLINE OCCURS 500 WITH HEADER LINE,
filename TYPE string VALUE 'EXP.pdf',
path TYPE string VALUE 'C:\DESKTOP\..',
fullpath TYPE string VALUE 'C:\DESKTOP\PDF\EXP.pdf',
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
use_otf_mc_cmd = 'X'
ARCHIVE_INDEX =
IMPORTING
bin_filesize = bin_filesize
TABLES
otf = t_otf
doctab_archive = t_doc
lines = t_lines1
EXCEPTIONS
err_conv_not_possible = 1
err_otf_mc_noendmarker = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
LOOP AT t_lines1 INTO t_lines1.
APPEND t_lines1 TO t_final_pdf.
ENDLOOP.
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
default_file_name = 'EXPO_INVpdf'
prompt_on_overwrite = 'X'
CHANGING
filename = filename
path = path
fullpath = fullpath.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = bin_filesize
filename = fullpath
filetype = 'BIN'
append = 'X'
IMPORTING
filelength = bin_filesize
TABLES
data_tab = t_final_pdf.
IF sy-subrc EQ 0.
MESSAGE s018(zmsg) WITH 'PDF Generated Successfully'.
ELSE.
MESSAGE s011(zmsg) WITH 'PDF Not Generated !!!'.
ENDIF. -
Regarding Paragraph format in SAP Script
Hi SAP Gurus,
Can any one please tell me the use of TABS in paragraph formats in SAP Script.
Thanks & Regards,
Pavan Bandaru.Hi
first you define you tab in paragraph formats.
whene you must use this pharagraps you
just insert double comma before the text.
,,&matnr&
attention because if you define more than a tabulator il will take the tabulator in sequence.
,,(1st tab)&matnr&,,(2nd tab)&matnr&
if i define a tabulator of 2cm and another of 3cm and you insert 4 comma
,,,,&matnr&
it will take the summ of the two tabulator. -
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 -
Hi All,
i am working wiyh the scripts ,
I am creating appointment letters, My problem is that
i am using BLOCK alignment in my paragraph format for proper justification, When i am using SAP
standard fonts it is giving me proper output, but when i am using Z-fonts pirntpreview is perfect but while printing left alignment alignment if ok but right alignment is disturbing.
it is happenig for z-fonts, i think it is happening b'coz i have not uploaded it for printer font perfectly
Plz Suggest,
Thanks in advanc,
Regards,
Paresh G.Please post the solution how did you solve and what was the exact issue so that if anyone faces the same problem in future they can easily find answer from your post.
Regards,
Lalit Mohan Gupta. -
Default paragraph format in SMART FORMS
Hi all!
Can we mention default paragraph format for SMART FORMS? How can we do that?
Please suggest.Goto FORM attributes of your smartform and insert your smart style in output options tab.. before inserting your smartstyle you should create a smart style and create a paragraph format in your smartstyle in header data of smartstyle it ask for standard paragraph(i.e default paragraph)...
Close rge thread once your question is answered.
Regards,
SaiRam
Maybe you are looking for
-
Satellite U400-15E - Upgraded to Windows 7 32-bit now NO sound through HDMI
I upgraded from vista to windows 7 32-bit, now i have no HDMI device shown under playback devices, i have installed new windows 7 drivers but still no luck. Under device manager/sound a HDMI device is shown as enabled and when connected to an externa
-
When I open Itunes it displays only on 1/2 of my computer screen, is there away that I can make it display on my full screen, check the full screen window function does not do anything, all my other's display fine it's just I tunes " Help"
-
Using Javascript to Confirm A Transaction
I created a form for a user to update/delete the rows in a table, when the user click the "delete" button, I'd like to add a piece of Javascript to confirm with the user whether he was sure to delete. It looks like this: confirm("Are you sure you wan
-
How do I get the playlist in shuffle to play in sequential order rather than alphabetic?
How do I get the Shuffle to play in sequential order not alphabetic order ?
-
EXPERT I have selected the BI and EP Netweaver unit duning IDES ECC6 unicode installation with double stack ABAP + JAVA. IDES has been installed successfully but i didn't find the BI-Content in the component list. is there any reason ? or need to add