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

Similar Messages

  • 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

  • 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();   

  • 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

  • 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

  • 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.

  • 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

  • Method SAP_WAPI_WORKITEM_COMPLETE not allowed for type F

    Hi Gurus
    I have created a webdynpro abap application in which these steps
    1. Application triggers the workflow and workitem got created through FM1.
    2. Workitem loads up webdynpro abap application from portal or outlook by changing settings in SWFVISU transaction.
    3. Application completes the workflow by calling FM2.
    Here FM1 is SAP_WAPI_START_WORKFLOW which returns the workitem id. When I am giving the same workitem id in function module SAP_WAPI_WORKITEM_COMPLETE , it is giving me error that Method SAP_WAPI_WORKITEM_COMPLETE not allowed for type F
    My workflow has only one activity step which is mapped with class CL_PT_REQ_WF_ATTRIBS and method DUMMY. I have checked the synchronous method.
    Please let me know how can I correct it.
    With regards
    Manu Sharma

    Hi
    You need to give the workitem id of the dialog task which has been configured in SWFVISU. You will get this workitem id via application parameter in your Webdynpro method.
    Wokflow will be completed, if all the steps has been executed
    Vinoth
    Edited by: S Vinoth on Oct 27, 2010 10:08 AM

  • Method 'PROCESS' is not defined for object type 'BUS2081'

    Hi All,
    I am using a workflow for incoming invoice approval using WS20001004. I prepared one version for this. The standard business methos bus2081 i delegated to zbus2081. Here i placed one decision step for reject or approve. In the same task in inbox i can see the document i can see as attachment. Now the issue is after seeing the attachment when i click on task in  my inbox it status is changed to red and i can  not process it further.In log i can see the error like Method 'PROCESS' is not defined for object type 'BUS2081'. This method i do not have in standard or in delegated one. I was struck here. Pleas help in this.
    Regards,
    Madhu.

    Hi,
    "Here i placed one decision step for reject or approve." if your workitem is based on standard user decision step type of workflow, then the business object in underlying task should be 'DECISION' and method should be 'PROCESS'. I think in the task you have put your custom business object instead of business object 'DECISION'. This could be the reason you are facing error.
    Regards,
    Ibrahim

  • Payment method(s) are not allowed for this program / Program RFFOAVIS_FPAYM

    Dear Friends,
    In Se38  abap editor, I entered the program RFFOM100, i entered the details program run date,identification future,paying company code,payment methods T, House bank, Account Id and executed the program. I am getting the error 'Payment method(s) are not allowed for this program'.
    Payment method S is not used in F110, It was not mentioned in vendor master or vendor invoice.It is not mentioned in fbzp in bank determination. When i tried to delete payment method 'S' the system shows a message Payment Method S is being used in the company code.
    In  the program RFFOAVIS_FPAYM, i entered the details program run date,identification future,paying company code,payment methods T, House bank, Account Id and executed the program. I am getting the error  'Program RFFOAVIS_FPAYM: No records selected'. But there open items or invoices.
    Please suggest how to resolve the errors.
    Regards
    Sridhar

    Hello,
    Why are you directly executing these programs?
    You will not expect these program to execute directly by going to SE38.
    I would have configured the relevant payment methods in the country with DME structure or classical RFFO* programs, which in turn pick up the inherent programs at the time of running F110.
    For example, if you need to generate BACS file for country GB, either you copy the GB_BACS to ZGB_BACS or use GB_BACS directly in FBZP settings.
    Make sure that you have maintained OBPM1 / OBPM2 / OBPM3 and OBPM4 settings properly.
    The system automatically gives the access to system RFFOAVIS_FPAYM. Prepare a variant against this program in F110. Relevant file gets generated to folder path mentioned in OBPM4 will get generated. The file get generated can be seen in AL11.
    Hope this is informative and solves your issue.
    Regards,
    Ravi

  • IPhoto update can't be installed on my MAC ref. "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled." this is not possible help?

    Recent upgrade to OS X Yosemite on my MAC and iPhoto update can not  now be installed msg reads, "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled." this is not possible help?

    That error message can be misleading. It means, that iPhoto on your Mac is not associated with your Apple ID.
    Either you did not set up  your Mac using the same Apple ID - did someone help with your setup and use a different ID? Perhaps a family member? Or did you let someone borrow your installer disks?
    Or did you not yet "Accept" iPhoto and other iLife apps to your Apple ID? Check the "Purchased" tab of the App Store, if any applications are waiting to be accepted. If you see "Accept" buttons, press them.
    You may  be unable to "Accept" now, if you missed the update to iphoto 9.5.1 on Mavericks. You could try to buy iPhoto, however. If you are lucky, it may show for free.
    Backup your iPhoto library, if you do not have a current backup.
    Uninstall iPhoto by deleting it from the Applications folder, but do not empty the Trash, so you can put it back,if need be.
    Launch the App Store, click the "Store" menu, and sign in with your current AppleID.
    Open the main page "Featured" of the App Store and search for iPhoto.
    If iPhoto is listed as "Free", click the "Free" button to buy it with your current AppleID.
    If it is not showing as free, there is no help but contacting the App Store Support to sort out the AppleID. Use this link: http://www.apple.com/support/mac/app-store/contact/

  • My payment method is 'not valid in this store' when I've been using it for nearly a year now? I'm in the uk.

    Today I was asked to sign in and check billin info when I tried to purchase an app, I entered my security code and it's now saying my payment method is not valid in this store! I've used the same payment method for about a year and have always used the uk store so I'm rather confused. All help is appreciated!

    I don't know if this will work but go through the same procedure in the app store. You can access your ID at the bottom of the screen in the left hand corner of the featured tab. See if the correct region shows in there as well.
    You can also check in the iTune app as well. You are using the correct Apple ID aren't you?
    I have read that the iTunes stores can be very fussy about correct spelling of Street vs St., No. vs # - things like that. The billing address must match exactly the way that your credit card statement reads.
    You can try signing out of your account in Settings>Store>Apple ID - tap sign out. Restart the iPad and then sign in again. See if that resets this whole mess for you.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • Reg msg "Payment method(s) are not allowed for this program".

    Hi...
    I am copying a standard program RFFOES_T (Print program for bank transfer) into a custom program. When i try to execute the custom program it gives me a msg saying
    "Payment method(s) are not allowed for this program".
    Can you please Provide a solution for this problem.
    Regards,
    Indira.

    Indira,
    1.RFFOES_T is using Logical database PYF.Seems you have copied it as it is without changing the attributes of the program.
    2.As it is using logical database PYF  it needs to be tagged to the respective payment methods in FBZP settings as below
    FBZP
    >>Payment methods in Country
    >> in the next screen click on position and give the company code and payment method
    >> in the next screen select the corresponding payment method and click on the details(ctrlshiftf2) ie magnifying glass icon
    >>in the next screen  within  Payment Medium you will get to see two radio buttons as Payment medium workbench(uses DMEE tree structure)  and payment medium programs (uses the standard prog).Here in Payment medium Program either the standard prog or your zprogram should be tagged otherwise you will get the error message as you mentioned.
    3.Once you tag the program in the FBZP setting to the respective payment methods,after the payment run you will be able to run the program.
    4.If you don't want the program to be linked to FBZP settings then as far as my knowledge is concerned you need to avoid using logical database PYF and change the entire code using the regular database tables like reguh,regup,bkpf,bseg etc.(I think this should be the best approach)
    Thanks,
    K.Kiran.

Maybe you are looking for

  • Program is frozen and will not operate

    Uninstalled. Reinstalled twice. Same problem. Following support suggestion I deleted the profile folder . Now the program will not start. Get message that the profile folder is missing. PC is Win 8.1. My other 8.1 PC works just fine with Thunderbird.

  • What is fire fox and will it help/hurt my mac

    The kid put fire fox on the mac just want to know what it is

  • New power supply adapter for MD-100

    Is there any place where I can get a new power supply adapter (or a new power supply) for my Nokia MD-100 speaker? I have a UK adapter now, which was inlcuded, but I want one for swedish sockets instead. I have an "external" adapter now, but I hoping

  • Issue on gap??

    Hi, client have on this below requirement. Client requirement is system should not allow to change price in invoice and order after PGI Please help me out for this Any help from you would be highly appreciated. Thanks and regards Azit

  • Kanban User Exit

    Hello, I need a user exit for Kanban Status change e.g. Empty -> Full in tcode PK13N. I know about EXIT_SAPLMPKB_001 but it looks like it's not being called. What user exit is table TPKAK column AKTUE about? It's configured in SPRO->Production->Kanba