Error with my program

REPORT ZFORM1 .
TABLES : ZGTABLE.
data : begin of itable occurs 0,
trackid type zgtable-trackid,
artist type zgtable-artist,
end of itable .
CALL FUNCTION 'OPEN_FORM'
EXPORTING
* APPLICATION = 'TX'
* ARCHIVE_INDEX =
* ARCHIVE_PARAMS =
* DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'ZFORM1'
LANGUAGE = SY-LANGU
* OPTIONS =
* MAIL_SENDER =
* MAIL_RECIPIENT =
* MAIL_APPL_OBJECT =
* RAW_DATA_INTERFACE = '*'
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
* EXCEPTIONS
* CANCELED = 1
* DEVICE = 2
* FORM = 3
* OPTIONS = 4
* UNCLOSED = 5
* MAIL_OPTIONS = 6
* ARCHIVE_ERROR = 7
* INVALID_FAX_NUMBER = 8
* MORE_PARAMS_NEEDED_IN_BATCH = 9
* SPOOL_ERROR = 10
* CODEPAGE = 11
* OTHERS = 12
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
select track id artist from zgtable into table itable.
if sy-subrc ne 0.
*message
endif.
loop at itable .
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN'
* 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
* CODEPAGE = 9
* OTHERS = 10
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
clear itable.
endloop.
CALL FUNCTION 'CLOSE_FORM'
* IMPORTING
* RESULT =
* RDI_RESULT =
* TABLES
* OTFDATA =
* EXCEPTIONS
* UNOPENED = 1
* BAD_PAGEFORMAT_FOR_PRINT = 2
* SEND_ERROR = 3
* SPOOL_ERROR = 4
* CODEPAGE = 5
* OTHERS = 6
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
This code is bringing trackid,but not artist and one error is coming 'write_form' is invalid,start_form is missing'.So how to go about this.Help me.

Hey I goy the solution.I tried that uncomment to printer,but the result was same.Then I came to know that there might be to ways to that error
1.the given form is not existing
2.the window size is small and there is data still that need to be printed,since there is no other page,the error will come.
I debugged to find out only after the last record the error is coming,then I increased the main window size,surprisingly it worked.So the problem was with window size,The other problem was very silly problem,the spelling was incorrect in internal table declration.Now all the records are fetched for trackid and artist.Thanks your support.Now Iam thinking of how to use perform statement in my program..whats the difference in giving perform statement in sapscript program and giving it in se38 prgrogram.Can anyone tell how to use perform in my above program?
Thanks in advance.

