Using standard texts in reports output
Hi,
Would you please let me know the process of using standard texts created in So10 transaction in reports development. READ_TEXT function module made me to code a lot as per my requirement.
Thanks,
Kumar.
Hi ,
if you want to use READ_TEXT then you have to take help of you functional consultant.Ask him to provide the TEXT ID ,NAME, OBJECT and with the help of these things you can proceed furthur,
If you still need any help.let me know.
Thanks and regards,
Rajeshwar
Similar Messages
-
Use standard text (SO10) in report(SE38) to compose the body of email
hello experts,
here i wanna create the body of email with a format, hence i decide to use Standard Text. in this Standard Text, i also maintain some variable such &p_name&( i remember it works in forms,such script and ssf), while i define p_name as 'demo' in the program and try to transfer p_name to standard text, it fails. while i check the output of standard text, it show &p_name& instead of demo.
could anyone tell me how to realize this function?
Thanks in advance.
DesmondHi,
try this,
data:w_field(10) type c VALUE '1234'.
DATA:wa_head TYPE THEAD.
data:it_final TYPE TABLE OF tline.
wa_head-tdname = 'Z_SAMPLE'. u201CStandard text,refer screen shot
wa_head-tdid = 'ST'.
wa_head-tdobject = 'TEXT'.
wa_head-tdspras = 'EN'.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = wa_head-tdid
language = wa_head-tdspras
name = wa_head-tdname
object = wa_head-tdobject
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER = HEADER
TABLES
lines = it_final
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'REPLACE_TEXTSYMBOL'
EXPORTING
endline = 10
FORMATWIDTH = 72
LANGUAGE = SY-LANGU
LINEWIDTH = 132
OPTION_DIALOG = ' '
REPLACE_PROGRAM = 'X'
REPLACE_STANDARD = 'X'
REPLACE_SYSTEM = 'X'
REPLACE_TEXT = 'X'
startline = 1
IMPORTING
CHANGED = CHANGED
TABLES
lines = it_final -
Need to use standard text in smartforms
Hi,
My requirement is like to use standard text for the address like ...
Company Name
Street, State, PIN
Phone: 111-111-1111
All the above lines should be aligned in the middle and 'Company Name' should be displayed in the bold.
1) I have created the standard text, and included statement in text window as 'INCLUDE XXXX OBJECT TEXT ID ST LANGUAGE EN' but unfortunately it was not displaying anything in the output.
2) I have tried the another method like using the 'Include Text' as a text type in the text window. It was coming but BOLD and center alignment was not coming.
Here my question is why it was not coming in 1) case and if i use READ_TEXT function module will it solve the problem ? in case 2) how can i get all the 3 lines gets center aligned and first line should be bold.
Thanks in advance for your help.Hi Jaya ,
if u wnt ur Addr first line should come in bold letter than for that
u first *** to "sap smart forms : initial screen" there is option 'STYLE' click on that radiobutton and creat ur own STYLE (Zxxx) on there u vl find al ur answer...
hope this vl help u ,
plz reward paint.
regards
wasim
Edited by: mdwasim akram on Jun 11, 2008 1:09 PM -
How to use standard texts in smartforms
Hi Friends,
How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
thanks in advance,
regards,
sharma.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
btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10 -
How to use Standard Text Key in maintenance order header long text?
Dear All,
I have created a standard text key using transaction CA10 and I want to use this in maintenance order header long text. Is there any way to select any standard text key in maintenance order header long text?
Regards & Thanks,
SaifHi
To use standard texts, perform the following six steps:
Select the maintenance order and access the operation overview screen using Goto -->Operation overview.
You can enter standard text keys in this screen or in a detail screen for the relevant operation.
Enter a standard text key in the appropriate field and press ENTER .
If the text is longer that the short text line available, the field Text is selected for that operation.
Check the long text and edit it if necessary. To do this, select the operation and choose Operation--> Long text.
The system branches to the text editor screen. If you also entered a short text for the operation and specified that this should not be overwritten by the standard text, you will see the short text displayed in the first line of the editor. The following lines contain the standard text.
Check the standard text and change it if necessary.
Save the final version of the text and return to the previous screen with Goto--> Back.
Save the maintenance order.
Standard texts are created for your system by your system administrator using the Customizing function.
Regards
Makarand Gurjar -
How to use Standard Text in ALV
How to use Standard Text in ALV header part? Can you please help me by giving the answer?
Hi ,
You can read the Standard text using read_text function module and then print in LV header part. -
Hi all,
I want to display long text in report output how is it possible.
how can i get the long text for fb60 or fb70.
Edited by: D Tarun Kumar on Aug 23, 2008 11:26 AMHow can i get these
ID =
LANGUAGE =
NAME =
OBJECT =
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
LINES =
Thanks -
How to Maintain documentation (se38) using standard text (SO10)
Hi,
I have created standard text using SO10. Now I want to include the standard text in documentation (SE38) section of my ABAP program.
I tried using /: INCLUDE 'YTEST' OBJECT TEXT ID ST LANGUAGE EN
But the standard text is not showing up when I click the documentation icon in the selection screen.
Can you please let me know how to maintain documentation for ABAP programs using Standard Texts.
Thanks in advance.
Sincerely,
VidyaHi Mahesh,
In SO10, which format key has been used (AS, /*, /:, *.... to show up in documentation). when you used insert->text-> did you use 'expand immediately' check box. If expand immediately option is used, it won't serve our purpose.
=
(space)
Example
SO10 Yeurope_terms
Inside Yeurope_terms
Terms: For Europe
/* No Tax for Italy
Waiting for your reply.
Sincerely,
Vidya -
On what situation we can use Standard BW Contenet Report instead R/3????
Hi All,
On what situation or codition we can use Standard BW Contenet Report instead of R/3 standard report, can you please tell me some points, since I need to prepare a checklist ....
Regards,
AndyHi check the below links
ABAP vs. BW
R/3 reports -
Call Standard Text by report replacing the variables with their values
Hi,
I have a requirement to call a standard text from a report.
Following is the text present in standard text.
&PTXT1-ENAME& will attend for interview
on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
I am doing it by using READ_TEXT. But READ_TEXT reads the entire text as it is.
Is there any way I could retrieve the standard texts with &PTXT1-ENAME& replaced by the value of PTXT1-ENAME in report. And similarly &MEMOACT-PLDAT& replcaed with its actual value.
Any pointers in this regard would be helpful.
Points will be awarded.
Regards,
Mayank AgarwalHi,
In the Text
&PTXT1-ENAME& will attend for interview
on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
do not use the * as a paragrapgh , use /: as the paragraph
Regards
Sudheer -
Using Standard text in scripts
Hi all,
I had a problem while printing standard texts in scripts.
I Know how to print standard text if we have to print it from the begining of window using
INCLUDE &T024E-TXADR& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PAR
But my problem id i have print it after a hard coded text like
Delivery schedule: 'here i have to print the standard text'.
can any one please help me out how to solve the problem
Thanks & regards
sreehari pHi,
Here's one my brother taught me - you can actually trick the system to accommodate this requirement.
Ensure that you use 2 different paragraph formats in your INCLUDE statement, using the PARAGRAPH and NEW_PARAGRAPH clauses, ie.
INCLUDE &T024E-TXADR& OBJECT TEXT ID ADRS LANGUAGE &EKKO-SPRAS& PARAGRAPH P1 NEW-PARAGRAPH P2
Paragraph P2 (which will be used as the first line) should be created as having a Line Spacing value of 1 TW (1 twip) which is less than 1/1000th of an inch. Also, set the Left Margin value to an offset which brings the text to the right of the Delivery schedule literal.
Paragraph P1 (which will be used for all subsequent lines) should be set up as normal - ie. use the same paragraph format as that for displaying your "Delivery schedule:" literal. If you need the text to be indented in line with the first line, then copy your existing paragraph to a new paragraph but set the Left Margin value to the same as that in P2.
What this does is to output the first line of text indented by the margin after skipping 1 twip, giving the illusion that it's actually on the same line. Since subsequent lines are output with a normal (or normal/indented) paragraph, that just follows with normal spacing on subsequent lines.
Hope this makes sense.
Regards, Andy -
How to use Standard text in SAP SCRIPTS
Hi all,
Please tell me how can we use the standard text what we have created in SO10 with sap scripts.Hi Gaurav
You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.
Alternatively, you can display standard texts in your SAP Scripts using the command:
INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN
where ZSTEXT refers to the Standard Text name.
Reward pts if found usefull
Regards
Sathish:) -
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> -
How to use standard text?
hi experts,
i have created a standard text in so01. now i want to use it in my smartform. can anyone help me, plz give the procedure to use that standard text in my form.
thanks in advance for ur responce.Hi
You cannot use two type to the same text .
Either you have to use TYPE as INCLUDE TEXT for standard text
or TEXT ELEMENT for normal text
One thing you can do if u want to print HI WELCOME together
Then you write both things in different text and print it .
Hope this make some sense to u.
Reward if helpful
Thanks
Krushna -
How to use standard text in sapscripts
Hi,
I want to place a part of text to be displayed in my sapscript in the form of a standard text. I want to make the text bold with italics and also want to set a perticualr size to it.
I am new to SAPscripts can anybody please help me with this.
regardshi
Use character formats in the script itself for the specific text. and in it mention font as bold and italic
and in text elements keep the text between <C1>......</> where C1 is your character format
or
create global style with
U can adjust the bold formats in the standard text itself.(se72).
In the standard text give the character formats and apply them in the text editor of ur sapscript as
text between <C1>......</>
In the text editor go to insert -> text elements-> and standard text.
u can give the standard text name there.
regards
prasanth
Maybe you are looking for
-
HP Officejet 6100 (h611a) ePrinter can't find wirless network
My HP Officejet 6100 ePrinter recently lost it's eprint connection and wouldn't reconnect. I asked for help and was told to try using a manual IP address. I tried this using the instructions supplied to me for the manual IP address, Subnet mask, an
-
HT201303 make apple id with IMEI no
my iphone thats loced to my privase apple id and now i update the ipsw 7.0.4 and ascked apple id like ( n**********@gmail.com i forgot this email and apple id please help me <Personal Information Edited by Host>
-
Need to syncronize the Regions between ERP and CRM
Hi MW gurus, I didn't find a adapter object to synchronize the 'Regions' between ERP and CRM. The regions are stored to the table T005S in ERP and the same table exists in CRM too. Will any one of you adivce on how to sync. these two tables using a r
-
How to apply SP to ADS in EP?
Hi, I'am using ADS SP9 and now i want to upgrade it to SP 11,i nedd to do it in SDM? and any prerequisites other than SP11 ? Please guide me. Thanks and Regards, Pradeep.B
-
Why won't video capture?
I have been using FCE for years. Recently I tried to capture video and it would only grab a frame, then freeze, then grab another one a few seconds later and so on and so on. I am using a Sony camcorder plugged into an ADVC-100, which connects via Fi