How create a Paragraph in Smartform?
Hi,
How do U create a Paragraph in Smartforms?
Thanks,
Kishan
Hi,
First GOTO SMARTSTYLE,
1.In change mode of the Smart Style, select the node
Paragraph Format and choose Create.
2.In the Paragraph Format field enter a two-character
paragraph key.
3.Select the desired attributes on the individual tabs.
4.Choose Activate.
Also Check this link,
http://help.sap.com/saphelp_erp2004/helpdata/en/8a/8c8a49def411d3969600a0c930660b/frameset.htm
Hope it helps u.
Thanks&Regards,
Ruthra.R
Similar Messages
-
How to create Dynamic Window in Smartforms
Hi all,
Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
Thanks in Advance.
Vinay.hi,
Hi,
1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
company -code = '2201'.
2.Then that window can trigger ofr that condition.
3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
reward me if helpful. -
How to create Event Node in smartform
Hi Experts,
could you please tell me how to create event node in smartform
Thanks in Advance,
Thanks&Regards
GeethaHI,
plz explain your problem in deeply.
And as per me you first create page and righ click on it
Then create window as per your requirement.
if you want to put condition ot events true or false Righ click on your window
then goto flow logic -> Altenative
You can found 2 events in Condition.
So you can assign this events.If you want to put condition or event on test then goto Text here in General Attributes in bottom side you can find even on page.
Try it. -
How to create a hyperlink in smartform
Hi All,
How to create a hyperlink in the smartform text editor so that when we click on that,we should be able to open the internet explorer.I have tried with the option insert URL.But still its not working.Do we need to do any further settings along with this?
Thanks in advance
Regards,
AkankshaHi,
check this:
http://help.sap.com/saphelp_47x200/helpdata/en/03/7560eccf0d11d3b565006094192fe3/frameset.htm
Create hyperlink in SMARTFORM
How to create a hyperlink in smartform
Create hyperlink in SMARTFORM
Re: URL in SmartForm sent as email body
Don't forget to reward if useful -
How to create multiple mainwindows in Smartform?
hi
i'm using ECC 6.0. how can i create multiple mainwindows in Smartform?Hi,
1.It is not possible to create multiple main windows in smartforms.
2.Only one main window is possible to create in smartforms.
Regards,
Shiva Kumar -
How to Create a Table in SmartForms...?
Hi,
I want to create a table in smartforms. can u tell me the procedure....?You can create a table type in the abap dictionary and then use it as type for the table in the global interface of the smartform.
-
Hi,
Is there anyway of using GREP (or some other magical wizardry) to create a paragraph style that automatically removes all spaces and forces words into lower case?
Strange request i know....I'm wanting to use it for datamerged email addresses.
Thanksso doing it through InDesign is a work around I'm exploring.
Excel has the 'LOWER' function and the ability to record macros for a quick find/replace on the spaces - so that's definitely a good option if it can't be solved purely in InDesign.
You can change case via scripting in InDesign. This AppleScript (OSX only) will set the case of the selected paragraph style to lower. It would be possible to add some code that would strip spaces as well:
tell application "Adobe InDesign CS6"
activate
set StyleList to name of every paragraph style of active document
set myDialog to make dialog with properties {name:"Document Paragraph Styles"}
tell myDialog
tell (make dialog column)
tell (make border panel)
tell (make dialog column)
make static text with properties {static label:"Choose a Style", min width:150}
end tell
tell (make dialog column)
set myPresetsDropdown to make dropdown with properties {string list:StyleList, selected index:0, min width:150}
end tell
end tell
end tell
end tell
set myResult to show myDialog
if myResult = true then
--+1 gets the correct name because list starts at 0
set myStyle to item ((selected index of myPresetsDropdown) + 1) of StyleList
else
return
end if
destroy myDialog
tell active document
set myStyle to paragraph style myStyle
repeat with j from 1 to (count stories)
repeat with i from 1 to (count paragraphs in story j)
if applied paragraph style of paragraph i of story j is myStyle then
--defines a variable to replace the generic this_text parameter in the handler
set SCText to the contents of paragraph i of story j
set contents of paragraph i of story j to my change_case_of(SCText)
end if
end repeat
end repeat
end tell
end tell
on change_case_of(this_text)
set the_comparison_string to "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
set the_source_string to "abcdefghijklmnopqrstuvwxyz"
set the_new_text to ""
repeat with thisChar in this_text
set x to the offset of thisChar in the_comparison_string
if x is not 0 then
set the_new_text to (the_new_text & character x of the_source_string) as string
else
set the_new_text to (the_new_text & thisChar) as string
end if
end repeat
return the_new_text
end change_case_of -
Dear All
how to format paragraph string to show content left, Right or middle of pdf document using iTextsharp in visual basic and absolute position on the document.
ThanksHere is one more example that i have modified the GetCell function so that you can use it for adding all the cells to the document. It takes several arguments to specify everything you need to create each cell. It now lets
you specify the Text, the Text Alignment, the Text Font and color, weather the cell shows the Border, the BackColor of the cell, and the Padding values for the Left, Right, Top, and Bottom.
If you study the code you should be able to figure out how it works. From here you can figure out the rest of what you need to do and how to use the
GetCell function.
With one quick google search for "iTextSharp Documentation" the first link to pop up was this link.
iTextSharp Documentation
Imports System.IO
Imports Its = iTextSharp.text
Public Class Form1
Private dt As New DataTable
Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
dt.Dispose()
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
dt.Columns.Add("Name")
dt.Columns.Add("Age")
dt.Columns.Add("Birth Date")
dt.Rows.Add(New Object() {"Johnny", "23", Now.AddYears(-23).ToString})
dt.Rows.Add(New Object() {"Frank", "41", Now.AddYears(-41).ToString})
dt.Rows.Add(New Object() {"Rex", "33", Now.AddYears(-33).ToString})
dt.Rows.Add(New Object() {"Kim", "26", Now.AddYears(-26).ToString})
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyPdfFilePath As String = "C:\TestFolder\MyPdf.pdf"
Dim pSize As New Its.Rectangle(Its.PageSize.A4)
Dim PdfDoc As Its.Document = New Its.Document(pSize, 10, 10, 10, 10)
Dim PdfImage As New Its.Jpeg(New Uri("C:\TestFolder\MyLogo.jpg"))
PdfImage.Alignment = Its.Jpeg.ALIGN_CENTER
Dim pTable As New Its.pdf.PdfPTable(1)
pTable.AddCell(getCell("Name : " & TextBox1.Text, Its.pdf.PdfPCell.ALIGN_CENTER, Its.FontFactory.GetFont("Arial", 15, Its.BaseColor.BLACK), False, Its.BaseColor.WHITE, 10, 0, 0, 0))
pTable.AddCell(getCell("Policy : " & TextBox2.Text, Its.pdf.PdfPCell.ALIGN_CENTER, Its.FontFactory.GetFont("Arial", 20, Its.BaseColor.RED), False, Its.BaseColor.WHITE, 10, 20, 0, 0))
Dim cTable As New Its.pdf.PdfPTable(dt.Columns.Count)
For Each col As DataColumn In dt.Columns
cTable.AddCell(getCell(col.ColumnName, Its.pdf.PdfPCell.ALIGN_CENTER, Its.FontFactory.GetFont("Arial", 12, Its.BaseColor.WHITE), True, Its.BaseColor.BLUE, 3, 5, 0, 0))
Next
Dim tblfont As Its.Font = Its.FontFactory.GetFont("Arial", 10, Its.BaseColor.BLACK)
For Each row As DataRow In dt.Rows
cTable.AddCell(getCell(row.Field(Of String)("Name"), Its.pdf.PdfPCell.ALIGN_LEFT, tblfont, True, Its.BaseColor.WHITE, 3, 4, 3, 0))
cTable.AddCell(getCell(row.Field(Of String)("Age"), Its.pdf.PdfPCell.ALIGN_CENTER, tblfont, True, Its.BaseColor.WHITE, 3, 4, 0, 0))
cTable.AddCell(getCell(row.Field(Of String)("Birth Date"), Its.pdf.PdfPCell.ALIGN_RIGHT, tblfont, True, Its.BaseColor.WHITE, 3, 4, 0, 3))
Next
Using fs As New FileStream(MyPdfFilePath, FileMode.Create, FileAccess.Write, FileShare.None)
Using pdfWrite As Its.pdf.PdfWriter = Its.pdf.PdfWriter.GetInstance(PdfDoc, fs)
PdfDoc.Open()
PdfDoc.Add(PdfImage)
PdfDoc.Add(pTable)
PdfDoc.Add(cTable)
PdfDoc.Close()
End Using
End Using
PdfDoc.Dispose()
End Sub
''' <summary>Creates a new cell for the table.</summary>
''' <param name="text">The text string for the cell.</param>
''' <param name="alignment">Alighnment for the text string.</param>
''' <param name="textfont">The font used for the text string.</param>
''' <param name="border">True to show the cell border. False to hide the cell border.</param>
''' <param name="backcolor">The background color of the cell.</param>
''' <param name="padtop">The amount of padding on the top of the text string.</param>
''' <param name="padbottom">The amount of padding on the bottom of the text string.</param>
''' <param name="padleft">The amount of padding on the left of the text string.</param>
''' <param name="padright">The amount of padding on the right of the text string.</param>
Public Function getCell(ByVal text As String, ByVal alignment As Integer, ByVal textfont As Its.Font, ByVal border As Boolean, ByVal backcolor As Its.BaseColor, ByVal padtop As Single, ByVal padbottom As Single, ByVal padleft As Single, ByVal padright As Single) As Its.pdf.PdfPCell
Dim cell As New Its.pdf.PdfPCell(New Its.Phrase(text, textfont))
cell.BackgroundColor = backcolor
cell.PaddingLeft = padleft
cell.PaddingRight = padright
cell.PaddingTop = padtop
cell.PaddingBottom = padbottom
cell.HorizontalAlignment = alignment
If Not border Then cell.Border = Its.pdf.PdfPCell.NO_BORDER
Return cell
End Function
End Class
If you say it can`t be done then i`ll try it -
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 -
How 2 transprot script to smartforms.
How 2 transport script to smartforms. send me the possibilities
Trx SMARTFORMS: Utilities->Migrate Sapscript Form
In this way the system'll create a smartform based on the original SAPSCRIPT, but it can only generate the sapscript parts: Text Element, Windows, pages .......
Best Regards,
Vibha
*Please mark all the helpful answers -
Create Text Module in smartforms
Hi guys,
How can we create text module in smartforms? and I need this to be translated into other languages...
Thanks a lot!
Always,
MarkHi,
In the smartforms initial screen you can find Test module radio button.
Provide the name and create the text there.
In the following screen you find Management tab, where bydefault translate to all language radio button is selected.
Thanks,
Phani Diwakar. -
How ti find the correspoding smartform?
hi experts,
I have an FM /1BCDWB/SF00000139 like this .How to find the corresponding smartforms name for it?
regards
maniHi
I understood your problem in your system generated Function module this is your smartform number 00000139 which represents to the particular smartform which u have created now. The system will identifies with this number 00000139 so in your report while calling for a smartform u can use this
Check in this tables U will get solution
STXFADMI
RS38L_FNAM
TCMS_SMT_FRM
Regards
Pavan -
Create section node in smartforms
Hi,
How to create section node in smartforms.
It is very urgent pls guide me.
Thanks in advance.
Ramakrishnaiah YHello there,
The complex section unites the attributes of different nodes. Before the new node types for tables, templates, and loops were introduced, you used complex sections to deal with these contructions.
Older forms still use this node; but for new forms you should prefer the new node types.
SAP Strongly recommends to use Folder, Template, Table, and Loop instead of complex section. We dont even have the option of creating section in ECC 6.
REWARD POINTS IF U FIND IT USEFUL.
RACH. -
In Pages (5.5.1) can I create multiple Paragraph Styles within one paragraph.
I need to make a table of contents for my Mater's Thesis and want to use the automatic table of contents feature. I want the first sentence of a paragraph to have a different paragraph setting than the rest of the paragraph. Is this possible?
Thanks!Nice of you to be doing this for your Mother's Thesis.
There are several issues here:
1. A Paragraph Style is what it says, the style for the paragraph
2. You can format text within a paragraph by applying a Character Style
3. Pages 5.5.1 lets you apply formatting to overall text for the T.O.C. but not parts of it and you can not retain that formatting as a Paragraph style
So in answer to your question, no.
You will need to create the T.O.C. manually and unfortunately as Pages 5.5.1 can't create bookmarks (just one of over 100 missing features) you will be unable to link the T.O.C. to the referred pages in the list.
Peter
Apple's marketing slogan:
Pages 5.5.1 - Can't Do That! -
In RSA Authentication Manager 7.1, how create multiple security domains
Hi,
RSA Authentication Manager 7.1 in configured with LDAP(Sun java system directory server); how create multiple security domains 7.1, is this security domains is releted to LDAP?
thanksI think what you need to do is create an identity sequence with RSA as the selection in
Authentication and Attribute Retrieval Search List and AD in Additional Attribute Retrieval Search List. Then select this sequence as the result in the identity policy for the service
Maybe you are looking for
-
10.9.4 excessive CPU usage
And now a strange case... Installed 10.9.4 but it became unusable because of excessive CPU usage. Reverted back to 10.9.3 but now the problem persists! Basically, if connect the Ethernet cable the CPU increases and temp raises from 45C to 95C. As soo
-
How 2 get the path of a file Using jsp
how 2 get the path of a file Using jsp i have tried getPath...but i'm geting the error The method getPath(String) is undefined for the type HttpServletRequest any idea how 2 get the path of a file
-
Wiki Server will not play embedded MP3 files in Windows Browsers
I have a brand new cleanly installed OS X Server running on a Fall 2012 Mac Mini. I have created a Wiki where I am uploading .mp3 recordings of classes for people to listen to online or download. I can access the wiki and "quicklook" the MP3s in Safa
-
Hi, I bought cisco valet connector about 2 weeks ago and it connects to internet fine but when I restart my desktop, I can not connect to wireless internet anymore worse thing is that whole house's wireless goes down because of me I had a discussion
-
i use this FM DATA: g_user_command TYPE slis_formname VALUE 'DOUBLE_DOUBLE'. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = l_program i_callback_user_command = g_user_command i_callba