Syntax error in the Interactive form methods

Hi all,
In one of the method of the interactive form i am using the below statement
DATA:LS_ZDYN_TBL_FORM type WD_THIS->ELEMENT_ZDYN_TBL_FORM.
When i use the above statement i am getting the following syntax error
The type "WDCTX_ZDYN_TBL_FORM" is unknown.          
Thanks in advance
Ajay

Try following thigs:
1) Make sure that you have created node 'ZDYN_TBL_FORM' in the context
2) try following code: WD_THIS=>ELEMENT_ZDYN_TBL_FORM.
3) If you are writting this code in the method of a view, try following code:
  DATA: t_data TYPE if_<view_name>=>elements_ZDYN_TBL_FORM.
Regards,
Saket.

Similar Messages

  • Problem in accessing the Interactive forms in an ISR Senario(like MSS)

    Hi all,
    I am facing a problem whenever I try to access the interactive form.I am doing this from the standard Business Package, MSS.
    I have done all the configurations needed for these ISR Senarios.
    I suspect the the error is because of some missing IMG customizing.
    Pls provide some directions to solve this problem.
    Exception 1)
    initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.exceptions.PDFDocumentCreationException: ../../sap.com/pcui_gpisr/IsrForm/wd_key13_1171540676406/Error+PDF.pdf?sap-wd-download=1&sap-wd-dl_behaviour=1&sap-wd-cltwndid=DefaultExternal1171589446921&sap-ext-sid=dIiSA97eM6QRuNvwpwdigw%3D%3DzPkd%2BOwplNQFa31FtlR6vA%3D%3D%2Fpcd%3Aportal_content%2Fcom.sap.pct%2Fspecialist%2Fcom.sap.pct.erp.busunan.bp_folder%2Fcom.sap.pct.erp.busunan.roles%2Fcom.sap.pct.erp.busunan.business_unit_analyst_20%2Fcom.sap.pct.erp.busunan.business_unit_analyst_20%2Foverviewfolder%2Fcom.sap.pct.erp.busunan.overview_2%2Fcom.sap.pct.erp.busunan.masterdata_1%2Fcom.sap.pct.erp.common.isrform_page%2Fsap.com%2Fpcui_gp%7Eisr%2FIsrForm%2Fbase&sap-wd-norefresh=X&sap-ep-version=7.00.200611091758
    Exception 2: This Exception occurs when I try to run the application(sap.com/pcui_gp~isr/IsrForm) from the Webdynpro Content Administration Screen.
    com.sap.pcuigp.xssfpm.java.FPMRuntimeException: No scenario specified
    at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
    at com.sap.pcui_gp.isr.isrprocessevent.init.VcISRInit.onBeforeOutput(VcISRInit.java:228)
    at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInit.onBeforeOutput(InternalVcISRInit.java:181)
    at com.sap.pcui_gp.isr.isrprocessevent.init.VcISRInitInterface.onBeforeOutput(VcISRInitInterface.java:139)
    at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInitInterface.onBeforeOutput(InternalVcISRInitInterface.java:136)
    at com.sap.pcui_gp.isr.isrprocessevent.init.wdp.InternalVcISRInitInterface$External.onBeforeOutput(InternalVcISRInitInterface.java:212)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:602)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:568)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:437)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:195)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    Thanks in advance,
    Sethu

    Hey Sethu,
    Check the QISRSCENARIO settings.Also make sure that your ADS is configured.
    Also, please make sure that you have maintained all the settings which are mentioned in this link.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/3b/52dd3747934311abee4376f383fdf2/frameset.htm
    Regards
    <i><b>Raja Sekhar</b></i>

  • Attachments added to the Interactive form is lost after submit

    Hi All,
    I have a scenario where the user can add attachments to the Interactive Form Online and click on Submit to archive the filled form. The problem is that i am not able to retrieve the attachments added to the form.
    The datasource of the ITF is bound to the View Context node and the pdfsource is bound to an attribute of XSTRING type.
    Here i am able to see the changed values of the Input fields in my context node. But, any attachments added is lost.
    How can i retrieve the attachments? I tries calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects but it always returns null.
    FYI,
    if i use file upload UI Element and upload an existing form with attachments then i am able to get the list of attachments by calling the Methods SET_TASK_GETATTACHMENTS and GET_ATTACHMENTS of PDF Objects before this PDF is displayed in the next view. (binding the XSTRING of FIle Upload UI to the PDFSOURCE of the ITF).
    Here also if i add some new attachments to the PDF and click on submit then these new docs are  lost.
    In short whenever i add attachments to the pdf dynamically via add attachment option after the PDF is displayed the new attachments are lost.
    Please let me know how to correct this.
    Thanks,
    Abhishek

    There is a default functionality provided by Adobe... If all your fields are field, you can not submit. It will prompt .. to fill the form.
    Only you have to mark those field as mandatory.
    So select the field -> Go to Object Pallet -> Value Tab -> select the type as User entered Required
    This will solve your problem.
    You can also customise the requirements through scripting language.
    cheers
    Satya

  • "Syntax error in the MDX statement " in Process chain failure??Urgent pls

    Hi Experts,
    could any one suggest me the procedure to rectify the below problems in process chain?
    1."Syntax error in the MDX statement "
    2."Error when getting data (Error when getting data (AXI))"
    Rgds,
    BH

    In which case it'll be that Access has a different date format to MySQL, and you're trying to push the string "'25-Apr-12 10:55 PM" into Access, which it's not understanding. To get around this, you need to treat your variable as a true date/time object, rather than a formatted string.
    CFQueryParams should be used on absolutely every database platform, they'll stop your website being vulnerable to SQL Injection attacks for one, which at the moment you're wide open to. Replace your query with something like this:
    <cfquery name="input_comments" datasource="#DSN#" username="#DSNUSER#" password="#DSNPASS#">
          INSERT INTO comments(
                             commenter,
                             comment,
                             datetime,
                             post_id
                   VALUES(
                             <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.commenter#" />,
                             <cfqueryparam cfsqltype="cf_sql_varchar" value="#form.comment#" />,
                             now(),
                             <cfqueryparam cfsqltype="cf_sql_numeric" value="#form.post_id#" /> )
    </cfquery>
    The QueryParams will handle the data types for you, and should pass values around more safely and with fewer issues. Assuming you just want to store the current date and time you don't even need to get ColdFusion involved, as databases have their own functions for this. I believe Access' version is simply NOW(), so I've put that in your query.
    Give the above a go.

  • Error in Adobe Interactive forms

    Hi All,
    I am implementing MSS/ESS.
    I created an Adobe Interactive form in my View and mapped it with the corresponding context. I binded the interactive form(in the Right Click->Interactive Form->Edit) also with the corresponding context. But when I run the Application, I am not getting the following error.
    com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: IOException occured while creating template stream from the TemplateSource : ./temp/webdynpro/public/sap.com/ess~rep/webdynpro/Components/com.sap.xss.hr.rep.vciframe.VcRfwIFrame/VcRfwIFrameView_InteractiveForm.xdp (No such file or directory (errno:2))
    But the VcRfwIFrameView_InteractiveForm.xdp is available in the respective folder.

    HI
    Hi
    Firstly check weather ur ads configuration of the server is done properly. i
    see weather ur ads settings are as per the following document
    Tutorial on Installing Credentials and Configuring ADS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f03414f8-d4ce-2a10-d4b6-ab201b329d98
    f yes ur ADSUser password
    must have expired follow the steps to reset the password
    SAP NetWeaver '04 / 2004s
    1. Log on to the Visual Administrator.
    2. Follow the path:
    Server -> services -> Security Provider -> User Management tab
    3. Display the user ADSUser.
    4. Change the ADSUser password. (You can use the same password.) Check the checkbox
    'No password change is required'.
    Note: The below mentioned technical user role is available for the ADSuser as of
    NetWeaver 2004s SPS 7.
    5. Log on to 'User Management' of your AS Java:
    http://<AS Java server>:<http port> -> User Management
    6. Display the user ADSUser.
    7. In the 'Security policy' field, change the setting from 'Default' to 'Technical
    Users' and save.
    (For more information on the 'Security Policy' option, see the Release Notes in
    the SAP Help Portal at
    http://help.sap.com/saphelp_erp2005vp/he
    lpdata/en/44/04265816343fdbe10000000a11466f/frameset.htm.)
    After changing this option, the ADSUser password will not expire.
    Note that this feature is not available for SAP NetWeaver '04.
    regards,
    Nikhil Tapkir.

  • SOAP Framework error while activating interactive form in SFP

    hi everyone,
    I am new to adobe forms, I got an error while activating interactive form
    SOAP Framework error: SOAP Runtime Exception: CSOAPExceptionTransport: HTTP response contains unexpected content-type(100,101).
    I am unable to trace this error, can anyone plz let me understand for what reason this error occurs.
    Thanks in advance.
    - Aditya

    Its an issue with ADS installation or configuration. Let your BASIS team know about this error with screen print. We had same issue and BASIS fixed it.
    Raja

  • Syntax Error in the Query

    Dear All,
    Please tell me syntax error in the below query. When I'm going to write numeric number in this filed "$[ OVPM.DocNUm ]". It's working fine. But when I'm writing this it give me error.Please clear me where am wrong????I
    SELECT T0.[AcctNum] FROM VPM1 T0 WHERE T0.[DocNum] =$ [OVPM.DocNUm ]
    Regards
    Edited by: Anwar Ali Sohail on Sep 27, 2011 11:43 AM

    HI
    Try This
    SELECT T0.[CheckNum] FROM VPM1 T0  INNER JOIN OVPM T1 ON T0.DocNum = T1.DocEntry WHERE T0.[DocNum] = $[OVPM.DocNum]
    OR
    SELECT T0.[AcctNum] FROM VPM1 T0  INNER JOIN OVPM T1 ON T0.DocNum = T1.DocEntry WHERE T0.[DocNum] = $[OVPM.DocNum]
    Edited by: kambadasan on Sep 27, 2011 4:26 PM

  • Error Generating the Task Form

    While publishing a new SharePoint Designer 2010 List Workflow I get an Error:
    SharePoint Designer encountered an error generating the task form.  Server was unable to process request.--->Activation could not be completed because the InfoPath Forms Services support feature is not present.
    I was able to publish SPD Workflows until a couple of days ago. Existing ones can be republished  but not new ones.

      Try running the following cmdlets. 
       Disable-SPFeature "IPFSSiteFeatures" - URL "Path"
       Enable-SPFeature "IPFSSiteFeatures" -URL "Path"
     These cmds will restart the Infopath Forms Services support features, which is responsible for supporting publishing Infopath Forms.
    Hope this works for you.

  • On the interactive form - the filter icon

    I have a user that has a dumb question, they want to the filter to go away they selected when they come back to the first page of the interactive form, when there is no data left.
    Of course all they have to do is click the x to make the filter list appear. The reason it says no data when you go back to the first form is that that records no longer meets the criteria for the filter. The user wants the filter with the green check and the red x to disapear if there is no data left for that filter.
    Hope this makes sense.

    Hi -
    Two things you might want to look at are:
    1) To reset an interactive report in a link, use the string "RIR" in the Clear-Cache section of a URL. This is equivalent to the end user choosing the Reset option from the interactive report actions menu on the target page. The report is returned to the default report settings specified by the developer.
    or
    2) You can reset a report with a js call also: javascript:gReport.reset()
    Good luck.

  • How to display grid the interactive form

    Dear All
    I m trying to print the grid into the interactive form using adobe life cycle 8.1.
    My requirement is like I am getting the value in my local node in the view. From there i have to populate those value into the Pdf.
    So that user can take the print of the pdf.
    Value are getting in local. But it is not showing in the PDF. At the same time in other value are showing success fully only inthe table i am not able to get the value.
    Kindly help me out with your document or solution note
    Prashant Krishen

    Hi Prashant,
    For populating a table on a pdf the node structure should be different.
    You need to create node structure of the data which you want to show in Table like this
    DataNode            0..n
        SubNode         1..1
              att1
              att2
    Create the elements of DataNode only and set the attribute values.
    Now create the structure of the UI element in Form like this
    Subform1
            Subform2
                   Header1
                   Header2
            Subform3
                   Textfield1
                   Textfield2
    Bind the Subform3 to the node DataNode and Textfield1 and Textfield2 to att1 and att2 respectively.
    Set the 'Repeat Subform to each data Item* property of Subform3 to true.
    Now at runtime you will get all the data of the node in PDF form as a Table.
    Regards
    Ravindra

  • Is it possible to pass the Interactive Form on dynamic?

    Hi,
    Is it possible to pass the Interactive Form on dynamic?
    In webdynpro I am handling the header part that will be common for the entire input screen, based on the application name I want to call the different interactive forms. I have seen in template source there is no option to provide binding with context.
    Regards,
    Mahesh.Gattu

    Hi Mahesh,
    You can create different views with different PDF forms in their template source and dynamically navigate to the required view/ make the required view visible.
    say on your main view, create the header part with the necesaary UI elements and insert multiple view containers below it. Embed a pdf view in the respectve view containers.
    Create a context node UI_RENDER .. cardinality 1..1
    Create attributes pdf1_visible type wdui_visibility
    pdf2_visible and so on. Bind these to the visible property of the respective view container.
    based on the application name, set them to either visible or invisible.
    Hope this helps.
    Regards,
    Reema.

  • "error obtaining the list of methods" from Sun deploytool, "security" pane

    I'm trying to apply security features to a web application in a .ear file. Following the J2EE tutorial I try to play with the Security tabbed pane in deploytool. Well, all the time I do get
    Error obtaining the list of methods on MyService
    java.lang.RuntimeException: my.package.MyService
    The thing is, I could sucessfully deploy and use my web service ...
    Maybe someone @sun.com could have a look at this stacktrace I got from deploytool (-verbose switch)
    Jan 27, 2005 1:36:27 PM com.sun.enterprise.deployment.EjbDescriptor getMethodDescriptors
    SEVERE: "DPL8008: method/class loading failure : method/class name - (EjbDescrip
    tor.getMethods())"
    ---------------- Exception -----------------------------------------------------
    [EjbComponentSecurityInspector.refresh:595]
    Getting method descriptors
    java.lang.RuntimeException: de.rochade.srap.ws.RoSrapScriptExecService
    java.lang.RuntimeException: de.rochade.srap.ws.RoSrapScriptExecService
    at com.sun.enterprise.deployment.EjbDescriptor.getMethodDescriptors(EjbD
    escriptor.java:1318)
    at com.sun.enterprise.tools.deployment.ui.ejb.EjbComponentSecurityInspec
    tor.refresh(EjbComponentSecurityInspector.java:593)
    at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane.privateRef
    resh(InspectorPane.java:880)
    at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane._refresh(I
    nspectorPane.java:1012)
    at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane.access$100
    (InspectorPane.java:38)
    at com.sun.enterprise.tools.deployment.ui.utils.InspectorPane$DeferredRe
    fresh.run(InspectorPane.java:864)
    at com.sun.enterprise.tools.deployment.ui.utils.UIInvocationEvent.dispat
    ch(UIInvocationEvent.java:53)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at com.sun.enterprise.tools.deployment.ui.utils.UIEventQueue.dispatchEve
    nt(UIEventQueue.java:168)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Any known bug in deploytool or so?
    Asked this first at
    http://forum.java.sun.com/thread.jspa?threadID=590706&tstart=0
    there are some more problems mentioned ...
    Thanx!
    Merten

    Hi Merten,
    I'm not sure if the Security tab will add the basic
    auth that you mentioned in your email. You might
    have a look at the Login Config on the Endpoint tab
    and see if that gives you what you want.
    http://docs.sun.com/source/819-0079/dgdesc.html#wp1366
    64
    JHi J,
    I tried this Login Config stuff, but it worked for me only in the servlet (JAX-RPC) world, not for my EJB web service. In the J2EE tutorial I found the steps described for servlet based web services (this security-contraints stuff), I could protect my HTTP POST method successfully. But for an EJB web service, what are the required steps to add HTTP Basic auth? It seems to be way different, is it supported in deploytool the same way as for servlets?
    I'll send another copy of my .ear to you ([email protected]). Sorry, I know this is not an dt (deploytool) related issue, but perhaps you can help me anyway. :-) I think I did the right stuff in my deployment descriptors, but it's not working. And I saw a NPE in my server's log file (will send you the stack trace too).
    cu
    Merten

  • Syntax error in the program SAPLSYMB

    Hi
    I have installed ECC6 on windows 2003 server  sqlserver 2005 as database. We are getting error at the time applying basis patch. The patch process is stopped at import_proper stage.
    When i try to execute any transaction , the error is "syntax error in the program SAPLSYMB". I have cleard the transaction log, still  the errro is same.
    When I try to relogin the error is same, I am unable to execute any transaction.
    Please do the needful
    Regards
    Prasanna.B.S

    Hellow,
    I have the same error, and I executed this command for 12 hours
    tp r3i SAPKB70017 ITP pf=/usr/sap/trans/bin/TP_DOMAIN_ITP.PFL tag=spam -Dclientcascade=yes -Drepeatonerror=8
    the message in cmd is
    earth\sapmnt\trans\tmp\SLOG0914.ITP.LOC is already in use (14474), I'm waiting
    2 sec (20090401065221). My name: pid 4188 on earth (dministrator)
    But this file (SLOG0914.ITP.LOC ) is in 0 kb, is this normally ?
    Please Help me
    Regards
    Graciela

  • Syntax error near the ['on']

    Can anyone please advise on how to resolve this issue, I created Dim load file but whenever I try loading the Dim it returns - syntax error near the ['on']
    thanks

    I don't see the issue
    Delimiter was set as comma, first line was ignored and it all loaded fine.
    Cheers
    John

  • Unable to open the interactive form

    Hi,
    I have created a interactive form.
    I'm trying to send this as an e-mail attachment.
    I'm able to receive the mail but I'm not able to open the interactive form.
    Can someone help me on this.
    Regards
    Nancy

    Hi Nancy,
    Check this Code.. i am able to open the ADOBE in my SAP Inbox.
      ie_outputparams-device   = 'PRINTER'.
      ie_outputparams-getpdf = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = ie_outputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        WRITE : 'Exit at FP_JOB_OPEN'.
        EXIT.
      ENDIF.
      docparams-langu = 'E'.
      docparams-country = 'US'.
      docparams-fillable = 'X'.
    * Get the name of the generated function module
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = <adobe-form-name>
        IMPORTING
          e_funcname = e_funcname.
      IF sy-subrc <> 0.
        WRITE : 'Exit at FP_FUNCTION_MODULE_NAME'.
        EXIT.
      ENDIF.
    CALL FUNCTION  e_funcname
    EXPORTING
    *   /1BCDWB/DOCPARAMS        =
       PERNR                    = p_pernr
    IMPORTING
       /1BCDWB/FORMOUTPUT       = output
    * EXCEPTIONS
    *   USAGE_ERROR              = 1
    *   SYSTEM_ERROR             = 2
    *   INTERNAL_ERROR           = 3
    *   OTHERS                   = 4
      IF sy-subrc <> 0.
        WRITE : 'Exit at e_funcname'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'FP_JOB_CLOSE'
    * IMPORTING
    *   E_RESULT             =
       EXCEPTIONS
         usage_error          = 1
         system_error         = 2
         internal_error       = 3
         OTHERS               = 4
      IF sy-subrc <> 0.
        WRITE : 'FP_JOB_CLOSE'.
        EXIT.
      ENDIF.
    code for  Sending and code for attachment goes here.
    Let me know if it works.
    ~ Bhawanidutt.

Maybe you are looking for

  • Black Screen on iPhone for a LONG time During Restore to Back Up?

    I am in the process of trying to sync my iPhone 5 to my computer which just had a brand new hard drive installed.  I followed these directions below that I found in one of these discussions.  Everything was going great, but when I completed step #8,

  • How do i know everything has been successfully backed up before i Reset all setting on ipad

    I need to reset the ipad as some Apps are playing up. i have backed everything up to iCloud (had to purchase extra stroage), am i okay to just hit Reset all Settings?   It's my daughters ipad and she's worried i'll loose everything!!

  • Can't copy, cut & paste.

    I just bought an HP TouchSmart520 PC & am trying to figure out how to copy, cut & paste. Clicking on the R mouse doesn't even have it as an option. Please help!

  • No querryresult because of using sysdate

    Something is wrong with my date format. I receive no results in the querry after I use the following code in trigger key-menu begin if Get_Item_Property(:system.cursor_item, DATATYPE)='DATE' then Copy(trunc(sysdate) , :System.Cursor_Item); end if; en

  • Missing items from iphone 3gs

    I have an iphone 3Gs and have more items in my itunes account than on my phone even though they synced correctly - please can someone help me to work out how I can  find out what item in my itunes account is not showing up on my phone without having