How to get the standard texts available in a smartforms
Hi Experts,
How can we find out the standard texts that are exist in a particular smartform . is there any table/function module available to get those standard texts? I am finding the table STXFTXT, from that I am getting only textline. But I need the standard text names that are used in a smartform.
Thanks & Regards,
Suresh
hi,
1,Use SO10 Tcode to write standard text in Smartform.
2.For long text
method1
Create TEXT node- general attributes change text type to include text
then you can input text name/text object/text id/language
method2
create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
then use LOOP or TABLE node to display it
For TEXT module(For foreign language)
Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
then enter smartform Create TEXT node- general attributes change text type to text module
input the text module name which created by above
3.
1. take function module name of the smartform.
2. goto se37 and type that fm name.
3. goto attributes tab
4. double click on either program or include .
5. There u can find all the subroutines used inside smartform.
6. search for "perform %move using %textkey-name".
4.Standard Texts are created in SO10 Tcode and stored in STXH table with OBject ,ID and NAME parameters. We can use Read_Text FM to read the text.
check the tables STXH & STXL.
5.
How to CAll Standard Text in Smart Forms
In SFs you can insert the standard tests using the TEXT node. Create a TEXT NODE. Then in the GENERAL ATTRIBUTES of this TEXT node select INCLUDE TEXT in the TYPE option. Then you have to enter the text name, object , ID and language in the provided fields. Then if you dont want any error if there is no text in the corresponding text then CHECK the check box "No errors if no text available.
Similar Messages
-
How to get the Arabic text to speech on N8 ?
How to get the Arabic text to speech on N8 ?
Unfortunately it is not currently an available option:http://www.nokia.com/global/support/text-to-speech-s60-32-downloads/
Happy to have helped forum with a Support Ratio = 42.5 -
How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.
I have to display the short text in my report output.
How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
Is there any function module availble to get this short text or is this stored in any data base table ?
Please help me. Your help will be highly appreaciated.
THANKS.Hi,
Use FM 'READ_TEXT' to get this values.
Say for exampele my material is 1900001 and batch is 0000000517.
Then my parameters to the FM will be as follows:-
Text Name 000000000001900001 0000000517
Language EN
Text ID VERM
Text Object CHARGE
This information you can get as follows.
Open the short text window in the text editor.
Here you can enter the long text.
In the editor Go to Header and you will find the details.
Please note that the text name will comprise of
Material
Batch
Plant
Stor. Location
if all the details are given.
I hope this helps you.
Regards,
Ankur Parab -
How to get the bold texts in JTextPane?
How to get the bold texts in JTextPane?
I believe you need to look at the Elements of the Document. Use the Document.getDefaultRootElement() method to get the first root Element. From there you can iterate through all the Elements. You should then be able to check the attributes of the element to see if it contains the Bold attribute using something like:
AttributeSet attributes = element.getAttributes();
if ( attributes.containsAttribute(StyleConstants.Bold, Boolean.TRUE)
// do processing here -
How to include the STANDARD TEXT Logo in SMARTFORM???
Hai experts,
Im able to get the standard text logo in SAPSCRIPT used follwing command in text editor.
v_logo is dynamic variable.
/:INCLUDE &V_LOGO& OBJECT TEXT ID ST LANGUAGE EN
But in smartforms im unable to get the Standard text logo used following steps...
in Include text node
A) Text name : &V_LOGO& <
B) Text object : TEXT >
C) Text ID : ST >
D) Text Language : EN >
Why????
What are the further steps needed??
Rewards helpful answer is very useful..
Thanks & rgds,
Muru.P.HI
http://www.sapmaterial.com/smartform_example.html
http://www.sap-press.com/product.cfm?account=&product=H955&shoppingcart=003
Tcode SE78 is used to import graphics into the SAP system. The transaction imports the graphics and stores it
in the BDS (business transaction server) and then it can be displayed in the form.
· To create the graphic node , call the context menu for that node in the tree structure and choose create-
>graphic
· Enter a name (LOGO) for the node and the description (Logo Graphic)
· On the general attributes determine whether a colored or a black and white
· On General Attributes use the fields object - GRPAHIC, id u2013 BMAP and name - &G_LOGO& to identify the
graphic. &G_LOGO& is variable and therefore we can print company code specific logo. Program line preceding
the graphic is required.
Regards
Pavan -
How to get the Hardcoded text and the Standard text in the same line
Hi,
I have an SAP Layout. In that, it should show the Consignee name as below.
Consignee: SAP LABS
In this, the text 'Consignee: ' should be hardcoded in the layout itself. and the customer has requested to create a standard text for 'SAP LABS' sothat if they want to change the value in future, they would go and change the Standard text. I have created the Standard Text for SAP LABS. I am not able to get both these texts on the same line. I wrote in the layout like below and AS is the Paragraph format.
AS Consignee:
/: INCLUDE ZVRU_CONSIGNEE OBJECT TEXT ID ST LANGUAGE EN PARAGRAPH 'AS'
But, both are coming in dofferent lines. As /: is a command line, it is coming in the next line. Is there any way of getting these two texts in the same line..? While Inserting the Standard Texts, will there be any option/command to print it in the same line..?
Please share your thoughts. Thanks in advance.
Thanks & Regards,
Paddu.Hi Paddu,
I have had a similar requirement. I did not use any FM or anything, simply did the following:
In SO10, for your standard text where u have used the text SAP LABS.
Instead of P1/ default para, change it to =. And then Save ur Standrd text.
Now in the SAPScript Text editor in which you want to print
P1 'Consignee :'
/: INCLUDE TEST OBJECT TEXT ID ST LANGUAGE EN
the output will be
Consignee : SAP LABS
I have tried and tested this method. It will surely work.
With regards,
Niharika. -
How to get the real texts according to Standard Text Key maintained in CA10
Hi ;
I have a requirement to fetch the standard text based on the standard text key which is maintained by CA10.
is there any direct way to get those texts without giving 'TEXT NAME', 'TEXT ID' and 'TEXT OBJECT' but just by the standard key?
Thanks in advance.
Regards.
VindyHi Varma,
Even if you want to personalise the Text also you can do without checking the DICTREF checkbox. Dirctly you can give the text in the Text elements by using the Menu GOTO -> Text Elemetns -> Selection Texts.
Regards
Thiru -
How to get the standard Menu of Query Designer into Web Template
Hi Experts,
is there a way on how to put the standard menu within Bex Query Designer (after executing a Query with the Query Designer you get into ad-hoc reporting with a menu including several functions like print, show as..., properties, etc) into an individual Bex Web Template?
Copy & Paste source code will not work I guess because of several javascript functions I don't have access to.
Thanks & Best regards
TobiasBEx queries are displayed on the web using standard web template 0ANALYSIS_PATTERN or some customized version base don your implementation.
You can either include the 0ANALYSIS_Pattern web template in your custom template or use Save as to create a new template with 0ANALYSIS_Pattern AS THE STARTING POINT. -
How to get the Underlined text in JTextPane
I have a JtextPane with text say "i _like java_ it is a _good language_".
in the above text i have made "like java" and "good language" underlined. And i have added a mouse listener to this JTextpane. the whole idea is to create a hyperlink so that when the user clicks anywhere on "like java" then i want to get the complete text("like java") where i clicked and using this text i want to do some operation. How can i get the underlined text?
thanks.it was the same i question what i had posted. i didn't get reply there so i posted the same question in a new topic.
-
How to get the highlighted text range through Framemaker's API calls?
Hi all,
I'm new to the Framemaker API (7.x) and developing a plugin for Framemaker 7.x. I wanted to get the highlighted objects from the active mif document. Tried this code:
F_TextRangeT tr;
/* Get the current text selection. */
tr = F_ApiGetTextRange(FV_SessionId, docId, FP_TextSelection);
Here is how I tested it:
1. some text in the mif doc was highlighted.
2. I clicked the menu item "my_plugin", a framemaker dialog popped up, some test configuration was sent through the dialog.
3. The test configuration was read by my program correctly.
However, the debugger showed that the tr is null! When I changed the first step of the test into:
1. placed the mouse cursor at somewhere in the mif doc.
The plugin worked somehow, the line where the mouse cursor was placed got selected, although I did not highlight anything.
My question is: how to get a highlighted range though the Framemaker API call? I've been flipping through the FDK 7.0 Programmer's Reference but haven't found a solution yet. Any hint will be highly appreciated.
Best Regards,
Ellen N. ZhaoHere is some information from the FDK Programmer's guide page 115:
IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
It cant span multiple flows, footnotes, table cells, or text lines.
It is possible for a document to have no text selection or insertion point at all. This can occur in
the following circumstances:
● One or more graphic objects in the document are selected
● One or more entire table cells in the document are selected
● There is no selection of any type in the document
So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
Many thanks in advance!
Best Regards,
Ellen N. Zhao -
How to get the Sales Text?
Hi,
I need a Function which will help me to read the Sales Text found in the MM03. I am using the following function but it seems I am not getting the NAME right. In the table STXL when I checked the NAME contains the MATERIAL(X7000114BLCK), SALES Org(1000) and Distribution Channel(20) like this "X7000114BLCK 100020". How could I make up this? or is there another easy Function where I could give the Sales Order No, Material or Line Item to get the Sales Text which comes in MM03.
The Funtion that I used;
call function 'READ_TEXT_INLINE'
exporting
id = '0001'
inline_count = 1
language = 'E'
NAME = PO_OBJ
object = 'MVKE'
tables
inlines = inlines
lines = lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
others = 7.
Thanks,
KishanHi Hymavathi,
I did like this;
DATA v_tmp(18) TYPE c.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = wa_sales-matnr
IMPORTING
output = v_tmp.
CONCATENATE v_tmp 'XXX' INTO PO_OBJ.
The answer that I get is this - "X7000114BLCKXXX" the spaces beteeen the MATNR and XXX is not there. How could I get this?
Thanks,
Kishan -
HOW TO TRANSPORT THE STANDARD TEXT FROM ONE SERVER TO ANOTHER?
After creating the standard text in SO10 transaction
it will not ask for any transport request no while saving ,
i want to transport the standard text from development to test server.
how can we do that?Hi Riaz,
To transport a Standard Text through a transport request , you need to attach the standard text through the transaction RSTXTRAN.
After executing the report RSTXTRAN , you can enter first the task name then the Object as TEXT , then the name of the standard text , ID as ST, then the language as EN or something else .then execute.
you cannot attach a standard text to an unassigned task.Firat you have to either activate a smartform or a script with that task then only you have to attach a standard text.
I think your query is almost answered .
Reward if you please.
Thanks & regards,
Ram -
How to display the Standard Text (SO10) based on condition in adobe forms
Hi,
I have created the Standard texts (through SO10 tr.code) of 4 plant addresses. In the Layout of adobe form, i want to display any one plant address based on the plant number (as a input) and the rest 3 standard text need to be hide. i tried in Form clac to hide, but i unable to succeed. could you please help me, in this regard.
Thank you.
Regards,
MallikarjunaHi,
You can add all the 4 text in your context menu and create an condition for text.
Example: (LS_HEADER is a structure only for example, you need to decide based on your own form interface)
Text_1000 Condition -> LS_HEADER-WERKS = 1000
Text_2000 Condition -> LS_HEADER-WERKS = 2000
Text_3000 Condition -> LS_HEADER-WERKS = 3000
Text_4000 Condition -> LS_HEADER-WERKS = 4000
The text satisfyling your condition will only be printed and you can assign these text to the same block in PDF form. -
How to get the field texts from abap dictionary into screen Text fields
Hi SapAll.
here i have got to modify one zscreen by adding 1 more field,when i added one field in teh screen by just writng the code in program as SELECT-OPTIONS ilart FOR CAUFVD-ILART.
but iam unable to get the field text for the text field from teh table CAUFVD.
CAN ANY BODY HELP ME IN THIS.
regards.
varmaHi Varma,
Even if you want to personalise the Text also you can do without checking the DICTREF checkbox. Dirctly you can give the text in the Text elements by using the Menu GOTO -> Text Elemetns -> Selection Texts.
Regards
Thiru -
How to get the relevant text in the Cone Chart(WAD)
Hi Expert's,
Here is a requirement where we are using the CONE chart.
But we are not getting the relevant texts based on the query attached.
Plz help me to get the texts.
Thanks in Advance.
Vasu.Expert's plz look into it..this is very urgent.
Maybe you are looking for
-
Dual boot windows 7 and solaris 11
Hi Friends, Could some one please explain the steps to install dual boot windows 7 and solaris 11? Thanks Raja
-
Detecting Jboss is down and retrying after sometime
hi, we have a JMS client that talks/ topic-publishes to a JBoss. the client is on a diffarent machine/ server. Now the problem is that if the JMSClient is up but not the jboss the context.lookup('abc') is hanging intermitantly. I tried timeouts but i
-
I need to change my email add for my contact form
Hi there I'm making a homepage in Muse for friend of mine. She needs online booking on her page. How is it possible with Muse? Please help, if someone knows how to do Thanks Sara
-
Error 205 when installing update. How to fix?
Desktop Creative Cloud install update attempts, then shows error 205.
-
I am running Adobe Reader 6.0 on a Mac OS X 10.5.2 and all seems to work great. We have to preflight hundreds of ads per week for a chain of newspapers. About 90% of them are fine, but the rest have an error that pops up on the last step that says, "