How to display Lines and Boxes in SAP Script

hi,
Can any one help me how to display Lines and Boxes in SAP Script.
Regards
kiran

The SAP printer drivers based on page-oriented printers use these commands when creating output whereas the line printers and non-supported page-oriented printers ignore these commands.
Syntax:/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
This command draws a box of the specified size at the specified position.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH determines the width of the box.
Default: WIDTH value of the SIZE command.
HEIGHT determines height of the box.
Default: HEIGHT value of the SIZE command.
FRAME determines the thickness of frame.
Default: 0 (no frame).
INTENSITY determines the box contents as a grayscale percentage.
Default: 100 (full black)
The other details I guess is provided by friends who have posted before me.
Regards,
K.Sibi

Similar Messages

  • 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

  • Problem in creating small box in sap script

    Hi,
    I am working on a sap script in which iwant to create a small on the right hand side of the footer of the script and also want to display the data in that box.
    plzzz provide me guidelines how to solve this problem.

    u can use the BOX command.
    The BOX command draws a box as per the specifications. The x , y co-ordinates are for the upper left corner with reference to the values in the position command. The Position command is used to set  x,y coordinates with respect to the start position.
    plz chk this link:
    how to display Lines and Boxes in SAP Script

  • Lines and Boxes in Pages. Please help!

    I created a poster in Pages and it is printing with all kinds of lines and boxes behind the text and images. When I go into the doc I do not see them there. Where is this coming from and how do I get rid of them?
    thank you!

    Thanks Jerry.
    Yes, I started with a Layout template. Yes, I did copy some text from Word - and this is some of the text with the problem so I will try deleting it and typing in the original text. But other parts that I am having problems with seems to be the previous boxes which were there as the template that I deleted - somehow their 'shadows' seem to still be there but only shows in print but not on my screen. If there is any other info I can provide to help you help me, please let me know!
    thanks again Jerry,
    Robyn

  • Is there a way to get rid of those "red lines and boxes" that surround email text?

    The red lines and boxes I refer to in the question do not cause any real problems, but editing email, cut and pasting, etc., can get a little complicated with them appearing in the text of an email. I couldn't see any setup or option that referred to these red lines and boxes. Can they be eliminated? Thanks!

    You are seeing combing arifacts due to the computer monitor's inability to display interlaced video correctly.
    This is particularly noticable when the Canvas is set to a size value other than 100%.
    If the end product is meant to be put back on DVD and shown on a TV it will not be an issue, if you are going to the web, change your field dominance to none in the Sequence settings before exporting (or in Compressor, which will do a better job).
    Don't change it while editing - this will mean you have to constantly render.

  • How to display that Check Box In Down of Tabular Rows .

    Dear Friends,
    i have created tabular form and one check box Item in that region.
    i want to display that checkbox Item after tabular form Rows .
    How to display that Check Box In Down of Tabular Rows .
    Thanks

    Hi,
    From report attributes, you can change column order
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/bldapp_rpt.htm#sthref1348
    Regards,
    Jari

  • How to Use CMOD and SMOD in SAP using ABAP Code

    Hello anyone,
      Please help me How to use CMOD and SMOD in SAP using ABAP code.
    Give Me Some Sample Example.
    Mail ID: [email protected]
    Thanks,
    Regards,
    S.Muthu,
    SAP Developer.

    Hi,
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    customer exits
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    Menu Exit.
    http://www.sappoint.com/abap/spmp.pdf
    http://www.sappoint.com/abap/userexit.pdf
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html

  • Firefox not loading correctly, getting black and white lines and boxes onother network comp. it loads ok

    Firefox loaded on laptop along with another computer on home comutor - on mine when firefox is selected it loads with black lines and boxes along with all titles it will allow me to use the programme. When I load the same programme on second computer it loads correctly.
    This has only occurred this week.
    does the resolution setting affect this?

    Again, my original post specifically asks what else I can check for in prefs.js. I don't know what to look for. I suspect that something has hung-around somewhere, but don't know what to look for in the prefs file to detect it. No malware or anti-virus software detects anything other than the prefs.js file itself. Safe mode fixes the problem. So obviously something is starting up with FF in normal mode which is causing this, but no clue where/what to look for at this point.

  • How to Hide Menus and Icons in SAP Login Screen.

    Hi
    Can Any one Guide me on How to Hide Menus and Icons in SAP Screen.
    Example: System Drop Down Menu, Help Drop Down menu Etc and
    ICONS: Trash Button, Truck Button , Print Button
    Using OS Level Regedit or SAP Level using any Parameter.
    Thanks & Regards
    Daniel . K

    AFAIK the system menu can´t be hidden - because people won´t be able to log off (but by using the X in the right upper corner). Additionally it contains additional transactions (own data etc.) that users should be able to change.
    Markus

  • How to display date and time on jsf page

    Hi,
    how to display date and time on jsf page
    we are using 11.2.0.0 jdeveloper on windows.
    thanks
    Edited by: user12187801 on 26-Jul-2012 01:42

    Your question is certainly lacking some information.
    If you want a constantly updating date/time - then JavaScript is your best bet, and Google would find you examples like [url http://www.webestools.com/scripts_tutorials-code-source-7-display-date-and-time-in-javascript-real-time-clock-javascript-date-time.html]this
    If you meant something else, then it's back to you to explain.

  • How to display images and information

    how to display images and information(e.g. like questions) on a jsp page that stored in a database

    Look As far as i can see....
    Utlimately every file could be expressed as a bytes buffer.
    so say if you have a bean called Choice Bean which is expressed as
    public class ChoiceBean{
       private String choiceid;
       private String choicedesc;
       private byte image[];
       public void setChoiceId(String choiceid){
              this.choiceid = choiceid;
        public String getChoiceId(){
               return this.choiceid;
          public void setChoiceDesc(String choicedesc){
               this.choicedesc = choicedesc;
           public String getChoiceDesc(){
               return this.choicedesc;
           public void setImage(byte image[]){
                  this.image = image;
             public byte[] getImage(){
                  return this.image;
    }QuestionList.java:
    ===============
    public class QuestionList{
         private List<ChoiceBean> choicelist;
          /*Other member variable declarations*/
           public  List<ChoiceBean> getChoiceList(){
                    /*Custom code where you may build the list by querying the DA layer*/
                     return this.choicelist;
         public int search(String choiceid){
                 int index = -1;
                 for(int i =0 ; i < this.choicelist.size() ; i++){
                        ChoiceBean cb = this.choicelist.get(i);
                         if(cb.getChoiceId().equals(choiceid)){
                                index = i;
                                break;
                 return index;
        /* Other member method declarations */
    }and you are retreving List<ChoiceBean> from DB using your query & have created a session attribute / <jsp:useBean> named ChoiceList
    NOTE: sometimes your application server can go out of bounds as you are consuming a lot of memory by creating an arraylist object.
    use the following methodology to display images & choices
    sample.jsp:
    =========
    <jsp:useBean id="QuestionList"  class="com.qpa.dao.QuestionList" scope="session"/>
    <TABLE>
    <%
    /* QuestionList.getChoiceList() is a method which fetches data from the DB & returns it in form of  List<ChoiceBean> */
    List<ChoiceBean> choicelist = QuestionList.getChoiceList();
    for(int i =0 ; i < choicelist.size() ; i++){
    %>
    <TR>
    <TD><%!=choicelist.get(i).getChoiceId()%></TD>
    <!-- calling servlet which renders an images in JPG format based upon given choiceid(unique field) -->
    <TD><IMAGE src="ImageServlet?choiceid=<%!=choicelist.get(i).getChoiceId()%>"/> </TD>
    <TD><%!=choicelist.get(i).getChoiceDesc()%></TD>
    </TR>
    <%
    %>
    </TABLE>
    <%
        session.remove("QuestionList");
    %>
    NOTE: usage of JSTL or any other custom built tag-libraries makes life more simpler in the following case
    ImageServlet.java:
    ===============
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            byte buffer[] = null;
            HttpSession session = request.getSession(false);
            /*getting the QuestionList from the session*/
            QuestionList ql = null;
            String choiceid = new String("");
            try{
                 choiceid = request.getParameter("choiceid");
                 /*getting the QuestionList from the session*/
                ql = (QuestionList)  session.getAttribute("QuestionList");
            } catch(Exception exp){
            if(choiceid.equals("") == false &&  ql != null ){
                List<ChoiceBean> clist = QuestionList.getChoiceList();           
                   assuming that you have created a serach method which searches the entire choice list and would give you
                   the index of that object which is being refered by unique choiceid and returns -1 if not found
                int index =  QuestionList.search(choiceid);
                if(index != -1){
                   ChoiceBean cb = clist.get(index);
                   buffer = cb.getImage();
            if(buffer != null){
                 // assuming that we have stored images in JPEG format only
                 JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(new ByteArrayInputStream(buffer));
                 BufferedImage image =decoder.decodeAsBufferedImage();
                 response.setContentType("image/jpeg");
                 // Send back image
                 ServletOutputStream sos = response.getOutputStream();
                 JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
                 encoder.encode(image);
            } else {
               response.setContentType("text/html");
               response.getWriter().println("<b>Image data not found</b>");              
    }However,i still feel there are few loopholes with this approach where Application Server can eat up a lot of heap space which may result in outofmemorybound exception.
    Hope this might help :)
    REGARDS,
    RaHuL

  • Firefox not displaying buttons and boxes when allow other pages to use their fonts instead of my selection is selected

    Firefox not displaying buttons and boxes when allow other pages to use their fonts instead of my selection is not selected. The irritating thing is that Firefox used to display pages until FF 31. Please fix this
    Thanks
    Randy

    The missing icons are supplied by a font that is downloaded from the server (@font-face) as you can probably see by little boxes that show the hex code of the characters.
    You will have to make sure that you allow pages to choose their own fonts to see such an icon font.
    *Tools > Options > Content : Fonts & Colors > Advanced: [X] "Allow pages to choose their own fonts, instead of my selections above"

  • Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    Hi Everyone,  I am using iPhone5, my question in how to display name and contact number both stored for incoming and outgoing calls? If I have saved five different numbers with a same name, how do I recognise that from which number caller is calling?

    I have friends all over Europe, does it matter what number they use to call me? Nope! All incoming calls are free for me.
    The only time you ever have to worry about which number is if you get charged for incoming domestic/international calls.
    You can tag their number (work/home/iphone) and that may show on the CallerID accordingly.
    It should show, John Doe
    underneath,    work/home/mobile
    For example:
    http://shawnblanc.net/images/img-0009-1.png

  • 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

  • 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