Problem in form output(sap script)

hi all ,
iam not getting vertical line in a box in the sap script put even thuogh i have declared it in the main window
for the first only iam not getting the verical lines in the  main window  n getting the  vertical lines in the pages other than page1 in the  main window.

Hi,
You can get a Vertical Line using the foll eg in the Script:
/: BOX XPOS '12' CM YPOS '10' CM WIDTH '0' CM HEIGHT '18' CM FRAME 10 TW
keeping the Width as 0 will create a box with width 0 which will be a vertical Line,
when you will use this code it will automatically appear in the other pages as weel when you use this main window.
Regards,
Sunil

Similar Messages

  • What is the form name (SAP script name ) for KO02 output .

    Hai ,
    what is the form name (SAP script name ) for KO02 output . and also pl guide how to customize that.
    thank u in advance

    spro---->controlling ->internal Order->Order Master Data----> Prepare Output and see the documentation of this.
    Regards
    Peram

  • Import PE51 Form to SAP Script

    Hello Experts,
    I am Importing PE51 form to SAP Script.The Problem is after Executing the Program RFFOUS_C the PE51 form is coming...into SAP Script But it(PE51 Form) is Compressing?.I don't know why?.But when i executing the Program RPCDTCU0_CE.The PE51 Form is Showing Exactly..without any Compression.
    In Searching the Forum i have found these threads..But in these threads i haven't found any Solution
    Integration of SAP Script form and HR Form
    PE51 - Form Editor
    Thanks in advance.

    Hey ankur,
    Normally you get dashes instead of line because of two reasons:
    1. Because the Font Size you are using for the Line is Small hence it cannot print a continous Line..
    Please increase the Font Size and try checking in the Layout.
    2. Sometimes the SAP printer you have configured does not support the Font Type You have used in Scripts...
    Kindly check T-CODE SPAD to see the Device type of the printer you are using supports that font.
    Hope this helps you...Have a nice day at work..
    Thanx,
    Navin....

  • How to print " Duplicate " in FORM ( either Sap Script or Smart Forms )

    hi,
       How to print  " Duplicate " in FORM ( either Sap Script or Smart Forms ) if trying to take second Print Out and the FORM is already Printed.
    Please let me know the condition that we should go for.If possible let me know the SAMPLE code since this will be used in most of the FORMS.
    Regards
    Avi

    Hi
    It depends on which print you're working.
    If it's a print of standard document you can check the NAST (VSTAT field) table in order to know if the document was printed.
    If a message is created you can find the hit in NAST table:
    VSTAT = 0, document not printed;
    VSTAT = 1, documment printed
    VSTAT = 2, print is failed
    If you mean a custom print I believe you need to create a log like NAST table.
    Max

  • To Learn Form Painter (SAP Scripts)

    Hi Friends,
    I want to Learn Form painter (SAP scripts),
    can anybody share their knowlege (notes, example programs, links etc).
    My requirement is to print the Inovice, Labels using Intenal table etc.,
    Thanks
    Shankar

    Hi,
       Have a look at these good links-
    <b>SAP Scripts</b>
    http://www.sap-img.com/sapscripts.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://help.sap.com/saphelp_crm40/helpdata/en/16/c832857cc111d686e0000086568e5f/content.htm
    http://www.sap-basis-abap.com/sapabap01.htm
    http://www.sap-img.com/sapscripts.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci943419,00.html
    http://sap.ittoolbox.com/topics/t.asp?t=303&p=452&h2=452&h1=303
    http://www.sapgenie.com/phpBB2/viewtopic.php?t=14007&sid=09eec5147a0dbeee1b5edd21af8ebc6a
    <b>Other Links</b>
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
    http://www.allsaplinks.com/dialog_programming.html
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://www.geocities.com/ZSAPcHAT
    Mark useful answers.
    Regards,
    Tanuja.
    Message was edited by: Tanuja Sarraju

  • ATR labels any stanard forms or sap script

    hi guys,
    actually i got one object for forms. the objectname ATR lables can you any one help to me is there any standard smart forms and print programs for the ATR lables.
    please send me a mail to [email protected]
    thanks and regards, 
    shrikrishna.

    Hi,
    In a warehouse we have lot of activities like GOORS RECEIPT, PUTAWAY, PICK SCAN, LOAD SCAN etc.,Generally all the warehouses use somekind of scanners which connect to SAP CONSOLE. You have to findout which type of scanner they are using to scan a material. There are lot of 3rd party scanners available which connect to SAP CONCOLE. These SCanars generate a barcode and will store in some tables of SAP. Example for Material they will put the barcode number in long text field. If they are not using any scanners then there is a BAPI called barcode_generate(goto SE37 put barcode and press F4) which generates a barcode.
    You need to write a program and call the BAPI, this BAPI generates some RANDOM NUMBER and store this number in a table where you want to store. Find what type of output they want, if they want somthing like a statment with company logo then write a sap script or a smartform  and call the same in a program. This will solve your problem.
    Before starting the desing, ask your self followig questions.
    1) How they scan in WM? they have any scanners, if so how it is operating.
    2) Is the barcodes generated by scanner or they need SAP to generate the barcodes.
    3) If 3rd party scanner generates the barcodes then what is the format?
    4)How this scanners are connected to SAP
    I worked in a warehouse project where they have a scanners which connect to SAP console and generate barcodes. Based on that sap system automatically creates a material and also like create transfer orders, transfer requests etc.
    some Warehouses just scan the material, then it triggers  ZTRANSACTION OR a ZPROGRAM which uses a BAPI , this BAPI creates a barcode and the program stores this barcode in one of the master table and also this ZPROGRAM triggers a SAP SCRIPT or SMART FORM which collect this barcode and other details and print it in a desired format with company logo etc.,
    Thanks&Regards,
    -Suresh revuru

  • Problem in using the sap script from 1 client to another

    Hi,
    I am working on a sap script which is developed in the 555 cliet(Quality) but now the error comes change to repository or cross client is not allowed.
    In order to change the script which i am working on i tried to copy that script in 333 client and created with the orignal script. I tried to copy the modified script (developed in 555) but it is copying that script.
    Plzz proivde me guideliness how to solve this problem.

    >
    ricx .s wrote:
    > Hi,
    >
    > I am working on a sap script which is developed in the 555 cliet(Quality) but now the error comes change to repository or cross client is not allowed.
    >
    > In order to change the script which i am working on i tried to copy that script in 333 client and created with the orignal script. I tried to copy the modified script (developed in 555) but it is copying that script.
    >
    > Plzz proivde me guideliness how to solve this problem.
    Hi there,
    Are clients 555 and 333 both on DEV Server? If so you may use transaction SCC1 to copy the form from one client to another. Just run SCC1 on the client where the sapscript form will be copied, indicate the source client, and search for the transport request number that contains your form.
    Also, where did you develop your form?
    Let me know.
    Regards.

  • Display output SAP Script

    Hi All,
      I want to execute the sapscript form MEDRUCK.I want to check how the SAP Script form medruck looks like. I even check its print program but it is not executable program. Then how can I display its output ie how it look.
    Thanks
    harpreet
    Message was edited by: harpreet Singh

    Hi,
    If you want to see the output of the form MEDRUCK..you need to execute the transaction with some billing Document ot invoice number.
    Here for your understanding you can execute the transaction VF03 and give any billing document. Then goto Menu Billing document->Issue Output to->Printer. Here you need Output type to see the layout of the same. So pass the output type defined to this billing document. In order to see the output type..pass the billing document and press enter. In the menu Goto->header->output and see the output types defined for the same.
    Once you pass the output type and click on print preview you will see the layout of that particular billing document.
    For getting the Driver Program and output type you can goto table NACE and pass the form name and you get the program name and output typr for that form.
    Regards,
    Ram Mohan
    Pls reward points if useful..

  • How to find List of Z forms in sap script?

    Hi Could any one help me to trace out how could we find the List of z FORMS(sap script forms)  in sap system..
    For instance if  i put z* in smartforms and press f4 i will find list of customized forms where as
    when i did the same thing in sapscripts (se71) it will display a tree structure ...where its hard to trace out...waiting for your inputs!!
    Regards
    Sas

    Goto SE38
    & execute program RSTXFCAT.
    Enter Z* in FORM field.
    Best regards,
    Prashant
    Hi Viswa when i gone through above format i can see 6 output forms
    but when i see the same in TADIR with object name as FORM i can see 10 forms
    which 4 are extra but unable to get them in the sap script . when i am entering the names in form and using diaply button system is prompting as the form(those 4 FORMS ) are not existing?
    WHY SO any idea...im table even i didnt find any difference as such
    Regards
    Sas

  • Problem passing texts into sap-script

    Dear Experts,
    I have a requirement, where I have to pass some text-lines from my selection-screen of the driver-program to the sap-script,i.e. whatever I write in those text fields that should be displayed(printed) on the specified place of my script. Another specification is  that,
    those lines will get printed only if the checkbox on my selection-screen is checked.
    What should be the procedure,please help me.

    The text lines on the selection screen will be in a variable. Pass the variable to the SAPScript. I don't see the problem.
    Rob

  • Where to call the write Form for SAP Script

    Hello all,
    I am trying to develop a SAP script. I want to print the details of fight table in Form.
    I have defined 3 forms.
    1.form-open -contains call function for open form
    2.form-itab_print - contains logic for filling internal table and in the loop..endloop, I have called write form for printing the table details
    3. Form_close - contains call function for close_form.
    I have given the perform in the same manner..but I could not see the ouptput of this..
    your immediate help is highly appreciated..
    Thanks
    Tharani

    Hi,
    Include your write form inside your loop statement and in your sapscript form put in there the variables that you want to show. Here is a rough explanation:
    *report driver
    loop at itab.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'TEST'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      OTHERS                         = 9
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endloop.
    *sapscript form
    *Assume that this is the MAIN window
    L1   ,,&ITAB-FIELD1&,,&ITAB-FIELD2&
    ***In the example above, it will show the values in your field1 and field2 of your itab.
    Hope this helps...
    P.S. Please award points for useful answers.

  • Smart forms vs SAP scripts

    Hi,
    can we use samrt forms instead of SAP scripts in production order forms.
    If yes please tell me how.
    I know OPK8 transactiona and over there we can use either SAP scripts or pdf forms.

    Hi,
    Satandard SAP doesn't allow you to use Smartforms for Production Order Printouts. You can however use the Printprogram and get it to trigger a smartform instead of a SAP script. Work with your technical team for more details on that.
    Arvind Rishi

  • Smart form vs sap script

    hi experts
    i have one doubt,
    sap script is client dependent and smart form is client independent how?
    and why we say it client dependent and independent.

    SAPscript are client dependent.
    They need to be copied from one client to another for testing. this can be done from SE71->utilities->copy from Client.
    For transferring between server as like other objects they need to be transport.
    As for smartforms they are client independent and all changes are available at the same time in all clients for execution.
    Unlike smartforms, if you want to use or modify a sapscript in a different client you need to copy it from that client or client '000'.
    This is applicable to it accessory components like graphics, texts..etc

  • Advantages of Adobe Form Vs Sap Scripts and smart forms

    Hi All,
    Can any body explain me clearly what are advantages of Adobe forms when compared to sap scripts and smart forms
    Regards,
    Venkat

    Refer to two Links below you will get all your answer
    /people/markus.meisl/blog/2006/12/22/a-pdf-form-or-not-a-pdf-form--that-is-the-often-the-question
    https://www.sdn.sap.com/irj/sdn/adobe
    Cheers
    Satya

  • Step by step procedure to design  a form using SAP Scripts (SE71)

    Hello Experts, I am new to SAP Scripts ...I am interested to learn SAP Scripts,
    Please help me out to learn SAP Scripts  by giving some example codes.
    Thanks and Regards,
    Shaik.

    check the following link for the same.
    SAP Script, Change form , SE71
    Regards,
    Gauravjit
    Reward points if the link is helpful

