Function module throwing error from work area. Cannot find the problem...

REPORT  ZPSMARTFORM1.
tables: zptable1.
types: begin of ty_zptable1,
      f1 type zf1,
      f2 type zf2,
      f3 type zf3,
end of ty_zptable1.
data: itab type table of ty_zptable1 with header line.
data: wa type ty_zptable1.
select f1 f2 f3 from zptable1 into table itab.
CALL FUNCTION '/1BCDWB/SF00000005'
EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
  CONTROL_PARAMETERS         =
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
  OUTPUT_OPTIONS             =
  USER_SETTINGS              = 'X'
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
  TABLES
    ITAB                       =   .
EXCEPTIONS
  FORMATTING_ERROR           = 1
  INTERNAL_ERROR             = 2
  SEND_ERROR                 = 3
  USER_CANCELED              = 4
  OTHERS                     = 5
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 is my driver program.In my form interface  there are tables,import,export are there where i have to declare tables data.If i am putting wa means it is throwing error.Please show me the clear information.
Edited by: Julius Bussche on Nov 14, 2008 10:09 AM

REPORT ZPSMARTFORM1.
tables: zptable1.
types: begin of ty_zptable1,
f1 type zf1,
f2 type zf2,
f3 type zf3,
end of ty_zptable1.
data: itab type table of ty_zptable1 with header line.
data: wa type ty_zptable1.
select f1 f2 f3 from zptable1 into table itab.
CALL FUNCTION '/1BCDWB/SF00000005'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
ITAB = .
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Plz for this driver program. Give me the exact solution.I am passing the information like itab  like zptable1 ther ein the smart form table. Even now i am getting error.Here in this driver program i passed itab = itab means .I  am not getting solution.If i have to change any function module name means plz tell me.What i have to put there.Plz give me the correct solution

