SAPScript Allignment Problem
Friends.
Greetings.
Am modifying QM - Inspection Form here the fields r not allign properly ,
eg:
0012 white 3 50,0 nos Accepted
0034 white length 3 40,0 ms Accepted
the o/p came like this...
but i defined all the fields with length..
2. Here one more pble. Insp Date is not coming in first page but second page its coming ... what is reason for this ??
Please guide me any one...
Thanks In Advance..
Vijay
0012 white 3 50,0 nos Accepted
0034 white length 3 40,0 ms Accepted
the o/p came like this...
but i defined all the fields with length..
check the define
TAB ',,' lenght and try to set as per as you want.
2. Here one more pble. Insp Date is not coming in first page but second page its coming ... what is reason for this ??
make sure you define this field on first page also.
else at last use debugger for your second problem.
Amit.
Similar Messages
-
Taking print out allignment problem(urgent)
Dear all,
I am faching an allignment problem while taking printout,i didnt face this problem before , i didnt able to find solution for this problem so anybody help me to solve this problem .
and also give me the solution why this problem arise.
thanks & regards,
Hari Baskar.IHi friend,
There must be some problem in printer settings
or
Try reducing the size of the box and see because of the size also printer may avoid the boxes.
Just try these both i think either one of the both must be a problem.
Still did not get the desired output please revert back to me. I will help you.
Thanks,
Sri Hari -
GUI_DOWNLOAD fn module text allignment problem
Hi
I have a problem while downloading data from internal table to presentation server filepath using GUI_DOWNLOAD fn module.
For me the requirement is to display each field data at a fixed location in a DAT file (notepad) for all lines irrespective of any delimiter.
Now data of ech field is getting displayed continuously after its preceeding field with the specified delimiter. I want to fix the location of each field at a particular point for all lines in the file after download.
Is there any other fn module for this or any change in the parameters for fixing the field positions in the output file ?
HarshaHi Vinod
I have tried your way solution also. Still my problem is not solved.
Present Output:
test test E12EDWQD 0000110.000
venky kirupa test case- final se 87549-8655-9 0000110.000
Vetri Velan SAFETWT 0000961.540
Amount fieilds(last field) of each line need to be alligned one below the other starting from same position in all lines. At present its all random based on the length of previous field.
Harsha. -
SAPscript Output Problem - Very Urgent - Please help
Hi,
I am having the following problem with SAPscript.
In the Main Window, I have instructions to the printer in the ZPL2 language (For Zebra Printer).
There are also several variables, which are highlighted in Gray and enclosed in the&.
There are also several elements all of them empty except for the one where this code is.
Now, I received this program to modify in terms of code and the output.
IF you have never done any work with Zebra Printing, the way it is done is that you create a label using the Zebra BarOne or Zebra Designer program, then output it to an itf file, upload it into a standard text as .itf and copy the uploaded contents to the main window. When printing to a Zebra printer, the Zebra printer will read the instructions and will print the output.
Here is the problem: The config for the output type is correct.
When doing a printing test from SAPscript, I get the right output and the Zebra printer is able to print it.
However, the real process for this task will go through MB02. There, if I create a spool request using the proper method (select output type and etc.), it will go the spool. However, if I print preview or output (doesnt work with the Zebra printer, so I have to output to the Laser printer), it will output the following (none of the following includes any of the ZPL2 code/instructions. Instead, it seams to print the variables contents with the field name next to it This isnt whats its the Main window!!!)
http://img244.imageshack.us/img244/6915/66052475zk2.jpg
Please help. I have debugged but dont know what to do and cant find anything wrong.
This is very urgent. Any help will be useful.
Thanks,
JohnOk, maybe I have confused others in regards to the issue as well.
We expect this label to be output from a Zebra Printer.
When output through Sapscripts printing test, the preview from the spool shows the ZPL2 code in small font (non readible if a created a screenshot) and if sent to the Zebra Printer, it prints the label correctly.
When output through MB02, the preview from the spool shows the code that I have attached to the 1st post in this thread. If I try to output to the Zebra Printer, nothing happens because the ZPL2 instructions are not even in the preview and therefore, the Zebra printer recieves no instructions. I should not have mentioned the laser printer, because it has nothing to do with this issue.
I hope that this makes the issue a little more clear and understandable. Please help.
Here is the ZPL2 coding before uploading to standard text (only difference is that once uploaded, the '/' characters are removed.) However, I believe that the problem may lie in the print program and how it compiles but I debugged and haven't really seen where it comes from:
/:NEW-PAGE
/ ^XA
/ DFNEW-RE-1FS
/ ^PRC
/ LH0,0FS
/ ^LL1830
/ ^MD0
/ ^MNY
/ LH0,0FS
/ FO244,854A0N,55,46CI13FRFB154,1,0,LFN999^FS
/ FO819,698A0N,55,46CI13FRFN998FS
/ FO245,477A0N,55,46CI13FRFB755,1,0,RFN997^FS
/ FO389,926A0N,55,46CI13FRFB654,1,0,RFN996^FS
/ BY3,3.0FO42,1072B3N,N,152,N,YFRFN995FS
/ FO276,1258A0N,55,46CI13FRFN995FS
/ FO484,774A0N,55,46CI13FRFN994FS
/ FO817,774A0N,55,46CI13FRFN993FS
/ FO611,556A0N,55,46CI13FRFN992FS
/ FO245,556A0N,55,46CI13FRFN991FS
/ FO397,117A0N,55,46CI13FRFN990FS
/ FO245,405A0N,55,46CI13FRFB880,1,0,RFN989^FS
/ FO244,698A0N,55,46CI13FRFN988FS
/ FO629,998A0N,55,46CI13FRFN987FS
/ FO244,623A0N,52,42CI13FRFN986FS
/ FO397,261A0N,55,46CI13FRFB404,1,0,RFN985^FS
/ FO819,854A0N,55,46CI13FRFN984FS
/ FO725,554A0N,55,46CI13FRFN983FS
/ FO397,189A0N,55,42CI13FRFB695,1,0,RFN982^FS
/ FO397,333A0N,55,42CI13FRFN981FS
/ FO638,333A0N,55,42CI13FRFN980FS
/ FO391,21A0N,63,63CI13FRFB433,1,0,CFN979^FS
/ FO36,698A0N,55,46CI13FR
/ FDWBS:FS
/ FO37,405A0N,55,46CI13FR
/ FDMATL:FS
/ FO37,478A0N,62,44CI13FR
/ FDDESC:FS
/ FO554,698A0N,55,46CI13FR
/ FDSUPPLIER:FS
/ FO32,625A0N,55,46CI13FR
/ FDTEXT:FS
/ FO35,1258A0N,55,46CI13FR
/ FDBATCH NO:FS
/ FO770,775A0N,63,51CI13FR
/ FD/FS
/ FO32,854A0N,55,46CI13FR
/ FDESHM:FS
/ FO37,556A0N,55,46CI13FR
/ FDQTY:FS
/ FO32,998A0N,55,46CI13FR
/ FDSAP MATERIAL DOC NO:FS
/ FO525,333A0N,55,46CI13FR
/ FDofFS
/ FO556,854A0N,55,46CI13FR
/ FDINSPECT:FS
/ FO32,926A0N,55,46CI13FR
/ FDUNLOADING:FS
/ FO37,117A0N,55,46CI13FR
/ FDSTOCK TYPE:FS
/ FO32,774A0N,55,46CI13FR
/ FDPURCHASE ORDER:FS
/ FO37,188A0N,55,46CI13FR
/ FDDELIVER TO:FS
/ FO37,260A0N,55,46CI13FR
/ FDSTORAGE LOC:FS
/ FO37,332A0N,55,46CI13FR
/ FDCONTAINERS:FS
/ FO1,1359GB1217,0,6^FS
/ FO594,1359GB0,474,6^FS
/ ^XZ
/:NEW-PAGE
/ ^XA
/ ^XFNEW-RE-1.ZPL
/ FN999FD&ATWRT_HAZAMAT(6)&^FS
/ FN998FD&EKKO-LIFNR&^FS
/ FN997FD&MABDR-MAKTX&^FS
/ FN996FD&MSEG-ABLAD&^FS
/ FN995FD&MSEG-CHARG&^FS
/ FN994FD&MSEG-EBELN&^FS
/ FN993FD&MSEG-EBELP&^FS
/ FN992FD&MSEG-ERFME&^FS
/ FN991FD&MSEG-ERFMG&^FS
/ FN990FD&MSEG-INSMK(1)&^FS
/ FN989FD&MSEG-MATNR&^FS
/ FN988FD&MSEG-MAT_PSPNR&^FS
/ FN987FD&MSEG-MBLNR&^FS
/ FN986FD&MSEG-SGTXT(40)&^FS
/ FN985FD&MSEG-UMLGO&^FS
/ FN984FD&QALS-PRUEFLOS&^FS
/ FN983FD&V_BACKORDER&^FS
/ FN982FD&V_NAME3&^FS
/ FN981FD&WS_CNTR&^FS
/ FN980FD&WS_CON&^FS
/ FN979FD&WS_HEADER& &^FS
/ ^PQ1,0,1,N
/ ^XZ
/ ^FX End of job -
I made a graph window in a sapscript form.When i print it i have the following problem :
I can't see the "MAIN WINDOW" only. I mean that i can see all the other elements EXCEPT the main window .
Please help me .....Hi,
Just check wheather the internal table you are trying to display in the main window is empty by mistake.
just try to put some charcter in the main window and test wheather it is printing or not .
Regards,
guru
mark if helpful -
Hello,
To print a 'bill-to' address on an invoice I'm using the ADDRESS...ENDADDRESS command within my SAPScript form. To specify an address, I use the ADDRESSNUMBER parameter. Although the address is printed, I have a problem: I would like to add the name of the addressee to the address (on the second line of the address).
Normally this is done by using the PERSON parameter, but because I'm using the ADDRESSNUMBER parameter, I think the PERSON parameter is omitted. Does anybody know how to solve this problem.The online help for the SAPscript <b>ADDRESS</b> command can be found at:
<u>http://help.sap.com/saphelp_470/helpdata/en/d1/803238454211d189710000e8322d00/frameset.htm</u>
I think you may want to play around with the PRIORITY parameter. Or you can specify the contents of each field you want and limit ADDRESS to formatting only. See the documentation. -
Program control - SapScript assigned problem.
I assigned a Z program control (A) to Z SapScript, and works fine. I must to change Z program control (B) and I assigned it to Z Sapscript. My problem is because when I assigned Z program to Z Sapscript with TX SE71 - Layout - Text - print program selection dialog, the standar program SAPMV45A is over my Z program (B). Z program (B) is a copy from YBAA_RVADOR01, for sales order form.
Problem is when I print, SapScript texts are not sending from my Z program control (B), and form look empty.
Some body can help me please?.
Thanks in advanced.SOLVED.
Re: When calling SAP SCRIPT from function module, variables are not passing
The SAPSCRIPT can see the global variable of driven program or the program set in OPTION-TDPROGRAM (it's field of import parameter OPTION of fm OPEN_FORM)
Regards. -
Sapscript MEDRUCK/Zedruck Sapscript printing problem
Hi,
I have a problem in SAP version ECC SAP ECC 6.0 with the PO print program SAPFM06P and the sapscript ZEDRUCK. From within ME23N when I do a print preview of the PO everything looks OK, however when I print it out to a HP Laserjet 1320n there is a strange number '4099' printed to the left of some of the fields, for example in the print preview I see 'Terms of Deliv.: FOB' but on the printed version I see '4099Terms of Deliv.: FOB'.
These characters appear in other places on the PO as well. We dont have this problem on other sapscripts i.e invoices, quotations etc.
Message was edited by: Mike DSolved used a different PO and all was oK.
-
I go to SE71 and create a new form named "ZFORM3". when i click on create it says "FORM LANG EN is not available in client 800" .I know sum ppl hv to import a predefined form n then customize it. But is it cumpulsory coz i want to create my own sapscript from scratch.
Secondly even after that message comes it takes me to form editor where some buttons r missing i guess. eg. i get buttons like paragraphs,character format but do not get WINDOWS and PAGE button at the top. Is it because of the language prob in client which was notified earlier ??
PLZ helpHi,
we can develope a scripts from scratch.. there is no rule that we should copy standard forms and customize it..
when comes to your problem you better approch basis guy..
hope this will help you..
Regards,
Kiran -
I am having a problem with several Sapscripts that we use. We have just upgraded from 46c to ECC 6.0.
In 46c, the company logo would print and on the same line some text would also print.
Example:
LOGO Commercial Invoice Page 1 of 1
In ECC 6.0, the logo still prints correctly but I cannot get any text to print on the same line as the logo.
Example:
LOGO
All the code int the scipts are exactly the same.
Has anyone had a similar problem?hi check this ..link may be use for u..
http://wiki.ittoolbox.com/index.php/HOWTO:Sap_script
logo printing reverse
Sapscript logo is printing topside down
regards,
venkat. -
Hi friends! I have a problem here with sapscript form. I have an form and in preview print on screen is Ok, but when I print it on a printer, some line has font size much bigger, with this report is out of layout. Why in screen preview is Ok but in printer is bigger font? Font missing?
Thanks for any help.Hi,
I was trying to find the problem's solution but comes across a SAP note 548357. Pls check may help you.
Symptom
When printing a document or report the font that is printed is smaller
than the size required.
Other terms
Printing, document, report, font, printer, print preferences, size, PLD, SAP Business one, vertical print compression
Reason and Prerequisites
Consulting
Solution
The "vertical print compression" field is not set to 100 per cent. The
vertical and horizontal compression can stretch or compact the document
size and effect the font.
To solve this problem, please perform the following steps:
Go to Administration > System Initialization > Print Preferences > General tab.
Check the "Print With Vertical Compression" field and change it as desired.
Regards,
Lokesh.
Edited by: Lokesh Tarey on Apr 21, 2010 6:48 AM -
Google Maps going crazy and allignment problem
Help - I have got a site - www.elitepolefitness.co.uk which I have uploaded with Fetch (I have my own hosting) the embedded Google map is going crazy and the address is dark grey and left alligned instead of light grey and centered. When I upload the files to Fetch and preview site through there, its perfect. Please help!
Problem solved - I moved the files to different place - onto my Mac HD rather than my external HD. This is a massive pain though, I don't want to store all my websites on my Mac HD. Please try and fix this problem soon.
Could you advise on the next update/new features?
Thanks for your help - much appreciated.
Michelle -
Hello, a form is generated each time an invoice is created. Now, we have a problem in the production environment concerning certain values appearing in the form. The case is not reproductible. Which other transaction can i use to print the form(+ i would be able to debug to find the problem ) .For example, i know that certain 'correspondence' transactions allow you to print a form based on message type.
Edited by: Antish Awootar on Jun 9, 2010 9:48 AMHi Ahmed,
first: check you have activated your SAPScript
second: check you print the language you have activated
(if not translate again your SAPScript)
third: check you have transport the SAPScript in the good client (SAPScript is client dependent)
Rgd
Frédéric -
Allignment problem between Report Builder And Apps
Hi All :
If i am running a report in report builder i am getting 20 records in each page of the reports.but when i am running this same report in apps i am getting 24 records in each page of the apps more than this the records allignment everything has been changed in apps even i am setting equal page setup to both apps and report builder and style and rows and columns also having commen setup. so any one can help how to get same output in both apps and report builder for each and every page(20 records and 20 records)...Hi ,
I have check the /etc/hosts & /etc/services file.
Both are ok.
can ping hostname & ip. Can resolve hostname and ip at DNS.
port 3217 & 3317 is open.
What else that I should check?
Thanks.
ck chai -
in sapscript in the grand total it shud appear like this.
****23,33,546.00
ie: everytime it gets printed (numerical value upto 10 crores) the first digits if they are not numerics (like the example sited)
has to appear like '*'.
pls help.HI
I think you are doing payment advice right???
In driver program * are added....Pls check
or if it is another also try to debug the program u will find where they are adding..
Thanks.
Sai
Maybe you are looking for
-
R12.1.3 :- XML concurrent request giving completed and "WARNING"
Dear All, One particular Concurrent request was not running fine. Its show compleated* in Phase and in Status it showing *"warning"*. Actually its a "Supplier Invoice Aging" and the log file says like below :++----------------------------------------
-
Unable to send fax Fax-HP Officejet Pro 8500 A910
I have a Fax-HP Officejet Pro 8500 A910 All-In-One. I had to reinstall it. It is telling me that I have installed it correctly and is on the network. I installed without using a USB. I am on wireless networking. I have tried several times to send a f
-
Hi All, In the query designer, under column, on the structure right click and select New formula it goes one screen right, in that screen I want to insert one folder like from left side and that will be the key figures, but it is not showing the keyf
-
Default page setup not matching with document size.
working on Acrobat X 10.1.4, windows7 64bit, have created lots of boards in AI saved as PDF in Legal size but when opening to print thru Acrobat it always defaults to Letter, why cant Acrobat detect size? this is very annoying. I did try using "choos
-
Unable to do combined billing of different sales areas.
Hai Friends, I have created two sales orders of different sales areas for the same customer. After delivery I have executed combined billing but when I go to vf02 for displaying the billed materials, the system is showing only one sales area's materi