Adobe Offline Form - Parse method is not possible for this type

Hi All,
I have developed an application for the offline scenario of interactive adobe form. I tried to load the adobe form from my desktop. After pressing the button "Display form" it throws an error "Parse method is not possible for this type".
If I include wdContext.getNodeInfo().getAttribute("pdfObject").getModifiableSimpleType() in the doInit() method of the view I receive this error -
com.sap.tc.webdynpro.progmodel.context.ContextException: MappedAttributeInfo(UploadView.pdfObject): must not modify the datatype of a mapped attribute
When I comment it out and upload I receive the error enclosed -
Parse method is not possible for this type
Can someone please help me with a step by step solution to this problem?
Any help is highly appreciated.
Many thanks,
Divya

Hi Divya,
Please try to do it as stated below:
     IWDAttributeInfo attInfo = wdContext.getNodeInfo().getAttribute("pdfObject");
     ISimpleTypeModifiable type = attInfo.getModifiableSimpleType();
     IWDModifiableBinaryType binaryType = (IWDModifiableBinaryType)type;
Try putting the code in wdInit() or wdDoModifyView().
Let me know if you still face the issue.
Regards,
Arafat

Similar Messages

  • Parse method is not possible for this type

    I have a file upload component and one button in a view.
    I have created a binary type context element and mapped it with fileupload component.while clicking the submit button I am getting " Parse method is not possible for this type" exception.
    help me out.
    Thanks In advance

    Hi,
    Thanks for your response. I have written the following code in wddoinit():     
    IWDAttributeInfo attributeinfo = wdContext.getNodeInfo().getAttribute(IPrivateSubstanceDocView.IFileUpload02Element.DATA);
        attributeinfo.getModifiableSimpleType();
    fileUpload02 is my context.
    but I am getting a null pointer exception over here.
    can ypu please help it.
    Actually the case is this is a window, which is opening on click of a hyperlink on another View.
    With the action method I am calling this View.
    Thus on click of a hyperlink just I am opening a new  View then here I am a browse button etc...
    PLease help if you can

  • Parse method is not possible for this type Exception in web dynpro

    I have a file upload component and one button in a view.
    I have created a binary type context element and mapped it with fileupload component.while clicking the submit button I am getting " Parse method is not possible for this type" exception.
    help me out.

    Hi sridhar,
    Use this code for Upload
    context u create one attribute(up),u assign the data type as "Resource"(which is dictionary type)
    InputStream text = null;
        int temp = 0;
        try
             File file = new File(wdContext.currentContextElement().getUp().getResourceName());
             FileOutputStream op = new FileOutputStream(file);
             if(wdContext.currentContextElement().getUp()!=null)
                  text = wdContext.currentContextElement().getUp().read(false);
                   while((temp=text.read())!=-1)
                                                                       op.write(temp);
             op.flush();
             op.close();
        catch(Exception e)
         e.printStackTrace();   

  • Is it possible to have a 'file upload' option on an Adobe Muse Form. Is there a widget for this?

    Is it possible to have a 'file upload' option on an Adobe Muse Form. Is there a widget for this?

    Hi
    Please refer to this thread, Upload file button

  • Error M8-688 - Creation of several vendor line items is not possible for document type RN.

    Hello All,
    We are using the Net Invoice Posting with document type RN(Invoice- Net). We are generating different vendor line items in the accounting document based on the withholding tax codes involved in the invoice posting. When it comes to net invoice posting system is giving an error message M8-688 - Creation of vendor line items is not possible for document type RN. Is there is any way to create multiple vendor items with net invoice posting? Please suggest.
    Thanks,
    Chandu.

    I dont think that there is any way because it is a hardcoded error message.
          IF NOT t003-xnetb IS INITIAL.
            MESSAGE e688 WITH pi_rbkpv-blart.
          ENDIF.
    SAP is checking the customizing for net/gross posting per document type in table T003
    And if it is set up as net, then it is a hard error.

  • Pricing at time of goods receipt not possible for this item

    We're receiving error Message no. 06634 Pricing at time of goods receipt not possible for this item when trying to change the PO Pricing Date Category from No Control to 5 GR Date.
    The error message is clear and reads:
    Pricing at time of goods receipt not possible for this item
    Message no. 06634
    Diagnosis
    For this purchasing document item, you wish to specify that a new price determination process is to be carried out at the time of goods receipt.
    System Response
    Pricing cannot be carried out for the item at the time of goods receipt because the price was either entered manually or copied from the last purchasing document.
    The scenario is that we have a contract reference on a PO and the contract condition records are to be maintained as a new price is valid each day.  The problem without this is that the new pricing will not be reflected in the GR.
    What is the solution to overcome this issue?
    NOTE:  the Info Record conditions are not being read during GR as the PO references a contract.

    For further clarification the PO is referencing a contract and as such not pulling the pricing information from the info record and instead pulling the price from the conditions on the contract. 
    I want to change the pricing date category from " No Control" to "5 GR Date" however I'm receiving the error message stated and unsure of how to make this change.
    The intent is not to create a new PO each day the condition record is created and instead we are utilizing one PO referencing one contract with multiple date delimited condition records containing the daily pricing.

  • Error :The function upload is not possible for this documentu2019

    Hi,
    The users are using Solution manager Help Desk system.
    When a specific user tries to create a message from the satellite system, and tries to upload a  document, he is unable to do so.
    He is getting an error message : 'The function <upload> is not possible for this documentu2019
    The message number is BCOS024.
    The user is unable to attach word, note pads, excel etc. any types of documents.
    He is able to type a description/ title etc and save the message. And the message is reflected in the Solution manager help desk system.
    He comes across that message only if he tries to upload an attachment.
    Please advice.
    Thanks in advance.

    Hi Kase,
    What version of SAPGUI you use?
    We had the same problem.
    This problem was solved once we upgraded SAPGUI to 710 Patch Level 11.
    Regards,
    Sanjai

  • Sales order creation is not possible for this notification type

    Hello,
    I want to create Sales Order through following menu:
    Notification -- Functions - Sales order - CreateSelection of Order Type.
    But I get following message:
    'Sales order creation is not possible for this notification type'
    The message says: No sales order type is assigned to the notification type.
    But I did not find any such configuration where I can assign notification type to Sales Order document type.
    Please help.
    regards

    Transaction OIM9
    Menu Path
    Customizing > Plant Maintenance and Customer Service > Maintenance and Service Processing > Maintenance and Service Notifications > Notification Creation > Notification Types > Define Order Types and Special Notification Parameters
    Nomally CS (customer service) area use this function.
    Regards
    Luke

  • Capacity planning is not possible for this info structure

    Hi Gurus,
    When I create Rough cut planning profile, I am getting error message ""Capacity planning is not possible for this info structure""
    I am using info structure S994 copied copied from standard info structure.
    Please suggest to oversome this error.
    thanks  and regards
    Murugesan

    Hi,
    Make sure the capacity planning relevant field is maintained for the Infostructure config setttings in MC7F.
    regards
    Ratan
    Edited by: Ratan on Aug 10, 2009 7:49 PM

  • Split valuation not possible for FG

    Dear All,
    Please help me in this. FGs are batch valuated here. We receive the GR of production order as a valuated project / sales order stock.
    For a particular FG, while confirmation when I am trying to save, it is throwing an error "Split valuation is not possible for this material".
    Can anyone tell me what is the issue? We have several orders for the same materials which never had any problem like this. I assume there is some error in order itself.
    I have checked the batch of material, production order, the material master for the same and dont see any irregularity. What else needs to be checked?
    Sumeet

    Hi
    Split Valuation  maintain Diffrent Valuation Type With Diffrence price , and Maintain Diffrent Batches with batch number as Grade, assign the valuation type to batch , at the time of confirmation based on the grade you selct the batch number and confirm , it will be saved with diffrent grade with diffrent valuation.
    What is Split Valuation?
    Split Valuation means managing a material as several partial stocks. Each partial stock is valuated separately.
    Why do you require Split Valuation?
    Split Valuation is required for certain materials in order to valuate them separately.
    Following can be the reasons for opting for split valuation:-
    1) Different origin of the material
    2) Different grades of the material
    3) Different statutes of the material
    4) Differentiation between in -house production and external procurement
    5) Differentiation between deliveries
    IMG -> Materials Managementà Valuation and Account Assignment-> Split Valuation-> Activate Split Valuation
    IMG à Materials Managementà Valuation and Account Assignmentà Split
    Valuationà Activate Split Valuation à Configure Split Valuation
    IMG à Materials Managementà Valuation and Account Assignmentà Split
    Valuationà Activate Split Valuation à Configure Split Valuation
    2.2 Create Valuation type
    IMG à Materials Managementà Valuation and Account Assignmentà Split Valuationà Activate Split Valuation à Configure Split Valuation
    2.Allocate Valuation type to Valuation categories
    IMG ->Materials Management-> Valuation and Account Assignment-> Split Valuation-> Activate Split Valuation -> Configure Split Valuation
    2.4 Allocate Valuation categories to Valuation areas
    IMG à Materials Managementà Valuation and Account Assignmentà Split Valuationà Activate Split Valuation à Configure Split Valuation
    2.5 Default Valuation type per plant
    IMG à Materials Managementà Valuation and Account Assignmentà Split Valuationà Activate Split Valuation à Configure Split Valuation
    Create Manul batch number tcode- MSC1N Eg : A - Grade , B - Grade like that ,assign the Valution type to batch IN MSC1N Or MSC2N,
    U have to maintain Moving avg. Price for First Valuation type assignment , second time u are assignig the second valuation type u can give the Std Price .
    I hope this will work out
    Madhu
    Edited by: MADHU SUDHANA on Feb 4, 2009 6:46 PM

  • Photoshop CS6 is not supported on this type of Mac (2012 MacBook Air)

    Photoshop won’t launch on the latest MacBook Air 2012, OS 10.8.2, i7, 8GB. Installed the Adobe CS6 (Design/Web). All products work fine (although had to downgrade to Java6 to start Dreamweaver) but the PS icon is greyed out. When launching Photoshop CS6, I’m getting: You can’t open the application “Adobe Photoshop CS6” because it is not supported on this type of Mac”. 

    No idea what  happend. I was installing the CS6 suite on a brand new MBAir. All software was fine, eg, DW, InDesign and so on. Only Photoshop failed. One strange thing was that the MBAir has Java 7 but when launching DW it asked me to install "newer" Java version (?). I did the SMC/PRAM reset. Then uninstalling and installing PS solved the issue.

  • Dreamweaver CS5 is not Supported on This Type of Mac

    I recently got a new iMac and went to reinstal my CS5 Web Premium Student Edition and only installed Dreamweaver. I was able to use it yesterday fine. Today when I booted up. the dreamweaver icon has a anti symbol over it and says "you can't open the application "Adobe Dreamweaver CS5" because it is not supported on this type of mac."
    What went wrong and what do I need to do to fix it? Thanks!

    I am running OSx 10.9 and I do not see anything about Roseta or Intel when viewing the info about the app. After I used DW yesterday fine, I ran the auto updates from within DW and perhaps when I rebooted this morning is when it broke.  I just now uninstalled CS5 and reinstalled DW (I'm not using the other apps). It has updates to do but scared..
    It wants to update the following:
    Adobe Device Central CS
    Adove Dreamweaver
    - Adobe player
    - CS Live Service
    - Dreamweaver CS5 11.0.4 updater
    - Adobe Extension Manager CS5 5.0 update
    I haven't tried yet to update because either that or some other stange thing happened. I've never seen an app with an anti symbol over it.

  • Dreamweaver CS6 "not supported with this type of Mac" problem

    When I try to open Dreamweaver CS6 on my Macbook Pro, it says "You can't open the application Adobe Dreamweaver CS6 because it is not supported with this type of Mac.  I'm not sure if this is a question for Apple, but why would it not work on my Mac?  My Illustrator, Photoshop, InDesign and Media Encoder all work just fine.  Any help?  Thanks!

    rhgarson wrote:
    No, I bought it brand new from Adobe.  It says right on the back that it's for Mac OS X v10.6 or x10.7.  I am running Mac OS X v10.7.4.  Does this help?  Or what other information would be helpful?
    Yes you have given all the necessary information.  I suggest try this link first:
    <http://helpx.adobe.com/creative-suite/kb/start-installer-downloading.html>
    This document has all the necessary info to install the software.

  • HTTPS communication for Adobe Offline form with SAP ABAP WAS

    Hi Experts,
    Can we use HTTPS communication method to call a SAP ABAP Web Service from an Adobe offline form?
    Example : I have a SUBMIT button in my Adobe offline form and when clicked, it populates a sales order number in the form.
    Here my SAP ABAP server from where it reads the info is using HTTPS communication method. Now if i use the same service with HTTP it works fine but if i switch the service to use HTTPS it shows me an error "Error attempting to read from file. <https://FQDN/<service name> .
    I am using self-signed SSL server certificate from SAP ABAP server. But here i also see a certificate error in my browser (IE 7.0) saying "Untrusted Certificate". Is this the reason for my above issue?
    I could not find any post in SDN giving me the answer.
    Regards,
    Hobin

    Hi,
         The Certificates are already imported into the Trusted Certificates Section. But the real Issue is regading the Adobe Offline forms. If I open the Adobe Offline forms in the Adobe reader 9.0 and the Web Service call is made based on the Https:// . It saying "Error attempting to Read the file". The Fully qualified domain name is also provided VA. I have tried to import the certificates to Adobe Reader's -  Trust Identities but still it is not working . If I switch the webservice authentication method to Http:// then it would work. ADS is already configured with SSL. And the HTTPS:// based WebService embedded in the Adobe Interactive Form is working ,if the form is Online in the Browser (integrated in the Webdynpro Abap UI element).
    Is there any other way to Add SSL Certificates to Adobe Reader , so that Https:/ based webservice will work if the Form is opened in Adobe Reader 9.0.
    Regards,
    Hobs

  • Adobe Offline Forms 4.7

    Is it possible to create an Adobe Offline form in SAP 4.7?   If not, what other alternatives are available that can mimic filling out a form offline and then passing the information back into R/3 at a later time?

    Check the [Adobe FAQ|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2a8a0a37-0301-0010-f794-aecd1bb426e0#q-8]

Maybe you are looking for