Excluding methods for servicegen task

Is there any way to exclude selected methods from being included in the automatic
type generation for the <servicegen> ant task?
I have a Stateless EJB I would like to use. I only need methods which return
the built-in types, but the bean includes some additional methods that return
types which don't appear to be supported (e.g. Collection).

Ok! This is a bug. I think when we encounter a class that
java2schema compiler can not handle, it should use anyType
instead of throwing exception.
Is this doable Scott?
regards,
-manoj
"Paul Jackson" <[email protected]> wrote in message
news:3caf19e0$[email protected]..
>
Thanks for the idea.
My more pressing problem is that <servicegen> fails and will not generatethe
EAR file. It generates an error message concerning a method that isreturning
a Collection. I do not require that method and would like to exclude itfrom
the operation (without having to write another wrapper session bean).
Does anyone have any ideas?
"manoj cheenath" <[email protected]> wrote:
You can edit the generated web-service.xml file (in the
web-inf dir of the war file inside the generated ear file),
to remove the methods you dont want to expose.
regards,
-manoj
"Paul Jackson" <[email protected]> wrote in message
news:3caa1de3$[email protected]..
Is there any way to exclude selected methods from being included inthe
automatic
type generation for the <servicegen> ant task?
I have a Stateless EJB I would like to use. I only need methods whichreturn
the built-in types, but the bean includes some additional methods thatreturn
types which don't appear to be supported (e.g. Collection).

