Error developing a task for workflow processing

I made a very simple workflow to try to process an IDoc. First I took a look at what seems to be the SAP standard example of a workflow that processes IDocs (workflow WS20000378 - ORDERS - Incoming orders with workflow), tested it to verify it works, then took one step from that (the step that processes the IDoc) into a new workflow, checked the bindings between workflow container and task, then activated it and bound it to an inbound process code.
When I try to process an IDoc using the test tool, after setting up the partner profile correctly, it informs me that:
"IDoc inbound: Container definition for task WS90100001 has errors".
And the exact reason stated is:
(1) : The container definition does not contain the parameter 'IDOC_PACKET'.
(2) : The container element is not defined as an object type.
(3) : No object type could be determined for the container element 'IDOC_PACKET'.
Well I had already added the element IDOC_PACKET to the workflow container, and I have checked that it is defined exactly the same way as for the example workflow, but it just doesn't work.
Any suggestions how to proceed?
Kind regards,
Tony.

Hi Tony,
Sounds odd, should work. Just to discount any buffering, run tx SWU_OBUF and click on refresh. Failing that, try logging off from SAP and back on (don't laugh, it's done the job for some bizarre ones before).
Alternatively, copy WS20000378 (which works) to a new flow and delete all the steps you don't need.
Cheers
Mike