Similar Messages

  • Validation error: cvc-elt.1: Cannot find the declaration of element

    I use JAXP to do XML Parsing and validation. I use DOM and not SAX.
    My code is as follows:
    SchemaFactory schemaFactory = SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
    File schemaLocation = new File("C:\\config\\JMS_properties.xsd");
    Schema schema = schemaFactory.newSchema(schemaLocation);
    // Create the validator
    Validator validator = schema.newValidator();
    // Add an error handler to the validator
    JMSErrorHandler errorHandler = new JMSErrorHandler();
    validator.setErrorHandler(errorHandler);
    // Create the dom factory
    DocumentBuilderFactory domFactory = DocumentBuilderFactory.newInstance();
    // Set the namespace property
    domFactory.setNamespaceAware(true);
    // Create the document builder
    DocumentBuilder builder = domFactory.newDocumentBuilder();
    // Parse the xml file
    Document doc = builder.parse(xmlFile);
    // Create the dom source and destination
    // The destination will contain the doc augmented with the default attribute/element
    DOMSource source = new DOMSource(doc);
    DOMResult result = new DOMResult();
    // Validate and augment the source
    validator.validate(source, result);
    // Error checking
    if ( errorHandler.validationError == true ) {
        // errors occured during the parsing
        System.out.println("XML file is not valid");
        System.exit(1);
    // Get the augmented document
    this.augmented = (Document) result.getNode();When executing my code, I got:
    Validation error: cvc-elt.1: Cannot find the declaration of element 'JMSProperties'
    But the xml file has this element in it so I do not understand the meaning of that error.
    ??????

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

  • Error cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'

    Hi! Ive got an error: cvc-elt.1: Cannot find the declaration of element 'wsdl:definitions'
    My WSDL file was generated by PI.
    After import this WSDL-file to my Business Process to section Service Interfaces - I've got this error.
    But, it seems to be OK when I created the project, create a model by choosing the WSDL-file. All validators do not give me any error.
    Whats wrong?!

    Though this is not my area, you can have a look at this thread which may help you
    [Re: XML inputs in a MII transaction to be used as a Web Service call|XML inputs in a MII transaction to be used as a Web Service call;
    thanks
    G. Lakshmipathi

  • HT1491 I purchased a single and money has been taken from bank but cannot find the music

    I bought a single from iTunes store and money has come out of bank but cannot find the music

    Hi Tinab127,
    The file may have been moved or deleted. For this issue, we will need to refer to the following article:
    iTunes: Finding lost media and downloads
    http://support.apple.com/kb/TS1408
    Alternatively, I see your media was downloaded from the iTunes Store, you may be able to download it again free of charge:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/HT2519
    Thanks,
    Matt M.

  • Problem in creating Data/Service in FlashBuilder 4 beta 2 with this error .cvc-elt.1: Cannot find the declaration of element 'model'

    hi
    i have a problem after installing flashBuilder 4 beta2 .
    when i want to create Data/Service with BlazeDs and when i click on button finish
    this error shown and I can't do anything with it .
    in flashBuilder beta1 it's work perfect .
    if any one in thereand know why?
    please help me
    ERROR: XML parse error : Error on line 1 of documen : cvc-elt.1:Cannot find declaration of element 'model'. Nested exeption:Cannot find declaration of element 'model'.
    thanks

    Hi,
    Thanks for your feedback
    Can you attach your sample project and provide details on the Flash Builder and BlazeDS builds you are using?
    Also add your vote to http://bugs.adobe.com/jira/browse/FB-23479 a similar known issue
    Thanks,
    Balaji
    http://balajisridhar.wordpress.com

  • I am getting an error message stating it cannot find the apps on my ipad.

    I am getting an error message saying "iTunes cannot sync apps to iPad (name) because the apps installed on the iPad cound not be determined."
    I have logged out of iTunes on both iPad and in iTunes.  Rebooted both iPad and computer then logged back in.
    I am using:
    os 10.7.5
    itunes 10.7
    ipad os 6.0

    I couldn't open it, so I couldn't check on how it was running. But I actually just tried reinstalling the program and for now it seems to be working.
    Thanks for your help!

  • I am trying to log in to my MSN Hotmail e-mail account, and after entering my login info, I get the error message that Firefox cannot find the server. Why not?

    When trying to log into my MSN Hotmail account (@msn.com), after I enter my credentials, Firefox gives me an error message that "Firefox can't find the server at blu152.mail.live.com". I am able to log in easily from the same computer using Internet Explorer. I think this problem just started yesterday. Why is Firefox unable to connect to my e-mail account?

    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"

  • I have bought elements 13 from amazon and cannot find the serial number anywhere?  It appears you needa 24 digit number

    I have bought photoshop elements 13 from Amazon and can not find the serial number anywhere?  It appears that it needs to be a 24 digit number.  Can any one help?

    To locate the serial number:
    http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • I have a new photoshop elements 13 from Amazon and cannot find the serial number?

    how do I find the serial number on the photoshop elements 13 box?  Only can find PN#  and scan numbers.

    Photoshop Elements is not part of the Cloud, I will move this to that forum
    Photoshop Elements Forum http://forums.adobe.com/community/photoshop_elements
    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html
    Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html
    Select a topic, then click I STILL NEED HELP to activate Photoshop Elements Online chat
    -http://helpx.adobe.com/contact.html?product=photoshop-elements or
    http://helpx.adobe.com/photoshop-elements/kb/troubleshoot-installation-photoshop-elements- premiere.html

  • Function module get tables from view

    Hello,
    I am looking for a function module or something alike where I can find the tables used in a specific view.
    I know how to get the data from the view, but I only want the table names.
    Can anyone help?

    Hi,
    Please try with the Function Module "VIEW_GET_TABLES" by passing the name of the View to the Importing Paramater "VIEWNAME" and tables parameter "VIEW_TABLES" will list the tables used in the VIEW.
    Regards,
    Srinivas

  • "System cannot find the path specified" error message !HELP !

    Hi
    In doing a program to read a string from the buffer, I am getting an error message that says "cannot find the file specified"
    The file was created in a previous program and I verified it does
    exist at the specified location on my hard disk.
    Below is the "ReadAString" program and "WriteAString" program where the String was created.
    Thanks
    Joe
    import java.io.*;
    import java.nio.ByteBuffer;
    import java.nio.channels.FileChannel;
    public class ReadAString
    public static void main(String[] args)
    File myFile = new File("C:Documents and Settings/Gateway User/jbproject/ssd_ch10p407/src/ssd_ch10p407/charData.txt");
    FileInputStream myInputFileInAStream = null;
    try
    myInputFileInAStream = new FileInputStream(myFile);
    catch (FileNotFoundException e)
    e.printStackTrace();
    System.exit(1);
    FileChannel myInputChannel = myInputFileInAStream.getChannel();
    ByteBuffer myByteBuffer = ByteBuffer.allocate(48);
    System.out.println("\nNew buffer: \tposition = " +
    myByteBuffer.position() + "\tLimit = " +
    myByteBuffer.limit() + " \tcapacity = " +
    myByteBuffer.capacity());
    try
    //size() will return the length of the file
    System.out.println("\nFile contains " + myInputChannel.size() + " bytes");
    //The FileChannel object keeps track of the file's current position
    System.out.println(
    "The file's current position before the read into the buffer is: " +
    myInputChannel.position());
    while (myInputChannel.read(myByteBuffer) != -1)
    System.out.println("\nBuffer after read: \tposition = " +
    myByteBuffer.position() + "\tLimit = " +
    myByteBuffer.limit() + " \tcapacity = " +
    myByteBuffer.capacity());
    System.out.println(
    "The file's current position after it read into the buffer is: " +
    myInputChannel.position());
    System.out.println("\nString read: " +
    ( (ByteBuffer) (myByteBuffer.flip())).asCharBuffer().
    toString());
    System.out.println("Buffer after flip: \tposition = " +
    myByteBuffer.position() + "\tLimit = " +
    myByteBuffer.limit() + " \tcapacity = " +
    myByteBuffer.capacity());
    // set the limit to capacity and the position to 0
    myByteBuffer.clear(); //clear the buffer for the next read
    } //end of while loop
    System.out.println("\nEOF reached.");
    myInputFileInAStream.close(); //close the file and the channel
    catch (IOException e) {
    e.printStackTrace(System.err);
    System.exit(1);
    System.exit(0);
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.FileChannel;
    //This program takes a text phrase (in Unicode characters;(2 bytes each character)
    //and puts it into a buffer via a CharBuffer,
    //then loads the buffer contents into a file channel
    //then outputs to a file.
    //When you have successfully run the program, go to Start | Search |
    //type in "charData.txt" and examine the contents of the file. OR
    //go to the notepad and open
    // C:
    //Documents and Settings
    //GateWay User
    //jbproject
    //ssd_ch10p407
    //src
    //ssd_ch10p407
    //you should see charData so right click on it and choose "open with " "Notepad"
    // and verify the contents are "Garbage in Garbage out"
    // each time you run the program, "Garbage in Garbage out " should be concatenated.
    public class WriteAString
    public static void main(String[] args)
    String phrase = new String("Garbage in Garbage out\n");
    String dirname = "C:/Documents and Settings/Gateway User/jbproject/ssd_ch10p407/src/ssd_ch10p407";
    String filename = "charData.txt";
    File dir = new File(dirname);
    //now checkout the directory
    if (!dir.exists()) {
    if (!dir.mkdir()) { //.....create it
    System.out.println("Cannot create directory: " + dirname);
    System.exit(1);
    else if (!dir.isDirectory()) {
    System.err.println(dirname + " is not a directory");
    System.exit(1);
    //create the fielstream
    File myFile = new File(dir, filename);
    FileOutputStream myOutputFileInAStream = null; //place to store the stream reference
    try
    myOutputFileInAStream = new FileOutputStream(myFile, true);
    System.out.println("File stream created successfully");
    catch (FileNotFoundException e)
    e.printStackTrace(System.err);
    ByteBuffer myByteBuffer = ByteBuffer.allocate(1024); //ByteBuffer object created
    CharBuffer myCharBuffer = myByteBuffer.asCharBuffer(); // create view buffer
    //transfer the phrase to myByteBuffer via mycharBuffer
    myCharBuffer.put(phrase);
    //update myByteBuffer limit (position times 2 because each Unicode
    // character takes 2 bytes) to store in the ByteBuffer
    myByteBuffer.limit(2 * myCharBuffer.position());
    System.out.println("myCharBuffer position is " + myCharBuffer.position());
    //create the file output stream channel object
    FileChannel myOutputChannel = myOutputFileInAStream.getChannel();
    System.out.println("new buffer: position = " +
    myByteBuffer.position() +
    "\tLimit = " + myByteBuffer.limit() +
    " \tcapacity = " + myByteBuffer.capacity());
    //each time the program is run, the phrase is again loaded into the buffer.
    // Run the program several times and open charData.txt to verify that the
    //data went into the file.
    //Load the data into the buffer
    for (int i = 0; i < phrase.length(); i++)
    myByteBuffer.putChar(phrase.charAt(i));
    System.out.println("Buffer after loading : position = " +
    myByteBuffer.position() + "\tLimit = " +
    myByteBuffer.limit() + " \tcapacity = " +
    myByteBuffer.capacity());
    myByteBuffer.flip(); //flip the buffer ready for file write
    System.out.println("Buffer after flip: position = " +
    myByteBuffer.position() + "\tLimit = " +
    myByteBuffer.limit() + " \tcapacity = " +
    myByteBuffer.capacity());
    //write this file
    try
    myOutputChannel.write(myByteBuffer); //write the buffer to the file channel
    System.out.println("The file contains " + myOutputChannel.size() + " bytes" +
    " Do you see this number double every time you run the program?");
    //you should see 48 characters writen to the file each time (phrase has 24 characters)
    myOutputFileInAStream.close(); //close the output stream and channel
    System.out.println("Buffer contents written to file");
    catch(IOException e)
    e.printStackTrace(System.err);
    System.exit(0);
    //After running the program once my output was:
    //File stream created successfully
    //myCharBuffer position is 23
    //new buffer: position = 0     Limit = 46      capacity = 1024
    //Buffer after loading : position = 46     Limit = 46      capacity = 1024
    //Buffer after flip: position = 0     Limit = 46      capacity = 1024
    //The file contains 46 bytes //Do you see this number double every time you run the program?
    //Buffer contents written to file

    Right - File is smart. Otherwise, you'd have to build
    platform-specific paths by hand, using file.seperator,
    to keep your code multi-platform. Ew.
    Grant
    IC..
    Aldaris84 bows his head in honour of the man/woman that created the clearly intelligate File class
    :)

  • Addon Start error - The system cannot find the file specified

    All, I am getting the above error when trying to connect an add-on. It's the budget editor in the SDK Samples. Compiled in vb.net, with the installer created from B1DE. The addon installs without a problem. It is only when connecting the add-on in the add-ons screen. The error message indicates it cannot find the BudgetEditor.application file. Does this file need to be included in the installer, the add-on folder in B1 or somewhere else?
    thanks

    Hi,
    Are u able to run the code and execute the aplication.?
    Vasu Natari.

  • Labview executable error - system cannot find the file specified

    Hi
    I am trying to create a stand-alone application and I'm getting the error message below:
    "System cannot find the file specified"
    This error message occurs when I run the setup.exe. Does any one know why this is happening? I've also attached the error message screenshot.
    Thanks
    Attachments:
    Specified file error.png ‏34 KB

    What type of hardware are you using? What do you mean by stand alone? Are you using any RIO device? (Just trying to understand)
    The best solution is the one you find it by yourself

  • After installing firefox version 31 I keep getting error messages that firefox cannot find some servers. How can this be fixed?

    I use Ebates. Now when I go to Ebates and choose a store, then the transfer to store website comes up and then an error message that firefox cannot find the listed server. I keep getting that message alot.
    On the frontier homepage there is an error message that firefox cannot find the ad server for yahoo.
    I was having problems with firefox so I did a reset firefox and then installed the new version 31.
    Seems it might be draggy or slow/sluggish. I like using Ebates. I contacted them and they said they were not having any issues at the moment. I contacted my antivirus provider and they said they could not detect anything either. Would a system restore get me back to the older version?

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I don't have a ringtone when recieving calls to me on FacTime, I have checked my settings and cannot identify the problem

    I don't have a rintone when recieving calls to me on FaceTime, I have checked my setting but cannot find the problem? I have 3x iPads in the house and the other two operate normally....

    Are you checking "Mute" function? It's hide in bottom of screen.
    You can use four fingers slide up from bottom then slide to right side to see mute on/off.

Maybe you are looking for

  • CS5: Green Pixelated Video in Source Monitor playback for clips w/ 44100 hz - Compressed - Stereo

    I am having issues with 2 of the 14 clips I have imported into a new project.  I am using Adobe Premiere Pro CS5. -- I have enclosed the properties of a few clips + a screen shot The two clips giving me issue differ from the other clips the following

  • Can I use a USB thumb drive with iPad

    Can I use a USB thumb drive with iPad2

  • How to make a .exe without errors about the costum scaling

    Hello everybody, i'm new with Ni-Labview, i'm trying to make a .exe file of my application, this is working perfect, but if i make costum scales in my Daq Assist options and i make the vi in a .Exe then there are always errors if i open it on another

  • Premiere 8.2.0 Mac Pro 6,1 AJA IO 4K CRASHES

    I am getting constant crashing while running Premiere with this setup.  Here is a crash report, I am hoping someone can help identify the issue(s). Thanks! Mac Pro specs are: 12c CPU 32 GB RAM 1TB Flash dual 6GB video cards Process:               Ado

  • Best format for web movies?

    My server here suggests Flash, but the samples we've done are not what I am hoping for. His next suggestion is Windows Media Player. What do you think? These would be 1 to 2 minute videos showing the features of camps, lodges, wildlife - at African d