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

Similar Messages

  • The specified HTTP method is not allowed for the resource identified by the Data Service Request URI

    Hi Experts,
              I am getting following error in creating gateway service. 405 method not allowed.
                  I am trying to update a table using put method.
    Regards,
    Dinesh Jeyasurian

    Hi Dinesh,
    you are getting error because it is not the correct way to perform PUT operation.
    Please refer my blog Let’s code CRUDQ and Function Import operations in OData service! and see section Update operation.
    Regards,
    Chandra

  • 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

  • ABAP Dictionary type FLTP is not allowed for screen element

    Hi Experts
    I tried to open VBFA in se16 and i got the message in the status bar like this , what does it mean. please explain.
    "ABAP Dictionary type FLTP is not allowed for screen element"

    Hi,
        This is from help
    ABAP Dictionary type FLTP is not allowed for screen element
    Message no. 37048
    <b>Diagnosis</b>
    The format of the ABAP Dictionary field is only for use within the ABAP
    program and cannot be used in the Screen Painter.
    <b>Procedure</b>
    The field cannot be used in screens. If you want to output the
    information in the field or assign a value to the field from the screen,
    you must use an intermediate field with an appropriate format.
    <b>Reward points</b>
    Regards

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

  • The operation is not allowed for result set type FORWARD_ONLY

    Hi,
    I am trying to use scroll insensitive resultset in following manner-
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rs = stmt.executeQuery("some sql here");
    rs.last();
    but the rs.last() throws this exception-
    com.sap.dbtech.jdbc.exceptions.SQLExceptionSapDB: The operation is not allowed for result set type FORWARD_ONLY.
         at com.sap.dbtech.jdbc.ResultSetSapDB.assertNotForwardOnly(ResultSetSapDB.java:2725)
         at com.sap.dbtech.jdbc.ResultSetSapDB.last(ResultSetSapDB.java:557)
    Database version: Kernel    7.5.0    Build 019-121-082-363
    Driver Version: MaxDB JDBC Driver, MySQL MaxDB, 7.6.0    Build 030-000-005-567
    This used to work with 7.5 version driver. Why this is failing with 7.6 driver, any clues?
    Thanks,
    Vinod

    Hi Vinod,
    due to performance improvement when using forward only cursor we changed the default for the resultset type from TYPE_SCROLL_SENSITIVE to TYPE_FORWARD_ONLY starting with JDBC driver version 7.6. So I guess the exception comes from a statement where you didn't set the resultset type while creating it. Please check if all of the statements that you want to be scrollable have set the correct resultset type.
    Regards,
    Marco

  • 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

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

  • Set type COMM_PR_UNIT is not allowed for product type

    Hello all, I am working in SRM 7.0 and when I try to replicate service master (DNL_CUST_SRVMAS) I have this error:
    Set type COMM_PR_UNIT is not allowed for product type
    What can I do? I think that is an ABAP problem
    Thanks in advance
    Rosa Rodríguez

    Rosa,
    This note is something different and nothing to do with the issue. Can you share how did you resolve the DNL_CUST_SRVMAS issue? We are also getting same error.
    Thanks,
    Jagadish

  • Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'

    Hi All,
    I created the wsdl for mobile and I tried to send a SOAP request from Altova XMLSpy. However when I geive the wsdl in 'wsdl file location' I receive the following.
    File http://127.0.0.1:8080/B1iXcellerator/exec/dummy/com.sap.b1i.vplatform.scenarios.setup/vPac.sap.B1Mobile/001sap0003_sap.B1Mobile.wsdl is not valid.
    Invalid XML schema: 'Value 'defaultNs:AddBP2Type' is not allowed for attribute 'type'.'
      Error location: wsdl:definitions / wsdl:types / xs:schema / xs:element / @type
    Any Idea?
    Vangelis

    Hi,
      it seems that Altove did not cope with defaultNs prefix that is used for marking default namespace.
       just look up in your <xs:schema > tag what namespace prefix is used for your namespace - you shall find there something like this
    <xs:schema xmlns:ns0="your.namespace.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
    and replace prefix defaultNs with prefix of your namespace (in example above it would be ns0)
    There might be several usages of defalutNs iside of WSDL (at least in my case were two) so replace it everywhere using same approach
    Best regards, Artem

  • Rebate-Manual payment is not allowed for this agreement type

    Hi,
    While processing the Rebates, after the Sales cycle till Billing document, when i i try to process the partial settlement it is givin a message as "Manual payment is not allowed for this agreement type"
    could you please suggest.
    Regards
    AS

    Hi AS
    If you want to do manual payment then in VB)2 select the Agreement type and then in that agreement type check wheather Manual rebate order type has been assigned or not and Manual payment has been checked or not . If they are not maintained and Checked  then maintain the rebate document type and check the box Manual accruals and then you can do Manual Payment for that agreement
    Regards
    Srinath

  • Manual payment is not allowed - Order type for payment

    Hi
    I 'm doing a rebate payment, but when I want to input a manual payment, I get "manual payment is not allowed for this agreement type".
    I moved to 'define agreement type' hoping , filling the "Payment procedure" to "C" might resolve this issue. However this gives rise to yet another error :-
    Pl. see <a href="http://i168.photobucket.com/albums/u200/masarada/untitled_1.jpg">here</a>
    help only shows <a href="http://i168.photobucket.com/albums/u200/masarada/untitled_2.jpg">this</a>
    my basic idea is to edit <a href="http://i168.photobucket.com/albums/u200/masarada/untisdxtled.jpg">this with a manual amount</a>
    how am I to resolve this ?
    Thanks

    Hi,
    In the screen shot u sent u did not maintain document type for manual payments, in the field partial settlement u have to specify the document type which is defined to make the manual payments, the standard order type defined for manual accruals is R3.once u made the manual payments accrual which r already posted to finance must be reversed, for that u have to check reverse accruals.I hope this will solve ur problem.
    kiran vemula

  • Activity type E not allowed for equipment entered

    Dear Sir , We are using ETM . Following error is coming while creating  performace based document .
    Activity type E not allowed for equipment entered
    Regards
    Anil

    Give 1 for both type and give it a try.
    for target=actual which is type 5 pls check the link below
    http://help.sap.com/saphelp_46c/helpdata/EN/66/bc6faa43c211d182b30000e829fbfe/content.htm

  • Transaction CLM1 not allowed for notification type QL

    Hello guys,
    one of our user try to open the transaction CLM1/CLM2/CLM3 he getting error message Transaction CLM1 not allowed for notification type QL
    please any one give solution for this issue.
    find the error screen shot for your reference.
    Thanks
    Surya

    Hello Surya,
    Have you done Basic configuration for Claims processing in SAP Project System.
    SPRO > Project System > Claim > Notification - Claim > Notification creation
    Also check config for Settings for Claims.
    Refer sap help for more details
    SAP Library - Claim Management
    Regards
    Tushar

