About waschein(SAPscript)

Hello experts,
I am currently modifying a Z version of waschein and I think I am having a conflict with my at new statement. What happens is that whenever I call the FM CONTROL_FORM to create a new page it gets the records thats supposed to be displayed on the next page! I also think that it conflicts with sapscript calling automatically new pages whenever the main window is filled up. Please help me on this guys. Again, thanks a lot and have a nice day!

Hello,
I am having a problem with my sapscript form. I have a requirement wherein before calling the sapscript FMs I would group together all records by dealers so all dealer A would be grouped together and so on. But on the print preview of SAPscript I am confused as to why, for example, I get the wrong values on my header window(KOPF). It gets values thats not in the group.
For example, on page 4 of my sapscript, my header window(KOPF) show the value customer B where in fact its supposed to display customer A.
Message was edited by: viraylab

Similar Messages

  • Sapscript print a extra page

    Hi expert,
    now i'm confused about a sapscript problem. The device program of this form is a standard SAP program SAPF130D, the issue is when i print it, the result will be two page, the second page does not have any data except for the header details. even if we don't print any content in the main window,the second page is also be printed. and i have checked the form, there are not any comand like 'new page'. Is there anyone have any idea to share.
    will appreciate your reply, thank you!!!

    This may have several reasons, but quite likeley it is a blank line beeing printed in main window not fitting in page1.
    The according paragraph format has not tagged the option "no empty lines".
    at least that would make him print a second page without seeing anything on the main window in the output.

  • Sapscript - layout form

    Hi,
    Can you explain about the sapscript layout, with example?
    Thanks in advance.

    Hi,
    Create the SapScript Layout using Tcode:SE71,then create a page called 'PAGE1', create a Paragraph called 'AS' and use the below code in the Text Element of the Main Window. Then the values will be displayed in the SapScript when you try to execute its Print Program supplied in the other post.
    Example Code:
    /E   MAIN    
    AS   &NAME&  
    Apart from this, TNAPR is the table which contains the details of the print program and form.
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Don't know what's happen in SAPScript Form

    I have a question about the SAPscript form of delivery note
    i got the item line show in the doc should be like this
    000515   Farm & Country - Cow & Sheep                        1700003333     444PC
    But I don't know why the description become showing the form code of it..like this
    000515 Farm & Country - Cow &,,&VBDPL-BSTKD&,,&VBDPL-VBELN_VAUF&,,&QTY&&VBDPL-VRKME&
               Sheep
    the form code that i write is shown as below.
    &OLD_MATERIAL&,,<b>&ITEM_DESC1+0(31)&</b>,,&VBDPL-BSTKD&,,&VBDPL-VBELN_VAUF&
    actually i don't know which combination of the letter will make this kind of problem.
    can anyone know this?
    Thx for help

    Jellicent wrote:It tells you: you are missing libfltk.so, hence you are missing the appropriate package.
    Use your favourite search engine and search for for information on what package it is.
    I found what you are looking for by searching on duckduckgo for "libfltk Arch Linux".
    Thanks, i searched google and i installed fltk package. Then i try to start them in termial, there are some problem:
    $ hdspconf
    HDSPConf 1.4 - Copyright (C) 2003 Thomas Charbonnel <[email protected]>
    This program comes WITH ABSOLUTELY NO WARRANTY
    HDSPConf is free software, see the file copying for details
    Looking for HDSP cards :
    Card 0 : HDA Intel at 0xfdff8000 irq 43
    No Hammerfall DSP card found.
    $ hdspmixer
    HDSPMixer 1.11 - Copyright (C) 2003 Thomas Charbonnel <[email protected]>
    This program comes with ABSOLUTELY NO WARRANTY
    HDSPMixer is free software, see the file COPYING for details
    Looking for RME cards:
    Card 0: HDA Intel at 0xfdff8000 irq 43
    No RME cards found.
    Thankyou, i will continue search google for my problem

  • Including text to contract and copy in PO

    Hi,
         I have created a text with a text name(PO_TEXT) in SO10 transaction. When creating contract(ME31k), in release order text, i have included the text that i have created.But it is not displaying the text that i have created. It is just saying that "INCLUDED PO_TEXT". I have created P.O against this contract. Even in print preview of this PO, it is displaying the same but not the actual text.
            Is there any configuration that is to be done for the text to be displayed,but not the text name.
              Please reply me as soon as you can.
    Thank you

    this is just what you are seeing on the paper or in the text overview, I am talking about the sapscript text.
    Go to your contract ME32K, go into the text overview, double click the text to open it in the editor.
    In the editior you can choose from menu GOTO > CHANGE EDITOR
    to switch between SAPSCRIPT Editor and Graphical Editor.
    In Graphical Editor the include line has a dark grey background.
    In Sapscript editor is an extra column for the command /:
    without this you just have text.
    How is it in your system?

  • Smart form question

    Hi, there
    1. When i print the header , some issue happened.
    outputting ========= , how to output the line, which is not broken line
    2. Date is always not correct , it always depend on client data configuration.
    3. Why i use the sys page, the '*' will be outputted.
    How to do?
    Thank you in advance
    Kevin

    Hi Vinod,
    Your answer is very userfal. but some points are not cleared.
    1. actually underline can be output continuely. but I wanna output double line in text mode. and the space of two line is small.
    2. I know it is okey using write command. it is same to No.1 issue. I wanna output date in text mode. although date in the internal table is like DD/MM/YYYY. if end user 's configuration is yyyy.mm.dd. how to do .
    and about the sapscript. maybe i will work. Could you please give me more. a example is good for me.
    3. We have adjust the sapce output. but still display . a strange case happend. if the total is less 10 pages. it is okey. otherwise if the total is more then 100 pages, then page less then 100 will be display normally. like 15/8. in fact i wanna display 10/108.
    Thank you .
    Kevin

  • ERROR : element W1KOPF window main is missing

    Hai All,
                 I have migrated a standard program(it is of type module pool) and a Form from 4.7 to ECC.
    and sent  Form to testing. but while executing it in testing it is  raising an ERROR :element W1KOPF window main is missing .
                                        As it is a standard program we need not add any element but it is giving error. So, can help me out in this regard. Please it is urgent.
    regards.
    Prasadh

    check if there's any note about the sapscript or the
    print program if you don't find anthing make oss massage.

  • MICR Cheque Printing

    Hi ABAP gurus,
    I have been given a requirement to add remittance part to a check and add some logic to the check.
    My problem is that nothng much is written about the SAPSCRIPT / SMARTFORM  it is using and the
    driver program for the MICR check printing.The T code for trigerring the Check is F110.
    I did a lot of SDN and Googling and found out the Program name to be RFFOUS_C, but this program triggers 2 sapscript i.e. F110_PRENUM_CHCK &  F110_D_AVIS.
    Please throw some light , as how to know the actual script for the check.
    Regards,
    Asish
    Infosys Hybd DC

    Hi,
    Here's how to get the form name for cheque printing.
    Goto-> FBZP transaction and in the payment methods for company code push button you can view the form attached for the respective company code.
    Thanks
    Nidhi

  • About include text in sapscript form printing

    hi experts:
        I am learning about form printing,the control command-include,for example:INCLUDE ZTEST OBJECT TEXT ID ST.
    the question is:how to ceate the text?
       thanks

    Hi,
    Standard text are used to include a Fixed Note or Rules or regulation document in SAPSCRIPT.
    You can include this text any where in your SAPSCRIPT, just by using include text.
    It is created in SO10 transaction, Where you can create the standard text. Object Name --> Starting with Z, Text ID --> ST, Language --> EN
    Just enter the text you want to display inside the editor and save it.
    Then go to sapscript editor --> in Menu Include --> Text --> Standard.
    It wil get included.
    Hope this may be useful..
    Regards,
    Prashant

  • Need info about text elements used in Smartform / Sapscript

    Hi experts
    I am working on Smartform / Sapscript i am facing the problem mentioned below
    I want the info regarding all the text elements used in Form / Script
    Can u please suggest me the name of table
    I have already used STXH table but it is not giving me the all text elements
    I mean i want that if i enter some formane ...i should get all the text elment contained in it
    Plz help me
    Thanks

    Hi Gaurav,
        Try out the fn module "READ_TEXT".
    Hope it helps you.
    Regards,
    CS.
    Note: Reward points if helpful.

  • About SAPscripts and smartforms

    Hi all,
             I am working on SAPscripts and i have one doubt.
    I want to know the concepts how data is communicated between SAP scripts and print program.Suppose I am writing one subroutine. Can i write the form statements in the print program of the script or I have to write it in another program.
             I want whether SAPscript is calling the print program or vice versa.
             Please tell me the same concepts regarding smartforms.
             Please experts provide me a vivid idea so that I can get the concepts clear.
        With regards,
          Abir.

    HI
    GOOD
    AS PER YOUR REQUIREMENT HERE I AM GIVING SOME POINTS RELATING TO SAP SCRIPT AND DRIVER PROGRAM
    WHEN YOU R CREATING A SAPSCRIPT FORM IT CANT ABLE TO EXECUTE OF ITSELF, FOR EXECUTION IT NEEDS HELP .THAT IS THE REASON YOU R CREATING A DRIVER PROGRAM.
    IF YOU GO THROUGH A DRIVER PROGRAM YOU CAN FIND OUT THAT YOU R PASSING THE SAP SCRIPT NAME AS A PARAMTER.SO YOUR DRIVER PROGRAM IS CALLING YOUR SAP SCRIPT FORM.
    USING THE DRIVER PROGRAM YOU ARE PASSING THE APPROPRIATE VALUE FOR THE VARIBALE THAT YOU R GOING TO PRINT IN THE SAP SCRIPT FORM.
    =============================
    SMARTFORM CONCEPT=>
    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name    Type assignment   Reference type
    ITAB1               TYPE                  Table Structure
    Global definitions
    Variable name    Type assignment   Reference type
    ITAB2               TYPE                  Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g.  HD_GEN for printing header details,
            IT_GEN  for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    THANKS
    MRUTYUN

  • About BOX control command in SAPScript.

    Hi,
    I am using the BOX control command in SapScript.
    Is it possible to assign the values of Xpos and Ypos dynamicalliy.
    In BOX XPOS 16 CH WIDTH 0 MM HEIGHT 18 MM FRAME 10 TW,
    i want to assign the values at runtime, instead of
    xpos 16 , something like Xpos Var, where var contain the value of xposition.

    Hi,
       We cant give the dynamic value in runtime . It should be static.
    Regards,
    Saran

  • Hi, everyone, a question about sapscript?

    Hi, everyone,
    My sapscript have one page and next page is the same as the first page, the page have two window, a var window and a main window, in the main window there is a command at the top that is "/: BOX FRAME 10 TW". and when I preview the form there is two page and in page 1 there is frame but the next page doesn't have frame, I don't know why, can anyone tell me why? thank you in advance!
    Kind regards
    Dawson

    hi,
    The box will not be carried by the main window to the other page this is because, the main window will be having the changing content, and as we define the main window only once the box appears only once. the remaining data in the main window will increase according to the content in it. so prepare your box in a variable window and define it in all the pages so your box will be coming in all the pages. overlay the variable window on the main window. with the same size..
    you can refer to the link with same kind of query
    [BOX IN SAP SCRIPTS|Re: sapscript box nto printed on all pages]
    have a good day,
    regards,
    sarves

  • Sendig email about a few pages of a SAPScript

    Hi!
    I would like to know, is it possible to send via email some pages of a SAPScript.
    I've created a report, with SAPScript output. The report is collecting a lot of data, and is grouping the data by customer.
    So at the end of the report run, I have 5 pages, with a grouping like this:
    1. Customer A / Deliveries 1,2,3
    2. Customer B / Deliveries 4,5
    3. Customer C / Deliveries 6,7,8,9
    4. Customer D / Deliveries 10
    5. Customer E / Deliveries 11,12
    In the B, D customer master data exist an email address, so I have to send the 2nd page to the email address of B (for example [email protected]) and the 4th page to the email address of D (f.e.: [email protected]).
    How can I solve this?
    Thanx
    Tamá

    Hi
    Let the people know how the issue is resolved. So that, they can refer to this post when faced with a similar situation.
    Regards,
    Raj

  • SAPScript:  About Longtext Output

    Dears,
    I want to output longtext in SAPScript in my form.
    The length of the text is 120, and I want them output just full of the lines,
    And the lines should be 30 columns, and I want to save some space
    Is there any method to let these words align both left and right, except to change the font size? 
    Is there any method to broaden the spaces between words?
    Thanks a lot
    Julie

    Dear,
    Your method is very useful, and the font Courier is just can satisfied my form.
    Also, there is a problem,  As I print preview  the form, the character can full the line space,
    but when I print the form, the length is just  3/4 of the line length.
    I want to know, is that the problem of the Printer?    Different output view for different printer?
    Thanks.
    Julie.

Maybe you are looking for