Similar Messages

  • DIM Workflow - How can I return task status for workflow process

    Hi all,
    I'd like to build a DIM workflow process to run a unix shell script. Under the workflow, I've created a task object and assign the unix shell script into it.
    Although the DIM workflow works fine to run the unix shell script in the normal case, however, it cannot return the error status in the task when my shell script is failed (such as exit 2 at the end of script).
    May I know if there any setting in the workflow/task, in order to change the status on DIM workflow.
    Many thanks,
    hw

    Hi Ramesh
    Thanks for your reply but is it possible that i can go in as sysadmin user and update the notification .I tried looking into the sysadmin user and workflow admin but i couldnt find it .It says that i cant update the notification that has already been approved

  • Error in PB60 "Settings for word processing system are wrong"

    Hello Everybody
    I am working on recruitment,
    i have create applicant activity in SPRO, but when i was going to create applicant activity PB60 maintain and entering the personal number the error display " "Settings for word processing system are wrong"
    then i check feature set word  processing system.
    plz anybody guide me how to resolved this problem
    thanks
    urvashi

    Hi Urvashi,
    Please check the following in your system:
    - Go to PE03
    - feature 'WPROC'
    - select 'Attributes'
    - press 'Display'
    - press 'Struct.'
    - there you will find the Basic information 'Passing type'
      This must be set to '2' (Table Transfer). If this is set
      to '1' i.e. please change this entry.
    Hope this help
    Sarah

  • Error in Creating task for user decision

    Hiee friends .
    I am new to workflow .I was going through the workflow tutorial [building a workflow from scratch] available at the elearning section[ABAP eLearning Catalog].
    I am praticing abap in sap netweaver available for free download from sap ag[its not having any functional module ].
    I am able to create the userdecision and then when i try to create task in the activity section of yes userdecison.
    There i am getting a error while choosing the basic data section.
    In netweaver i don't have any functional module ,so i taking the flight booking system .
    I am choosing the Oject category as BOR Object type
    and then the object type as Sbook
    and method as display .
    But when i am choosing save button a error is coming telling me that "Prefix Number :  entry missing for system NSP client 000" .
    I clicked on the message it's telling me to maintain table T78NR in customizing and create an antry for the sytem in question and the current client .
    Please help me out .....

    I tried to give prefix number in the tcode-OOW4.[i gave it 500]
    Prefix number : 500
    SAP System id : NSP
    Client ID : 000
    But while saving it telling me that
    "Preix number 500 is not in the customer namespace".
    Is there any standard prefix number , or as i am doinf it in netweaver trail version there are problems .
    Plse help me out ..
    What would i do now ?

  • Tables for workflow process

    Hi ACE,
    Can you please provide me table where we can find about the workflow, gives following information
    1. Workflow need to determine where exactly is the request pending.
    2. On what date and time were the workflow requests submitted / Approved / Maintained.
    3. Whether the workflow request is Completed or In-Progress.
    Thank you so much for helping me in advance.
    K@$TURI

    Hi,
    Using the FM You can get the Agent & Workflow Details SAP_WAPI_GET_WORKITEM_DETAIL and SAP_WAPI_WORKITEM_RECIPIENTS.
    Check this Tables 
    SWWORGTASK - Assignment of WIs to Org.Units and Tasks
    SWWUSERWI - Current Work Items Assigned to a User
    Other Tables for Workfow
    SWWWIHEAD - Header Table for all Work Item Types
    SWW_OUTBOX - Lists Workflows in outbox together with status
    SWW_CONT - Container Contents for Work Item Data Container
    SWW_CONTOB - Container Cont. for Work Item Data Container (Only Objects)
    SWWLOGHIST - History of a work item
    Regards,
    Surjith

  • Error while posting GR for subcontracting process

    Dear Friends,
    while creating a GR for a subcontracting PO, I get the following error. please suggest what to do. i checked the configuration for the movement type and could not come up with the solution.
    Fld selectn for mvmt type 543 / acct 7449990 differs for Vendor goods movement (014)
    Message no. M7093
    Diagnosis
    Comparison of the field selection strings from movement type 543 and G/L account 7449990 has revealed that there is an incompatible field selection combination at one or more points.
    Field for which the field selection is different: Vendor goods movement
    Example
    On the movement type screen, a given field is a mandatory-entry field, whereas on the G/L account screen, the same field is suppressed.
    System Response
    You cannot post this transaction, unless you have changed the field selection adequately.
    Procedure
    Contact your system administrator.
    Action to be taken by the system administrator
    Check whether any postings resulting from this movement type are to be made to the G/L account determined automatically. If you find that the G/L account is not correct, check the automatic account determination in the Customizing system for valuation.
    Proceed
    If the G/L account is correct, use the report RM07CUFA to compare the field selection for the movement type with the field selection for the G/L account and change the incorrect settings or the field status group of the G/L account.
    Proceed

    The field is mandatory in acct 7449990 and hidden in movement type 543 or vice versa.  To check the field status for that movement type, you can run the program RM07CUFA
    Once you execute this program and found that the field is set to mandatory, then it should be mandatory for that movement type field status also.
    Alternatively, Go to txn OMJJ, click on Movement Type and execute.  There double click on "Field selection (Enjoy) and see whether the movement is maintained as Required Entry or Optional Entry.
    Now go to FS00, input the G/L Account 7449990 and execute.  There go to tab Create/bank/interest and chech whether you have maintained any value against "Field status group" and also you have checked the box for "Post automatically only".
    This should be done in consultation with FI people only if the issue is in production client.
    thanks
    G. Lakshmipathi

  • HyperLink in Email Task for Workflow

    Hi experts,
    I need to place a Hyperlink in an email task in my work flow(e.g. <A HREF="URL">Name</A>).  When I do this it looks and acts correctly in SOST but when it is sent to outlook it is not a Hyperlink but the actual text.
    Is there a way to do this?
    Thanks in advance,
    Scott

    Yes,
    The message gets to Outlook fine but the hyperlink is sipmle raw text...
    I am trying to send a Hyperlink in an email from my SAP workflow to Outlook in a WF email task.  When I try to send the Hyperlink from a workflow(email task) I lose the Hyperlink from "SOST" to Outlook.  The link looks and acts correctly in "SOST"(e.g. some text Name some text - were Name is the Hyperlink).  But when the email is received in Outlook it looks like "some text <A href="URL" mce_href="URL">Name</A> some text".  The Hyper link is gone and simple raw text is left.
    Putting the actual link in the email will work just fine.  Also, when I write a custom method to send the email with the SAP email function the Hyperlink works correctly.  However, I'm curious if there is a setting in "SCOT" or somewhere which would allow me to place the Hyperlink in the email task itself.  This would allow me to use the SAP WF email task avoiding the writing of custom code(BO method) whenever a customer wants a Hyperlink and not a straight URL.
    Thanks,
    Scott

  • Error in update task for MB02

    Hello all,
    My requirement is as follows.
    In MB02 i should go to tab 'details from item' and on that screen I click on the messages.
    here in the messages i give the output type and medium as special function and language EN.
    This output type is assigned to a zprogram and form routine.This zprogram should call the transaction QAC2 to transfer inspection lot quantity(plant to plant and storage loc to storage loc).
    When I save this material document, I am getting a dump in the zprogram.
    The dump say posting illegal statement and the error analasys is
    This program is triggered in the update task. There, the
    following ABAP/4 statements are not allowed:           
    -  CALL SCREEN                                         
    -  CALL DIALOG                                         
    -  CALL TRANSACTION                                    
    -  SUBMIT                                                                               
    Please help me how to achieve this?
    Thanks
    Sandeep

    Hi I am attaching the short dump code here.
                                                                                    Statement "CALL TRANSACTION" is not allowed in this form.                                                                               
    What happened?                                                                               
    Error in ABAP application program.                                                                               
    The current ABAP program "SAPLZVINOD " had to be terminated because one of the                       
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                                                                               
    What can you do?                                                                               
    Print out the error message (using the "Print" function)                                             
    and make a note of the actions and input that caused the                                             
    error.                                                                               
    To resolve the problem, contact your SAP system administrator.                                       
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer                             
    termination messages, especially those beyond their normal deletion                                 
    date.                                                                               
    Error analysis                                                                               
    This program is triggered in the update task. There, the                                             
    following ABAP/4 statements are not allowed:                                                                               
    -  CALL SCREEN                                                               
    -  CALL DIALOG                                                               
    -  CALL TRANSACTION                                                          
    -  SUBMIT                                                                               
    How to correct the error                                                                               
    Probably the only way to eliminate the error is to correct the program.      
    You may able to find an interim solution to the problem                      
    in the SAP note system. If you have access to the note system yourself,      
    use the following search criteria:                                                                               
    "POSTING_ILLEGAL_STATEMENT" C                                                
    "SAPLZVINOD " or "LZVINODU01 "                                               
    "BDC_TRANSACTION"                                                                               
    Thanks
    Sandeep

  • User not authorized for message processing

    Hi,
    I have a SM59 connection from SAP PI --> SAP R3.
    Targethost sapr3T.mydomain.
    Path prefix: /sap/xi/engine?type=entry
    Process: From PI send a message to R3 (scenarie is a Server Proxy...)
    User: PIPROXY has  Role SAP_XI_APPL_SERV_USER
    This is not enought I get error "User not authorized for message processing" when trying the connection from my  PI server. (I tried with SAP_ALL and then it works)
    What would be the right user role for this operation ?
    Br,
    Martin

    Hi all,
    I have the same problem in a XI -> BW scenario (Abap proxy).
    I get error "User not authorized for message processing" when try to send message from PI to BW.
    (I tried with SAP_ALL and then it works)
    User: PI1REMOTE has Role SAP_XI_APPL_SERV_USER and SAP_XI_IS_SERV_USER
    What would be the right user role for this operation ?
    Thanks
    Daniele

  • No delivery type for returns processing assigned to item 00010

    Dear all,
    I want to create a Return Purchasing Order.
    I have got an error: No delivery type for returns processing assigned to item 00010
    Please help to to find out problem. What do i have to check?

    Hi,
    Regarding the error ME392, please check the customizing under
    the IMG path:
    Materials Management
    -> Purchasing
       -> Purchase Order
          -> Returns Order
             -> Store Return
    Here, for the supplying plant in your Cross-company-code return, you
    need to set up a delivery type.
    In order to know the supplying plant, please, open the vendor master
    data (XK03).
    Select the 'Purchasing data' section.
    Once you are in the screen SAPMF02K 310 follow the menu path 'Extras' ->
    'Add.purchasing data'.
    Here you will see the Plant that is linked to your vendor.
    So, now, for this Plant, under the IMG path mentioned before,
    set a a delivery type for the store return (NCR - Ret.StTranspOrd CC
    can be used, for example).
    Best Regards,
    Arminda Jack

  • Can the name of the TASK bound to process level determined dynamically?

    In the 'Complete and Order' step of shopping cart scenario, we can display/ edit agents. This function enable us to see the approver list. In the 2nd column Process Step, there will be a description of the approver, which is the name of the corresponding task in the BRF process level. But when we want to reuse the task for several process level, we need to dynamically set this description. Since it is a name of the TASK, how can we achieve that?
    Thanks for reading.

    Actually this is what I was trying to do:
    <select name="<c:out value="${id}"/>versions" >
    <c:if test="${param.{id}versions == yyy}"> selected </c:if>
    </select>
    Do you know how to make the comparision works? The problem is the double curly bracket.
    Thanks again

  • Not Receiving Email Notifications via Hyperion Workflow Process

    Hi All,
    Configuring SMTP for workflow process in Hyperion planning.
    I did the following steps for the above process.
    1--> I checked whether SMTP server is running or not using Telnet command in the machine where the application is running-->*[Its working fine]*
    2-->Then I logged in to planning application with admin credentials and set the Email server details as follows
    2.a) *[Planning-->Administration-->Application-->Settings-->I entered the Email server details]*
    2.b) *[Planning-->File-->Preferences-->Planning-->I mentioned the Email address for administrator]*
    3--> I created several users using shared services console and I set the security Access type as Descendents Inclusive for each and every dimensions.
    4--> I set the Email address for every users which are created in the above step *[Planning-->File-->Preferences-->Planning]*
    5--> I created a Planning unit Hierarchy.
    6-->I logged as a Planner and I entered the budget in the Data form .
    7-->I promoted this budget to the Higher official for verification process.
    8-->But I didn't get the status mail for the above process.
    Kindly guide me whether I am following the right procedure to config SMTP in my application.
    How to get the status of the notification mail through relational tables.
    Kindly mention the location of log files regarding this issue.
    Please guide me to overcome this issue.
    Thanks and regards
    Sai

    Hi John,
    Thanks for your reply. I couldn't get you from the below quote
    Does you SMTP server accept anonymous connections?
    Anonymous in the sense that you mean like Unauthenticated connection. Yes my mail server is unauthenticated server, hence it doesn't require any username and password.
    Regards,
    Sai

  • SOA Suite 10.1.3 Developer Preview - Can not deploy workflow process

    Hi, I have a strange problem:
    I installed the SOA Suite on my laptop. From JDeveloper 10.1.3.1, I compiled the sample process DocumentReview (bpel_home/samples/demos/DocumentReview) and tried to deploy it. I have the following error:
    Buildfile: D:\Oracle\SOA1013B\bpel\samples\demos\DocumentReview\build.xml
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/D:/Oracle/JDeveloper101301/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    deployProcess:
    [echo]
    | Deploying bpel process DocumentReview on localhost, port 7200
    [deployProcess] Deploying process D:\Oracle\SOA1013B\bpel\samples\demos\DocumentReview\output\bpel_DocumentReview_1.0.jar
    [deployProcess] Successfully deployed the process "DocumentReview" on server "localhost" and port "7200"
    deployTaskForm:
    [echo]
    | Deploying workflow form for DocumentReview on localhost, port 7200
    [deployTaskForm] 06/08/23 13:45:50 Notification ==>Application Deployer for default_DocumentReview_1_0_DocumentReview STARTS.
    [deployTaskForm]
    [deployTaskForm] 06/08/23 13:45:50 Notification ==>Operation failed with error:
    [deployTaskForm] parent application (orabpel) is not found!
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm]
    [deployTaskForm] BindWebApp error: BindWebApp failed: Unable to updateEJBModule: application default_DocumentReview_1_0_DocumentReview does not exist!
    [deployTaskForm]
    [deployTaskForm]
    BUILD FAILED
    D:\Oracle\SOA1013B\bpel\samples\demos\DocumentReview\build.xml:98: Error while deploying the form on server "localhost" Error message :
    java.lang.SecurityException
         at oracle.ide.IdeCore$7.checkExit(IdeCore.java:177)
         at java.lang.Runtime.exit(Runtime.java:88)
         at java.lang.System.exit(System.java:868)
         at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4jAdminCmdline.java:127)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployIAS(DeployForm.java:783)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForm(DeployForm.java:548)
         at com.collaxa.cube.ant.taskdefs.DeployForm.deployForms(DeployForm.java:814)
         at com.collaxa.cube.ant.taskdefs.DeployForm.execute(DeployForm.java:840)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at oracle.jdevimpl.ant.runner.AntLauncher.launch(AntLauncher.java:321)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.runAnt(InProcessAntStarter.java:295)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter.mav$runAnt(InProcessAntStarter.java:43)
         at oracle.jdevimpl.ant.runner.InProcessAntStarter$1.run(InProcessAntStarter.java:71)
    Total time: 18 seconds
    What's wrong?
    Thanks for your help,
    Cyryl

    Hi. I made another account for I can't email address in my profile.
    I found that my problem is cluster specific problem. JDeveloper's default configuration works with clustered BPEL engines for simple processes that have no human tasks. But human-task-included processes are deployed without task forms with the same errors you'd had.
    I found a work-around for it. I changed build.properties in the project for cluster configuration as below,
    platform = ias_10g
    domain = default
    rev = 1.1
    admin.user = oc4jadmin
    admin.password = welcome1
    http.hostname = the_server_address
    http.port = 7779
    cluster = true
    j2ee.hostname = the_server_address
    rmi.port = 23791
    opmn.requestport = 6004
    oc4jinstancename = default_group
    And, yes, Ant would definitely be an answer for it, too.
    Thank you for your reply,
    Joon.

  • FTP error in oracle workflow process

    Hi All,
    I have written a workflow process which deletes a file on FTP. The process is deleting the file but is showing a warning message. Does anybody have a idea regarding this. One more thing even if file is not found the process completion status is successful. Its status should be error.
    The ftp site is on the same machine as owb server.
    The following values have been passed
    Command: ftp
    Parameter List: /-A/localhost/
    Success Threshold: 0
    Script: delete filename
    Output Message Received:
    Starting Execution ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE
    Starting Task ETN_DELETE_FILE:FTP
    Completing Task ETN_DELETE_FILE
    Anonymous login succeeded for [email protected]
    WARNING: Log file truncated - see RAB for further information.
    Completing Execution ETN_DELETE_FILE
    Please let me know about this.
    Thanks & Regards
    Bang.

    I am not saying your method is not correct, but if you give a shot to go with User Defined Activity. Yep that's correct , just write line in a shell script and call that script in user defined activity.
    Property values
    command ksh
    script     pathname with that script file name (/tst/usr/script/filename.ksh)
    or
    command     mv
    parameter_list     pathname with that filename
    I feel this is very simple and easy to manage too.

  • Error has occurred in workflow processing

    Hi All,
    The email notification sent back to employees to notify them that the timecard was submitted successfully is erroring. I looked in the workflow administrator resp and noticed the employee notifications were failing.
    Please see the below error:
    Failed Activity Notifications to Employee (FYI)
    Activity Type Notice
    Error Name WF_ERROR
    Error Message 9004: An error has occurred in workflow processing: 3835: Error '-20002 - ORA-20002: 2018: Unable to generate the notification XML. Caused by: 2323: Message template 'NOTE_EMP' in item type 'WFMAIL' can not be found WF_MAIL.getTemplateName(nid => 882116, n_status => OPEN, n_mstatus => MAIL, t_type => WFMAIL, t_name => NOTE_EMP) WF_MAIL.getTemplateName(882116, OPEN, MAIL, WFMAIL, NOTE_EMP) WF_MAIL.ProcessSignaturePolicy(882116)' encountered during execution of Generate function 'WF_XML.Generate' for event 'oracle.apps.wf.notification.send'.. The stack trace of the error is: WF_MAIL.GetLOBMessage3(882116, WFMAIL, 2323: Message template 'NOTE_EMP' in item type 'WFMAIL' can not be found WF_MAIL.getTemplateName(nid => 882116, n_status => OPEN, n_mstatus => MAIL, t_type => WFMAIL, t_name => NOTE_EMP) WF_MAIL.getTemplateName(882116, OPEN, MAIL, WFMAIL, NOTE_EMP) WF_MAIL.ProcessSignaturePolicy(882116), Step -> Getting Signature policy) WF_XML.GenerateDoc(oracle.apps.wf.notification.send, 882116) WF_XML.Generate(oracle.apps.wf.notification.send, 882116) WF_XML.Generate(oracle.apps.wf.notification.send, 882116) Wf_Event.setMessage(oracle.apps.wf.notification.send, 882116, WF_XML.Generate) Wf_Event.dispatch_internal()
    Can any one help me how to fix this issue?
    Thanks & regards,
    Raju

    Hi,
    You can reset the template in the frontend System Administrator -> OAM -> Workflow -> View Details -> Edit.
    OR
    You can override the template as i mentioned in the prevoius post by including a attribute in the respective message(Refer Workflow Developer's guide for more details).

Maybe you are looking for

  • JDeveloper 10.1.3.2.0 and JWE

    Hi, I want to create a wireless application. I've JDev version 10.1.3.2.0. When I am placing jwe.jar file in /jdev/lib/ext directory and starting my JDev, I am getting bunch of error messages: Severe(2,381): No class def found for addin oracle.panama

  • Win 7 x64 Driver for a 32bit CF Cardbus Adapter (x61)

    Does anyone know where I can get a Win 7 x64 driver for a 32bit CF cardbus adapter mounted in the Lenovo x61 internal multicard reader? I am running Win 7 x64 on a Lenovo X61 7675-CTO.  I have an Viking 32 Bit High Speed Compact Flash Cardbuss Adapte

  • Header is coming as vertical in downloaded pipe dilimiter file

    Hi , I have a requirement where i hav to download the pipedelimiter file to presentation server, for which im Using "GUI_DOWNLOAD".i collected the field names of the table using "ALV_FIELDCATALOG_MERGE" and passing this internal table as "i_header" t

  • Upgraded to iPhoto '11 and all photos gone!

    Upgraded to iPhoto '11 this evening from iPhoto '09 and all my photos were showing up as blanks. All my events were there and the photo outlines with the correct meta data were all there. But the photos themselves were all blank with a triangle with

  • Question about host identifier definition

    Hi, I've created a webgate and define the "Preferred HTTP Host" as the hostname where the web app is deployed. It seems ok that the webgate will protect the URL containing the hostname. But after I've authenticated, when I change the hostname to the