Character format on include text in smart form ??
hello,
i want to apply a character format on my include text, as we do on text elements .. how to apply it on include text ??
thanks..
Hey dude ,
Just go to the <b>output option</b> of the text and include the smartstyle, where you have mentioned the required charecter format. Before doing this you should have activated your smartstyle .
Your problem will be solved.
Regards,
Kunal.
Similar Messages
-
Regading Including Text in Smart forms
Hi gurus,
In vf02 they are giving some text . that text is going and saving in STXL table. I want to include this text in smart form.
After choosing include text in General attributes. I am giving
text object is vbbk
Text id is time
language en
but i don't know what i want to give in text name.
so plz help me.
S.Murali Naidu
Edited by: Murali Sreerama on Feb 6, 2008 10:12 AMHi,
Please use this code:: (reward pts)
DATA gt_text LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: gt_lines.
REFRESH gt_text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'your text id'
language = sy-langu
name = your billing doc no
object = 'your obj id'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = gt_text
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CLEAR: gt_line7,
gt_lines.
then to display that
LOOP AT gt_text.
IF NOT gt_text-tdline IS INITIAL.
CONCATENATE gt_line gt_text-tdline INTO gt_line SEPARATED BY space.
ENDIF.
ENDLOOP.
Edited by: rohitaash sharma on Feb 6, 2008 10:22 AM -
Hi,
I m converting Sap-script into smart form.
In SAP-script "Header'' window contain code like that:
/: INCLUDE &T024E-TXKOP& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PARAGRAP >
I need to use this logic in my Smart-form "Header" node.
Plz tell me how can i use this logic without any error.
It's very urgent.
Thanks & Regards,
Gaurav.Hello Gaurav,
You need to create a text element for this. In the text element type, you have a drop-down where you select include text.
There are corresponding boxes for OBJECT & ID where you type in TEXT & ADRS respectively.
You gotto define 2 global variables: V_TXKOP & V_SPRAS which you have to populate from T024E & EKKO respectively.
In fact its much easier than SAPscrits. In case of any issues do let me know.
Regards,
Suhas -
Undeline text in Smart forms character/paragraph format
hi!!!
i have a problem in printing a Undelined text in Smart forms bec. when i print it, only the words is underlined and the spaces between the words dont have underline.
can anybody help me?
thanks in advance!!!
jamesHi Mohamed,
SmartForms and WebDynpro are two different technologies
- You can not do PrintPreview in WebDynpro.
What You could do is to store Your text using SAVE_TEXT and use text module in SmartForms,
but You can't use printer, but i.e. store PDF on the server or send PDF using mail.
Regards,
Przemysław -
Hi,
can anyone tell me how to include standard text in smart form
ThanksProcedure
1. To create a text node, call the context menu for that node in the tree structure that shall
receive the text and choose Create Text.
2. Enter a unique name for the node and a node description (for example, letter).
3. On the General Attributes tab choose Include text as text type.
Since you edit a text element, an included text, or a text module exclusively via the
text node, the system stores only information on the selected type. When you
change the text type, the system therefore asks for your confirmation.
4. In the Text key box, identify the include text.
To identify individual text objects, use the search help in this field.
The search help of the Text name field allows you include the attributes of SAPscript
texts into the search.
7. If required, use the Paragraph formats box to format the include text:
The style assigned to the text node contains a format for the standard paragraph ('*'). If you enter a paragraph format in the Standard paragraph field, this format overwrites the style format for all standard paragraphs in the include text that use this paragraph format.
Use the First paragraph field to set a paragraph format for the first paragraph of the
include text. This format also overwrites the format set in the style. If you set the First
paragraph field but leave the Standard paragraph field empty, the system uses the
format set in the First paragraph field for any standard paragraphs in the include text.
6. In the Text node box choose whether you want the text to start in a new paragraph, in a new
line, or directly at the end of the current paragraph.
7. If desired, choose the Output Options tab to maintain the style or box and shading
of the text.
Result
The system displays the node in the tree structure, including its name and description. The
included text is included only at the moment the form is processed.
Regards -
Purchase requisition header text in smart forms
Dear Experts,
i want to pick the header text in smart form from purchase requisition ( Transaction code me52n).Can any one tell me from which table i can find out the header text of purchase requsition. please tell me table name objectid for include.
Thanks in advance.
Regards
Maqsood AhmedHi,
Go to the screen where the long text is placed, From menu bar go to the header you will get the Object details.
Use FM READ_TEXT by passing those object details you will get the text.
Have a look in this link to use READ_TEXT
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/abap+general&
Regards,
Satish -
How to get item text in smart form
Hi ABAP Gurus,
i want to know how to get the item text in smart forms procedure i know but the logic where to define the variable ect.
code to get item text in purchase order.Hi
Smartform itself have a functionality to get
Item Text
create a text
change the Text Type to include type
der in u pass the required entery in the same way how u pass to read text entry
Text Name &ZXEKKO-EBELN&
Text Object EKKO
Text ID F03
Language EN
with Regards
Rohan Shetty -
How to include text in Adobe Form
Hi all,
I am using adobe designer of ABAP workbench to design PDF form. Anyone has idea of how to include text in the form as what we often do on SAPSCRIPT and smarforms?
Thanks in advance.hi,
Got exact solution from this link - http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/400f06f3-cc2c-2c10-77ab-a98d2cfc194c&overridelayout=true
Regards,
Vinod -
Hi ,
Im using the standard text in smart forms, but Im getting the output displayed as hexadecimal numbers. These are the hexa characters stored in the "SO10" transaction for the standard text name.
I try to display a signature stored in standard text.
But when used in SAP scripts I get the content displayed correctly.
Can someone help me to display the content in smart forms as such.
I searched the forum for the solution I got some results for the search but I did not get the solution for it.
Points will be rewarded for helpful answers...
Rgds,
Sarath.
Message was edited by:
Sarath kumar ChandrasekharanRama,
The problem is the signature is in standard text.
Message was edited by:
Sarath kumar Chandrasekharan -
How to allow, user to enter the free text in smart forms and Drop Down list
Hi Experts,
How to provide the user to enter text in smart forms? ie Once the smartform generated, there the user allowed to enter text.
And also is there any option to provide Dropdown list in smart forms.
Possible give with example with clear idea.
Its very urgent!!!!
Thanks in Advance!!!Hi!
No, there's no way to it, because Smartform is just like a piece of paper, it can't handle any objects, after it is ready.
It can be printed out/archived/sent on email as an attachment and that's all. It cannot be modified after it is completed.
Regards
Tamá -
Background colout to text in Smart forms
Hi Folks,
I have a requirement to take colored print out from Smart forms. I have to assign background color to the text in Smart Forms. Is it is possible? If yes, then how it can be done?
Thanks in Advance,
PunitHi Punit,
Yes definitely it is possible to do so. Just follow few steps mentioned below
1. Select the text node for which you want the background color.
2. Click on the output tab.
3. In the shading option, choose the color yuo want in background.
4. save activate and thats all..........its done..
Let me know if you ave any prob in this..
Enjoy SAP.
Pankaj Singh. -
Text formatting in FSCM correspondance using smart-forms
Hi Experts,
We are using FSCM correspondance functionality with smart-forms in our project. As per requirement, we need to have some text in italics and bold. We have used paragraph format/ character format in smart-form to get the same. When we trigger correspondance, print preview looks fine. But, when we receive actual mail with attachment as .PDF of the smart-form, we are not able to get characters in italics. Bold is working for us but, not with font ARIAL. Our requirement is to use ARIAL font only.
If someone has already worked on similar requirement, please share your experience with me. Or please provide some pointers to look for. Any input will be highly appreciable. Thank you in advance.
Gouri.I'm not sure if SmartForms support the Arial font. You can look for notes on this. Helvetica is almost the same and is supported. So this is what I generally use.
Rob -
How to perform a character protect when using include text in Script form?
In my main window I have code as below:
INCLUDE &GS_EKKO-EBELN& OBJECT EKKO ID F19 LANGUAGE EN
INCLUDE &GS_EKKO-EBELN& OBJECT EKKO ID F19 LANGUAGE ZH
There is nothing wrong with language zh but...
For English,Every word at the end of line was splited
EG:In text,It should be "I hate Sap script"
But it is "I hate sap scr
ipt"
I noticed that there is a protect in character which is used to prevent this,But text included is a command so I can't give them a character format.In default paragraph format there is only "para protect" which can't protect word but paragraph...
I don't want to code in abap because I have static text and included long text appear alternatively,if coding,I will use so many text element one by one to loop the tdlines...
So,If anyone can help me?
Thanks~Thanks but
If append tdlines...It would be
/e Text element1
xxxxxxxxxx
/e tdlines1
loop tdlines
/e text element2
xxxxxxx
/e tdlines2
loop tdlines
/e text element3
xxxxxx
/e tdlines3
loop tdlines
Too many text element....
Is there any other solution...? -
How to control formatting of include text in smartform
Hello Everyone - I have converted sales order acknowledgements from sapscript to smartform. I need to print material sales text at line level. Include text method is being used, it works in most cases. However, in some cases the Std Paragraph format coded in the include text, is being ignored and the text prints as per default standard paragraph format defined in the smart style.
The only difference I could find in the text set up, using read_text function, is that the format character for the first line. The desired formatting is achieved when the formatting character is '*', otherwise the format defaults to the standard default paragraph defined in the smart style.
Could anyone suggest if there is a way to keep the paragraph formatting consistent and always use the formatting defined in the include text.
Thanks in advance,
AnilI have resolved this issue. The include text node was defined twice for the form and I had only assigned standard and first paragraph to one of them. The alignment error occured when the second include text was executed. Modified the second node to be same as the first and all worked as expected.
-
Urgent -- using Standard text in SMart forms
Hi Techi's.
I have created a standard text using SO10 , and included the same in smartform.
But the requirement is , i need to change the format of the standard text with my own style, so i craeted a Smart style with relevant Paragraph and Character formats.
Plz help me out in linking the STandard text with the smart style.
I know how to include smart style in smart form, but the issue is "how to include Smart style for the created Standard Text ".
Urgent and helpful answers will be rewraded.
Regards,
Naveenhi naveen
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
regards
ravish
<b>plz dont forget to reward points if helpful</b>
Maybe you are looking for
-
Installing Adobe Photoshop Elements 1.0.1 on Windows 8
I can't install Adobe Photoshop Elements 1.0.1 with Windows 8. The setup program shows the message "You need install Internet Explorer 4.0 or higher". What can I do?
-
Need Help w/ error message...​..
My blackberry curve 8350 is showing error message 561constantly...Seems the desktop software isn't reading my phone either to reload software...what else can I do?
-
Hi, I am trying to create a choose from list that opens the list of check register Like in the Chek register selection criterea form( Form 603 ). I found in the BoLinkedObject the check of paiment ( BoLinkedObject.lf_CheckForPayment ) but not the che
-
Impact of Changing Dimension Hierarchy
I know this is done all the time - but wanted to double check - my client wants to change the hierarchy of a dimension (Hyperion Planning) significantly. Needless to say, that dimension is used in forms and reports - including in the page views. They
-
please help me i