How to change the Workflow Business Objects

Hi,
How to change the Workflow Business Objects. I need to add custom code to the Method. can I create only custom method or I need to copy the existing object to Custom object .
Thanks
Niranjan

Hi,
Check the following link:
http://www.sap-img.com/workflow/sap-workflow.htm
http://www.sapmaterial.com/badi.html
Regards,
bhaskar

Similar Messages

  • How To change the ADF View Object  query where-clause at RunTime?

    I am trying to create a simple display page which will display user data (username, assoc_dist_id, assoc_agent_id, status , etc). The User data is stored in a database table and i am using an ADF Read Only table based on the View Object to display the data on the JSF page.
    However, i want to display only the users that a particular person accessing the page has the AUTH LEVEL to see. e.g. If the person accessing the page is an 'ApplicationAdministrator' then the page should display all users in the table, If its a 'DistributorAdministrator' then the page should display only users associated with that Distributor (i.e. assoc_dist_id = :p_Dist_id ) and If its an 'AgentAdministrator' , then the page should display only users associated with that Agent ( i.e. assoc_agent_id = :p_Agent_id).
    Currently my af:table component displays all the users in the table because the query for the view object is (select * from users) . However, i want to use the same viewobject and just set the where-clause at runtime with the appropriate parameter to restrict the dataset returned.
    Do anyone knows how to accomplish this ?

    David,
    See the custom method initializeDynamicVariableDefaults() in the SRViewObjectImpl.java class in the FrameworkExtentions project in the SRDemoSampleADFBC sample application. You can find out how to install the demo if you haven't already from the ADF Learning Center at:
    http://www.oracle.com/technology/products/adf/learnadf.html
    This class is a framework extension class for view objects that adds a neat, generic feature to be able to dynamic default the value of named bind variables. You can read more about what framework extension classes are and how to use them in Chapter 25, "Advanced Business Components Techniques" of the ADF Developer's Guide for Forms/4GL Developers, also available at the learning center above.
    It is an example of generic framework functionality that "kicks in" based on the presence of custom metadata properties on a named bind variable. See section 25.3.3 "Implementing Generic Functionality Driven by Custom Properties" in the dev guide for more details. Using this sample code, if you add a bind variable to a view object, and define a custom metadata property named "DynamicDefaultValue" on that bind variable, and set this custom metadata property to the value "CurrentUser", then that bind variable will have its value dynamically defaulted to the name of the authenticated user logged in. If instead you set this custom property to the value "UserRole", then the bind variable will be set to the comma-separated string containing the list of roles that the authenticated user is part of.
    Once you've created a framework extension class for view objects like this, you can have the view objects you create inherit this generic functionality.See section 25.1.4 "How to Base an ADF Component on a Framework Extension Class" in the dev guide for more info on this.
    By adapting a technique like this (or some idea similar that better suits your needs) you can have your view object query contain bind variables whose values automatically take on the defaults based on something in the user-session environment.

  • How to change the text of object icon

    Hi Freinds ,
    We have just upgraded to EEC 6.0 ,
    when the user is loging in french language the text for the object icon (Job)  on OM is the same as object icon (position) .
    Is there a way in which you can change the text for the object icon :
    Regards
    Lakshmi

    Hi Sikindar ,
    We use different languages in different countries , when using the transaction PPOME , The text against icon JOB : appears to be the same as position in french language but  when we log in english it shows the correct text that is JOB ,
    Which report are you talking about .

  • How to Change the Format of Object.................

    Hi,
    The client is asking us to change the format of the out of th object into another format.
    With The existing format the result is DisplayFare: 4,673.23
    and the formula used is :
    WhilePrintingRecords;
    global currencyvar DisplayFare;
    global currencyvar array PaxFare;
    global numbervar num;
    if {fld.Fld1}= 'IPAX' then
        DisplayFare := PaxFare[num];
    DisplayFare;
    But client want the same in different format DisplayFare:4 673,22.
    For what changes i needs to do...................please do the needful.
    Regards,
    Maheedhar

    Hi Maheedhar,
    The only difference I see if that the required format does not have a thousands separator (Or does it have space as the separator?) and it uses a comma as the decimal separator.
    You can right-click the field > Format Field > Customize > In here you should be able to change the Decimal separator, Thousands separator etc.
    -Abhilash

  • How to change the workflow agent manually ?

    Hi,
    We encountered a situation where the workflow was received in error by a person. We are unable to determine the root cause of the problem as it was the first and last time we encountered this situation and we are unable to replicate the same error again.
    I want to remove this workflow from that person's inbox manually and assign it to the intended recipient, how do I do this ? Could someone help me out with this situation, thanks.

    Yes i agree with rick,
    Dont think that WF log can be deactivated also if this is the case then how can you see workitem, may be the case that you dont have auth to view wf log (or if are using latest ECC versions then when u execute transaction SWi1 and open any workitem then type ctrl+p this will lead you to workfow log).
    Try using SWI1, as workaroung you can use transaction SWIA to forward workitem to desired agent.
    -Swapnil

  • How to change the workflow event

    Sir,
    I have a workflow against sales order which goes for release as per release strategy . It appears in their SAP inbox until he approves it goes to the second person . Now one sale order has gone to a specific person's inbox . I want to reverse that and to send to other persons SAP inbox because the person is not available . Can we do it . If possible how it can be done .
    Thanks in advance .

    Hi,
    You can have this functionality using substitute in SAP inbox, i.e SBWP. Got to SBWP-> Setting-> Workflow setting and here you can maintain substitute. You can mention dates during which this substitute is to be used. Person who will not be available should maintain this setting in thier SAP inbox.
    Hope this helps.
    Thanks & Regards
    Tejaswini Khante

  • How to change the class an object belongs to?

    Hello!
    Can anyone help me to solve such a problem:
    I need to create an object, which has a couple of constructors:
    public Something(Param p)
    public Something(Burut p)
    but when I call the constructor, it takes a parameter object from a Stack, which contains elements only of Param and Burut classes:
    Something s = new Something(stack.pop());
    so incoming "p" is an instance of the Object class, not of the Param or Burut class, because
    pop() returns Object.
    Compiler returns an error:
    Blabla.java:166: cannot resolve symbol
    symbol : constructor Something (java.lang.Object)
    location: class Something
    return new Something(stack.pop());
    How to pass stack.pop() as a Param or Burut?
    Thanks in advance!

    Hi,
    YOu are going to have to cast it yourself. If the object can be either type then you will need to use the instanceof operator. For example:
    Something s = null;
    Object ob = stack.pop();
    if( ob instanceof Param )
    s = new Something( (Param)ob );
    else if( ob instanceof Burut )
    s = new Something( (Burut)ob );
    Regards,
    Manfred.

  • How to change the Busy tone of WIC-2FXS in 2610

    My local FXS card is connected to my office PBX CO port. When a far end caller disconnects a VoIP session, my local FXS generates a very strange tone to my PBX so that the AA of my PBX cannot detect such busy tone and hence cannot drop the call. The strange tone is very different from the normal busy tone from PSTN.
    Anyone can teach me how to change the FXS busy tone when a VoIP session is disconnected.
    Thanks.

    Configure the voice port for the local territory's call progress tone setting. The call progress tone setting determines the settings for dialtone, busytone, and ringback tone.
    The default for this command is northamerica. For a list of supported countries
    router(config-voiceport)# cptone country

  • How to change the size of a particular object in the picture?

    How to change the size of a particular object in the picture?

    You need to select it.  Copy that selection to a new layer, and use Free Transform to resize it.
    http://www.youtube.com/watch?v=qWpAGmwhllQ
    http://www.youtube.com/watch?v=Bi4jJnYLkUA

  • How to change the title of an object in the build order window?

    In Keynote '09 v5.1.1 (1034)... How to change the title of an object in the build order window from the default "dropped image" to a specific title?
    I'm running the following:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro2,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.33 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 4 MB
      Memory: 2 GB
      Bus Speed: 667 MHz
      Boot ROM Version: MBP21.00A5.B08
      SMC Version (system): 1.14f5

    Custom names can't be applied to objects in the build list.
    They are labeled as either; text, shape, table, chart or the filename of an image

  • How to change the recipients in workflow?

    I'm not  a workflow expert. Please help me how to change the recipients in workflow.
    The approver already resigned and we would like to change it to a new approver.
    We already deactivated the user and I stiil see him in SOST.
    In some releases, he is the approver and we would like to change it.
    Hope you can help me. Just kindly let me know if you still have queries.
    Thank you!

    Ask your workflow admin to define a substitution and/or forward the workitems.

  • How to change the sender name "workflow system" to Diff name

    Hi ,,
      How to change the mail sender name that is "workflow system" to different name. Whenever the mail is triggered it shows the sender name as "workflow system" . i want to change the name of the sender..Even i changed the name of the WF-Batch(name) user but no use.. Pls advice.
    regards,
    Roops.

    Hi Roops,
    Check if the following [link1|Re: How to change text of wf batch??] [link2|Update should not happen in the name of WF-BATCH] helps you.
    Regards,
    Saumya

  • How to change the owner of business rules

    Hi,
    How to change the owner of the business rule's in hyperion 11.1.2.1.
    When i changed the owner name from planning to xxxxx i get "User not found reverting to nothing".
    Kindly help me with what id should i login to EAS (essbase administration services console) and the detailed process of changing the owner of business rule in properties tab.
    Cheers
    Praveen
    Edited by: Praveen on Nov 7, 2011 8:43 AM

    No....
    There is no 'ownership' of a tablespace. No such thing.
    UserA.tbl1 is owned by UserA, which is the same as saying it is in the schema UserA. It might be in tablespace USERS. If you want to change which tablespace it lives in, you can 'alter table' it to the new tablespace such as BIG_USERS. It would still be UserA.tbl1. I think you can move it online using Oracle's online reorg abilities.
    If you want the table to be owned by UserB, then you have to either export/import or CREATE TABLE AS SELECT it into UserB's schema. However doing so means that the table can no longer be referenced as UserA.tbl1. If you want that reference to work, you have to create a synonym in UserA's schema that points to UserB.tbl1. At no point does the ownership of the tablespace come in to question.
    I think you meant 'schema' instead of 'tablespace' in your original quesetion.

  • How to change the Schedule For settings for an object

    Hi All,
    do you know how to change with BO Enterprise SDK Java the schedule settings for an object?
    I mean these settings that can be changed manually In the Objects management area of the CMC, selecting a report object, Schedule tab, Schedule For link:
    - Schedule only for myself
    - Schedule for specified users and user groups
    Rest of settings can be managed with ISchedulingInfo, but I don´t know how to change the "Schedule for" property.
    Should I use other SDK?
    We have Webi Documents, BOXIE R2 SP2
    thanks,
    regards,

    Hi,
    I think I´ve solved it,
    we can use
    ISchedulingInfo.getMultiPassObjects()
    that returns a java.util.Set of user/usergroup IDs on the schedule for multipass.
    and then we can work with this Set (adding or removing users and groups).
    Setting manually to "Schedule only for myself" in the CMC is the same that removing all the elements from the getMultiPassObjects() set.
    thanks,

  • How to find the workflow for Change Request for the PO's

    Hi All,
    We have a PO which is pending and we can't receipt it again nor make payment on this. After checking the Approval history for that PO we found that the change request has been made. The change request was to change the amount to be paid to R39196 instead of R58237.00. We don't know where to check the workflow for the change request to identify the cause.
    what i need to know is how to find the workflow for that change request? The other workflows can be checked using the po_header_id for the PO's but i am confused with the change request workflow
    Your input will be highly appreciated.
    Thanks in advance
    Rgds,
    Sonia

    For 11.5.10.2 run this query to determine the keys to search on:
    Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'PO' and Document_num = 'put-PO-number-here'
    Then use the keys returned by the query to look up the Workflow in
    Workflow Administrator Web Applications / Administrator Workflow / Status Monitor
    Search using the results returned in fields "Type Internal Name" and "Item Key" in Status Monitor
    The query for change requests on a specific Requisition would be:
    Select wf_item_type, wf_item_key from APPS.po_change_requests where document_type = 'REQ' and Document_num = 'put-Req-number-here'

Maybe you are looking for

  • How to look for a particular phrase in a document???

    Hey guys, I'm a little new at this thing... I need to figure out a way to make Java search through a document looking for instances of particular phrases, and replacing them with something else. For example, have it look for "A B C" and replace each

  • Problems with FOP

    Hello everybody, I have some problems with FOP... I want to create pdf outputs and I want to use FOP to convert reports into pdf`s. The documentation says that you have to install OC4J, but I can`t find the directorys to unzip the FOP files! I instal

  • Work shop evaluation guide chapter1

    Hi, using evaluation guide of workshop8.1 , i builed chapter1 application.i am getting deployment error while run the application. i tried to redeploy. but i got failure notice. here i attached the error snopshot. please help me out of this problem.

  • Nokia e 63 not working properly

    Hello team, I am facing a weried problem with my nokia e 63 .I have been using this mobile from last 4 yreas its working really fine with out causing any trouble  but suddenly 2 days back its mic stopped working and after some time it automatically s

  • Mountain Lion vs. Lion

    Hello, I know that the question about Mountain Lion versus Lion, and whether the upgrade is worth it, has been raised a lot already. I've been reading about it lately, but all I could find was related to new applications, user interface, iOS integrat