INCLUDE TEXT IN SMART-FORMS
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
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 -
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. -
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á -
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 -
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. -
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> -
About writting text in smart forms
Hi friends,
I am currently working on ABAP 7.0 version and currently i am working on creating smart forms so in that i want to know that how to write heading in windows so i can display that text as a name of that window.
My mail id is: [email protected]
Thanx & Regards,
Rahul Taleleto display a heading for a window..
create a text element usre the appropriate character formats and pparagraph formats.
is there any additional feature in 7.0 in smartforms.. if yes can u please let me know
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K
Message was edited by:
Naresh Reddy -
High light text in Smart forms
Hi All,
I have a requirement in a form where in i need to highlight the text in the text element(I have tried using Styles in it but of no use).Its' urgent... Could you please help me out in this regard.
Thanks in advance.
Regards
ArchanaHi,
Goto SMARTSTYLES Tcode and Enter Name as ZSMART_STYLE
Create Paragraph Format as P1 and in Font Tab Select Font Family,Font Size , Font Style and
Select Colour Check Box Beside that one select which Colour You Want..
Similarly Create Character Format as C1 and in Font Tab Select Font Family,Font Size , Font Style and
Select Colour Check Box Beside that one select which Colour You Want..
and Write this Style Name in Smart Form Output options of Form Attributes.
Regards,
Satish -
Fix reversed text in smart forms in hebrew
hallow
i use smart forms and i write text in Hebrew and when i do display to the page before the print the text reversed .
how can i fix that.
regardshi sh
i think u have to change the for unicode
regards
Maybe you are looking for
-
Please help me. I'm not the most computer literate person and I just advanced my internet service with Bright House Networks to 90 and they said my computer is faster than theirs but they are not here to see it is worse than dial up. They said it's n
-
I created a quote form for our sales guys to use in the field and we would like them to be able to have the capability to fill it in on their ipads. Is there an app that will let us do the following: Fill in a pripriotary form Click to next field For
-
Macbook Pro Late 2008 vs Macbook Air
Hi all - not sure if this is the place to post this? I currently have a Macbook Pro 15.4" Unibody - Late 2008 - 2.4Ghz Core 2 Duo - NVIDIA GeForce 9600M GT with 256 MB of dedicated GDDR3 SDRAM and a NVIDIA GeForce 9400M with 256 MB of DDR3 SDRAM shar
-
SLD Configuaration in PI 7.0
Hello Experts, In our Production PI system We did Install PI 7.0 , We have to Configure SLD now ... Can any one have SLD Configuaration Guide Step by Step in ABAP and JAVA side in PI 7.0 Thanks &Regards Praveen
-
Final Cut crashes on launch since installing Mountain Lion
I have installed OS X 10.8.2 Mountain Lion on my Macbook Pro, and now whenever I try to open Final Cut Express (Version 4.0.1), my computer crashes. I have trashed preferences... any suggestions?