How to print text rertrived by using the READ_TEXT fun module in smartform
Please tell me how to print the text which is rertrived by using the READ_TEXT function module in smartform.
I have coded all things in the program lines and in that i am retriveing the long texts.
I am getting the text lines in my internal table clearly, the thing is that I am not able to pass these lines to the text module.
its urgent. Points will be rewarded for any type of clue. whether it will work or not.
loop the table into which u have retrieved the text .
in the form interface of the smartform ... in importing parameter give the that table name .
and in smartform whereever u want to print there insert the data into work area and pass to fields for dispaly .
decalre ur work area in global defintions
thnaks .
Similar Messages
-
How to print the texts retrived by using READ_TEXT fun module in Smartform
Please tell me how to print the text which is rertrived by using the READ_TEXT function module in smartform.
I have coded all things in the program lines and in that i am retriveing the long texts.
I am getting the text lines in my internal table clearly, the thing is that I am not able to pass these lines to the text.
I have to print the trouble ticket. in that the notes log I have to pass.
its urgent. Points will be rewarded for any type of clue. whether it will work or not.There are a few ways to do it. If you need to take all of the text in the text type, in your SF text element choose "Include Text".
Populate the fields with the data that corresponds to the text type. It is similar to the interface to the FM "Read_Text.
Text Name
Text Obje
Text ID
Language
Encase any variables with the "&" symbol.
If you have already coded the call to the FM "READ_TEXT" and loaded the text into an internal table, create a loop and loop through the itab. Inside of the loop create a text element and add a variable in the text element for the field you are looking to output. -
How to print text on container using oop on alv list
Hello Guru's,
pl guide me how to print text on container using alv list-display which have interactive events using oop classes/methods ...
I want to print hard coded text on coantainer , on double clicking it will call another screen.
Pl Help..
Message was edited by:
paresh sonavaneHi Paresh,
1. Go to the Layout and Create One custom container box and give name it.
2. Custom Container is the one type of tool and its used for Displaying the Reports
with the use of ABAP Objects.
3. Go to se38 and Write The Following Code.
tables ZTEAM_GD.
DATA : OBJ TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
OBJ1 TYPE REF TO CL_GUI_ALV_GRID.
DATA IT_TEAM LIKE TABLE OF ZPLAYER_BAT_DET .
SELECT * FROM ZPLAYER_BAT_DET INTO TABLE IT_TEAM.
CREATE OBJECT OBJ
EXPORTING
CONTAINER_NAME = 'ALV'. -
> Give ur Container Name
CREATE OBJECT OBJ1
EXPORTING
I_PARENT = OBJ.
CALL METHOD OBJ1->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'ZPLAYER_BAT_DET'
CHANGING
IT_OUTTAB = IT_TEAM.
*CALL METHOD OBJ1->SET_DROP_DOWN_TABLE
EXPORTING
I_STRUCTURE_NAME = 'ZTEAM_GD'
CHANGING
IT_OUTTAB = IT_TEAM.
CALL SCREEN 9000.
*& Module USER_COMMAND_9000 INPUT
text
MODULE USER_COMMAND_9000 INPUT.
CASE SY-UCOMM.
WHEN 'EXT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_9000 INPU
Thanks.
Reward If Helpful. -
How to print pdf file not using the the adobe reader ?
hello,
i used the adobe sdk to open a pdf file in read and modify it serveral times and each time save it to another directory,and now i need to write a program to print the pdf file in this directory.when print the file,i want to continue my work also,so who i tell me how to solve this problem?
thanks.The SDK is only a collection of documentation and headers that show you how to interact with and automate Adobe Acrobat and to some extent Adobe Reader. You need a copy of Acrobat or Reader installed on the system in order to use any of the SDK functions. You cannot "print not using the Adobe Reader", unless you have Adobe Acrobat installed on the system instead of Reader.
-
How to create Geniric data source using the SAP FUNCTION MODULE
Hi,
I want to create genric data source using function module
MD_STOCK_REQUIREMENTS_LIST_API (delivered by sap)
for this function module where I can find Extract Structer
or I have to create ?
How can i use this ?
Thanks in AdvanceHi Shilpa,
Check here..........
Using function module as the generic extractor
Generic Delta Update using Function Module
Document regarding R/3 extractors using function module/user exits
Generic extractors using FM -
Selection of Folder/File name using the same Fun.Module
Please let me know if there is a function module which can fetch folder name/File name from the directory path when f4 option of selection screen field is selected. Currently I am able to get the file name using FM F4_DXFILENAME_4_DYNP but the requirment is like I have to select either folder name or the file name depending on user selection.
Note: Please let me know if there is a single Function module which can get folder name or the file name based on the user selection.i.e, if the user want to select a folder he can select or he can select files in the folder for processingHi sridhar
try this:
PARAMETER : TXT_FILE(100).
AT SELECTION-SCREEN ON VALUE-REQUEST FOR TXT_FILE.
PERFORM GETFILE.
start-of-selection.
PERFORM GETDATA.
FORM GETDATA.
DATA : FILENAME TYPE STRING.
FILENAME = TXT_FILE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
FILENAME = FILENAME
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
DATA_TAB = IT_UPLOAD
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
FORM GETFILE.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_FILENAME = ' '
DEF_PATH = '.'
MASK = ' '
MODE = ' '
TITLE = ' '
IMPORTING
FILENAME = TXT_FILE
RC =
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
<b>This is a part of my BDC program its working for me u try n reply if it works for u.</b>
regards
vijay -
how do i change the language of my keyboard and autocorrect to write a text in spanish using the pages app?
Edit > Spelling and Grammar > Show Spelling and Grammar
-
How to print out multilingual reports from the main report using Xliff temp
Hi all,
How to print out multilingual reports from the main report using Xliff temp?
When I want main report call subtemplate and finish xliff tranlation
<?for-each@section:INVOICE?><?end for-each?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if trx_number = 142 call Finnish translation and if trx_number =144,
call English translation.
<?for-each@section:INVOICE?><?end for-each?>
<?if:TRX_NUMBER=’142’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
<?if: TRX_NUMBER=’144’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Does anybody know what could be wrong?
BR
KariThanks Amit,
I have two layout, main-layout and sub-layout
Main layout call subtemplate
I have registered layout and xliff-file
Main template
Localized Templates
File Name Language Territory
XXNS_INVOICE_MAIN.rtf English
SUB template
Localized Templates
File Name Language Territory
XXNS_INVOICE_SUB.rtf English
Translatable Template
File Name Language Territory
XXNS_INVOICE_SUB.rtf English United States
Available Translations
Language Territory Progress
English Finland Complete
If main report call subtemplate and finish xliff tranlation
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
.....end if;
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
.....end if;
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Do you it's set up problem or program problem
BR
Kari -
How to print text in two lines using REUSE_ALV_LIST_DISPLAY
hai gurus,
i want to print the heading of the column in two lines using the REUSE_ALV_LIST_DISPLAY fucntion module
fro example if column is for DOCUMENT TYPE
DOCUMENT TYPE
shoudl be printed as
DOCUMENT
TYPE
regards
afzalLet me know if this helps...I don't know why the formatting is not working...
<MODIFIED BY MODERATOR - RESPECT THE 2,500 CHARS LIMIT>
Edited by: Sourav Bhaduri on Jan 15, 2010 2:37 AM
Edited by: Sourav Bhaduri on Jan 15, 2010 2:42 AM
Edited by: Alvaro Tejada Galindo on Jan 14, 2010 5:58 PM -
How to print "Text" in JAVA(TM)....
Does anyone know how to print "text" using Java?
- Here's an example output...
NOTE: # == 'empty spaces'
--------------------------- <- Paper
|###################|
|####Welcome#########|
|###################|
|########to##########|
|###########JAVA(TM)##|
|###################|
|#######Programming####|
|###################|
Please post a complete << SAMPLE CODE >> for printing the "text" (Welcome to JAVA(TM) Programming. Including the indentions. So it will not be like this...
-------------------- <- Paper
|Welcome |
|to |
|JAVA(TM) |
|Programming |
| |
| |
| |
| |
Thanks.Please read How To Ask Questions The Smart Way
-
How to print text in paper format iin smartforms
Hi all,
I want a question that how to print text in paper format like paper divides into 2 parts and if the firstpart is full of text i.e., it exceeds the first page the text will be displyed in the second part of the first page.
Usefull answers will be awarded.
Thanks all...Hi,
U create two windows in the page and same as like second page.
but in first page first window select the condition print only on first page.
in second window select conditin print only on second page.
first try without creating a secondpage. if that doesn't workout create secondpage and try.
Assign points if useful.
Regards
(YUGANDHAR.P) -
How to print uspto patent images using Safari and Quicktime
3/18/06
Do you want to know how to print US patent images using Safari? Read on.
When you access the "images" link of a specific patent on the www.uspto.gov/ website using Safari, the page you are viewing is only one small upper left tile of a huge patent image that is not sized to the screen. You can scroll and try to read the page but it's almost impossible. Try to print it out and you only print what's on the screen. Bummer.
The fix:
Place the cursor on the opened image (it may appear blank), hold down the CONTROL key on you keyboard and click on the image. Two instructions come up. Click on the "Save Image to the Desktop" instruction and a DImg.tiff file will be created on your desktop. Click on the .tiff file and it should open in the Preview program, then simply print out the image. Voila!!!!
Click the yellow arrow in the left margin to access page 2 of the patent and repeat the previous instructions to create another .tiff file on your destop. Do every page and you'll have the patent available to print out one page at a time.
You can then rename the files and create a folder for that specific patent so you can access it later without signing onto uspto site.
It's odd that the ever compatible Apple does not provide seamless compatibility to view and print patent images on the US Patent and Trademark Office's website. Where would they be without protecting their own intellectal property? Let's hope the next version of Quicktime includes the appropriate ITU T.6 or CCITT Group 4 (G4) compression language.
Even the "throw it out the Windows" operating system is up to speed on this issue for America's hard working inventors.
Keep on inventing.
Tommy K
imac 400 DV Mac OS X (10.3.9) Cube 450
imac 400 DV Mac OS X (10.3.9) Cube 450Another similar thread on this issue...
http://discussions.apple.com/thread.jspa?messageID=1602391 -
How to print texts from iphone 4
how to print text from iphone 4 without having to screenshot?
An iOS cannot be downgraded or uninstalled...Apple has never supported doing this and removes the older iOS version files when a new iOS is released.
-
How to print a LIST of all the layers
Does anyone know how to print a LIST of all the layers. I am not asking how to print the document or the individual layers in a document. I would like to know how to print a LAYER LIST........Anyone?
this script will add a text frame with a list of layer names
var idoc = app.activeDocument;
var itext = idoc.textFrames.add();
itext.contents = "";
var layerCount = idoc.layers.length;
for (i=0; i<layerCount; i++)
itext.contents += "Layer " + i + ": " + idoc.layers[i].name + "\r"; -
How to get text to align to the very top of a DIV?
How to get text to align to the very top of a DIV?
There is a gap at the top. I am using in this example H1 and
a paragraph tag.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>Text Alignment</title>
<style type="text/css">
body {
background-color: #4a7186;
p {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 2em;
margin: 0px;
padding: 0px;
h1 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 3em;
margin: 0px;
padding: 0px;
#box1 {
width: 450px;
background-color: #FFFFFF;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
padding: 0px;
margin-bottom: 0px;
#box2 {
width: 300px;
background-color: #FFFFFF;
margin-right: auto;
margin-left: auto;
margin-top: 30px;
padding: 0px;
margin-bottom: 0px;
</style>
</head>
<body>
<div id="box1">
<h1>Lorem ipsum H1</h1>
</div>
<div id="box2">
<p>Lorem ipsum P</p>
</div>
</body>
</html><h1 style="margin-top:0;">Lorem ipsum H1</h1>
It's a margin issue in SOME browsers.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"davidhelp" <[email protected]> wrote in
message
news:gpbg8q$8c6$[email protected]..
> How to get text to align to the very top of a DIV?
> There is a gap at the top. I am using in this example H1
and a paragraph
> tag.
>
>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <title>Text Alignment</title>
> <style type="text/css">
> body {
> background-color: #4a7186;
> }
> p {
> font-family: Georgia, "Times New Roman", Times, serif;
> font-size: 2em;
> margin: 0px;
> padding: 0px;
> }
>
>
>
> h1 {
> font-family: Georgia, "Times New Roman", Times, serif;
> font-size: 3em;
> margin: 0px;
> padding: 0px;
> }
>
> #box1 {
> width: 450px;
> background-color: #FFFFFF;
> margin-right: auto;
> margin-left: auto;
> margin-top: 30px;
> padding: 0px;
> margin-bottom: 0px;
> }
>
> #box2 {
> width: 300px;
> background-color: #FFFFFF;
> margin-right: auto;
> margin-left: auto;
> margin-top: 30px;
> padding: 0px;
> margin-bottom: 0px;
> }
> </style>
> </head>
>
> <body>
>
> <div id="box1">
> <h1>Lorem ipsum H1</h1>
> </div>
>
> <div id="box2">
> <p>Lorem ipsum P</p>
> </div>
>
> </body>
> </html>
>
>
Maybe you are looking for
-
Need help in case of radio buttons
their are some text fields with radio button in one form and when i click on the radio button,the form should show some text feilds and click on another it should show some other feilds dynamically in javascript.
-
How to create a LONG TEXT object in BAPI_ALM_NOTIF_CREATE
Dear experts, Would you please give me a hand how to create a LONG TEXT object when creating a new Notification using BAPI_ALM_NOTIF_CREATE. The snapit of my code is below. The Notification is created but without a long text. THANK YOU!! Data: lv
-
I can't play any type of video online on my Macbook, not even youtube!
Heyy guys, I was watching youtube videos fine last night and now all of a sudden it is just a black rectangle that shows up. I read there was an issue with this about two years ago but now its october 2012 and I can not seem to find anyone with this
-
I just updated my iphone now I can't connect to my itunes
My software is OS X version 10.5.8 I just updated my phone and i can't connect it with my itunes. Is there anyway that I can purchase the newest software online even though I don't have the App store
-
HP Froms can't open with Error" Can't connect to Hyperion Essbase"
Hi ALL, I have just installed HP11.1.2 before. and create a application with demo data. the process progress successfully while it is occured error opening the forms. Error Message can't connect to Hyperion Essbase. while Essbase server it's running