Having trouble viewing the print preview of sapscript

Hi experts,
I am currently developing a driver program that calls 13 different sapscript forms (which are also customized - has n existing standards). so basically, the whole program and the forms are all from scratch.
I've already executed the call function open, write and close forms, but everytime i test the program in the QAS, (the part where you can choose the print preview and the output device)
and press the print preview button, a dialog box appears telling me:
WRITE_FORM is invalid, OPEN_FORM is missing.
But i clearly stated that in my program.
Can anyone tell me how am i suppose to write the call functions that will let me see the print preview?
Also, at this moment, i'm not passing anything yet from the program to the form, i just want to check if the form is being called.
Thanks,
Frank

Hi Franklin,
Order of calling OPEN_FORM,WRITE_FORM,CLOSE_FORM
is  CALL FUNCTION 'OPEN_FORM'.
            LOOP AT ITAB.
              CALL FUNCTION 'WRITE_FORM'  .
           ENDLOOP.
    CALL FUNCTION 'CLOSE_FORM'.
You know this order.Now as you are calling more than 1 form
we should call every form between
CALL FUNCTION 'OPEN_FORM'.
CALL FUNCTION 'START_FORM'.
LOOP AT ITAB.
              CALL FUNCTION 'WRITE_FORM'  .
           ENDLOOP.
CALL FUNCTION 'END_FORM'.
CALL FUNCTION 'CLOSE_FORM'.
Try using this.
Regards
Lakshman