Similar Messages

  • Methods for Dialog tasks

    Hi,
    referring to http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a957453d11d189430000e829fbbd/frameset.htm
    Can you tell me how I find out whether a task is a dialog or a background task using RFCs?
    I believe that if a task uses method Decision.Process, Form.process or Form.htmlprocess, then it is a dialog task. Are there other methods than these which are dialog tasks?
    How can I deal with form tasks using RFCs from an non-SAP front-end? Is there a function group for this?
    thanks,
      Thibault

    Thanks Ramki (and Sue),
    >> I believe that if a task uses method
    >> Decision.Process, Form.process or Form.htmlprocess,
    >> then it is a dialog task. Are there other methods
    >> than these which are dialog tasks?
    >
    > When you display the task using either PFTC or PFTS
    > txns, you can check whether the 'Object method with
    > dialog' box is checked on the Basic data tab.
    Indeed, but that does not help me. I'm planning to create a webapp being able to execute workitems of te inbox within a non-SAP front-end. Apparently, I'll have to find out first whether such tasks use method Decision.Process or FORM.HTML.Process, because depending on that, I'll have to handle them differently.
    I am asking now whether there can be more cases, or wether any workitem showing in the inbox will be one of these two kinds. I don't see how txn PFTC or PFTS can help me find an answer to that.
    > You can execute a decision task using RFC ...
    If you mean tasks using Decision.Process, yes, thanks to your help I was able to implement that, seems to work fine.
    > You need ITS to execute a task that uses
    > Form.htmlprocess from a non-SP front-end.
    Okay, I'll schedule some time to read ITS documentation then. I need especially info on how to execute such Form tasks using ITS shen. Anyone having a nice link to such info?
    > I don't think you can execute any other dialog tasks
    > directly without the SAP GUI other than using UWL
    Does that mean that there are indeed other dialog tasks besides tasks using Decision.Process or Form.Process (htmlprocess)?
    Neither SAP GUI nor EP are currently planned to be used, so maybe there is currently no solution. Since we do only need to support dialog steps having Approve/reject options, maybe we can either modify the SAP worflows, and simply not support htmlform tasks.
    cheers,
      Thibault

  • ABAP OOP method in Workflow task 6.20

    Hello all!
    In the following blog /people/jocelyn.dart/blog/2006/07/25/using-abap-oo-methods-in-workflow-tasks it is mentionned that to enable OOP methods for workflow tasks on 6.20 one needs to run report SWF_CATID.
    I'm currently on a customer system 6.20 ABAP SP50 and this report simply does not exist. Is this report appearing in a later support pack or is this not available until 6.40 as I belived....
    Any advise on how to enable this on an above system is highly appriciated!
    Regards
    Martin Jonsson

    Hi,
    Check this Report - RSWF_CATID.
    Regards,
    Surjith

  • Warning: "No terminating events defined for the task used"

    Dear all,
    I created a task with ABAP class and method as its object method. This task is a background task. The ABAP class inherits the IF_WORKFLOW interface but doesn't implement any method of the interface.
    When I try to confirm the task settings in transaction SWDD, a message shows up "No terminating events defined for the task used" and I cannot continue the work. Does anybody have any idea what I should do?
    Thanks + Best Regards
    Jerome

    Hi Jerome,
    If you set a background task in your workflow, and if it is asynchronous, then you need some way to tell the template if it is finished and what happened.  In this case you set terminating events - that is events which are published in the system as a result of your method (ie document.posted etc).
    Either use a synchronous method for your task or set appropriate terminating events in your task setup.
    Regards
    Gareth

  • Easiest and/or best methods for generating XML output (not with a report)

    Hi, several of our EBS customers (11.5.10) are converting their PDF reports to use XML/BI publisher to produce output. The data stream comes from a report that generates the XML output, and then the XML template is applied. This works great ... no problems, etc. From what I have read, however, Oracle intends to treat the traditional Forms and Reports Developers as legacy tools (although still supporting them, of course).
    My question is if I wanted to ditch using Reports to generate XML output, what, in your opinion or in your current usage, is the easiest way of getting this data? In Reports, the data modeler is excellent in providing a method to write your queries, split them into different repeating groups, write formula and summary columns, link multiple queries, etc, etc. If one were to become Reports Developer free, what comparable tools are available to take its place? I would expect this tool to handle a mix of GUI and coding like the Reports data modeler. Please note that I'm not looking for an EBS-specific solution -- say for a custom application using regular Oracle 10g DB and iAS, with BI Publisher for reporting.
    Thanks for your feedback,
    Ryan

    What I'm looking for is to not use Oracle Reports to generate the XML data output since Oracle's statement of direction is pushing BI Publisher rather than Oracle Reports as the preferred tool for reporting. That said, the data modeler in Reports provides a very flexible tool to construct and link multiple queries and to manipulate the queries into several levels of a master/detail relationship. Further, the mix of GUI and coding makes setting up the data model a lot more efficient. What I'm looking for (and I don't know if anything exists) is something comparable that can be used to generate XML output from the DB -- the idea being that I wouldn't use legacy tools, like Reports, for this task. I hope that is clearer.
    Really, another way of answering my question is, aside from Reports and the APIs mentioned so far, what are my fellow developers using, if anything, to extract XML data in a way that handles the features i list above?

  • R1: tcAPIException: Duplicate schedule item for a task that does not allow multiples.

    Hi,
    I'm struggling with the following task:
    I have to assure an account exists for a given resource. I do provision it with the .tcUserOperationsIntf.provisionObject().
    I've created a createUser task to create the account.
    The task code checks if there is already matching account.
    If no account exists, is is created in the disabled state, and the object state of OIM account is set to 'Disabled' by means of task return code mapping.
    If it exists, it is 'linked' to OIM account.
    The problem is if the existing account is enabled, I have to change the OIM account state to 'Enabled' either.
    To implement this (thanks, Kevin Pinski https://forums.oracle.com/thread/2564011 )) I've created an additional task 'Switch Enable' which is triggered by a special task return code. This task always succeeds, and its only side effect is switching the object status to 'Enabled'.
    By I've getting the 'Duplicate schedule item for a task that does not allow multiples' exception constantly:
    This is the stack trace:
    Thor.API.Exceptions.tcAPIException: Duplicate schedule item for a task that does not allow multiples.\
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(tcUserOperationsBean.java:2925)\
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(tcUserOperationsBean.java:2666)\
      at Thor.API.Operations.tcUserOperationsIntfEJB.provisionObjectx(Unknown Source)\
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\
      at java.lang.reflect.Method.invoke(Method.java:601)\
      at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)\
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)\
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)\
      ...skipped
      at Thor.API.Operations.tcUserOperationsIntfDelegate.provisionObject(Unknown Source)\
      ... skipped
    What did I wrong?
    Regards,
    Vladimir

    Hi Vladimir,
    Please select 'Allow Multiple Instance' checkbox for the process task.
    Thanks,
    Pallavi

  • QM_LSMW BY RECORDING METHOD FOR QP01

    Dear QM Experts,
    1.     I am doing LSMW by recording method for QP01 transaction code
    2.     I am facing one problem while recording in inspection characteristic screen
    3.     While saving another screen opens prompting to put inspection method, plant and version for inspection method.
    4.     This is not at all needed as per the requirement.
    I removed default Plant for Inspection Method version, Version Number of the Inspection Method while recording LSMW in inspection characteristic screen. Still it is happening.
    Surprisingly when we create inspection plan though QP01 it never asks for these things.
    Any remedies?
    Best Regards,
    Thanks is advance
    Anand Rao

    Do not use Recording for QP01.
    There is a pragram named "RCPTRA01". It can be selected in step1 of lsmw>>Object Type and Import Method>> Standard Batch/Direct Imput>>Object 0240;Method 0000;Program RCPTRA01; Program Type B.
    Then Step 2, define source structure. In fact you may go to step 4 to have a look at the structure of the target structure. It would be easy to copy that. The source structure would be as below, ZBI001 would be the top level and the others the same lever under ZBI001:
    Source Structures
            ZBI001                    Transaction Header Record for Data Transfer of Routings
                ZBIMPL                   Batch Input Structure for Allocation of Mat. to Task Lists
                ZBIPKO                   Batch Input Structure for Task List Header
                ZBIPPO                   Batch input structure for task list operation
                ZBIPMK                   Inspection characteristics for batch input of task lists
    In step 3, define source fields for source structure. For easy define, you may click "Object Overview">> Table to get the possible fields of the related structure, and then copy to Excel; after that, you may copy the fields directly from Excel to fields difining window in step 3.
    Step 4, assign the source structures to target structures, the target structures are named the same as the source structures above, just without the letter "Z". For example, assign ZBIMPL to BIMPL, ZBIPKO to BIPKO, except ZBI001 is assigned to BI000 and BI001 as well.
    Then Step 5, you may find there are RECTY and default settings are "00" "99" "01" "03" "09" "18" for BI000, BI001, BIMPL, BIPKO, BIPPO and BIPMK. Let alone "99" and imput these value to field "RECTY" in corresponding source structure fields
    Then you may run auto field mapping in step 5, and make some values constant, like PLNTY=Q etc.
    Then a problem with the profile under field "PROFIDNET". Run TCODE 'SPRO' to IMG>Quality Management>Quality Planning>Inspection Planning>General>Maintain Profiles for Default Values>Profile: default values plan/general. You may find there is a box named "Entry tool", tick that box, if not it is not possible to run QP01 in lsmw. And at the same time you may find the profile is 0000001. Key the value to field "PROFIDNET" and make the rule as constant.
    For step 6 there is nothing to do
    in Step 7, unlike other objects, you can use just one .txt file for uploading the inspection plan. When specy file, select "Data for Multiple Source Structures(Seq.file); Delimiter: Tabulator; File structure: Field order Matches source structure definition(as in Seq.file) I find not possible to put field names at start of file, so "Field Order Matching" is very important
    Then how to prepare the file? We can accomplish this with 5 excel sheets
    the fields orders for my customer is like this:
    1)for RECTY 18(Inspection Charatristics):
    MATNR     RECTY     MERKNR     KURZTEXT     VERWMERKM     QPMK_ZAEH     PMETHODE     QMTB_WERKS     STICHPRVER     PROBEMGEH     STELLEN     MASSEINHSW     SOLLWERT     TOLERANZOB     TOLERANZUN
    2)for RECTY 09(Operation):
    MATNR     RECTY     VORNR     STEUS     WERKS     LTXA1     UMREZ     UMREN
    3)for RECTY 03(Header):
    MATNR     RECTY     DATUV     VERWE     WERKS     STATU     PLNME     LOSVN     LOSBS     VAGRP     KTEXT
    4)for RECTY 01(Allocation of Material)
    MATNR     RECTY     MATNR     WERKS     LIFNR     KUNR
    5)for RECTY 00(Transaction Header)
    MATNR     RECTY     TCODE     START
    Creat a new blank sheet and copy the fild contents of these 5 sheets into it, then you can sort the fields in A to Z order with Column A(MATNR), B(RECTY), and C(MERKNR), then the seq.file to be uploaded is completed.
    for example:
    10001042     00     QP01     20090119                                                            
    10001042     01     10001042     1200                                                            
    10001042     03     20090119     5     1200     4     PC     0     99999999          Screw\M16x45\GB/T5783                         
    10001042     09     0010     QM01     1200     inspection     1     1                                        
    10001042     18     10      inspection on material     C101     1200     JF035     1200     GUD5     PC                              
    10001042     18     20      Inspection on size     C102     1200     JF034     1200     GUD5     PC
    Then copy start from Column B, i.e., without the material numbers in Column A, to .txt file.
    Specy the file in Step 7 in lsmw.
    the step 8, assign this .txt file to all structures
    then step 9, 10, 11, 12, 13 Creast Session and run it in at the end.
    Actually this program is not possible for QP02. If you want to make some correction on the inspection plans in SAP, you'd better delete them and upload the revised one.
    This program is very similar to CA01 Production Routing and thus also applicable to CA01. But I recommend using  Object 0170;Method 0002;Program RCPTRA02; Program Type D for CA01, because it provides testing transfer at the end so that you can check out logical errors, and much fastee. Pity that for QP01 there is no such program
    Currenty I am acting as Data cunsultant for an Elevator Manufaturer in China, hope my experience would help for you. My MSN is zhangxiaojun at msn dot com

  • Get earliest finish date for a task of cProject

    i found this method CL_DPR_TASK GET_SCHEDULE_ATTRIBUTES to retrieve earliest finish date.
    but i don't know how to assign the parameter IR_SCHEDULE_OBJECT to this method.
    could you help me with this?
    if i don't use this class, is there any other way to fetch the earliest finish date for a task of project?
    Edited by: Duan ZZ on Aug 26, 2010 5:11 PM

    Hi,
    Have you passed the correct GUID?
    I have tested it in my system. It returns the required data.
    Regards
    Sejo

  • CL_DPR_TASK  how to get earliest fiish date for a task of cProject

    i found this method CL_DPR_TASK GET_SCHEDULE_ATTRIBUTES to retrieve earliest finish date.
    but i don't know how to assign the parameter IR_SCHEDULE_OBJECT to this method.
    could you help me with this?
    if i don't use this class, is there any other way to fetch the earliest finish date for a task of project?
    Edited by: Duan ZZ on Aug 26, 2010 5:09 PM

    BAPI_BUS2175_GET_DETAIL

  • Agent determination for another task

    Hi Experts,
        I have assigned agent as US for a task. One custom FM is called for an approval screen and that FM is called from the method . That method is assigned to that task. The approval screen should have the approver name.
        How to pass the agent assigned for the task to the FM assigned in the method.
    Reagrds
    Sathish

    hi,
    plese find my sugestion.
    1. In any of the previous steps, find the approver name.Pass that approver name from the 'METHOD' to TASK container.from TASK Container to the WORKFLOW Container
    2. Then in the current step, Bind the 'APPROVER_NAME' to the TASK, and then to the 'METHOD'.
    3. now u can use the APPROVER_NAME inside the method.
    hope u r clear, if not pls lets know.
    Regards
    Anversha

  • "No Administrator found for the task " ?

    Hi All,
    I am using a standard method "display" in my ztask . [BO - FIPP, method - dispaly]
    workitem created by this task is to be delivered to "initiator".
    Now, initiator has this workitem in his inbox, but whenever he tries to execute that , a message is dispalyed saying
    "No Administrator found for the task " and task is NOT executed at the end.
    Please suggest wat could be missing or wat could be cross checked here to resolve the matter.
    Many Thanks
    Regards
    Priya

    You're welcome Priya,
    One of the major advantages of forums like these is the search functionality. If you learn how to use that in an effective way you can solve more problems in shorter amounts of time than by posting questions.
    Kind regards, Rob Dielemans

  • No Administrator found for the task (solution in FAQ not applicable sadly)

    Hi All,
    I have had to build a custom work item inbox due to complex client requirements, one of which being that all tasks are declared as "General tasks", so that all users can select and work them. 
    Work item execution is performed using the function module SWL_WI_DISPATCH (I've also tested using SAP_WAPI_EXECUTE_WORKITEM), which sometimes returns the error 'No administrator found for the task'.
    I followed the standard instructions for this error message, refreshing the org assignments, transaction SWU_OBUF etc, and this did not help the issue.
    The error seems to occur within the function module RH_WI_AGENT_EXECUTE_CHECK, however according to our configuration I can see no reason why users shouldn't be allowed to execute the work item, if the org assignment has been stable for several months, all tasks are generic, and the work item status is READY.  There is no rule for determining agent beyond them being "General task"s.
    Does anyone have any ideas?  According to the data in SWWWIHEAD I can't see any reason why execution should be failing for these work items.
    Thanks

    Hi there,
    almoste there
    The new extended eMail notification do allow a feature, which is named "Forward by eMail" (in the general settings of SWNCONFIG). And the result is, that a work item can be executed by another user-id, who is not the actual receiver of the work item.
    If you looked at report RSWNWIEX you'll find out that exactly the proposed solution is in use there, having a very usuable example already in place:  (check lines 155 and following)
          CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
            EXPORTING
              workitem_id    = p_wi_id
          IF lv_rc <> 0 AND cl_swn_settings=>wi_forward_via_mail = 'X'.
    *-         require to put back if WI is selected
              CALL FUNCTION 'SAP_WAPI_ADM_WORKITEM_BACK'
                CALL FUNCTION 'SAP_WAPI_FORWARD_WORKITEM'
                  EXPORTING
                    workitem_id   = p_wi_id
                    user_id       = sy-uname
                  COMMIT WORK.   "Needs to be done before executing again
                      CALL METHOD cl_swf_run_wim_factory=>initialize( ).
                      CALL FUNCTION 'SAP_WAPI_EXECUTE_WORKITEM'
    That doesn't blast a security hole, as far as I see.
    Using the table SWWUSERWI directly is not advisable at that time, I'd say.
    Best wishes,
    Florin

  • Extended method in the task is not executing

    Hello Friends,
    I had extended the business object BUS2105 and added a new synchronous method which will return the PR items as objects in the form of a table. This method does not have an import parameter as I am using OBJECT-KEY-NUMBER and has a multiline export element of type BUS2009. Then I had Implemented, Released & Delegated my Z business object. All these activities were completed perfectly.
    Then in my workflow I had used this method in an activity step.  I had set the binding from Workflow container to the Task container( in the workflow container I am getting the EVTOBJECT into a workflow container element of type BUS2105 by binding from Event container to Workflow container) and then from the Task container to the Method container also. There were no inconsistencies during binding.
    During test run this works perfectly and returns the workflow with the PR items as objects into a multiline container element of type BUS2009. Then I tested using SWUE and triggered against the 'CREATED' event of BUS2105. There also this works perfectly as it should be.
    My problem is, when I create a PR from ME51N, execution of my workflow stops by this activity step which is using my custom method. From SWEL I can see that workflow workitem has been created. In the workflow log, the created PR number is coming up to the WIOBJECT_ID of the task container. But the method will not trigger. If binding was the problem, then this workflow should not work from SWUE or during test run.
    Can anyone help me to solve this issue? What else I should do to solve this?
    Thanks & Regards,
    Abijith

    Hi,
    "My problem is, when I create a PR from ME51N, execution of my workflow stops by this activity step which is using my custom method. From SWEL I can see that workflow workitem has been created. In the workflow log, the created PR number is coming up to the WIOBJECT_ID of the task container. But the method will not trigger. If binding was the problem, then this workflow should not work from SWUE or during test run."
    1. I hope the task would be a background task and that is the reason even after inserting a break point the execution of the method has not interrupted. When ever you want to debug a background task first make it as a fore ground task and make agent assignment as general task and then assign the recipient as yourself, so that the workitem comes to your inbox then you try to execute the worktiem after inserting the break point in the method. This way you can debug the method from the workflow.
    2. The other part would be as you said that the workflow hangs at this activity step , so make sure the PR is not locked, I mean sometimes it may be possible that the object might be locked and if any changes are done in the method. it fails.
    3. The reason I feel it is working from SWUE is that you have inserted values which are already existing in the system and they might not have locked by the system.
    so please check the above three points.
    Regards
    Pavan

  • There is no task in UWL when i assign expression as responsible for a task

    Hi @,
    I create a simple process BPM on Process Composer, there is a task and a service to start this process.
    When i assign specify user for this task (e.x : ABC), i start process using the service, it's ok, there is a task is assigned to ABC.
    But when i use expression to assign for the task, the value of this expression will be mapped with data i input when start process using the started service. There is no task on portal.
    Please give me some advices,
    Thanks

    Sorry, here is trace message:
    An error occurred while executing transition START_TASKFLOW_Review_Timesheet(Token_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),1), Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false), Context_1_DO_PersonInfoType_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),Scope_16_New_Pool_0_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false)),1,true), View_4_Default_ExcludedOwners_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),Scope_6_New_Pool_0_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false)),0,false), View_5_Default_PotentialOwners_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false),Scope_8_New_Pool_0_0660a0655e09d2a43f917ec81589b112(Instance_0_P03_Timesheet_Process_0660a0655e09d2a43f917ec81589b112(null,null,null,false)),0,false)): com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:120)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:116)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:114)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:169)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:266)
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:88)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 11 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:538)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:174)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:58)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 14 more
    Caused by: com.sap.glx.core.kernel.api.CancelTransitionException: java.lang.IllegalArgumentException: Identifier '$principalId' invalid
    at com.sap.glx.core.internaladapter.ExceptionAdapter.raiseException(ExceptionAdapter.java:540)
    at com.sap.glx.core.internaladapter.ExceptionAdapter.raiseException(ExceptionAdapter.java:511)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.createTransitionException(Transformer.java:2033)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.invoke(Transformer.java:2053)
    at com.sap.glx.core.internaladapter.Transformer$TransformerInvocationHandler.invoke(Transformer.java:576)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:463)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:247)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:670)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:64)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:241)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:57)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:172)
    ... 17 more
    Caused by: java.lang.IllegalArgumentException: Identifier '$principalId' invalid
    at com.sap.glx.mapping.execution.implementation.node.PrimitiveNode.readContainer(PrimitiveNode.java:32)
    at com.sap.glx.mapping.execution.implementation.node.PrimitiveNode.readContainer(PrimitiveNode.java:7)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.resolveSourceReference(Interpreter.java:81)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.resolveSourceStep(Interpreter.java:89)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.resolveSource(Interpreter.java:67)
    at com.sap.glx.mapping.execution.implementation.Interpreter$SourceResolver.<init>(Interpreter.java:56)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:145)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:151)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapPart(Interpreter.java:151)
    at com.sap.glx.mapping.execution.implementation.Interpreter.mapMapping(Interpreter.java:140)
    at com.sap.glx.mapping.execution.implementation.Interpreter.map(Interpreter.java:135)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.map(Transformer.java:2071)
    at com.sap.glx.core.internaladapter.Transformer$ClassRegistry$MapperClassManager$MapperClassHandler$MapperInvocationHandler.invoke(Transformer.java:2048)
    ... 25 more

  • Attachment in PWA for every Task

    Hi All,
    I have gone through Project Server (PWA) 2013 & created Tasks under Projects. But i am not getting any option to attach document per task like facility in MS Project Pro 2013 for attaching documents. However, we have facility to attach documents which
    is located in Project Site in PWA 2013. But i want to attach task wise in PWA.
    Also, i tried to attach document in MS Project Pro 2013 as per task & published this Project to PWA 2013. But when i open that published project & looked into Task where i have attached documents that not found in PWA for that task under same Project.
    Even not in Project Site documents.
    Can anyone suggest what to do in this case?

    Hi Vrij007,
    You can't directly attach a document to a task in PWA/schedule PDP. You have to go through the project site as you already said.
    Then how did you attach the document in MS Project Pro? I'd suggest to use the hyperlink column and then display this column in your PWA project detail view. 
    Note that it should be a consistent enterprise approach, meaning both way described above should not use together. Typically I would not suggest the second method since the project site allows you attaching document to a task and keeping the document in
    the site document library with all the sharepoint features.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

Maybe you are looking for

  • Excel RFC Data Transfer

    Hi Guys, <br><br> First off, my apologies if this thread is in the wrong forum; it seemed to be the most relevant one to my question. <br><br> Background<br> I have written an ABAP program to gather some statistics and input them into a table, this a

  • Not able to create sales order  using BAPI - BAPI_SALESORDER_CREATEFROMDAT2

    Hi Experts, I am not able to create sales order . I am using BAPI - BAPI_SALESORDER_CREATEFROMDAT2 to create sales order .I am passing external sales order number to the parameter SALESDOCUMENTIN. I am getting following error. "524   |Only quantity 1

  • Cost bifurcation of PM order

    Hello Frinds We are having a PM order in which Civil, Mechanical & Electrical department is working, in operation we are maintaining with different work center & operation description now the cost of maintenance order is 4500, my Clint want to know w

  • Itunes gift card wont work

    i tried putting the gift card code into my ipod and it keeps saying that its an invalid code, even though i put it in the EXACT way that it is on the card.

  • Music problems on iPad mini

    I have an iPad mini and when tap on a song in a playlist, the song above it plays, help me!