Print Underline in SAP Scripts
Hi Experts,
I have one problem. I want print Bold and Under line for Header.
In Print preview it is showing correct. when ever i am printing in the paper, it is getting gaps in Uderline.
( Ex: <u><b>Gas Meter Information</b></u>)
In side the paper for each word it is getting gaps.
Please Help me on this....
Thanks in Advance......
Regards,
chandra.kotha
I don't know the exact cause of it, why it is giving blank lines..try using character format for bold and underline.
Ex. <C_B> <C_U> &Variable& </> </>
If it still displays break-up in printout.. then try like this
Define paragraph format(PS) with tab space and draw line using
PS ,,&ULINE(offset value)& " Give the offfset value to the desired line size.. But I don't recommend this...
Regards,
SaiRam
Similar Messages
-
How to print u0080 in SAP Script
Hi Experts,
I have one small issue, i want to print symbol in sap script. If i puts this an hardcode vallue, but its not accepting this symbol.
Plz anyone guide this, how to display and print the above symbel in script.
This symbol is not available in displayable charactor area also.
Point will be sure.
Regards,
MohanaForm to translate unicode symbol to superscript
you can use this in subroutine i think this may be usefull to you before that you need to select the radio button of super script in charecter format for that perticular format
FORM FORM_NAME TABLES inttab STRUCTURE itcsy
outtab STRUCTURE itcsy.
*Data Declaration.
DATA : V_TEXT1(320).
DATA: BEGIN OF ITAB OCCURS 0,
WORD(40),
END OF ITAB.
READ TABLE inttab INDEX 1.
V_TEXT1 = inttab-value.
REPLACE ALL OCCURRENCES OF '' IN V_TEXT1 WITH '<SP></>'.
READ TABLE outtab INDEX 1.
IF SY-SUBRC = 0.
MOVE V_TEXT1 TO outtab-value.
MODIFY outtab INDEX 1.
ENDIF.
ENDFORM -
How to use print control in Sap script
I would like to use print control in Sap script.Actualy my problem I have security font Troy ECF. Using this font I would like to print amount field in Check printing.
we count download this font with sap .we talked to customer care they told we should hard code in sapscript. pls can any1 help on this how to do and how to use print control for this fonts.call this funcation. crate_text.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID =
FLANGUAGE =
FNAME =
FOBJECT =
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES =
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
How to Hide Print Privew Option (Sap Script)
hi friends,
i dont want print privew option (SAP SCRIPT) after executing the program the report shows output directly insted of showing print privew option.
please reply.
thanks in advance.
regards,
bhaskarHello,
When using the OPEN_FORM
Set the field of the <b>
ITCPO-TDNOPREV = 'X'
</b>
VAsanth -
Printing checkboxes in SAP script
Hi,
I have a requirement where I need to print checkboxes for all the items displayed in SAP Script output.
Is there any way to print checkboxes in the output document?
Regards,
Rajesh BhogiHi Rajesh,
Below link can be useful for you:
How to print u0080 in SAP Script
Hope this will help.
Regards,
Nitin. -
Search print program and sap script
hii , how can i find trigring print program and sap script for a particular purchase order.
regards Aditya
Edited by: aditya shrivastaba on Apr 14, 2008 9:59 AMHey,
First go with Me22 or 23 with po that you had, and then check with output type for that in the transaction. After that go to TNAPR table and check the corresponding form and print program.
Or else, go with NAST table in that put PO num in 123456 and put in OBJKY field in nast table. It will give you the output type of it, so that u can find the print program and lay out in TNAPR
Many thanks,
Raghu. -
How to know print program for SAP Script
Hi friends,
how to know print program for SAP Script form name ?Hi ,
You can use the following code changes in the layout & see..
You have to create a program Z_BC460_EX4_HF for that..
/:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
/: USING &CUST&
/: CHANGING &NAME&
/:ENDPERFORM.
Dear &NAME&
The ABAP routine could be defined as follows:
IMPORTANT: The structure itcsy must be used for the parameters.
REPORT Z_HENRIKF_SCRIPT_FORM .
tables scustom.
form get_name tables in_tab structure itcsy
out_tab structure itcsy.
read table in_tab index 1.
select single * from scustom
where id = in_tab-value.
if sy-subrc = 0.
read table out_tab index 1.
move scustom-name to out_tab-value.
modify out_tab index sy-tabix.
else.
read table out_tab index 1.
move 'No name' to out_tab-value.
modify out_tab index sy-tabix.
endif.
You could also fill the ouput parameter table this way
READ TABLE out_par WITH KEY 'NAME1'.
out_par-value = l_name1.
MODIFY out_par INDEX sy-tabix.
endform. -
What is print program for sap script?
some of the print program of sap script.
and also guide me to use that programfor which sapscript ?
you can use table TNAPR to find the print program and layoutset for output types. Maybe it will help you.
regards,
Hans -
Hi,
though seems very simple but I am stick:(
I want to add a a table in a existing sapscript which shold always print on the last page.
I am not very good in sap script and text element so all the text elements are defined with right form I defined mine.
but when I am executing the form getting the error Element 705 window FOOTER is not defined for form ...
one weird thing when I am changing something to window othe text element go negative i.e. 700 becomes -700 and next time another error...
Anybody any Idea??Might be printing from which written like this fasion:
INCLUDE 'SD_RVADIN01' OBJECT TEXT ID SDVD PARAGRAPH ZB.
Search it and see text in SO10 -
Issue in alignment of PE51 data when printing it in SAP Script
Hi Experts
I have a SAP Script which is used to print Check at the top and Re-numeration Statement at the second half via RFFOUS_C program. The re-numeration statement is designed in PE51. The Check is designed in SAP Script and the PE51 form is printing inside the script using Main window/ Text Element : 525-HR.
The FM RP_IMPORT_PAY_STATEMENT is used inside the RFFOUS_C program which returns the table PFORM and the contents of the PFORM is exactly the re-numeration statement data and are getting printed one by one in the script using the variable REGUD-TXTHR. My object is fine with all the above said things. Only issue is with the alignment which is weird in SAP Script for the re-numeration part. But when I look into PC00_M10_CEDT (TCODE to view re-numeration statement) the output of designed PE51 form is good with proper alignment.When it is printed via script the alignment is not good at all.
There is some differences in the formats of printing between PE51 and SE71. Do not know what exactly it is. How I can resolve this issue?
Thanks
Siva
Message:SivaHi Madhu,
Sorry for the delayed response.See the below screen shot.This is how it prints now.The amounts are not aligned.Increasing the line spacing will increase only the space between the lines and i am using same character format for the variable REGUD-TXTHR.I would like to align them.
Thanks
Siva -
How to print lables in SAP SCRIPT
Hi all,
Here i have a requirement in SAP Script How to print the lables instead of Hard coding the field Description. Please help me how to do.
Regards
RaghavaHi
First Create a Lable in script
Refer This link for creation of lable in SAP SCRIPT
How to create lables in SAP SCRIPTS?
Ranga -
How to print ADDRESS in SAP Script
Hi All,
I want to print address using ADDRESS command in SAP script. I am using folowing code:
ADDRESS PARAGRAPH AS
TITLE &ADRS-ANRED&
NAME &ADRS-NAME1&, &ADRS-NAME2&,
STREET &ADRS-STRAS&
POBOX &ADRS-PFACH& CODE &ADRS- PSTL2& CITY &ADRS-PFORT&
POSTCODE &ADRS-PSTLZ&
REGION &ADRS-REGIO&
CITY &ADRS-ORT01&, &ADRS-ORT02&
COUNTRY &ADRS-LAND1&
FROMCOUNTRY &ADRS-INLND&
ENDADDRESS
Here in output I am getting Title, name1, & name2 in different lines. But I want that Title, name1 and name2 in same line.
I tried putting title, name1 and name2 in same line but then neither title nor name1, name2 are getting displayed.
Please tell me how I can do the same.
I have heard that SAP displays the address according to country standard. Please let me know in which table the country specific setting is stored.
Regards,
VijayHi,
country code stored in this T005T. Adjust the tab positions on script then only u will get all the title, name1, name2 will get in one line.
regards,
ravi shankar reddy -
Problem with printing graphics in SAP Script
Hi,
I am facing problem with printing of graphics in SAP Script. I uploaded a bitmap file from pc to se78. Then I inserted it in SAP script.
I am able to view it in the printpreview as well as in the spool number. But it is not getting printed.
Plese tell me the solution.
Thanks,
SrinivasYou need to check your printer settings.Might be drivers are missing.
-
Convert OTF along with Print preview in SAP Script
Hello All,
I was getting a print Preview for the sap script, now with the new requirement, I had to capture otf data too in OPEN_FORM. so I have added "TDGETOTF = X", and that gives me otf data which I am converting it to PDF. now the problem is I am not getting preview anymore. my requirement is to have both, Preview and otf data. I have tired serching in forums and also used a function module SSFCOMP_PDF_PREVIEW, but no luck. what am I missing here. Please suggest.
Thanks-
TDPAGESLCT
TDCOPIES 1
TDDEST LOCL
TDPRINTER
TDPREVIEW X
TDNOPREV
TDNOPRINT
TDNEWID X
TDDATASET SAP11
TDSUFFIX1 LOCL
TDSUFFIX2 1000
TDIMMED
TDDELETE
TDLIFETIME 7
TDSCHEDULE
TDSENDDATE 00000000
TDSENDTIME 000000
TDTELELAND
TDTELENUM
TDTITLE
TDTEST
TDPROGRAM
TDSCRNPOS 000000000000000
TDCOVER D
TDCOVTITLE
TDRECEIVER ABCDEFGH
TDDIVISION
TDAUTORITY
TDARMOD
TDIEXIT
TDGETOTF X
TDFAXUSER
TDRDIDEV
TDNOARMCH
TDFINAL
RQPOSNAME
BCS_REQST
BCS_STATUSMaybe you can call the form twice - once with tdgetotf = 'X', the second time with it blank.
-
Problem printing box in sap script
i am printing the main window in a box in sap script, the box is appearing on page one but it does not seem to appear on the later pages, how do i get it to appear on all the pages? is there any setting that i'm missing?
Hi,
Can you elobrate your question.
if your question is like this.
-> You have only one page you are displaying the data in that box and that data is exceeding the main window and printing in
the second page and you are not getting the BOX in the second page .
a) If it is your question check whether there is any if condition
before the BOX command like
/: if &page& = 1.
/: BOX height 5 ln width 50 ch
/: Endif.
remove the if condition there.
or
/E ele1.
/: BOX height 5 ln width 50 ch
place the Box statement in the first line of that window.
-> You have two pages .
a) If it is so check wheter the box command is there in both
pages.
Thanks,
NN.
Maybe you are looking for
-
Half my library shows when I'm not signed in, and lost playlists!
I wonder if some i-tunes whizz can help me please. I did an update a few days ago and on re-opening i-tunes discovered that more than half the library was missing as well as all playlists, including purchased (and I purchase quite a lot). After a lot
-
Help!! My ipod classic freeze itunes and my pc to the point of having to force shut down.Help plz i dont know what else to do, i took it to the apple store and they restore for me but when i came home it freezes itunes and my pc, i tried and older it
-
Hey there, I'm a digital artist and use Photoshop for the majority of my work. One feature that PS CS5 brought on that i was initially really looking foward to was the new way to select the color i wanted in real time, rather than having to go and cl
-
Activating old Creative Suite version
I'm trying to reinstall Adobe Creative Suite Production Studio Premium on the original xp system it had been on until replacing the hard drive. Installation went fine. Activation is not. Online activation didn't work. Phone activation is discontinued
-
This Screen Will Self-Destruct in 5 Seconds!
Hi; For some reason, I have a script in AS3 that presents my movie exactly as I want it to...for 5 seconds, and then, poof! It disappears, leaving a white screen. I thought maybe it was a tween, but I have no 5 or 6 second tweens that could be the cu