Maybe you are looking for

  • Oracle recovery in noarchivelog mode

    Hello, SAP Release : ECC6 Oracle 10G Solaris 10g Our SAP system is in noarchivelog mode (formation environnement, with frequent client copies). We frequently perform an offline backup. The solaris server that is hosting our Sap system, has been bruta

  • HT203167 I had to have my computer reset now i have down loaded itunes and cannot open it it is a new version

    how do i get my itunes back     I downloaded itunes last night but cant get into it its saying i have a newer version please can you help I still had funds in this account

  • Size Matters...

    All of a sudden my Elements 10 display is too large for my screen and since I can't see the bottom right corner, I can't resize.  My tools are now in single file when they used to be in a double row.  How do I fix this?

  • Problem in importing dvms

    Hi Gurus, I did the following steps to import the dvms. 1. Ran an export command ( export data.zip) 2. Unzipped it and added my own dvm xml files. 3. Zipped it back to data.zip( the manner in which it was zipped{not creating    dir   and zipping it})

  • Let me get this straight -- when I drag a file into a iCloud folder, it ERASES it off my computer?

    Why on earth would it do that instead of make a COPY on icloud -- am I missing something? So if I take all my files into icloud, they are all GONE from my laptop? And what am I supposed to do then I need to use them and I don't have internet access?