Similar Messages

  • I am having trouble viewing the entire content of a PDF opened with adobe reader on my ipad.

    I am having trouble viewing the entire content of a PDF opened with adobe reader on my ipad. Mi am able to view the file in its entirety on my Mac but not on my ipad.  I have tried saving it to acrobat but that doesn't work either.  Any suggestions please.

    Hi,
    When you say the entire content, do you mean some parts of the pdf are not getting displayed or is it going out of the screen?
    Please send a pdf you are having issues with on chmaheshatadobedotcom, it will help us investigating the problem.
    -Charu

  • Is anyone else having trouble viewing the SEC network via Watch ESPN on a 2nd gen Apple TV?  Software is up to date, but SEC network not showing up as a channel.  Using Xfinity - and it appears on iPhone5 but not on iPad2 - both of which ar

    Is anyone else having trouble viewing the SEC network via Watch ESPN on a 2nd gen Apple TV?  Software is up to date, but SEC network not showing up as a channel.  Using Xfinity - and it appears on iPhone5 but not on iPad2 - both of which are current on IOS. Help!

    the wifi router could also be blocking
    and to really test if the windows firewall is the problem then try turning it off!
    if that scare you too much then disable the internet modem / cable modem or the likes while you test
    always remove more and more factors when troubleshooting sooner or later it will work and you can narrow down which factor did the job and work on that

  • Having trouble accessing the print from Facebook on my Photosmart 7510..

    When I first set up my 7510, I had setup the Print from Facebook option. A few days later I tried to use the feature and was prompted to enter the code again on facebook.com/device. When I try to do this, Facebook does not accept the code. I just resets the form and asks for the code again, and the printer isn't able to print from it. Is there anything I can do to reset this get it to work?

    Hi Rob. 
    Another option is to print your Facebook photos with HP Photo Creations. Select Prints, then Add Photos from Online Library. Here's a quick walkthrough. The images are from an older version of the software, but the idea is the same:
    https://www.facebook.com/HP.Photo.Creations/app_4949752878
    Hope this helps,
    RocketLife
    RocketLife, developer of HP Photo Creations
    » Visit the HP Photo Creations Facebook page — news, tips, and inspiration
    » See the HP Photo Creations video tours — cool tips in under 2 minutes
    » Contact Customer Support — get answers from the experts

  • Having trouble keeping the printer connected to eprint server.

    Printer has no problem connecting to Verizon FIOS router.  However the Eprint server does not always think it is connected to the internet. Sometime cyclying router power works, sometime not.  While writing this a connection to the ePrint server was made and the job printed.  It is an HP Officejet 6500A Plus. 

    follow this iOS: Troubleshooting Wi-Fi networks and connections

  • Trouble Viewing PDFs in Preview

    Hey all,
    I am having trouble viewing PDFs in Preview 4.0 on my MacBook Pro, running Leopard (10.5.1). I can Quick Look the documents from my desktop (or any other folder) fine. However, when I double-click the document to open it in Preview, i get nothing. Preview opens, but does not display the document, or anything for that matter. I even tried to open PDFs from the Preview menu, but to no avail.
    I just upgraded the internal hard drive, but everything else seems to be working fine, and this seems like a weird issue to be caused by a laptop upgrade.
    Any ideas? I tried Disk Utility, but still nothing.
    Thanks

    Hi,
    Have you tried deleting Preview's pref file? It should be located as a ".plist" file under preferences in your library folder.
    Find the file "com.apple.Preview.plist" and move it to the trash for the time being. Run Preview again and see if that'll help. If this fixes it you can safely delete the .plist file that's in the trash.
    Good luck.

  • How to view Smartform Print Preview

    Hi,
    I have a Sales Order, Print output   is issued which has smart form  &  Print Program. Can you explain me how to view the print preview again for the Sale Order for which ouptut has been issued in ECC 5.0.
    Many Thanks
    Lakshmi

    Hi Atish,
    I did tried by going VA03 Screen & then Selected
    Extras- Output - Header - Print Preview from Menubar
    but no luck I cannot see  Print Preview of the output.
    Thanks
    Lakshmi

  • Adobe Form- Error while clicking on the print preview option

    Hi,
    An exception is being raised as shown below-
    ADS: SOAP Runtime Exception:
    CSoapExceptionTransport :(100101)
    when i am trying to view the print preview of the invoice form (adobe form) in VF03 transaction.Please let me know the reason why this is occurring. I thought may be the form is inactive, but the form is in active state only.

    Hi,
    Have you seen SAP note 944221?  It has some advice on this error.
    Regards,
    Nick

  • Having trouble with the syntax when trying to only print some random pages from a multi page documen

    Having trouble with the syntax when trying to only print some random pages from a multi page document.  So far in the Print Selection Area, I have chosen "pages" and then typed 1,3-4 so as NOT to print page 2 but this does not seem to work. - Help Please

    In my updated firefox, the print button does NOT open print preview first.
    How can I access print preview function?

  • I'm having trouble instaling a printer driver for my Canon MG5220. I downloaded the latest printer driver from the Canon website (10.67.1.0) and installed it on my Intel iMac. It said the installation was sucessful, but when I try to add a printer, no go.

    I'm having trouble instaling a printer driver for my Canon MG5220. I downloaded the latest printer driver from the Canon website (10.67.1.0) and installed it on my Intel iMac. It said the installation was sucessful, but when I try to add a printer, no go. The printer does'nt show up. I'm fairly new to the Mac, after switching from windows. I'm running Snow Leopard 10.6.8.

    Hold down the option key and select
     ▹ System Information...
    from the menu bar. In the window that opens, select
    Hardware ▹ USB
    from the list on the left. On the right you should now see a list of all connected USB devices, as well as some built-in components. Is the device shown?

  • Dreamweaver template / having trouble seeing the previews

    I am designing a website, using Dreamweaver for the first
    time, and I would like to ask your advice.
    Do you know how to apply a dreamweaver template to other html
    pages. I have having trouble seeing the previews in the local
    browser. For examples, when I preview an html page, that has the
    template included, I see the page OK. But when I click to go to
    another page with the sample template, the new page shows up, but
    without the template design included.

    Answered mutliple times on the DW forum.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "happydreamweaver" <[email protected]> wrote
    in message
    news:fin6nr$5q1$[email protected]..
    > How can I apply a template to new pages? I have done the
    following:
    > Apply the template to the pages as follows:1 Select File
    > Open.
    > 2 Browse to and select index.html.
    > 3 Select Modify > Templates > Apply Template to
    Page.
    > 4 Type the title of the page in the Banner Editable
    Region. Type or insert
    > text in the Body Editable Region.
    > 5 Select File > Save.
    >
    > Then when I preview the broswer, I see the html page as
    I should, put when
    > I
    > click to a new page, the new new doesn't have the
    template.
    >
    > Also, when I went to apply the template to a new page, a
    message said that
    > I
    > had orphaned stuff. What does that mean and how can I
    get the template
    > show
    > apply without the hassle.
    >

  • HT1918 I'm having trouble viewing my account in iTunes, I'm signed in but can't get passed the next login window - any ideas?

    I'm having trouble viewing my account in iTunes, I'm signed in but can't get passed the next login window - any ideas?

    carolinechx wrote:
    i know the description may be a little bit too confusing
    Mostly because you are not using any capital letters or paragraph returns and your post is difficult to read.

  • I am having trouble with the preview of songs on itunes it will not play the 1:30 preview

    I am having trouble with the preview of songs,I am not getting the full 1:30 preview of the music

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    ipconfig /flushdns
    Hit "ENTER" key
    Restart your computer.
    Now try your preview music again.

  • I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    I am having trouble with the "numbers" app on my MacBook Air. I go to print my document and that works just fine. I cannot however return to the document after printing. What do I have to do?

    RR,
    Not to worry, you're not the first to expect Print to finish by returning you to the edit mode. The thing is that Printing is so hit and miss with this version of the app, you will probably want to stay in the Print window for more than one attempt.
    Jerry

  • I am having trouble keeping the quality of my video when exporting to my external drive.  I change the kind to "original" but when I view the video from the external drive once exported, the sound and picture are distorted.

    I am having trouble keeping the quality of my video when exporting to my external hard drive.  I have tried to export from iphoto with changing kind to "original" but when I open the video from the external drive the quality is effected.  I have also tried copying the video to my desktop and then dragging and dropping onto the drive...same problem. Any suggestions?  I would like to save everything to my external drive so that I can delete all of iphoto library and then reimport to correct a few things.

    The file sizes are identical.  In the finder I did a search for all .mov files.  Then when they came up, I went through them and named each one so that they would be easier to find.  I am a new mac user and am used to windows.  I realized later that I should not have done this....with a mac files should be named within iphoto app...not finder....When I went to open the videos in iphoto, it wouldn't allow me.  I had to go into finder, copy to desktop and reimport into iphoto.  Then the videos worked again.  However, I had the problem with the poor video quality when copied to external drive before that.  Actually the first problem I had was when I copied to ext drive...videos were copying as an image...so I learned that you have to change "kind" to original before exporting....then that problem was solved...now they are videos, not images but not of a great quality.  Skips, sound and images are not in sync...etc...

Maybe you are looking for