Sapscript Langusge problem

Hi  all,
i am going to modified a existing SAP SCRIPT report.
i am coping that script (SAVE AS) as a new name....and on abap editor i had copy the same program  ..i had changed the Open Form name as per changed name.
When i am running that Script form it apper the selection screen as per proframming and after putting the input   it required the default prienter name  after given the default printer and Printpreview it show the error..
As:
Form FORM1 language EN is not active and has no errors.
kindly  solve the problem.

Hi
It seems that FORM is not active
goto SE71
enter form name
change
Layout -> Activate
see now
see the doc how to copy the script and do
There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
Ex: Go to SE71,
on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
Form name:
Source Clinet:
Target Form:
give Form name as usedefined form name EX: ZFORM1
Source client as 000 and
Target form as MEDRUCK.
execute.
Now, the standard from MEDRUCK is copyied to your form ZFORM1.
NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
Go to NACE Transaction.
on Applications select EF for purchase order and click Output types button on application tool bar.
now select NEU as output types dobule click on Processing Routines.
now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms.
Regards
Anji

Similar Messages

  • 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 (doesn’t 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 isn’t whats it’s the Main window!!!)
    http://img244.imageshack.us/img244/6915/66052475zk2.jpg
    Please help. I have debugged but don’t know what to do and can’t find anything wrong.
    This is very urgent. Any help will be useful.
    Thanks,
    John

    Ok, 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

  • Sapscript printing problem

    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

  • SapScript address problem

    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 D

    Solved used a different PO and all was oK.

  • SAPSCRIPT intitial problem

    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 help

    Hi,
    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

  • SapScript Logo problem

    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.

  • Sapscript font problem

    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

  • MIRO sapscript form problem

    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 AM

    Hi 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

  • Sapscript print problem

    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

  • SAPSCRIPT-printout problem in collective invoice

    Hi,
      We have created a new output in SAPSCRIPT for the printout of the invoice.All the datas are fetching  and getting printed correctly if i am selecting only one invoice.If there are for ex--4-5 collective invoices printout then for the 1st invoice everything is coming fine in proper place...but from 2nd page i.e 2nd invoice the subject is getting printed 2-3 lines up where exactly the 1st page has been printed...likewise...3rd page it is getting printed 4-5 lines up..
    User is taking printout in Dot-matrix printer
      Kindly suggest a solution
    Regards,
    Gopal.

    Hi Gopala,
    Check in the print preview for all the pages then after that take the print out of the invoices....if the issue is the same
    Check with  basis team whether the page format in the script supports the dot matrix printer..
    Regards,
    Sravanthi

  • Sapscript layout problem

    Hi Guys,
    i have one commercial invoice layout , but problem is with Ship-to-party address.
    In Print Preview and in Debugging Adress is printing correctly, but when i take the output from a line printer, Address is changing to some other address.
    the output in print preview is correct as per the billing document.
    Pl suggest some idea. Trying but not able to solve.
    Good Answers, max. points.
    Regards,
    vamsykrishna.

    Write a perform to get address details.
    In perform write code as below.
    Pass customer number and pass the partner function WE to VBPA and take the address number.
    Then pass this address number to ADRC, then address date in script.

  • Sapscript language problem

    Hi all,
    I have a sapscript f_d_int_scal1_00 i copied it from client 00 , the sapscript is in en language but the print program in se38 ZRFDZIS00 is still in german...
    help plz!!
    Rgds,
    Anupma.

    hi
    The language of sapscript and program haven't a link, so you shoudn't need to change the language of the program.
    Anyway if you logon in english and try to change the program, the system'll ask you if you want to change the original language
    Max
    Message was edited by: max bianchi

  • SAPscript text problem

    Hello,
    I am using the graphical editor for entering notification tasks. Normally, I copy and paste content from an e-mail. After saving the notification and exiting from it when I re-enter the notification in display or change mode, the text in the notification task is distorted, some characters are missing and some additional characters are displayed. Essentially the formatting is lost.
    Is this a problem due to the copy and paste from e-mail? How can I circumvent this problem?
    Thanks,
    Rugmani

    Hello Joy,
    If I need to add more text to an already existing text, I am not able to do so using the graphical editor. Only the line editor allows me to add more lines. Is this true or am I doing something wrong?
    Also I would like to know if it is possible to edit already existing text using the graphical/ line editor?
    Thanks,
    Rugmani
    Edited by: Rugmani Rajan on Aug 12, 2008 12:26 PM
    Edited by: Rugmani Rajan on Aug 12, 2008 12:28 PM

Maybe you are looking for

  • Saving and Backing Up

    Hi, 1) How best can I protect my sequences so that if it gets corrupt I can go back to yesterdays? In Pro Tools I'd open my session each day and change the date so if I goofed anything up I can always go back to yesterdays and begin again from there.

  • Conditional format in Matrix report

    Hi all, I have the column wise matrix output which I am require to put some highlight on the entire row if the condition meet. The output will be something like this :- Name ____________JOB A______JOB B _______JOB C AAAA____________2___________2_____

  • How do I create a main menu?

    I want to create a main menu so I can access three different vi's.

  • Mac Battery Issue!!!!

    For a few weeks I've been having issues charging my computer. First I had to adjust the magsafe so the orange light would go on...of course after a while that only made it worse and ended up buying a new charger. THEN after i bought the new charger e

  • Selecting/finding pictures with (a tag for) person A only, but nobody else?

    I can find the A pictures by selecting the A tag. But that will result in all A pictures, including the ones with persons B, C, et cetera. I want the pictures in which A is the sole person. I also would like to find pictures in which A and B are the