Similar Messages

  • When I open Firefox I have to try several times because a Runtime Error with the program C:\Windows\System32\regsvr32.exe

    when I open Firefox I have to try several times because a Runtime Error with the program C:\Windows\System32\regsvr32.exe

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "Continue in Safe Mode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • Errors with small program

    Ok, I'm trying to get a small program to compile on my windows box. I'm a student and in the lab (on a linux box) the program compiled fine. I keep getting this error:
    Easypieces.java:52: cannot resolve symbol
    symbol : variable volume
    location: class EasyPieces
    System.out.println("Volume:" + volume);
    ^
    2 errors
    Here's the code:
    * Student should complete the five methods, document the class
    * and the methods, and test this well. You may remove the instructor
    * comments.
    public class EasyPieces {
    * Student should complete and document this method
    public void waterBalloons(int radius) {
         double cubedRadius = Math.pow(radius, 3);
         double volume;
         double volume = 4/3 * Math.PI * cubedRadius ;
    * Student should complete and document this method
    public void upsLoad(double computer, double monitor, double other) {
    * Student should complete and document this method
    public void carpool(int people) {
    * Student should complete and document this method
    public void checksum(int number, int base) {
    * Student should complete and document this method
    public void combinationLock() {
    * Instructor provided test cases. Student should add additional
    * test cases as necessary to make sure the program functions as
    * intended.
    public static void main(String[] args) {
    //Create an object of type EasyPieces to use for the testing
    EasyPieces testPiece = new EasyPieces();
    //Instructor provided test for waterBalloons
    testPiece.waterBalloons(6);
    System.out.println("Volume:" + volume);
    //Instructor provided test for upsLoad
    //testPiece.upsLoad(1.2,0.8,1.4);
    //System.out.println("----------------------------------------------------------------------");
    //Instructor provided test for carpool
    //testPiece.carpool(15);
    //System.out.println("----------------------------------------------------------------------");
    //Instructor provided test for checksum
    //testPiece.checksum(156,7);
    //System.out.println("----------------------------------------------------------------------");
    //Instructor provided test for combinationLock
    //testPiece.combinationLock();
    //System.out.println("----------------------------------------------------------------------");
    For some reason it doesn't want to print the variable out...
    Any help?
    Thanks, Greg

    << That code didn't compile on your linux box, guaranteed. :o) >>
    This program didn't but one similiar to it did, and I get the same error message when I try to compile it on my windows box:
    public class zeller {
         public static void main(String args[]) {
              int month = 2;
              int day = 29;
              int year = 2000;
              if (month == 2) {
                   year = year -1;
                   day = day +3;
              if (month == 1) {
                   year = year -1;
                   day = day;
              if (month == 3) {
                   year = year;
                   day = day + 2;
              if (month == 4) {
                   day = day + 5;
              if (month == 5) {
                   day = day;
              if (month == 6) {
                   day = day + 3;
              if (month == 7) {
                   day = day + 5;
              if (month == 8) {
                   day = day +1;
              if (month == 9) {
                   day = day +4;
              if (month == 10) {
                   day = day +6;
              if (month == 11) {
                   day = day +2;
              if (month == 12) {
                   day = day +4;
              int sum = year + year/4 - year/100 + year/400 + day;
              int dayOfWeek = sum % 7;
              System.out.println(dayofweek);
    I get this error in windows (the same error I get with the other program):
    D:\JAVA\jdk142\bin>javac zeller.java
    zeller.java:67: cannot resolve symbol
    symbol : variable dayofweek
    location: class zeller
    System.out.println(dayofweek);
    ^
    1 error
    Greg

  • Error with Autoloader program - someone please help - so frustrated

    HI there.... I am a wedding photography and use Mike d's autoloader program to zip through my wedding edits...it was working great until yesterday... I use it through bridge and when I try to ope the files, the autoloader comes up fine ..I pick my action....hit save and then I get a ps error 21 object is null line 1026 and then it I close that and hit the preassigned key to open up the files I get another error ps 8000 cannot open files beciase open options are incorrect.....I have tried reinstalling, updating, asking adobe forhelp ( they won't help becuase it is a third party program even though it is giving me ps errors), I have contacted Mike D the creator of the program and he is not sure what is going on either....any ideas at all ?  I am at a loss and rely on this program to make the workflow much quicker!  Any help would be appreciated
    Jill

    Have you received a resolution for this yet?   I'm having exactly the same problem -- I purchased this software yesterday, got it set up, and ran through my first folder of images with no problem.   When I tried to run the tool through my second batch of images, I got the error 21.   I contacted Mike D, but he hasn't responded.   Meanwhile I tried several combinations of uninstalling and reinstalling, rebooting, and switching to a different image file to try and resolve, all with no luck whatsoever.  If you have a solution that you could share with me, I would really appreciate it!
    Thanks!

  • Error with Run Program Service in invoke runbook.

    I made main runbook (it do some things) and on the end i pute invoke runbook. In this child runbook i have
    Run Program activities with Java srcipt. 
    When started this rb finaly i get error Could
    not start Orchestrator Run Program Service service on 10.56.7.17 - Access is denied. (code 5), 
    but when manually i run this child runbook with any chaneges and this same date it works well. 
    In this Run Program i set that it ryn from admin acount but that don't nothing changes. 
    Where is problem?

    When you run it manually (with Runbook tester I assume) the Runbook will use
    your admin credentials to perform all of the actions. When it runs scheduled or with an invoke from somewhere else it will use the credentials of the user account you've assigned to the Runbook service.
    As a test, check which user is assigned to the service (via services.msc) and make that one a temporary local admin on the target machine. If it works, then you know it's permissions related to that specific account.
    I give up ;), Yes, I testing by Runbook tester. But not shure that we understand :)
    I  have two scenarios (i can't put images, i need to verify my account).
    1) One runbook. Exp. name" child. Inside is Run Program, that program is on different server.
    Its work only when in options this activity i set local admin account from that server.
    2). I created new runbook - parent. In this I put invoke runbook linked to that child. I do not change anything else. Now i will try run it (from tester, web console or scheduled) i get error
    Could not start Orchestrator Run Program Service service on 10.56.7.17 - Access is denied. (code 5). 
    What I do wrong, what I think wrong?

  • Help, i am just wondering why am i having an error with this program....

    package hall;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    /** Simple servlet that reads three parameters from the form data.
    * Part of tutorial on servlets and JSP that appears at
    * http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/
    * 1999 Marty Hall; may be freely used or adapted.
    public class ThreeParams extends HttpServlet {
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Reading Three Request Parameters";
    out.println(ServletUtilities.headWithTitle(title) +
    "<BODY>\n" +
    "<H1 ALIGN=CENTER>" + title + "</H1>\n" +
    "<UL>\n" +
    " <LI>param1: "
    + request.getParameter("param1") + "\n" +
    " <LI>param2: "
    + request.getParameter("param2") + "\n" +
    " <LI>param3: "
    + request.getParameter("param3") + "\n" +
    "</UL>\n" +
    "</BODY></HTML>");
    public void doPost(HttpServletRequest request,
    HttpServletResponse response)
    throws ServletException, IOException {
    doGet(request, response);
    the error is something like,
    ThreeParams.java:20:cannot find symbol
    symbol: variable ServletUtilities
    location:class hall.ThreeParams
    out.println(ServletUtilities.headWithTitile(title) +
    ^
    something like that, i do know that the package hall could be the problem, but where can i find that package and where do i put it. thank you. and about this program(that i saw in http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/), well, i really need it as a reference, that is why i need to work on this one. once again, thank you...

    hi :-)
    put your ThreeParams in the folder hall :-)
    to resolve the issue in package,
    but for ServletUtilities, im not sure where they got that,
    i dont see in any part of the code that import or create an instance
    for ServletUtilities :-( better to check the code for typo error
    or contact the author regarding ServletUtilities.
    regards,

  • Error with "Mapping Program not Found"

    We exported all of our XI development from DEV and imported it to Prod. We have not changed anything at all. Now, even though I have authority I can't go into EDIT mode in Prod.
    The main problem is that even though everything imported into Prod without error, when we run our program we are getting the following error:
    <b>="MAPPING">NO_MAPPINGPROGRAM_FOUND </b>
    What could have changed and were do I start to look?
    Thanks in advance, will reward points.
    Mike Curtis

    Micheal,
    You dont need to externally import XSD's and WSDL's. If you import the whole software component or the whole namespace then they will come automatically.
    Check in message mappings whether you can see the mappings or not? I think you might have exported object by object not the whole SWCV. If it is yes then you also import the message mapping. Also check in your change list whether there are any objects. If yes please activate them.
    By the way you dont see only the one message mapping you are tyring to check or all of them? Dont edit anything in production. Its not good. So dont enable the edit button as other threads reply.
    ---Satish

  • Compilation error with cookies program

    Hi,
    I have got following code:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ShowCookies extends HttpServlet{
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
    res.setContentType("text/html");
    PrintWriter out= res.getWriter();
    out.println("<!DOCTYPE HTML PUBLIC \"~//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n" +
    "<HTML>\n" +
    "<HEAD><TITLE>My Cookie </TITLE></HEAD>\n" +
    "<BODY>\n" +
    "<H1> My Cookie </H1>\n" +
    "<P>" +
    Cookie[ ] cookies = req.getCookies();
    When I compile it I get following error:
    '.class' expected
    Cookie[ ] ^cookies = req.getCookies();
    ')' expected
    Cookie[ ] cookies = req.getCookies();
    unexpected type
    Cookie [ ] cookies = req.getCookies();
    ^
    Can somebody help me with that?
    Zulfi.

    Now I have extended my code:
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class ShowCookies extends HttpServlet{
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException{
    res.setContentType("text/html");
    PrintWriter out= res.getWriter();
    out.println("<!DOCTYPE HTML PUBLIC \"~//W3C//DTD HTML 4.0 " +
    "Transitional//EN\">\n" +
    "<HTML>\n" +
    "<HEAD><TITLE>My Cookie </TITLE></HEAD>\n" +
    "<BODY>\n" +
    "<H1> My Cookie </H1>\n" +
    "<P>" +
    Cookie[ ] cookies = req.getCookies();
    if(cookies == null){
    out.println("No cookies");
    else {
    Cookie MyCookie;
    for (int i=0; i<cookies.length();i++){
    MyCookie = cookies;
    out.println(Mycookie.getName() + "=" + MyCookie.getValue());
    In the for loop:
    for (int i=0; i<cookies.length();i++)
    ^
    error at method length
    Zulfi.

  • Download error with CC programs/apps updates. Solutions?

    I am getting a download error when I try to update my CC programs/apps. Solutions?

    WHAT error?
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Re: Dynadock error with specific program

    Hi, I have a dynadock for connect my notebook (external monitor, network, ...). All it's ok but when I run a specific program, for exemple evernote, i don't see the program correctly in the external monitor. The window program is transparent but if I see the notebook I can see the program correctly.
    The dislpayLink version is 5.4.26772 and i'm using windows 7 64bit. My dynadock is PA3541E-2prp.
    How I can fix it?
    Thanks.
    Message was edited by: litris
    add Dynadock model

    Does it work when you connect external display directly to your notebook?
    I mean it is not easy to discuss about some third part application. Who knows how it is programmed?
    Have you tried to speak with their support? I mean they should test functionality of their own product under different conditions.

  • I have a abstract error with my program

    Basically I am trying to run a corba program but when I compile the Implementation file it return a
    class ReminderImplementation must be declared abstract. It does not define java.lang.String Owner() from interface _ReminderOperations. Can anyone help me. Please.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Well, it seems that you have a method java.lang.String Owner() declared in your _ReminderOperations interface. If your class ReminderImplementation implements this interface it should implement the method java.lang.String Owner() (implement this method in your class and it will work), if not it should be declared abstract (then it can't be instanciated, and must provide another class to extend it).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Launch error with NT/no firewall

    One of my users is getting this error with my program and also all the programs on demo page. He lives in germany so this is a translated message. Uses NT and no firewall.
    user,
    well well heres a "transtlated" version of error message
    java.io.FileNotFoundException: C:\Documents and Settings\Administrat�r\Lokal
    settings\Temporary Internet Files\Content.IE5\JDP69MYV\Client[1].jnlp (Cant
    find the file)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.main(Unknown Source)
    CouldNotLoadArgumentException[ Could not load the specified file/webbadress.]
    at com.sun.javaws.Main.main(Unknown Source)
    an error occured when the program was started/running
    Kategori: error - invalid argument
    Could not load the specified file/webbadress
    It looks like some type of bad setting because my file is named Client.jnlp not Client[1].jnlp, any ideas?

    Hello !
    Don't clear the cache after closing your browser will solve this. This is a security option in your browser.
    Harald

  • I am getting this error message when trying to get to a college webpage Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.

    I am trying to get to a college webpage for information and get this error message from firefox Firefox doesn't know how to open this address, because the protocol (html) isn't associated with any program.
    == This happened ==
    Every time Firefox opened
    == whe trying to access webpage

    Is this coming from a link, or from something you are trying to type in the address bar?
    Try replacing the "html" at the start with "http",
    so if you have html://somesite.edu,
    change it to http://somesite.edu.

  • When I tgry to drop a video from the main screen to a time line with no secuence i receive an error with no number, just tell me the progran stop working and the program closes can you help me please

    please someone who help me please
    when I tgry to drop a video from the main screen to a time line with no secuence i receive an error with no number, just tell me the progran stop working and the program closes

    You need to help us first ...
    Computer specs:
    OS, CPU, RAM, GPU, vRAM ... and also disc layout & connections can be useful (as in, "2 internal hard-drives and an external on Thunderbolt connection for exports")
    Program specs:
    Specific build of Premier Pro from the bottom of the "About" splash screen off the "Help" menu is best.
    Footage file type: MXF, AVCHD, MOV, m2s, what?
    Even the camera it was shot on can be of interest at times.
    And did you use media browser to import, then project panel to drag & drop?
    Neil

  • I ran an iTunes update.  It failed with the message  System Error.  The program can't start because MSVCR80.DLL is missing from your computer.  Try reinstalling the program to fix this problem.   I tried reinstalling but get the same message.

    I ran an iTunes update.  It failed with the message  "System Error.  The program can't start because MSVCR80.DLL is missing from your computer.  Try reinstalling the program to fix this problem."   I tried reinstalling but get the same message.  I looked in my Recycle Bin for that file name but there is none there.  Is this a new file that iTunes wants?

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99683)

Maybe you are looking for

  • Trouble assigning TextFrame to Justification.Left

    Hello, I need some help trouble shooting a script. I am trying to flip the justification for all of a selected set of text frames. However, while most types of flipping work properly, the following does not if(sel[i].story.textRange.justification ==

  • What router would work best for my app?

    Hi, I have been looking at two Cisco routers for my home/work network. They are the 1811 and the 871 series. My network consists of 1 2K3 SBS (It dose my DHCP, Domain Controller, Wins, and active directory.), 2 Cad stations, 1 Email/web PC, 1 Noteboo

  • Uninstalling Quicktime 7.1

    I've been attempting to update the version of itunes on my computer. But The installer can't seem to uninstall the older version (7.1) of quicktime... any ideas thanks

  • WLAN & multiple SSIDs

    Hello, I have some problems connecting my iPod touch to my WLAN at work. There are 3 different ssids on one access point. I can connect to each one of them and I get an ip address of the right network. But when I try to go online with the safari or a

  • We need a place where Geeks can exchange ideas!

    Hi I have been a member on several forums. I admit this one is becoming my favorite. I like to explain things and this is a general pattern to how I go about trouble shooting seniors PC's here in my Village. W7 has a lot of features that can really h