Maybe you are looking for

  • How to find out Maximum date value in RPD.

    Hi All, I have a date column i want to get the maximum date value from that column. I am trying this expression MAX( "sales"."book"."date") in new logical column i am getting the RPD inconsistence error. Database is SQL server 2005. Is there any prob

  • Can't use bind variable in a function

    This is a repost from my earlier post at URGENT: Problem creating the report using Procedure The problem is when I bind a variable in a function, I get REP-0002. Please look at the following steps to reproduce === set serveroutput on create or replac

  • Has anyone actually received an answer to a question?

    I posted a question two weeks ago, about flash player just going to a black screen when maximized to full screen and NEVER received an reply.  Has anyone actually gotten an answer to any question by this method?  To ADOBE:  I'm sure this is a waste o

  • Error when create schemas for webcenter using URM.

    Hi, I use Oracle Urm to create necessary schemas for Webcenter. Everything goes well when I create the tables. However, when I extend my domain with Webcenter, comes to the database connection testing step, the tests always fail. It said: A connectio

  • Cannot connect to TC, even after factory reset

    I bought a 1TB TC from apple in 08/2008. I don't recall if it was a refurb or not. It worked fine for 4.5 years with more or less no problems. About a month or two ago the Wi-Fi stopped working. I could connect to the SSID, but occasionally could not