Standard text not printing
Hi all,
I am using /: INCLUDE ZTEST_TEXT OBJECT TEXT ID ST LANGUAGE EN
in my smart form. nothing is printing.What was the mistake in my statement?It gets printed if I use Include text and give same values.But why doesn't it print Standard text value if use above statement in text element.Please help.
I want to use this statement only because I have seen in SAP HELP that this statement gives the latest version of the standard text value.
Hi
Please refer this links
http://help.sap.com/saphelp_nw2004s/helpdata/en/03/7560efcf0d11d3b565006094192fe3/content.htm
regarding smartforms
Similar Messages
-
Info record Po text not printing in Po
Hi all,
Info record po text not printing in po print out. Info record po text showing in po at item level but it was not printing in po. In info record No matl text checked. In material master no text maintained. please help on this
Thanks in advance for your helpHi Mahesh,
Follow the path:
SPRO--> MM --> Purchasing --> Messages --> Texts for Messages ---> Define texts for Purchase Order
Double click on "Texts for Document Item" under Dialog Structure
Click on new entries and then Fill the following fields:
Pur. Doc. Category: Purchase Order
Print Operation: New
Doc. Type: NB
Item Category: Standard
Text Object: Purchasing Doc. Item texts (EKPO)
Text Id: Info Record PO Text (F02)
Print Sequence: 2
Print Priority: 1
and then Save
Hope this helps
Thanks,
Ankur -
Header text not printed for scheduling agreement
Hi All,
I have issue with header text print out for scheduling agreement (SA).
In SA when I am manually writing some note and then taking print out, system is giving me correct output with maual note.
I have one standard text (ST) which I need to be printed in evry SA, so in SPRO I created new head text for vendor and in copying rule for text for SA, I created linkage of SA header text with Vendor head text.
In vendor master, I inserted ST in newly created vendor header text.
So now when ever I create new SA for vendor system will determin header text from vendor master.
Now after creating SA when I check the SA, I am able to my ST in SA, but at the time of print out this ST in not printing.
Please let me know what could be the reson.
Regards,
SameerI dont understand about what you mean by expand.
When you a print PO, PO text (header or item) it will check to the configuration setting.
The system didnt care if its adopted from vendor master or info record, or whatever you make in the copying rule.
In your case : you create a standard text then it get copied into PO , then you set the standard text to the PO for print out, example the standard text : word is
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Then in the PO the text appear will be like below(the same, because it get copied)
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
If you configure it in define text for SA, then it the print out it will also (the same)
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
So what text need to expand? -
SAP SCRIPT: Header text not printing - Custom Purchase Order.
Hello Experts,
I have used the standard MEDRUCK and copied to ZMEDRUCK. I want the PO header text to print in my form.
I have used subroutine-pool and called it in the form.
Here is my subroutine
FORM fetch_table_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
TABLES EKKO.
DATA: BEGIN OF header OCCURS 0,
ld_txt1(163),
ld_txt2(163),
ld_txt3(163),
END OF header.
DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
ID like THEAD-TDID,
TNAME LIKE THEAD-TDNAME,
TDOBJECT like THEAD-TDOBJECT.
DATA HTEXT LIKE EKKO-EBELN.
* HTEXT = EKKO-EBELN.
READ TABLE in_tab WITH KEY EKKO-EBELN.
if sy-subrc = 0.
TNAME = in_tab-value.
ENDIF.
TNAME = EKKO-EBELN.
*CONCATENATE EKPO-ebeln EKPO-ebelp INTO v_item_text.
*MOVE v_head_text to HNAME.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = 'F01'
language = 'E'
name = TNAME
object = 'EKKO'
* ARCHIVE_HANDLE = 0
* LOCAL_CAT = ' '
* IMPORTING
* HEADER = TNAME
tables
lines = li_lines
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.
CLEAR out_tab.
out_tab-VALUE = TNAME.
CONDENSE out_tab-VALUE.
MODIFY out_tab TRANSPORTING VALUE WHERE NAME = 'TNAME'.
ENDFORM.
And my script in the form is
PERFORM FETCH_TABLE_DATA IN PROGRAM ZMEDRUCK_SUBP2
USING &EKKO-EBELN&
CHANGING &TNAME&
ENDPERFORMpar RECEIVED FROM M/S &TNAME&
The header text is still not flowing in my form.
What mistake i'm I doing here ?
How can I resolve this ?
Pls help !Hi,
Data is li_lines internal table. 1st you have to read the text form the internal table line by sy-tabix.
At last you have to concatenate these variable into the out tab value.
you can use the following code
ORM fetch_table_data TABLES in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
TABLES EKKO.
DATA: BEGIN OF header OCCURS 0,
ld_txt1(163),
ld_txt2(163),
ld_txt3(163),
END OF header.
DATA: li_lines LIKE STANDARD TABLE OF tline WITH HEADER LINE,
ID like THEAD-TDID,
TNAME LIKE THEAD-TDNAME,
TDOBJECT like THEAD-TDOBJECT.
DATA HTEXT LIKE EKKO-EBELN.
READ TABLE in_tab WITH KEY EKKO-EBELN.
if sy-subrc = 0.
TNAME = in_tab-value.
ENDIF.
ALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = 'F01'
language = 'E'
name = TNAME
object = 'EKKO'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = li_lines
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.
data : f_lines TYPE i,
DESCRIBE TABLE li_lines LINES f_lines.
data: lstr type String,
lstr1 type string,
lstr2 type string,
lstr3 type string,
lstr4 type string.
read table li_lines index 1.
lstr = li_lines
condense lstr.
clear li_lines
read table li_lines index 2.
lstr1 = li_lines
condense lstr.
clear li_lines
read table li_lines index 3.
lstr2 = li_lines
condense lstr.
clear li_lines
if f_lines GT 3.
ead table li_lines index 4.
lstr3 = li_lines
condense lstr.
clear li_lines
ead table li_lines index 5.
lstr4 = li_lines
condense lstr.
clear li_lines
endif.
data : v_text type text.
concatenate lstr1 lstr2 lstr3 lstr4 into v_text separate by ' '.
CLEAR out_tab.
READ TABLE out_tab WITH KEY name = 'TNAME'.
out_tab-value = v_text
MODIFY out_tab INDEX sy-tabix.
Regards
Nayan Kumar -
Standard Text Key printing on Job Ticket Shop Paper
Hi,
I have set up using transaction CA10 a series of Standard Text Keys containing approx 500 characters.
I am using the Standard Text Key on a Service Order but when I am printing the Service Order the first 40 characters are only being printed.
We have a requirement to print out on the Service Order the Standard Text Key and all of the text and not the first 40 characters.Hello,
One suggestion would be to have a programmer check the SAPScript form that calls the standard text to make sure the formatting is not restricting the length of the text that is being printed.
Regards,
Paul -
Standard Text not getting refreshed.
Hi All,
I am working on a script where in I got to use a standard text. I am printing the text on script. And no error is coming. But when I print more than 1 invoice continuously I am getting the same standard text multiple times.
Can any one help me?
Thanks
KalyanHi Kalyan,
I hope you are not clearing the standard text before you populate it.
Please use below set of function modules.
data:
lt_text TYPE STANDARD TABLE OF tline,
ls_header LIKE thead,
ls_text TYPE tline.
CALL FUNCTION 'DELETE_TEXT'
EXPORTING
id = ls_header-tdid
language = ls_header-tdspras
name = ls_header-tdname
object = ls_header-tdobject
savemode_direct = 'X'
textmemory_only = 'X'
EXCEPTIONS
OTHERS = 2.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
savemode_direct = 'X'.
REFRESH lt_text.
or call a separate perform from the script after calling particular subroutine where you are populating the standard text....
/: PERFORM CLEAR_TEXT IN PROGRAM ZFIF_REPORT
/: USING ®UH-LAUFD&
/: CHANGING &GV_KEY&
/: ENDPERFORM
Form details...Call the perform from standard scrpt text load program SAPLSTXG....
FORM clear_text TABLES input_parm STRUCTURE itcsy
out_parm STRUCTURE itcsy.
CONSTANTS:
lc_name TYPE char30 VALUE 'TEXT_LINES'.
PERFORM mm_create_new(saplstxg) USING lc_name.
PERFORM init_text_buffer(saplstxg).
ENDFORM.
Thanks ... -
Right side Text not printing in Dot Matrix Print
Hi Gurus,
When i take print of the smartform with Laser Jet Printer its comming fine , but when i print using Dot Matrix Printer the text at right side is not printing.
Printer model : Epson DFX-5000+
Can any one tell me how to resolve this..
Thanks
Ganeshhi ,
SAPWIN Drivers which support those Epson printers check in SAP (windows support )
These will solve your Problem .
Regards
Deepak. -
Smartforms-Text not printing completely
Hi!
In my invoice printing one of the item columns which shows the text for the material description is getting trunctaed. Those ar elong texts but when we print it only 70 caharactrs appear and the rest gets cut and dosent show on the form . The text is stored in a variable g_kdmat whose associated type is TDLINE whose lenght is 132 but I dont understnd why only 70 characters appear in my invoice printing. Can anyone help me out with this please. Urgent please.
ThanksMy coding for extracting the text is as folows:
data: l_werks like vbrp-werks,
l_hlmat type ZHLMAT,
l_kunnr like vbak-kunnr,
l_vbeln like vbrp-vbeln,
l_posnr like vbrp-posnr,
l_product_key type TDOBNAME,
lt_lines type table of tline,
ls_lines type tline.
Get kdmat, not exist then get material sales text, not exists then Material
description
**get from kdmat
fill g_hlmat
if gs_gen_del-uepos = '000000'. "BOM Main
g_hlmat = gs_gen_del-material.
l_hlmat = ' '.
else.
l_hlmat = g_hlmat.
endif.
get g_kdmat, g_kdmtx
select single werks into l_werks from vbrp
where
vbeln = gs_vbap-vbeln and
posnr = gs_vbap-posnr.
get sold to
select single kunnr into l_kunnr from vbak where
vbeln = gs_vbap-vbeln.
select kdmat kdmtx into (g_kdmat, g_kdmtx) from zcustmat
where
parvw = ' ' and
kunnr = l_kunnr and "sold to
matnr = gs_gen_del-material and
werks = l_werks and
hlmat = l_hlmat.
endselect.
check sy-subrc <> 0.
get material sales text
concatenate gs_gen_del-bil_number gs_gen_del-itm_number into l_product_key.
call function 'READ_TEXT'
exporting
name = l_product_key
object = 'VBBP'
id = '0001'
language = sy-langu
tables
lines = lt_lines
exceptions
not_found = 1
ohters = 2.
if sy-subrc = 0.
read table lt_lines into ls_lines index 1.
move ls_lines-tdline to g_kdmat.
Remove sapscript special characters
replace: '<(>' in g_kdmat with ' ',
'<)>' in g_kdmat with ' '.
exit.
endif.
get Material description
select single arktx into g_kdmat from vbrp where
vbeln = gs_gen_del-bil_number and
posnr = gs_gen_del-itm_number.
vbeln = gs_vbap-vbeln and
posnr = gs_vbap-posnr.
if sy-subrc <> 0.
g_kdmat = 'No Product service !!!!!'.
endif.
I fail to understand why the entire text is not coming , when the window size is ok and text has place to flow into subsequent lines. Is it something to do with the associated type in global data or somet8ing else.
Thanks -
Standard Text not starting on current page in sap script
Hi all,
I have a sapscript which displays a dynamic table. After that table I have included the standard text.
Ideally this standard text should display immediately after the table. But this is not happening. After the table, entrire page is left blank, and standard text starts from the next page.
How can i display standard text immediately after the table.Hi,
Try with calling PROTECT and ENDPROTECT using function module CONTROL_FORM in driver program.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = 'PROTECT'.
PERFORM item_dynamic_table.
PERFORM item_standard_text.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command = 'ENDPROTECT'.
Call the TEXT elements in corresponding performs.
Regards
Bala Krishna -
Smartform - text not printed bold
Hey guys, hope anyone can shed some light on this.
We have invoices with a smartstyle attached, using font Verdana.
Some texts are marked as bold in the smartforms.
Now, my problem:
When printing from any environment (DEV, PRD) using one of the printers configured in SAP, text marked as bold is not printed in bold.
When printing the same invoice using LOCL, and sending it to the exact same printer from windows, text marked as bold is printed in bold.
So I guess it's not the form, it's not the style, it's not even the printer: just the printer settings in SAP.
In many ways, it is very similar to the issue addressed in this thread:
[Printer Setting|Printer Setting] , except that when previewing the text doesn't show as bold.
My question is two-fold:
- How likely is it that this issue is related to the printer configuration (and thus, basis config)?
- If yes to the above, how do I verify this? I need something solid, since the SAP basis guys aren't very cooperative and keep pointing out that it's either the smartform or the smartstyle - without researching themselves
Thanks in advance.Hi,
I think its the issue of the basis people,they need to make the settings. We had a similar problem here,we had to change the printer settings in SPAD,affter the basis peole had made the settings for us, for taking printout in hindi.
Thanks. -
IPhoto 6.0.6 text not printed on cards and book
I bought via iPhoto cards and entered texts. The text was not printed when I received it. A few days later ordered a hardcopy book : same problem.
All texts are missing except the text on the cover of the book. What can it be ?
Message was edited by: mardgeMardge
Welcome to the Apple user discussion forums
Report the problem to Apple - they will refund your cost and may have a solution
US page - you probably should search for the returns page for Belgium - http://www.apple.com/support/photoservices/returns/
Did you preview the book and the card before sending - http://support.apple.com/kb/HT1040 ?
Doe the preview show the text?
Is there anything unusual about the text that did not print?
LN -
Formatting for Standard Texts not Applying
Hi ,
Now Ia m working on BTE's . In BTE function module I am writing some text and saving it By SAVE_TEXT. In that Iam possing all the variables Including Style Name.And I am using this standard text as a body of the email.In that email Body the Formating options are not appying.
Can anyone throw some inputs on this.
Regards,
Eswarthanks for you response,I am sending plain text.I am facing formatting issuse .How to do formating for body of email .
-
Some text not printing when printing from FM8 to Pdf
We have recently upgraded to Acrobat 9 and now have problems with some Helvetica text not showing up in the pdfs. If we change the text to Arial it prints. Changing/substituting Arial for Helvetica is not an option since these files are structure using modules built by a 3rd party. This is obviously an issue with Framemaker8 and Acrobat 9 so my hopes are that someone else has had this issue and has a fix.
Thanks Art. Sorry, I looked through the forum and didn't see any Q&A on missing text in Pdfs. We are on Windows XP working files from our desktop and our server. Our normal method of producing pdfs is through File>Print using our minor customized pdf settings for screen viewing and hires printing (we've used these settings for years). Since our upgrade to Acrobat 9 we are now using Distiller 9.2.0.124. I've also found out since I first posted my question that we are not on the latest version of Framemaker8. I will run the updates to get us to the latest version of 8 and see if that fixes what seems to be an incompatiblity issue between FM8 and Acrobat 9. I say that because this problem started when we upgraded to Acrobat 9. If that doesn't fix the problem, I'll get back to you to find out more about the Microsoft printer Hotfix. Unless you know for a fact that FM8 is not compatible with Distiller 9.2.0.124, in that case we'll need to upgrade to FM9.
-
MS Word text not printing on my HP Printer.
I installed MS Word 7 and I cannot get it to print text. Everything is hook up correctly and the printer will print the screen. I have checked everything, any suggestion?
Hi @Barbiegirl17 and welcome to the HP Forums!
I'm sorry to hear you've had issues printing black with your Photosmart 6510 printer, but I will absolutely do my best to lend a helping hand
I will suggest that you try the steps within this Printer Does Not Print Black Ink or Color Ink, or Prints Blank Pages document first. If that doesn't resolve the issue can you please let me know whether it's in or out of warranty and what country you reside in? Thanks!
Hope to hear back from you soon!
Please click “Accept as Solution ” if you feel my post resolved your issue, as it will help others find the solution faster
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
**MissTeriLynn**
I work on behalf of HP -
SAPSCRIPT with Include Standard Text not converted in PDF Bitmap Image
Hi Guru,
When I use the function module CONVERT_OTFSPOOLJOB_2_PDF for import a spool, the image wasn't impoted. The Sapscript spooled have a include standard text that contain a image in BMON.
If I view the OTF SPOOL the image was stored, but when I execute the Function Module CONVERT_OTFSPOOLJOB_2_PDF, the File PDF that I Download is missed of the image.
Please Help me!
Best regardsHi Murugesh,
I have found the solution:
the image was imported in PCL format and for this when I view OTF Spool the command is
RDE ............
otherwise
RDH ............
RDG ............
RDJ ............
RDI ............
Regards Rino Patalano
Maybe you are looking for
-
How can I route internet traffic over IPSec point to point?
I have a remote site that connects by IPSEC with the end points on a router and ASA. The connection is working fine and the remote site can access my other networks at the main headquarters. The problem is, currently this remote site is accessing the
-
How do I change fonts in a Text field ??
Okay I've tried to implement a JComboBox that allows the user to change fonts in the text field. So far I've tried different methods to do it but to no avail. Could somebodoy here read the programs source code for me and tell me where I went wrong? /
-
Safari 5.0.6 plug-in html file corrupted (now Safari doesn't run)
Not sure how well I can explain this, as I'm definitely a novice! Basically, Safari won't run or access certain websites b/c I'm guessing the html file for installed plug-ins is corrupt (Safari won't open the file file:///Applications/Safari.app/Con
-
Why is the 5th generation Black IPod touch being discontinued?
The guy at the store told us Apple wouldn't be making them any longer, does anyone know why?
-
Flex 4.1 changed creationpolicy?
good day I just upgraded to flashbuilder 4.0.1/flex 4.1 and all my creationpolicy tags that are creationPolicy="queued" are broken the error message says invalid value queued it must be one of auto,all,none. did the specification change or is it a b