Create smartform in runtime

Hi,
I've build a program that my customer can use to add data to a smartform ( not really a smartform, but it collects the data and in the end it must show a smartform ).
When all data has been collected I want to create a SMARTFORM from this data. So every time somebody creates a new document a smartform must be made.
The program to call the smartform dynamicly and shows it to the customer is also ready.
is there a FM, or someting else to create a smartform?
thanx

>
Kim Wehrens wrote:
> I've designed the smartform. (empty one with only one window).
>
> Now i want to update it with a couple of changes like interface (correct import and export parameters) and a couple of others things.
>
> I've created a lot of dynamic programs and even a couple of dynamic FM and Classes, but never a smartform.
>
> Still i think it's all just coding and there must be a way to change the coding in runtime.
>
> Who will help me please?
Kim,
First you should have a smartform...which you have now. Then, you have to declare internal tables in the Form Interface of the smartform.... Only then data from the program can be sent to the smartform.
Now, for example itab contains data you want to print in smartform.  then in form interface, declare an table same that of the itab in program.
Now, when you call the smartform generated function module, it will also contain the table declared in the tables tab in form interface like this:
call function .....
tables
itab1 = itab " here you have to give the itab of the program which contains the data you want to print in smartform
Now, in the smartform...you have to create text elements or tables based on the requirement to print itab1 fields. Here in the text elements you have to give the itab1 details.
Hope you got some idea now.
Vishwa.

