Error in Simple Input Form Example for CE 7.1?

Hi @,
I am trying to execute Simple Input form example in sdn for CE 7.1. But its not working as per the functionality.
Can anyone suggest what is the issue ?
Regards,

hi,
This particular example is given in the sdn and is for ce 7.1 but its not working .
Regards

Similar Messages

  • Simple Input Form Example

    Hi all,
    I am trying out this example.
    [Simple Input Form|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14]
    In the method onActionSave(),
    //@@begin onActionSave(ServerEvent)
    this.checkMandatory(IPrivateForm.IContextElement.NAME);
    A Simple Input Form 25
    SAP Online Help
    this.checkDateInPast(IPrivateForm.IContextElement.BIRTHDAY);
    this.checkDesired(IPrivateForm.IContextElement.E_MAIL_ADDRESS);
    wdComponentAPI.getMessageManager().raisePendingException();
    wdComponentAPI.getMessageManager().reportSuccess(
    "The sample form data was successfully saved!");
    It states that if there is any error, raisePendingException() would stop the flow of the codes.
    However when i am running the application, the application still calls the reportSuccess method.
    What could be wrong here?

    Hi,
    The raisePendingException() method checks if any exceptions were reported to the exception manager and are still stored in the exceptions manager. If there is at least one exception still stored, this method does not return, but raises a framework internal exception instead to return to the framework error handler.
    So probably there are no exceptions reported to messagemanager in your functions checkmandatory() etc.
    Try writing foll code
    wdComponentAPI.getMessageManager().reportException("Some Message");
    just before the raisePendingException() statement and see if it works.
    Best Regards,
    Mayuresh

  • Report error with the input form using the VC BI integration wizard

    Hello All,
    I've created a report using the BI integration wizard in visual composer. I've configured the query with the 'Free Form' query template also I've defined the filters there. This is working fine and giving me the report output. When I deploy this , I could see
    a start point for the data service.
    But instead of the start point with the default values for the filters , I want to have an input form for the users to enter the field values. I added the input form in place of start point. But it's not working even though it doesn't give any error while deploying this report. It gives the following error when I run this report.
    " Data service error occurred,cannot execute OLAP queryCannot get data set: Cannot get data set".
    Could anybody help on this.
    Thanks
    Alok

    Hi Sandeep,
    I'm already draging it from the query input port. Are you referring a different way? How I could have the input variables in the query which I'm creating using the BI integration wizard.  To get this input variable I'm trying to add the input form.
    Am I doing anything wrong here ?
    Pls help.
    Thanks
    Alok

  • EPMExecuteAPI error in excel input form

    Hello expert,
    I'd like to add an EPMExecuteAPI link in an Excel input form, but I get an error in the cell :
    #Error - Unexpected Error. Check your parameters.
    Here is the formula I set in the cell :
    =EPMExecuteAPI("DataManagerOpenViewStatusDialog";"View status")
    I also try
    =EPMExecuteAPI("DataManagerOpenViewStatusDialog()";"View status")
    According to the online PDF help this function is compatible with EPMExecuteAPI.
    I also find this string :
    Application.Run "EPMExecuteAPI", "DataManagerRunPackage", "", "Import", "Packages", ""
    Is it supposed to be used in a VBA macro and called from a button ? (right clic on the button and affect macro)
    My goal is to provide few functionalities through links or buttons in the sheet.
    Thanks for your help.
    G.
    No ideas ?
    Thanks
    Edited by: Société T-Systems on Feb 8, 2012 11:31 AM

    Hi all,
    I did not already solved my issue.
    As I say functions with no parameters works fine, like
    =EPMExecuteAPI("DataManagerOpenViewStatusDialog";"View packages Status")
    or
    =EPMExecuteAPI("SaveAndRefreshWorksheetData";"Save")
    but this particular one don't work :
    =EPMExecuteAPI("DataManagerRunPackage";"Run Allocation";"BS_Allocation,Financial Process,Public")
    I believe that the function is understood by excel since the cell displayed content is "Run Allocation", there is no #error message in the cell.
    When I double click in the cell like for other working function, I just go editing the function string (with another function the action is performed)
    So help is still welcome on this post
    Regards

  • Swing input form example?

    Anyone have example code for a swing input form containing a JComboBox, JTextFields, and a submit button?

    look 'ere:
    http://java.sun.com/docs/books/tutorial/uiswing/mini/fifthexample.html
    or 'ere:
    http://java.sun.com/docs/books/tutorial/uiswing/components/dialog.html

  • Error in Simple Adobe Form

    Hi ,
      I have gone through this below PDF
      https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0401535-f81c-2a10-0192-   ffd41e8e8d59
    It is Simple Adobe Form with two fields(Firstname and Last name ) not table. I am getting UI Interactive form but not getting PDF. I am using NWDS 7.0.15 and Adobe Live Cycle Designer 7.1.
    Please help me out.
    Thanks
    Risha

    Hi Risha,
    In NWDS Web Dynpro perspective, when you create a project, you will be able to create an InteractiveForm UI Element in any view. You need to set the 'datasource' property to some context node with attributes. You open the Adobe Designer for this InteractiveForm UI Element by choosing the context menu option 'Edit'. You can create some form elemnts for it by dragging the attributes of the binded datasource node from 'Data View' to the form preview area. When you build, deploy & run your application after this, you get this form in the browser. You can now save this form as pdf.
    You can refer to https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf (Using Table in Adobe Form)
    Hope this helps you.
    Kind Regards,
    Nitin

  • How to create a simple input form in BPC 10.0 and the details are below

    Hi Experts,
    I would like to know how to create attached input form and what are the dimension would require to use in order to populate correct report
    Please provide your comments and the sample report has been attached.
    MGA Index
    Column
    Head Count Planning Required
    Approver authority
    Asset
    Row_Cost Center
    Business Development
    Finance
    Procurement -
      C&P
    Legal
    HSS &  Environment
    Petroleum Engg
    Drilling
    Subsurface
    Thanks in advance.
    Regards,
    SK.

    Hello,
    The new update of Muse allows you to use the Webforms widget with a non Business Catalyst host as well.
    However, Captcha is something which currently cannot be used via Muse without using Business Catalyst as host.
    This document might be of some help : http://forums.adobe.com/docs/DOC-3581
    Regards,
    Sachin

  • Error running an interactive form example

    Hi everyone,
    I'm trying to run a basic AIF scenario on a local machine.
    I created a web dynypro example according to the Guide "How to Create Online and Offline Forms in Web Dynpro".
    I configured the Adobe Document Services and my credential as described in the ADS Configuration Guide.
    What I get when I deploy the example in the NW Developer Studio is the follwing error message:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.
    Request start time: Thu Feb 02 15:20:47 CET 2006
         at com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:460)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:158)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1123)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:402)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:252)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:392)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    Can anybody help me?
    Thanks in advance
    Olaf

    Hi Olaf,
    if you are absolutely certain that you have configured the ADS correctly and have looked at the ADS troubleshooting documentation in the SAP Help Portal at http://help.sap.com/saphelp_nw04s/helpdata/en/c2/42c437004b4d74bd74100d327a3354/frameset.htm and still get the error, please create a customer message on component BC-SRV-FP.
    Best regards,
    Markus

  • IWDMessageManager in WDJ Tutorial #3(Simple Input Form), p.23

    Prior to typing in any of the code shown on page 25 of WDJ Tutorial #3, the generated Java code looks like this for the checkDateInPast method:
      //@@begin javadoc:checkDateInPast()
      /** Declared method. */
      //@@end
      public void checkDateInPast( java.lang.String fieldName )
        //@@begin checkDateInPast()
        //@@end
    When I type in the first line of the code to be added, the result looks like this:
      //@@begin javadoc:checkDateInPast()
      /** Declared method. */
      //@@end
      public void checkDateInPast( java.lang.String fieldName )
        //@@begin checkDateInPast()
        IWDMessageManager msgMgr =
          wdComponentAPI.getMessageManager();
        //@@end
    But right away I get this error message:
    "IWDMessageManager cannot be resolved or is not a type."
    I have checked back carefully on previous pages and don't see anything I've neglected to do.
    Can someone suggest what might be going on here, either an error in the tutorial or an error in something I've done ????
    Thanks
    Dave

    Yes - that did it, thanks.
    Before you answered I found another way - I looked back at the Java for the views in previous tutorials and found these statements:
    import com.sap.tc.webdynpro.progmodel.api.*;
    import com.sap.tc.webdynpro.progmodel.gci.*;
    import com.sap.tc.webdynpro.progmodel.context.*;
    When I added these, the error message went away also - obviously because the IWDMessageManager is included in progmodel.api.*
    But while you're around let me ask you the following question:
    When I do it your way (ctrl-shift-o), how does NWDS know to add just the line for the MessageManager:
    "import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;"
    Thanks.
    Dave

  • Web User Input Form - in terms for DQ & DI

    Hi All,
    Thanks a lot for your excellent contribution on these topics.
    I have one question
    Is there a web user input form available for Business SMEs or User to input their rules/metadata which will get converted to equivalent code snippets into DI or DQ components automatically.
    If so, apart from Data Services Management console and Metadata reporting console, what are the other web services available to cater to this, kindly give us more insight on to this please.
    Regards
    Chandra

    Look at the top of this forum. There is a header that describes what this forum is for:
    This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages).
    Does any of the above relate to your query? If not, you're in the wrong forum and you'll have to find a corect forum to post to.
    - Ludek

  • Using elements from input forms to use in reports...can it be done?? XML maybe?

    Hi,
    I am required to create a large number of input forms. For each form item, there is a heading to describe what the form item collects and also additional descriptive text, such as units of measurements etc.
    I intend to create a report that will loop through and display this captured data on a per day basis. As there could be several forms of data multiplied over several days or weeks, this will return a lot of data
    eg.
    Day 1
              Data 1
              Data 2
              Data 3 etc...
    Day 2
              Data 1
              Data 2
              Data 3 etc...
    Day 3
              Data 1
              Data 2
              Data 3 etc...
    etc........
    In addition to the data captured in the database, i also need to furnish the returned data in the report with the headings and descriptive text that was on the forms so that the context of the data is apparent.
    I have thought about how  i may acheive this
    1. check each data item returned and append the appropriate text (could involve hundreds of checks against hundreds of data items....Yikes seems like a bad way to do this
    2. maybe theres another way....reading around i wondered if XML could be used ( i have no experience with XML)
    if the form was constructed with XML, and when the report runs, the returned data is able to be linked to the appropriate XML section and the descriptive text could be appended, rather than be subjected to numerous if...else statements....is this feasible with XML? how could i achieve this?
    Sorry if this is unclear or not what XML is about and i'm way off...I'm learning this stuff as i go along so only have the internet and forums to bounce ideas off.
    Thanks for reading this and if you've got any ideas about how i might achieve this with XML or not...i'm very open to suggestions
    Cheers

    Database is MySQL
    SnakEyez02 wrote:
    Ok, let's take this one step at a time.  First what database type is this going into?  Pointing you in the right direction for that is the best place to start.
    >> MySQL
    Next when you talk about returning the data to a report, are you using a reporting service or what are you trying to do here?
    >> HTML/PHP report created with Dreamweaver with queries to recordset
    Depending on what needs to be done, the type of database and the complexity of the data, I have found that simply entering the data into the database and running a query out of a Sharepoint server or even Excel will usually suffice unless there is something in play that we don't know about.
    >>  Yes i can query the database and use those results, what i also want to use is the extraneous elements, such as headings, descriptive text e.g for an input field that captures temperature, you would have
    Heading              Input element                     Descriptive text
    Temperature:      [ Input temp in box here]     degree centigrade
    I want to know if there is a way of reusing these from my forms into my report by using XML, rather that some onerous checking process to append the text to returned data.
    Thanks for taking the time to consider this..

  • Using a Simple Parameter Form Portlet with a Report Portlet to Search DB

    My organization registers clients for workshops in iLearning.We use iPortal for our web site. I would like to use a Simple Parameter Form Portlet for clients to conduct a search on the data that is in iLearning and have it displayed in a Report Portlet on a separate page. I have been able to bring the iLearning data into the Report Portlet but I have not been successful in setting up the Simple Parameter Form Portlet to do a search on the data and then have it displayed. Any suggestions.

    hi,
    i just tested this in portal 10.1.4 and it works fine. you can fire an event and pass a parameter from a simple parameter form portlet and consume this page parameter in a portlet builder reports component. there is some documented behavior in bug 3321558 that has to do with personaliziation (customization in older releases). if you enter some personalization the page parameter gets ignored. for more information on this please contact oracle support services.
    regards,
    christian

  • JDev10g and ADF/Struts input form errors

    I followed a demo for creating an input JSP form from Business Components. However, although I can create and run a report or read-only form without a problem, I cannot create and run an input form at all as I keep getting the following error:
    javax.servlet.jsp.JspException: No getter method for property FirstName of bean org.apache.struts.taglib.html.BEAN
         at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968)
    Any ideas?

    Justin,
    This usually happen because the data binding called FirstName cannot be found in the binding container associated your JSP.
    The binding container associated with your page is most likely the name of your page with UIModel.xml.
    You can see the list of bindings available in the binding container by selecting the DataBinding.cpx file in the Navigator and look at the Struture Pane.
    The FirstName binding might not be thre of the wrong binding container may be associated with the page.

  • CF Set form.variable for query and Next/Previous pages error

    I have a CF form with a select that posts to a CF "action" page.
    On the action page I: CFSET ItemNumber=#form.ItemNumber#
    I CFOUTPUT the 'ItemNumber' into the CFQUERY (which is an Inner Join dependant on the '#ItemNumber#')...
    All of the above works just fine and displays the database fields in color alternating rows, per the rest of the code.
    Here's the problem:
    I'm displaying 40 rows on a page per "Next and Previous" code. (CFPARAM name="start" default="1" and CFPARAM name="disp" default="40" along with the rest of the NextN code in the header and body). This does display 40 rows on the page and puts a link at the bottom of the page "Next 40 Rows", etc.
    Note: I'm only querying the database once and using the query (query name="data") to populate the table rows And the NextN code (CFOUTPUT name="data") And (CFIF start + disp GREATER THAN data.RecordCount, etc)...
    The problem happens when you click the "Next 40 Rows" link to display the 2nd page of rows. Since (I'm assuming) this NextN code is 're-reading' the same page from top to bottom, an error is thrown when the code tries to read the CFSET ItemNumber=#form.ItemNumber# at the top of the page.
    With the #form.ItemNumber# on this action page Originally coming from the previous posting of the form to this action page, when the "Next 40 Rows" link is clicked and the NextN code re-reads this action page - the CFSET ItemNumber (#form.ItemNumber) is not getting populated and throws the error...
    I hope I've not made this sound confusing.
    I can get the NextN code to work when I'm just querying the database without "flying in" a form variable. But when I CFSET a variable (#form.ItemNumber#) that is inserted into the query, the second page of the NextN throws an error and doesn't display.
    I would include the page code here but it would be fairly lengthy and, as well, the NextN code is a 'standard' CF code -- I've narrowed the problem down to the above "Element is undefined" (when the page tries to reload from the "Next 40 Rows" link) and am hoping there's a simple fix or another way to display the records in Next and Previous pages.
    Thanks to anyone in advance for shedding light on this.
    - e

    Thank you for the reply, Owain.
    Yes - The Next/Previous at the bottom of the page are hyperlinks.
    <a href="ThisPage.cfm?start=#Evaluate("start + disp")#">
    The following is at the top of the page (and is the variable from the form that I CFOUTPUT in the query):
    <cfparam name="ItemNumberDropdown01" default="">
    <cfset ItemNumber = #form.ItemNumberDropdown01#>
    The error report showed that the "Next Page" hyperlink was reading an undefined variable... although when the "action page" first opens from the form posting to it, it populates the CFSET just fine (per the cfparam and cfset above)... As you mention, the hyperlink clearing the form scope is what causes the error in trying to display the next set of records...
    The form page and the 'action page' are both secure pages with an application page setting the session, etc. Am I at risk in using an URL scope?
    Where would this URL scope be put? (The href is shown above - would the URL scope go in this? - How would this be written?)
    The CFPARAM and CFSET would still exist at the top of the 'action page' and still throw an error wouldn't it or would this be replaced with something else to read the form.variable for this 'first' action page to be displayed?
    Thanks again for the 'education' on this...
    - ed

  • SAP BPC 10 - Error on Refreshing Reports  Input Forms

    Hi all,
    We are working on an BPC 10 Consolidation project for the Netweaver Version.
    We setup the Environment, Dimensions, Models, etc. We created a few reports too using the Excel interface.
    These were tested and they worked well.
    However, then one day we started getting this message, whenever we opened any Report or Input Form -
    "The Report that was defined is invalid - at least one of the axis contains no members."
    We observed that this message appeared when there was no data available for EPM Context (Current View) given.
    In short -
    - The data is pulled out in the report, where for a CV there is data available.
    - However, if the CV is changed to something which has no data available, the report does not go blank (i.e. does not get refreshed) and it keeps showing the old figures.
    We tried opening reports in the SAP delivered IFRS Starter Kit too but got the same message.
    We are not able to locate what went wrong. Did we change any option by mistake.
    If anybody has faced this message and got it resolved or has an idea why this message might be appearing, please reply.
    Any help would be highly appreciated!
    Thanks!
    Rajneesh

    Hi Rajneesh,
    Check whether you have both the row-axis and column-axis of the input template through 'edit report'.
    Probably your input template has some member dimensions missing in your template.
    We have faced the same problem before and corrected it.
    This error occurs sometimes when we create a input template by clearing defining the row & column axis in the template but afterwards try some EPMOlapmember in any axis by deleting the original report elements.
    So check the input template once again. I think you will track the error.
    Regards,
    Bishwajit

Maybe you are looking for

  • Can anyone help me with advice for a replacement hard drive

    Hi there, Can anyone help me with advice for a replacement hard drive and RAM upgrade for my Mac Book Pro 5,3 Its 3 years old & running Snow Leopard 10.6.8 I do a lot of audio & movie work so performance is important. The logic board was replaced las

  • Unable to update iphone 3G from 3.1.3 to 4.2

    I've been unable to update my phone's OS to any 4.x version.  The upgrade begins, but the backup process hangs.  (if I just sync my phone, the backup runs properly) Any advise?

  • How to append a gif to another gif in adobe photosop cs5 extended???

    like i have two gif files and i need to apppend 2 gif file at the end of 1st gif file,,so that i 'll a single gif.

  • 500 Internal Server Error msg

    We have had a new server up for @ 1 week, running Netware 6.5 w/ sp1. Also running BM 3.8 and using the server as our DHCP server. It has been running ok with all users having internet access. However, today, users started getting a "500 internal ser

  • User exit for IW31 which capture screen field Po number

    Hi all I have the requirement that when we save work order created by IW31. It shud trigger any user exit or BADI. In that we have to validate the screen field Purchase order number BSTKD from the Ztable entries. My problem is that no user exit passe