SAP Script Check box

Hi,
how can we able to add Check box in SAP script main window. My requirement is to display two check boxs with YES and No names. Based on condition, I want to mark any one check box.
Thanks in Advance.
Thanks,
Raman

Hi,
Please refer the below link
http://abapeasy.blogspot.com/2008/03/3-easy-way-to-add-checkbox-in-your.html
Regards
Ramakrishna Pathi

Similar Messages

  • SAP Script Check printing Layout, Line Items to display twice in First Page

    Hi All,
    This requirement is for US check printing Layout.
    My Requirement is to display Items twice on the first page.
    Eg : Main Window has 10 Items, I need to display all the Items at the bottom in another window at the bottom.
    I can't create 2 Main windows in the first page, as the data from the Main window 1 overflows to Main window 2 in the first page.
    I copied print program RFFOUS_C into a Z-version and try to implement the logic, however unable to print the line items in the bottom window.
    Kindly give your valuable Inputs.
    Thanks
    Vinayak

    Hi
    I had the same request for a check form in Canada. I solved it by writing the line item output into variables and print these variables in a second window. It was ~10 hours of effort, not a real nice technical solution but it worked.
    If you require I can send you a PDF of the sap script form definition. You can contact me at [email protected] Answers can take 1 week or more. 
    Best regards
    JD

  • Text Element in SAP-Script and Box

    Hi Gurus
    Q1.what is the meaning of text element's in sap-script.e.g.
    /E INSPECTION_STATION_INFO
    /E SAMPLE_INFO
    /E PHYS_SAMPLES_HEADLINE..
    I have to use these elements in my script.i am not able to understand what does it mean?
    Q2.how we can draw a Tabular format in Script?
    Q3.How we can draw Box?
    Thanks in advance

    Hi,
    Text Elements
    You can define text elements (window texts) for each window. On the Form: Request screen, choose Edit ® Text elements.
    The print program accesses text elements by name, formats them and prints them in the respective window. That is, the program can decide which text elements should be printed in a particular window. It calls these text elements by name to print them. You must therefore change text element names in the print program if you make any changes to text element names in a form.
    In the layout of a text element, you can use only the paragraph and character formats defined in the form.
    Example of a text element in an order confirmation:
    /E ITEM_LINE
    IL &VBDPA-POSNR&,,&VBDPA-MATNR&,,&VBDPA-ARKTX&
    / &'Customerarticlenumber 'VBDPA-IDNKD' '&&'Position
    / 'VBDPA-POSEX&
    This example shows a section of a main window of a form, with an item line of an order confirmation. The /E in the tag column is used to identify the text as a text element, ITEM_LINE is the name of the text element.
    Default Text Element
    At the start of a window, you can define a text element without the /E command in the paragraph format column. This text is always printed at the start of the window. It is not necessary to insert this text explicitly via a print program.
    For more go to this link: Character formats and attributes
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
    Boxes:
    Use the following code
    /: BOX XPOS 1 MM YPOS 2 MM WIDTH 20 MM HEIGHT 40 MM FRAME 10 TW.
    Box is the command used for printing box in script.
    XPOS - x- axis position
    ypos - y axis position
    http://help.sap.com/saphelp_470/helpdata/en/d1/802ec5454211d189710000e8322d00/content.htm
    Regards,
    Omkaram.

  • Sap script & Check no.

    Hi ALL
         I am working on Check print using f110_prenum_chck.
    The problam is  that if the  invoice line item overflow to next page then the first page should be considered as first check and it should not get voided. the remaining pages, check should not be printed or can be void..........
    Also check number should take just one insted of 10 if the invoice line items contains up to 10 pages
    Can any one help me.
    thanks,
    Lakshmi.

    You should re-consider this as SAP offers here the good solution - minimum development with standard output.
    The major problem here is that you never know if you will need 1 or n pages.
    But if you want to solve your case I would test two directions:
    1. Find the VOID part in the print program. I would assume it is a check if the page moves to the next it voids the current page. If that is found you need to remove the counter counting up in the same time. In SAP-SCRIPT you need now to direct your NEXT page always to a different TRAY (this solution requires printer with more than one 1 tray). Set the print logic on the printer up the way that this page will be printed on a different tray.
    2. If above solution does not work and is not liked take only beginning with the VOID part and move it for all further pages and change the check counter usage.
    Can you say why you would wish to do that?
    In our case we were able to convince customers that the development and support of special solutions is a way more expensive than the usage of a view checks.

  • Problem in sap script check printing with EPSON FX890 printer

    Hi
    I am trying to print a check through F-58 using a script.
    We have a new EPSON FX890 dot matrix printer, But when I fire a check the the formatting of the check is not proper. The alignment is never the same as given in the SAP script. this could a problem with the printer set up and configuration in SAP. Could anybody please give me some inputs on what needs to be done. its Urgent. Can anybody give me what needs to be done and also guide me with Print control commands in SAP scripts
    Thanks,

    Hi,
    Here is some steps you should follow for scripts printout.
    1. Validate the drivers used in SAP (Tcode SPAD)
    2. Are you printing through a print server or directly to the printer
    3. If it is througha print server like windows, you should validate to have the right driver installed for that printer.
    4. Validate on the printer the default setting. If the script doesn't sent the proper font or setup, it will print using the last setup sent to the printer.
    So if somebody used work and print a specific document with different setting, some time the setting stays for the SAP report.
    To validate the setup of the printer, just turn off and on the printer before sending the SAP form. That should help to see if the setup has been changed by another program.
    I hope those simple steps will help to solve your problem.
    Reward if helpfull...
    Cheers,
    Rakesh.

  • Sap -script check printing

    Hi All,
       I have to create a check form and print using MICR printer.
    I came to know that the std SAP check form provided by sap is F110_PRENUM_CHEK.
    But when I try to open this form in se71 , it shows me an error 'Form F110_PRENUM_CHEK' does not exist in the system'.
    Please suggest.  Am I using the wrong form name or do I need to ask the FI functional consultant to configure this form ?
    Thanks in advance.

    Hi Brad,
      Thanks for the reply.
    I checked in my system , form F110_PRENUM_CHCK also does not exist in there. Please suggest what should I do.
    Thanks,

  • Getting Dynamic XPOS and YPOS for drawing the line in MAIN window in SAP Script using BOX command

    Hi Experts,
    I am trying to draw a line using the BOX command in the main window.
    /:         BOX HEIGHT 0 TW FRAME 10 TW INTENSITY 100
    I want to draw a line in XPOS and YPOS dynamically..
    Is there any way to find such I can draw a line dynamically after triggering a Text element. or determine the XPOS and YPOS dynamically such that I can draw a line in an intended position dynamically.
    Thanks in Advance
    Regards
    Rajesh Chowdary Velaga

    Any update on this ??

  • Printing check box in script side by side

    Hi All,
    I have a requirement like i have to print the check box in SAP script side by side like this
    1) check box   2) checkbox2
    3) check box3.
    And i have checked the sap symbols and character formats i am getting only the marked check boxes.
    how to get the unmarked one and how to place the check boxes side by side in SAP Script.
    Thanks in advance,
    Joe

    Check the following thread.
    link: [Checkbox in sap scripts;
    [check boxes in SAP SCRIPT  layout;

  • 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.

  • SAP Script Box Width Vs Font Size

    Hi All,
    I have a SAP Script where Boxes Width are based on CH for ex..
    BOX YPOS 1 LN WIDTH 3 CH HEIGHT 1 LN FRAME 1 TW'
    BOX YPOS 1 LN  XPOS 3 CH WIDTH 18 CH HEIGHT 1 LN FRAME 1 TW
    Now i have to populate the value in that 2 box with some values say mandt and matnr which are 3 and 18 char in length (Keeping those length in mind i desined the boxes)
    When i use Courier Font Size 12 , it fits fine in box boxes but when i use font size 8 then everything is messed up...
    It start up properly then the first character of matnr is displayed in the first box...
    How do i determine the box size width based on the font size ...
    In SAP Script header setting i have char/inch set up as 10 --Would that make any difference
    Please the client needs in SAP Script only...
    Thanks

    Any suggestions will be appreciated

  • Sap script - se71 - change in form

    Hi I tried to change as below but it giving me error as below. please provide me the solution.
    change Code in script:
    /: DEFINE V_QMATA.
    /: PERFORM GET_QMATA IN PROGRAM ZRVADEK01 USING &VBLKP-MATNR&
    /: USING &VBLKP-WERKS&
    /: CHANGING &V_QMATA&.
    /: ENDPERFORM.
    /: IF &V_QMATA& EQ 'Z0001'.
    /E
    /: ENDIF.
    Error when i syntex check for sap script:
    ( Check by Go to text -> check)
    Symbol expected
    Too many parameters
    Code in Calling program ( This program is my printing program)
    form get_qmata TABLES fp_it_intab STRUCTURE itcsy
    fp_it_intabb structure itcsy
    fp_it_outtab STRUCTURE itcsy.
    data : v_matnr like marc-matnr,
    v_werks like marc-werks,
    v_qmata like marc-qmata.
    READ TABLE fp_it_intab INDEX 1.
    CHECK sy-subrc EQ 0.
    MOVE fp_it_intab-value TO v_matnr.
    READ TABLE fp_it_intabb INDEX 1.
    CHECK sy-subrc EQ 0.
    MOVE fp_it_intabb-value TO v_werks.
    select single qmata from marc into v_qmata where matnr = v_matnr
    and werks = v_werks. .
    READ TABLE fp_it_outtab INDEX 1.
    CHECK sy-subrc EQ 0.
    READ TABLE fp_it_outtab INTO wa_outtab WITH KEY name = 'I_QMATA'
    BINARY SEARCH.
    IF sy-subrc EQ 0.
    wa_outtab-value = v_qmata.
    move v_qmata to fp_it_outtab-value.
    MODIFY fp_it_outtab INDEX sy-tabix transporting value.
    ENDIF.
    endif.
    endform.

    hi
    chk this
    /: DEFINE V_QMATA.
    /: PERFORM GET_QMATA IN PROGRAM ZRVADEK01
    /: USING &VBLKP-MATNR&
    /: USING &VBLKP-WERKS&
    /: CHANGING &V_QMATA&.
    /: ENDPERFORM.
    /: IF &V_QMATA& EQ 'Z0001'.
    /E
    /: ENDIF.
    FORM GET_QMATA TABLES input  STRUCTURE itcsy
                                           output STRUCTURE itcsy.
    endform.
    regard
    nawa

  • How to increase size of check box in sap script

    Hi All,
    I need to include check box in sap script. I included check box using insert>character->sap symbols. I cant able to view check box in print preview but i can able to get check box in print out.Size of check box printed in the paper is not having enough size. I need to increase size of the check box. Give me suggestion for increasing size of check box.
    Regards,
    Peranandam

    Chk the link.
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm

  • How to print those check boxes in SAP scripts?

    Hi experts,
    I have to create sap script form in which i have to create check boxes and at run time according to some condition i have to
    check those check boxes.how this can be done?
    Thanks in advance
    Rohit

    Check out the below related threads
    check box
    Re: check box in script
    Regards,
    Santosh

  • Check Box With Tick Mark on Sap Script

    Hello All,
    We need to add a check box with tick mark on Sap Script.Please can anyone let me know how can we add it.
    Regards
    Amruta

    hi amruta,
    The soluti as an image into on to your problem can be to use the symbol icon as told , but this may show in preview not in print.
    I too faced the same problem.
    So what i had done is created a new window with the diemnsions of the chekc box with border thcikness 8 tw and inside that window place a checkmark symbol.
    if this checkmark symbol also does not show up in print preview/  doesshow in print preview and not in print then you can scan a chekcmark image and upload it into business document server as a BMP/ TIFF image and use this image in your checkbox window.
    Hope this solves your problem.
    Warm Regards
    Venugopal.T

  • How to print check box in sap script

    I have a requirement in SAP Script to print a Check bok.
    I tried using SAP symbols in the script, but it does not print. It inserts <679> for checkbox &  <697> for marked checkbox. Any special command to be passed?
    Regards,
    Prabhu Rajesh.

    Hi,
    Are you sure your printer is capable of printing graphics ?
    Cheers
    Colin.

Maybe you are looking for