Similar Messages

  • How can I create a Forms9i Runtime for client distribution

    Currently we have an application developed in Forms 5.0.6.8.0 our Database has been upgraded to 9i DB. The application is working fine with this combination but we want to upgrade Forms in order to get Oracle Support. We just get the Developer Suite 9i package and we're trying to test our application with this software.
    How can I create the client runtime for Forms 9i?
    My application will work with Win 95 and 98?
    Thanks.

    Oracle9i Forms is web-only. Forms 6i is the last release of Forms to have client/server and character mode.
    You can test Forms from the Builder by installing iDS. To deploy Forms using iAS follow the documentation. It's all there in the deployment guide.
    iAS and Forms doco can be found on OTN.
    Regards,
    Robin Zimmermann
    Forms Product Management

  • How to create variables at runtime

    Hi,
    I need to know how can i create variables at runtime.
    or is their anything like array that we create in 'C' if yes . how can i define its size at runtime.
    Thanks,
    Dev.

    In forms, either record groups or pl/sql tables of records give similar functionality to an array. You have full programatic control of either but with completely different syntax. Record groups integrate well with certain forms built-ins and features (eg LOVs and Tree items). PL/sql tables integrate well with other pl/sql such as stored procedures. Unlike an array, a pl/sql table may be SPARSE (index numbers need not be sequential), and UNBOUNDED (no need to declare the number of rows).

  • Steps to create Smartform?

    Hi,
    I am new to smartform. Can anyone tell me steps to create Smartform?
    Regards,
    Sanjay.

    Hi Sanjay,
    I see that this is your first post. So let me first say "Hello" to you !!
    Now, coming to you question, I'm afraid this is not the best forum on this site to post it. As the name of this forum suggests, this forum is for giving any suggestions as to what content might be desired on the site as a whole.
    I would like to refer you to the ABAP Development where you will get the quickest and the best responses possible.
    Happy posting on SDN.
    Regards,
    Anand Mandalika.
    Message was moved from the SDN Content Suggestion Forum by: I029616

  • How to create beans at runtime ?

    I have requirement to create beans at runtime.
    Please help me...

    Don't doublepost, it's rude. Please continue here: http://forum.java.sun.com/thread.jspa?threadID=5246338

  • How to create a new runtime access user - URGENT !!!!

    Hi,
    I already have an existing runtime repository and target schemas. I need to create a NEW runtime access user, as my old runtime access user was not available. could anyone please help me on this
    Kishan

    Hi,
    what OWB version? 10g R1?
    CREATE USER <user_name>
    IDENTIFIED BY <Enter User Password Here>
    GRANT CONNECT TO <user_name>
    GRANT WB_A_<RT_REP_name> TO <user_name>
    GRANT WB_D_<RT_REP_name> TO <user_name>
    GRANT WB_R_<RT_REP_name> TO <user_name>
    GRANT WB_U_<RT_REP_name> TO <user_name>
    Regards
    Detlef

  • Can not create glassfish server runtime

    I has this error when creating a 4.0 server runtime "There is no valid GlassFish runtime in specified directory" with Glassfish 4.0 installation. However, there is no error with glassfish-4.0-b83-ml.zip.
    I saw this error in eclipse log
    org.eclipse.jdt.internal.compiler.problem.AbortCompilation: Pb(324) The type javax.faces.component.behavior.ClientBehaviorHolder cannot be resolved. It is indirectly referenced from required .class files
        at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:135)
        at org.eclipse.jdt.internal.compiler.problem.ProblemHandler.handle(ProblemHandler.java:201)
        at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.handle(ProblemReporter.java:2132)
        at org.eclipse.jdt.internal.compiler.problem.ProblemReporter.isClassPathCorrect(ProblemReporter.java:4162)
        at org.eclipse.jdt.internal.compiler.lookup.UnresolvedReferenceBinding.resolve(UnresolvedReferenceBinding.java:59)
        at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.resolveType(BinaryTypeBinding.java:131)
        at org.eclipse.jdt.internal.compiler.lookup.BinaryTypeBinding.superInterfaces(BinaryTypeBinding.java:1354)
        at org.eclipse.jdt.core.dom.TypeBinding.getInterfaces(TypeBinding.java:471)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAttribute.addInterfaceNamesTo(SourceAttribute.java:346)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAttribute.buildTypeInterfaceNames(SourceAttribute.java:339)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAttribute.synchronizeWith(SourceAttribute.java:110)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceField.synchronizeWith(SourceField.java:73)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceAnnotatedElement.synchronizeWith(SourceAnnotatedElement.java:161)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceType.syncFields(SourceType.java:492)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceType.synchronizeWith(SourceType.java:141)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceTypeCompilationUnit.syncPrimaryType(SourceTypeCompilationUnit.java:120)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceTypeCompilationUnit.synchronizeWith(SourceTypeCompilationUnit.java:68)
        at org.eclipse.jpt.common.core.internal.resource.java.source.SourceCompilationUnit.synchronizeWithJavaSource(SourceCompilationUnit.java:157)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.synchronizeWithJavaSource(AbstractJpaProject.java:1395)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.rebuild(AbstractJpaProject.java:1334)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaProjectDelta(AbstractJpaProject.java:1320)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaDelta(AbstractJpaProject.java:1270)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaDeltaChildren(AbstractJpaProject.java:1288)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaModelDelta(AbstractJpaProject.java:1310)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.processJavaDelta(AbstractJpaProject.java:1267)
        at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.javaElementChanged(AbstractJpaProject.java:1252)
        at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.javaElementChanged_(InternalJpaProjectManager.java:803)
        at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager$JavaChangeEventHandlerCommand.execute(InternalJpaProjectManager.java:790)
        at org.eclipse.jpt.common.core.internal.utility.command.JobCommandJob.run(JobCommandJob.java:42)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    Please help

    Hi Jason,
    I think the issue might have been with your specific download.  I am able to create a server runtime to the 4.0 (build 89) GA install from OEPE and am able to start the domain as well.
    D:\GlassFish\GlassFish_4_linux_zip\glassfish4\bin>asadmin
    Use "exit" to exit and "help" for online help.
    asadmin> start-domain
    Waiting for domain1 to start ..............
    Successfully started the domain : domain1
    domain  Location: D:\GlassFish\GlassFish_4_linux_zip\glassfish4\glassfish\domains\domain1
    Log File: D:\GlassFish\GlassFish_4_linux_zip\glassfish4\glassfish\domains\domain1\logs\server.log
    Admin Port: 4848
    Command start-domain executed successfully.
    asadmin> version
    Version = GlassFish Server Open Source Edition  4.0  (build 89)
    Command version executed successfully.
    asadmin>
    if you need to be on 4.0, I would suggest you try to download the installer again.
    cheers
    Raj

  • How to create smartforms

    Hi experts,
    Iam new to webdynpro, i want to know what is smartforms and how to create smartforms
    plz tell me how to create smartform.
    thanks in advance,
    sush

    Hi sushma,
    Refer these links.
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    http://abap4.0catch.com/SAP_and_ABAP_Links.html#SAP_Hints_and_Tips
    http://cma.zdnet.com/book/abap/index.htm
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    This link can guide you with all the component which are getting used in smart forms
    http://www.sapgenie.com/abap/smartforms_detail.htm
    Regards,
    Sri

  • Can I create Canvas at Runtime?

    Hi All,
    Is it possible to Create canvas at runtime, If yes please let me know.
    Thanks in Advance.
    Regards
    Shareef

    Hello,
    Use the Set_Canvas_Property() and Set_View_Property() built-ins.
    Francois

  • Nesting dynamically created movieclip at runtime?

    Is it possible to nest a movieclip into another dynamically
    created movieclip at runtime? The commented line of code works, but
    I am trying to nest a movieclip after it is created into
    another.

    you can nest movieclips by using your commented code.
    however, you cannot change a movieclip's parentage after it's
    created.
    you can "fake" a parentage change by creating a movieclip
    with the parentage you want, copying its assets to the newly
    created movieclip with the desired parentage and finally removing
    the original movieclip.

  • Getting Error while Creating Context at RunTime

    Hi All,
    I am creating the Value Node and Value Attribute at Runtime, but i am getting Error of nullpointerException.....
    Following is the code Snipet:
    public void wdDoInit()
        //@@begin wdDoInit()
        IWDNodeInfo rootnodeInfo = wdContext.getNodeInfo();
        IWDNodeInfo soNodeInfo = rootnodeInfo.addChild(
                                                                     "SalesOrders",
                                                                     null,
                                                                     true,
                                                                     false,true,
                                                                     false,false,
                                                                     true,
                                                                     null,
                                                                     null,
                                                                     null);
        soNodeInfo.addAttribute("OrderNo","ddic:com.sap.dictionary.integer");
        soNodeInfo.addAttribute("SalesDate","ddic:com.sap.dictionary.date");
         soNodeInfo.addAttribute("SalesRep","ddic:com.sap.dictionary.string");
         soNodeInfo.addAttribute("LongText","ddic:com.sap.dictionary.string");
         IWDNode soNode = wdContext.getChildNode("SalesOrder",0);
        IWDNodeElement soElement = soNode.createElement();
        soElement.setAttributeValue("OrderNo",new Integer(100));
         soElement.setAttributeValue("SalesDate",new Date(System.currentTimeMillis()));
         soElement.setAttributeValue("SalesRep","Dhruv Shah");
         soElement.setAttributeValue("Long Text","Printer Supplies");
         soNode.addElement(soElement);
        //@@end
    public static void wdDoModifyView(IPrivateMainView wdThis, IPrivateMainView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
        //@@begin wdDoModifyView
             if(firstTime)
                  IWDTransparentContainer rootElement = (IWDTransparentContainer) view.getRootElement();
                  rootElement.createLayout(IWDMatrixLayout.class);
                  IWDNodeInfo soNodeInfo = wdContext.getChildNode("SalesOrders", 0).getNodeInfo();
                  for(Iterator iter = soNodeInfo.iterateAttributes(); iter.hasNext();)
                       IWDAttributeInfo soAttrInfo = (IWDAttributeInfo)iter.next();
                       IWDLabel label = (IWDLabel)view.createElement(IWDLabel.class,soAttrInfo.getName() + "Label");
                       label.setText(soAttrInfo.getName());
                       label.createLayoutData(IWDMatrixHeadData.class);
                       label.setDesign(WDLabelDesign.LIGHT);
                       label.setLabelFor(soAttrInfo.getName()+ "Input");
                       rootElement.addChild(label);
                       IWDInputField ioField = (IWDInputField) view.createElement(IWDInputField.class,soAttrInfo.getName()+"Input");
                       ioField.createLayoutData(IWDMatrixData.class);
                       ioField.bindValue(soAttrInfo);
                       rootElement.addChild(ioField);
        //@@end
    So can anybody help me out......
    Regards,
    Dhruv Shah

    Hi,
    before this IWDNodeElement soElement = soNode.createElement(); line
    check soNode is null
    Pl post the entire stack.
    Regards
    Ayyapparaj

  • How to create bindings at runtime for Dynamic Tables ?

    We have lot of Dynamic tables, In ADF, we need to try out the Dynamic EO, Dynamic VO, Dynamic DataControl and Dynamic binding for UI
    Ex:
    We need to load the data to the ADF table where database table name is dynamic, the columns in the tables are also dynamic. At runtime , we need to create VO, Dynamic binding and display to UI? We also should be able to add, delete,update records in the dynamic tables.
    Does anyone done this before? Please shared your thoughts on this

    Hi,
    for a table you can declaratively build a tree binding. Then you remove all the attribute items in the tree definition so that the number of attributes is dynamic. See: https://blogs.oracle.com/groundside/entry/towards_ultra_reusability_for_adf
    Frank

  • Creating smartform from attachment list of service object

    Hi,
       How can i create a smartform containing attachment list from generic object services(active workflow Box) in tcode VA02, Also let me know in which table this attachment lists are stored.
    Thanks,
       JP

    I found following Solution:
    I copied the following classes and changed them in some way to fit my requirements:
    1.CL_GOS_ATTACHMENTS
    2.CL_GOS_SRV_ATTACHMENT_LIST
    3.CL_LIST_BROWSER
    Changes to the Classes:
    1.Type of the attribute GO_INSTANCE changed to ZCL_GOS_ATTACHMENTS.
       Changed method INIT_BROWSER:
    go_browser ?=
        zcl_list_browser=>zcreate_browser( cl_browser=>gc_list_browser ).
    2.Type of the attribute GO_ATTACHMENT_LIST changed to ZCL_GOS_ATTACHMENTS
    3. Copied Method CREATE_BROWSER of Class CL_BROWSER to ZCREATE_BROWSER:
    method zcreate_browser.
      case ip_btype.
        when gc_list_browser.
          *create object ro_browser type zcl_list_browser.*
        when gc_tree_browser.
          create object ro_browser type cl_tree_column_browser.
        when others.
          raise exception type cx_sobl_browser
            exporting
              gp_error = cx_sobl_browser=>gc_wrong_type
          exit.
      endcase.
    endmethod.
    Modified the code of method ___DISPLAY to my needs.

  • Create item at runtime

    Hi,
    I'm using forms6i.
    Is it possible create an item at runtime??
    If Yes, please guide me to create a Hierarchical Tree at runtime...
    Thanks

    Hi Divya,
    My requirement is something like this.
    I have a hierarchical tree with some nodes.
    When i click any of the nodes , then the some query will be executed based on the selected node and those details i need to display again as a tree.You can display those details as child nodes under the selected node, or when this node is selected populate another tree with the details as per your requirements.
    Similarly from that second tree if i again select a node, another tree should appear. The trees should be created based on whether the query(based on the selected node) returns some result.Again similar to the above, under the selected nodes display the details as child nodes for the selected node or create one more tree and populte the details
    What I think is when one tree can handle all the sub nodes for each tree then why is the need for so many trees?
    If its your requirement to display nodes separately you can clear the same tree and populate the tree again depending upon the nodes selected.
    Additionally you can have buttons to move back to move to previous nodes of tree. You will need to store the selected node values so that you can populate the child nodes properly if required.
    Best Regards
    Arif Khadas

  • Creating design and runtime repositiries in the remote database in OWB 10.2

    Hi,
    As per my current scenario i have OWB 10.2 installed in a client machine and i have to create target schemas, design repository and runtime repository (control center) in a remote data base.OWB is not installed in this remote data base.
    Firstly is possible to have such a configuration in OWB, if yes are there any implications of that.
    Thx

    want to confirm whether an machine having OWB client can start the control center services or specifically the client system from which i had installed the repository.There are no any limitations with executing Control Center service from any computer with instaled OWB software.
    If we can do it from any client machine, is there any way we can restrict this to have some level of securityAs I know there is no in OWB any standard feature to restrict executing CC service from specified computers.
    But maybe you can use for this task Oracle database features, for example OnLogon trigger (it is possible to check IP address from which connection is initiated).
    Regards,
    Oleg

Maybe you are looking for

  • Issue while starting a workflow using a form submission cq5

    Hi, I have followed the below mentioned tutorial and completed it. http://dev.day.com/docs/en/cq/current/workflows/create-models.html#par_reference Once done, I did try to start the workflow using a normal form submission, by giving workflow name in

  • My ipodshuffle g2 recognized as unknown device

    when i  connect my ipod with my pc(win7) ,the shuffle(G2,1g)is not recognized by itunes or windows,An error box states :usb device not recognized"

  • New MacBook Pro slower than a snail

    I have just upgraded to a new MacBook, and am having speed issues, first with Mountain Lion and now with Mavericks. It seems as though almost all operations, even selecting a file in the Finder, bring up the beach ball of death, and opening applicati

  • Mailing in HTMLB using HTML a href syntax

    Hi my question is as follows. I am using a HTML syntax inside BSP page and trying to call onInputprocessing event. It gives me a Javascript error. The point is i need the mail ids at runtime and hence the ABAP scripting involved.. Is the code wrong-?

  • Templates not uploading all pages using same template.

    Hey guys, I'm having difficulties with Dreamweaver at the moment. Here's the problem: I've created a template for my current website. This file has .dwt so it's the template. I've created so far 3 different pages using html and the template.dwt file.