Error generating test frame - smartform -flat structure

When i run the smartform,its giving an error message saying "Error generating test frame".When i run through driver program it gives dump saying "zmbook must be flat structure".
Now the problem is in smartform -> form interface -> tables it_test like zmbook
its saying zmbook must be flat structure.
here zmbook is transparent table.but says use flat structure.
i tried it through structure also but says use flat structure.
i tried it through table type of tructure also but says use flat structure.
can anyone help me out
regards sajid

Hi shaik,
Create the table type for zmbook in se11 and include this table  type in the form interface.
Goto se11 : datatype-->yy_book
                  select table type
In the line type : Zmbook.
Goto smartforms and in the form interface include this yy_book.
Regards,
Sravanthi

Similar Messages

  • Error generating test frame

    hi i ma getting following error  as a pop up when i try to execute one of my programs:
    ERROE GENERATING TEST FRAME
    Can any one suggest a solution

    Hi Kumar,
    As per SAP,
    Generally, this error is caused by the complex typing of the parameter of the function module.
    The test environment of the function builder cannot represent these parameters in the input template (for example generic types, xtrings, strings, object references).
    My suggestion is to use where used list for the function module, and check how it has been called in other programs and implement directly in the program , then it will work and give u result.
    Let me know if you have any other doubts.
    regards,
    Naveen Veshala

  • Error  generating test frame  in FM

    Hi
    I am not able to run the  FM SAP_CONVERT_TO_XLS_FORMAT. i got message like
    error generating the test frame. Anyone pls advise me if i am wrong

    Hi Kumar,
    As per SAP,
    Generally, this error is caused by the complex typing of the parameter of the function module.
    The test environment of the function builder cannot represent these parameters in the input template (for example generic types, xtrings, strings, object references).
    My suggestion is to use where used list for the function module, and check how it has been called in other programs and implement directly in the program , then it will work and give u result.
    Let me know if you have any other doubts.
    regards,
    Naveen Veshala

  • Error generating test suite schemas in JDeveloper

    When I try to generate test suite schemas for my decision function I get unexcepted error in JDeveloper 11.1.1.7.0
    java.lang.NullPointerException
      o.rules.testfmwk.util.TestUtil.findXMLSchemaNode(TestUtil.java:326)
      o.rules.testfmwk.util.TestUtil.getComplexElementReference(TestUtil.java:253)
      o.rules.testfmwk.impl.XSDGenerator.addArgumentSequenceSchemaElement(XSDGenerator.java:552)
      o.rules.testfmwk.impl.XSDGenerator.generateMessageTypesXSD(XSDGenerator.java:263)
      o.rules.testfmwk.impl.DFTestSuiteDefinition.generateTestSuiteSchema(DFTestSuiteDefinition.java:76)
      o.rules.testfmwk.impl.DFTest.initTestDefinition(DFTest.java:82)
      o.rules.testfmwk.impl.DFTest.createTestDefinition(DFTest.java:68)
      o.tip.tools.ide.rules.editor.decisionfunctions.RulesTestManager.createTestDefinition(RulesTestManager.java:76)
      o.tip.tools.ide.rules.editor.decisionfunctions.DecisionFunctionsPanel.generateTestSchemas(DecisionFunctionsPanel.java:538)
      o.tip.tools.ide.rules.editor.decisionfunctions.DecisionFunctionsPanel.actionPerformed(DecisionFunctionsPanel.java:563)
      jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
      j.a.Component.processMouseEvent(Component.java:6297)
      jx.s.JComponent.processMouseEvent(JComponent.java:3275)
      j.a.Component.processEvent(Component.java:6062)
      j.a.Container.processEvent(Container.java:2039)
      j.a.Component.dispatchEventImpl(Component.java:4660)
      j.a.Container.dispatchEventImpl(Container.java:2097)
      j.a.Component.dispatchEvent(Component.java:4488)
      j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
      j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
      j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
      j.a.Container.dispatchEventImpl(Container.java:2083)
      j.a.Window.dispatchEventImpl(Window.java:2489)
      j.a.Component.dispatchEvent(Component.java:4488)
      j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
      j.a.EventQueue.access$400(EventQueue.java:81)
      j.a.EventQueue$2.run(EventQueue.java:633)
      j.a.EventQueue$2.run(EventQueue.java:631)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      j.a.EventQueue$3.run(EventQueue.java:647)
      j.a.EventQueue$3.run(EventQueue.java:645)
      j.security.AccessController.doPrivileged(Native Method)
      j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      j.a.EventQueue.dispatchEvent(EventQueue.java:644)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)
    Any ideas how to solve this problem?

    Hi Kumar,
    As per SAP,
    Generally, this error is caused by the complex typing of the parameter of the function module.
    The test environment of the function builder cannot represent these parameters in the input template (for example generic types, xtrings, strings, object references).
    My suggestion is to use where used list for the function module, and check how it has been called in other programs and implement directly in the program , then it will work and give u result.
    Let me know if you have any other doubts.
    regards,
    Naveen Veshala

  • Smartform-Error generating the test frame

    i am passing a internal table to a smartform and defined the associated type for that internal table under TYPES tab of the Global Definition.
    While testing  the smartform it gives a runtime error i.e. Error generating the test frame.
    kindly advice where i am going wrong
    Thanks
    Ravi

    Hi Ravindra ,
    Test such smartforms with a program and not through SE37 .  Not supported see error message -
    <b>The test framework for /1BCDWB/SF00000031 has been regenerated but errors have occurred
    Message no. FL821
    Diagnosis
    One reason can be the complex typing of the function module parameters.
    In certain circumstances you cannot access the test cases in the test data directory.
    Procedure
    The test environment of the function builder cannot map (or map correctly) complex types, so that you cannot read or write this data to the test database.</b>
    Cheers

  • Help!! Error generating the test frame..

    i created a smartfrom and i am trying to fetch data into it. the program is bug free and was activated.
    but during execution it popped up this msg..
    Error generating the test frame
    Message no. FL819
    Diagnosis
    The system could not generate a syntactically correct test frame for function module /1BCDWB/SF00000166. You therefore cannot test the function module using the test environment. You have probably used an ABAP feature in the interface definition that is not yet supported in the test environment.
    The error message is:
    "ZCIVILBOQ" must be a flat structure. You cannot use internal tables, strings, references, or structures as components .
    System Response
    Procedure
    Check whether you can change the interface of the function module so that it is possible to generate the test frame. If this is not possible,you will have to write your own utility for testing the function module.
    Procedure for System Administration
    plzz help..
    Edited by: Sumit Nene on Dec 31, 2008 5:30 AM

    the table zcivilboq has already been defined in DDIC. why to define it in th form?
    yes but i have created an Internal table IT like zcivilboq in form interface.

  • Error generating the Test Frame

    Hello all,
    I have created few Function Modules (SE37) which are working fine on the dev system. After I moved them to the Quality system, when I tried to run them, all of them are giving this error before even going to the test screen:
    "Error generating the test frame"
    When I check the details of the error, by clicking on the "?" on the error window, it says there is a missing structure, that I have used in my FM. But the structure is not missing. It does exist in the system (I checked from SE11)
    Can someone tell me how I can resolve this problem?
    Thanks and Regards,
    Reena

    Hi,
    Just go to ST22 and see the dump created. It will tell you the table or structure name ( Standard ) that is missing/inconsistent in the quality system.  You can consult with your basis team to rectify this. Some tables may be partially active or with run time inconsistencies.
    Regards,
    S. Chandra Mouli.
    Message was edited by:
            Chandramouli Subburathinam

  • E message in production server Error generating the test frame

    Hi all experts
    I developed a object using layout in smartforms ....
    we have 3 server in my company .....
    1] development
    2] Quality
    3] produ
    it is giving me a error 'Error generating the test frame'
    plz tell me
    thanx

    Hi all experts
    I developed a object using layout in smartforms ....
    we have 3 server in my company .....
    1] development
    2] Quality
    3] produ
    it is giving me a error 'Error generating the test frame' while i am checking testing after export and inport into final production server ..
    can any one plz tell me the solution.....
    plz tell me
    thanx

  • ABAP: error generating the test frame

    Hi ABAP gurus,
    I received below error during execute/test the function module. Could anyone help or advice me why i'm getting the below error.
    Error generating the test frame
    Message no. FL819
    Diagnosis
    The system could not generate a syntactically correct test frame for function module ZDEV_DC_REALLIGNMENT_C4. You therefore cannot test the function module using the test environment. You have probably used an ABAP feature in the interface definition that is not yet supported in the test environment.
    The error message is:
    "ANY TABLE" expected, not "HASHED TABLE".
    System response
    Procedure
    Check whether you can change the interface of the function module so that it is possible to generate the test frame. If this is not possible,you will have to write your own utility for testing the function module.
    Procedure for System Administration
    Thanks.
    Best regards,
    Shanti

    Hello Shanti
    In the interface of the function module apparently a HASHED table type is used which cannot be generated in the test environment.
    Either you replace you HASHED table type with a STANDARD (or ANY) table type or you write a litle report which calls your function module.
    This is a normal limitation of the test environment in SE37.
    Regards
      Uwe

  • Object reference not set to an instance of an object error when generating a schema using flat file schema wizard.

    I have a csv file that I need to generate a schema for. I am trying to generate a schema using flat file schema wizard but I keep getting "Object reference not set to an instance of an object." error when I am clicking on the Next button after
    specifying properties of the child elements on the wizard. At the end I get schema file generated but it contains an empty root record with no child elements.
    I thought may be this is because I didn't have my project checked out from the Visual SourceSafe db first but I tried again with the project checked out and got the same error.
    I also tried creating a brand new project and generating a schema for it but got the same error.
    I am not sure what is causing Null Reference exception to be thrown and there is nothing in the Windows event log that would tell me more about the problem.
    I am using Visual Studio 2008 for my BizTalk development.
    I would appreciate if some has any insides on this issue.

    Hi,
    To test your environment, create a new BizTalk project outside of source control.
    Create a simple csv file on the file system.
    Name,City,State
    Bob,New York,NY
    Use the Flat file schema Wizard to create the flat file schema from your simple csv instance.
    Validate the schema.
    Test the schema using your csv instance.
    This will help you determine if everything is ok with you environment.
    Thanks,
    William

  • Error during generate test plan

    I'm trying to generate a test plan in Microsoft test Manager 2013 but during the criation of the template always appears the same error.
    the error is "Application detected an unexpected fault
                       Running transformation: System.NullReferenceException: Object reference not set to an instance of an object.
                      atMicrosoft.VisualStudio.TextTemplating04F88A763EC75D0A56EFDCF2B8809A952EF3E8E3357BFF2D9D4011312F
                     1B1B7156AE7547C446AFAB5B0446F4365E959CE585F7E56BFF574A1A1FDA6152DD705D.
          GeneratedTextTransformation.TransformText() in c:\Users\2363\AppData\Local\Temp\testplan\TestPlanSection.tt:line 151"
    Some test cases are active, and i'm trying generate a documente too know what expect.
    Thank you foll the help you can give.

    Hi,
    How do you generate test plan in MTM, please provide the detail steps. Do you clone test plan in MTM? What’s the version of your TFS?
    # Copying and cloning test suites and test cases (Clone a test plan and its test case section)
    https://msdn.microsoft.com/en-us/library/hh543843.aspx#sectionToggle3
    On the other hand, please try to clean TFS cache and try again. (Delete the cache folder, which path like C:\Users\[user name]\AppData\Local\Microsoft\Team Foundation\5.0)
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Receiving the internal 500 error while testing java web service

    HI,
    Problem Summary:
    Receiving the internal 500 error while testing java web service in integrated weblogic server.
    my scenario is like,
    retrieve the Payload from Dehydration tables.
    We are connected to SOA_INFRA schema and we are retrieving the payload from the dehyadration tables based on InstanceId and ECID using Java Classes.After that i make it as a web service and i deployed in to intergrated weblogic Server.It is generating the Target End Point URI.When am i hitting this it is showing structure of the service.I am testing this service from soapUi it is returning the Server internal error with 500.Here i am passing inputs as InstanceId and ECID.
    I had verified in my Jdeveloper,Proxy settings are available.
    Error Payload:
    I am receiving the Internal 500 error because of JDeveloper HTTP Analyzer encountered an error retrieving: CONNECT https://192.168.0.41:9102 HTTP/1.0.
    An exception occurred while retrieving the response for https://192.168.0.41:9102.
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1293)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:65)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:50)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpMessageBase.readLine(HttpMessageBase.java:658)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpRequest.read(HttpRequest.java:327)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.getResponse(ConnectionHandler.java:405)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:331)
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:1916)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateSSL(ConnectionHandler.java:707)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateForwardedSSLConnection(ConnectionHandler.java:672)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:311

    An exception occurred while retrieving the response for https://192.168.0.41:9102.
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?This error says that port 9102 is a plain HTTP port so either use the correct port (which is listening for HTTPS connections) or use HTTP instead of HTTPS in the URL.
    Regards,
    Anuj

  • Error generating Function Module 'TEXT_CONVERT_XLS_TO_SAP'

    Hi All,
    When i am executing the FM 'TEXT_CONVERT_XLS_TO_SAP' i am getting the error Error generating the test frame.
    Can you please tell me how to execute the FM.
    Thanks & Regards,
    Vivek Agarwal

    Hello...
                   Iam sending a sample code.
                   Hope it will helps U how to deal with FM :  TEXT_CONVERT_XLS_TO_SAP.
    TYPE-POOLS : TRUXS.
    TYPES : BEGIN OF TY_TAB,
             F1(10) TYPE C,
             F2(10) TYPE C,
             F3(10) TYPE C,
            END OF TY_TAB.
    DATA : WA_TAB TYPE TY_TAB,
           LT_TAB LIKE STANDARD TABLE OF WA_TAB.
    DATA : I_TAB_RAW_DATA TYPE TRUXS_T_TEXT_DATA.
    DATA : FNAM TYPE IBIPPARMS-PATH.
    PARAMETER : P_FNAM TYPE RLGRAP-FILENAME.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAM.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
       FILE_NAME           = FNAM
    P_FNAM = FNAM.
    START-OF-SELECTION.
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
      EXPORTING
        I_TAB_RAW_DATA             = I_TAB_RAW_DATA
        I_FILENAME                 = FNAM
      TABLES
        I_TAB_CONVERTED_DATA       = LT_TAB.
    LOOP AT LT_TAB INTO WA_TAB.
    WRITE :/ WA_TAB-F1, WA_TAB-F2.
    ENDLOOP.
    But my suggestion is why cant you use FM : ALSM_EXCEL_TO_INTERNAL_TABLE
    instead of TEXT_CONVERT_XLS_TO_SAP.
    The performance can be improved much by ALSM... FM.
    Thanks and Regards
    Sekhar.C

  • Getting error when testing a web service through WS Navigator

    Hi experts,
    I am using PI 7.1
    I am getting the following error while testing the web servicefrom WS navigator
    com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: No operation found using soap keys [],
    I did the following developement
    1 created service interface in Integration repository
    2. generated java bean skeleton on NWDS
    3. deployed it on JPR
    4 created Endpoints
    Pls suggest some solution to fix the problem.
    Thanks & Regards
    Nitin

    Check this guide:
    http://wiki.sdn.sap.com/wiki/display/JSTSG/(WSR)Problems-P04
    Regards,
    Ravi

  • Getting error While testing Web Service deployed Glassfish using Net beans.

    Hi,
    I created a web service in netbeans. I deployed it on glassfish server too.
    My web service contains one method which return type is Document. Here is my web service class code.
    @WebService(serviceName = "DocumentTest")
    @Stateless()
    public class DocumentTest {
         * This is a sample web service operation
        @WebMethod(operationName = "hello")
        public String hello(@WebParam(name = "name") String txt) {
            return "Hello " + txt + " !";
        @WebMethod
        public Document getDocument(){
            Document doc = null;
            return doc;
    }After Deployment when I m testing the web service I am getting follwoing error on Browser
    Error generating artifacts for the following WSDL http://localhost:8093/DocumentTest/DocumentTest?WSDL
    Possible causes can be invoking https when the application is not configured for securityI am just testing whether I can send Document object or not.
    Regards,
    Ajay Sharma
    Edited by: Ajay Sharma on Nov 27, 2012 12:37 PM
    Edited by: Ajay Sharma on Nov 29, 2012 2:16 PM

    Ajay Sharma wrote:
    I am just testing whether I can send Document object or not.An XML document? Wouldn't that be a really ridiculous web service?

Maybe you are looking for