Need to Hide Objects Default method in Approval Task

Dear All,
  I have a requirement, where I need to hide the default method that is getting displayed in the approval task of the workflow.
The employee object and Trip objects default method are getting displayed in the preview of approval task. And same is getting displayed in the universal worklist in the columns of attachments.
  There is an option in univesal worklist configuration where we can remove the attachments for display.
  But to our requirement , only certain objects and attachments should be shown in portal and R/3 of the approval task.We need to restrict the employee object and trip object which is shown in objects and attachments column of the standard descision task.
Let me have any suggestion on this.
Thanks in advance.
Sabari Prabhu.

I took a look into this same issue some time ago, and at least I didn't find a way to restrict only certain attachments for displaying in UWL. If the attachments cannot be hidden, I have tried to avoid using the business objects as much as possible. For example the employee object is many times binded to the task only because you want to display certain attributes in the task description. Then I have just binded the needed attributes into separate container elements. Of course this will not solve all the cases.
Then other useful options are that you change the default method, and this method is implemented in a way that it either does not display anything, or displays something (maybe just an error message etc.) that makes more sense than the default method that SAP delivers. Or then you can implement for example your own web dynpro application that will be launched when you click the attachment.

Similar Messages

  • Hide all default Aplications and Programes

    I need to Hide the default Programs and applications in windows and allow only company related applications such as ERP application, MS Office package,Acrobat/WinZip. When the user log in to the PC they should see only thees set of applications and rest all
    need to be Hidden. I have 500+ computers connected to Windows 2008 Server Active directory .How do i do this with GP settings
    System Admin Danube-

    Hi Kamal,
    In addition to Milos’s suggestion, we can try the following settings:
    User Configuration > Policies > Administrative Templates > Start Menu and Taskbar\
    Remove Default Programs link from the Start menu
    Regarding this point, the following article can be referred to for more information.
    Group Policy Setting of the Week 10 – Remove Default Programs link from the Start menu
    Best regards,
    Frank Shen

  • SAP workflow -SAP error WL210 -Error triggering default method for object &

    Hi Experts,
    User is encountered with the error message "Error triggering default method for object &" when he is performing approval action in SES workitem .
    Could you please advise me how to avoid this issue.
    Thanks in advance for your valuable help.
    Edited by: Rajani SAPABAP on Sep 13, 2011 4:50 PM

    Hi Rajani,
    I think that it's an authorization issue.
    Please check if u find which authorization object is violated in SU53.

  • Approval task SP09: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'

    Hi everyone,
    I just installed SP09 and i was testing the solution. And I found a problem with the approvals tasks.
    I configured a simple ROLE approval task for validate add event. And when the runtime executes the task, the dispatcher log shows a error:
    ERROR: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'
    And the notifications configured on approval task does not start either.
    The approval goes to the ToDO tab of the approver, but when approved, also the ROLE stays in "Pending" State.
    I downgraded the Runtime components to SP08 to test, and the approvals tasks works correctly.
    Has anyone passed trough this situation in SP09?
    I think there is an issue with the runtime components delivered with this initial package of SP09.

    Hi Kelvin,2016081
    The issue is caused by a program error in the Dispatcher component. A fix will be provided in Identity Management SP9 Patch 2 for the Runtime component. I expect the patch will be delivered within a week or two.
    For more info about the issue and the patch please refer to SAPNote 2016081.
    @Michael Penn - I might be able to assist if you provide the ticket number
    IdM Development


    When trying to open invoices in my ERP inbox to authorise I get the following message.
    . There might be an authorisation issue. but i am not confirm.
    I have checked the authorisation in SU53 also.
    is it possible that there is some other reason for it.
    If so then what are they?
    please help.

    Hi Naval,
            Is it a custom business object....make sure that the status of all object components are set to Implemented or released..and  regenerate the Object...

  • Need for implementing Objects By Filter (OBF) method in ACE

    Hi All,
    i wanted to understand the significance of the OBF method in ACE. Can i implement my logic only using Actor from User (AFU) and Actor from objects (AFO). Does it impact the performace if OBF is not implemented. Please provide you inputs on this.

    Hi Nithish.,
    Thanks for explanation. Yes i understood the purpose of OBF. Let me tyr explain my doubt with an example.
    I have to determine acces for one-order objects having a specific custom  transaction type say ZABC.
    In OBF i will fetch all the one order objects where the transaction type is ZABC. This output of OBF will serve as input to my AFO.
    In AFO, i willl again fetch the same objects. I will loop through the output of OBF method for every object and check if the object fetched in AFO is present in output table of OBF. If yes then proceed further in determinig the actor for that objec. Repeat this process in a loop for every object in OBF.
    If my above understanding is correct, what is need for having specific  OBF method when I can directly write the logic of fetching one order object of transaction type ZABC in my AFO and dertermine the actors for them. without having to loop thourgh the outpu of OBF.

  • Workflows : Unable to call a report from a Default Method of Business Objec

    Good afternoon.
    Well, we had a requirement where a Business Object's Default method should call a report which in turn calls a User Defined Screen(Call Screen 100 say...) which had a Text Control with one OK button.
    In this requirement, I had created a method with all the above functionality and then tested the BUSINESS OBJECT accordingly. Well, when Testing the BO directly, I am able to get my REQUIREMENT satisfied like the METHOD is working PERFECT as per the requirement.
    Now I made it as an DEFAULT METHOD and used the same BO for a workflow. And that Workflow gets triggered with an Event within that BO. So the instance of this BO is coming to the Workflow.
    Now, I created a new Decision step and copied the standard step's task into a new Standard task. And I included this task for my new DECISION STEP. In this standard task , I had created a CONTAINER Varaible for my BO.And in my WORKFLOW, I had passed the instance of my BO in the BINDING PART of this Decision Step.
    Now, my objects and Attachments part had an HYPERLINK, but it is not executing the needed method. Why is it so?
    Do we had any limitation for this?
    Shouldn't we call any report which calls a user defined screen from a method ?
    Is there any way for solving the above problem?
    Like I want to display a TEXT CONTROL which takes COMMENTS from the Approver during the WORK ITEM PREVIEW before APPROVAL / REJECTION and this INPUT must also be shown in WORK ITEM PREVIEW in the next level.
    Someone please help me.
    Raja Sekhar

    Hi Raja,
    Well it is not yet afternoon for me. In fact the work day just about started
    Have you tried debugging it? Put a break point in your default method and click on the object link from the inbox and see if your method is getting executed and if it is you may find what the problem is.
    Also, have you tried with a different default method like a display method and checked if it works?
    Ramki Maley.

  • Default methods

    I read the Java tutorial on default methods and I think I understand how interfaces may evolve without loss of backward compatibility. My question refers rather to how should we design our interfaces from scratch. If and when should we define default methods? As an extreme example, why not design MyNewInterface with all default methods? If some operation makes sense, fine, stick the appropriate code in there, and if not, just do nothing, return null, return 0, return false. This would give the implementers of my interface quite some freedom what to care about, depending on their application needs and would make their apps less verbose (kind of like what the awt Adapter classes achieve). I don't look for an approval of this approach, but at some guidelines. Hope this makes sense.
    Edit: And one more question from someone involved a lot with libraries for external clients. Does it make sense to rewrite old interfaces in a new release of the library and turn some methods into default methods containing code that makes sense? This option was not available so far and users had to write sometimes trivial implementations.

    cool stuff for backward compatibility
    probably not as compatible as you think
    how should we design new interfaces?
    For *new* interfaces, including default methods is not going to break anything (at least, not immediately, see later). I think, use this sparingly: if you genuinely have an example of "every object of this type should have this functionality", *and* there's an obvious default implementation, then that's probably a good case for using default methods.
    So , consider a DAO interface. You'll commonly want to get an object via it's id. The database stores the id as an int, and the corresponding class has an id field of type Integer. So it's fairly intuitive to define
    public interface DAO {
        public Entity getEntity(int id) ;
    But... all (or the vast majority) of my use cases are in a web application, and of course the only data type http knows about is String. So at some point, I get a request parameter representing the id as a String, and have to convert it to an int in order to get the entity from the DAO. In other words, I end up doing this:
    DAO dao ;
    String idFromRequest = request.getParameter("id");
    Entity entity = dao.getEntity(Integer.parseInt(idFromRequest));
    I end up really needing DAO to support a
    public Entity getEntity(String id);
    method, but do I really want to force all implementations to implement it to call Integer.parseInt(...) to invoke the other method?
    I could, of course, define an AbstractDAO class that adds the method in, but then I lose the whole "programming to interfaces" paradigm.
    So that would (at least, on the surface) appear to be a nice use case for default methods.
    You should still worry a bit. Even if I put a default method into a new interface, any classes that implement that interface and some other interface are vulnerable to breaking if the other interface later introduces a default method with the same signature as my default method. So you might want to think about making those default method names quite specific.
    Default methods should be used sparingly. If you add dozens of them to your libraries, you increase the risk of problems caused later by classes not being able to resolve calls unambiguously.

  • Help:  How to add a library item to hide the default Window menu

    In this post: Help: How to add a library item to hide the default Window menu, it described how to create an menu that will hide the default window menu.
    I'd like to know if there a way to put this component into library so that others can directly inherit this menu in other FORMS and how to implement it.

    I found the solution and the post was not properly phrased. There is no need to add menu into library. All we need is to put the compiled menu into Oracle AS and add the menu name the menu module of the given form.

  • Need to hide "Evaluating Condition" text in dashboard in OBIEE

    We are using OBIEE version and we are getting a message "Evaluating condition" while running a report.This is due to the conditions specified in dashboard section(guided navigation in 10g). So i need to hide those text in obiee 11g .In 10g we can able to make chnages in the backend files and we can hide this by following the url. But i need the similar paths in OBIEE 11g

    I know you already tried below method but it is working for me, could you please cross check.
    Can you edit your dashboard prompt prompt and find show option then select SQL Result please modify statement like below.
    Go--> Edit your prompt--> Show Option--> Select Choice List Values as --> Select Sql result---> change statement like above.
    SELECT "tablename"."columnname" FROM "table" where "tablename"."columnname" is not null
    Refer this thread might be helpful for you.
    NULL Value in the prompt

  • ABAP OO Workflow - Default Method

    Dear all,
    Does anyone know how to set default method for Abap OO Object?
    In BOR, we can set it in the header attribute. But I can't see any place where we can set the default method in Abap OO object.

    Thanks for taking the time to close off your question. However if you close a thread without an answer then it would be nice to post the answer for folks who search the forum with the same query later on.
    For what it's worth, BI_OBJECT~EXECUTE_DEFAULT_METHOD is always the default method. In here you can add code to call any other method.

  • Error:Work item 000000001099:Object FLOWITEM method EXECUTE cannot be execu

    Hello experts,
    I have created a Sales order workflow whr after creation sales order will go to 1 person inbox and he will check the SO thoroughly and thn i hv added a user decision step for APPROVED or REJECTED for same person.
    Now after creation of sales order it goin to the person inbox for checkin SO but when he is saving it thn decision screen with button APPROVED or REJCTED is not coming and m getting error :Work item 000000001099: Object FLOWITEM method EXECUTE cannot be executed. and error: Error when processing node '0000000024' (ParForEach index 000000)
    i checked the agent mapping for both step....and thr is no error in agent both steps i have mapped same rule with responsibility IDs
    PLz suggest urgently wht can be cause of error.

    Hi Nitin,
    I think this seems to be an agent assignment issue.
    To debug this issue go to the workflow log and check if the agents are correctly being picked by the rule or not. Simulate the rule and check for the agents being picked.
    In the workflow log, check the agent for the User Decision step. If there is no agent found then there might be some issue with the data passed to rule.
    Hope this helps!

  • BPM error: exception cx_merge_split occured,object FLOWITEM method EXECUTE

    Hi Guys
    I am working on a interface involving BPM.....
    I am facing this problem while executing the interface...
    I am getting error texts as below:
    exception cx_merge_split occured,
    object FLOWITEM method EXECUTE
    I am trying to fix it....Please provide any iputs on this...
    Thanx in adavance.

    Is your Transformation step designed for multimapping (n:1 or 1:n)?
    If yes the payload seems to be incorrect....did you check the working of your mapping (MM/ IM) using the expected payload structure...
    the transformation step in BPM has been given exception as System Error
    There is one block step before the transformation which exception is not given...?can this be the cause??
    Does it have a Block step in your BPM and your Transformation Step is placed in it....the Block should have an exception handling branch...have the exception handling logic as per your need....the Block step needs to use Exception Handler...same Handler to be used in the Transformation Step's System Error section.
    Press F7 and check if your BPM is giving any warning message.

  • Need to hide one of the selction screen block

    Hi Gurus!
    I need to hide one of the block in my selectrion screen and only display one radio button in that selection screen block . Somehow its not hiding the enitre block , so I tried doing the fields invisible but when it is transported it again makes it visible . Is it possible to do it through programming code itself rather than through screen.
    Follwoing is the block that I need to hide.
    rb_list RADIOBUTTON GROUP rb1 DEFAULT 'X' USER-COMMAND opt.<<<<<<<<need to hide this
    SELECTION-SCREEN BEGIN OF BLOCK b4i WITH FRAME TITLE text-005 .<<< need to hide this block
                p_send   AS CHECKBOX MODIF ID b5 USER-COMMAND opt,
                p_overr  TYPE sy-uname MODIF ID b6,
                p_alines AS CHECKBOX MODIF ID b5.
    PARAMETERS: rb_alv  RADIOBUTTON GROUP rb1 DEFAULT 'X'.<<<< Just need to show this on my selection screen
    In the above code I need to hide the block b4i and the radiobutton rb_list.
    Help will be gretaly appreciated.

    Thanks for the input but addition of that still gives me the first radiobutton 'rb_list 'in my selection screen .
    PARAMETERS:rb_list RADIOBUTTON GROUP rb1 MODIF ID rad .<<<<< This is still showing up --want to hide this
    SELECTION-SCREEN  BEGIN OF BLOCK b4i WITH FRAME TITLE text-005 .<<<<< want to hide is block completely
                p_send   AS CHECKBOX MODIF ID b5 USER-COMMAND opt,
                p_overr  TYPE sy-uname MODIF ID b6,
                p_alines AS CHECKBOX MODIF ID b5.
    PARAMETERS: rb_alv  RADIOBUTTON GROUP rb1 DEFAULT 'X'.<<< Just need to show this param,etere on the screen
    * At Selection screen output
        IF rb_list IS INITIAL AND ( screen-group1 = 'B5').
          screen-active = '0'.
          MODIFY SCREEN.
        ELSEIF screen-group1 = 'B5'.
          screen-active = '1'.
          MODIFY SCREEN.
        IF p_send IS INITIAL AND screen-group1 = 'B6'.
          screen-active = '0'.
          MODIFY SCREEN.
        ELSEIF screen-group1 = 'B6'.
          screen-active = '1'.
          MODIFY SCREEN.
        CHECK screen-group1 = 'RAD' OR
              screen-group1 = 'B4'  OR
              screen-group1 = 'B5'  OR
              screen-group1 = 'B6' OR
        screen-active = 0.
    Edited by: Aarav  Agnihotri on Sep 29, 2009 6:08 PM

  • Problem with Default method of BUS2034 after Redefinition

    Hi All,
    We had a requirement for which I REDEFINED the default method of BUS2034 in the inherited object.
    The Decission workitem in which this object was attached, was being opened from UWL using WINGUI.
    Now, after the redefinition, the defult method is not opening up the attachement to show the contract document.
    P.S: I have reverted all code changes in that.
    Please help. Its critical.
    Thanks & Regards,

    What do you mean by redefimed. You maintained ahew entry in the Default method entry in SWO1?
    I will recommend you to create a subtype and not delegate it to standard Bo and use this in your workflow with a new method as the default method.

Maybe you are looking for